"go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^(FsMkdirMetadata|FsPutError)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestReadPermissions|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 2/5) 2026/01/27 04:40:35 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-bajijin0dime" 2026/01/27 04:40:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:40:35 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/01/27 04:40:36 DEBUG : Creating backend with remote "/tmp/rclone660168409" === RUN TestIntegration fstests.go:438: Using remote "TestOneDrive:" 2026/01/27 04:40:36 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-zesosak6sije" 2026/01/27 04:40:36 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:40:36 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutError 2026/01/27 04:40:41 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/01/27 04:40:41 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/10240 size 10240 2026/01/27 04:40:45 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Cancelling multipart upload: Put "https://my.microsoftpersonalcontent.com/personal/71a96798e7b1d253/_api/v2.0/drives/b!vKC3DXjgjk-Lp7XrVMpysWhcKnHtT8dLkaHuPSl-l2DGmC7WzjOlT7z5hN2HZRn_/items/01C6Y6555AI4576FHGB5CLRRGF3USMNBX6/uploadSession?guid='3c9321f4-3fca-420e-a907-47eb745fffa7'&overwrite=True&rename=False&dc=0&tempauth=v1e.eyJzaXRlaWQiOiIwZGI3YTBiYy1lMDc4LTRmOGUtOGJhNy1iNWViNTRjYTcyYjEiLCJhcHBfZGlzcGxheW5hbWUiOiJyY2xvbmUiLCJhcHBpZCI6ImIxNTY2NWQ5LWVkYTYtNDA5Mi04NTM5LTBlZWMzNzZhZmQ1OSIsImF1ZCI6IjAwMDAwMDAzLTAwMDAtMGZmMS1jZTAwLTAwMDAwMDAwMDAwMC9teS5taWNyb3NvZnRwZXJzb25hbGNvbnRlbnQuY29tQDkxODgwNDBkLTZjNjctNGM1Yi1iMTEyLTM2YTMwNGI2NmRhZCIsImV4cCI6IjE3Njk1NzUyNDEifQ.T5Gv9Xqv2fuwBzQkFW7X1GqbzdodO2cK-AzN4hKIJNN96YbBwib_QeqgA5BkEV7TrivxT9hWSFzYlbrSX-ppCJfkTw68J5gHq2tY8GKM3RSRcS3jmQznEOoYDdhZrxWzAc1jPDqggs_RxzmNbFC5OwCQ90bKzB3p0Ii_oQ26KiPSgUg1T2Hhiosr3SMlKqrpZvMte5KOiBxHm7MHW_V3Lbug6b_ygz34j4jdJm02phfzd4zZzwW9zBrZlxHs07mIerLxOpeRpy4ae8kFVajOTK4ZmJEfv2kK_2tyELK5-OvEOscvne6nj-NZbd8cPOP69nBJjNkSt3AF8qGe3KjhA3FvvRAke8sTdobTKu91mC7pUbFXoSi_WFhNZIB8EDroN69AFgG0gpQqwe7SzICAFtMPnqc2RgBRSV6b5M1A4705Pf5Yqz5XXNyCX7meTCIsHGf4Kcpio1K8m7LpclA4Tw.kDadV4HSZ8QyujogWFEveoN1IOowAPe0IaludfAvebY": potato 2026/01/27 04:40:45 NOTICE: hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Failed to cancel multipart upload: unauthenticated: Unauthenticated (upload failed due to: Put "https://my.microsoftpersonalcontent.com/personal/71a96798e7b1d253/_api/v2.0/drives/b!vKC3DXjgjk-Lp7XrVMpysWhcKnHtT8dLkaHuPSl-l2DGmC7WzjOlT7z5hN2HZRn_/items/01C6Y6555AI4576FHGB5CLRRGF3USMNBX6/uploadSession?guid='3c9321f4-3fca-420e-a907-47eb745fffa7'&overwrite=True&rename=False&dc=0&tempauth=v1e.eyJzaXRlaWQiOiIwZGI3YTBiYy1lMDc4LTRmOGUtOGJhNy1iNWViNTRjYTcyYjEiLCJhcHBfZGlzcGxheW5hbWUiOiJyY2xvbmUiLCJhcHBpZCI6ImIxNTY2NWQ5LWVkYTYtNDA5Mi04NTM5LTBlZWMzNzZhZmQ1OSIsImF1ZCI6IjAwMDAwMDAzLTAwMDAtMGZmMS1jZTAwLTAwMDAwMDAwMDAwMC9teS5taWNyb3NvZnRwZXJzb25hbGNvbnRlbnQuY29tQDkxODgwNDBkLTZjNjctNGM1Yi1iMTEyLTM2YTMwNGI2NmRhZCIsImV4cCI6IjE3Njk1NzUyNDEifQ.T5Gv9Xqv2fuwBzQkFW7X1GqbzdodO2cK-AzN4hKIJNN96YbBwib_QeqgA5BkEV7TrivxT9hWSFzYlbrSX-ppCJfkTw68J5gHq2tY8GKM3RSRcS3jmQznEOoYDdhZrxWzAc1jPDqggs_RxzmNbFC5OwCQ90bKzB3p0Ii_oQ26KiPSgUg1T2Hhiosr3SMlKqrpZvMte5KOiBxHm7MHW_V3Lbug6b_ygz34j4jdJm02phfzd4zZzwW9zBrZlxHs07mIerLxOpeRpy4ae8kFVajOTK4ZmJEfv2kK_2tyELK5-OvEOscvne6nj-NZbd8cPOP69nBJjNkSt3AF8qGe3KjhA3FvvRAke8sTdobTKu91mC7pUbFXoSi_WFhNZIB8EDroN69AFgG0gpQqwe7SzICAFtMPnqc2RgBRSV6b5M1A4705Pf5Yqz5XXNyCX7meTCIsHGf4Kcpio1K8m7LpclA4Tw.kDadV4HSZ8QyujogWFEveoN1IOowAPe0IaludfAvebY": potato) 2026/01/27 04:40:45 DEBUG : info from Update error: null fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 1/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 2/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 3/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 4/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 5/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 6/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 7/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 8/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 9/10 fstests.go:143: FsPutError: test object does not exist error: object is present - low level retry 10/10 fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:761 Error: Received unexpected error: object is present Test: TestIntegration/FsMkdir/FsPutError Messages: FsPutError: test object does not exist === RUN TestIntegration/FsMkdir/FsPutFiles 2026/01/27 04:41:08 DEBUG : file name.txt: Starting multipart upload 2026/01/27 04:41:09 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/01/27 04:41:10 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/01/27 04:41:10 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/01/27 04:41:11 DEBUG : file name.txt: Starting multipart upload 2026/01/27 04:41:11 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/01/27 04:41:11 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/01/27 04:41:11 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/01/27 04:41:12 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-cabanef7wase" 2026/01/27 04:41:12 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:41:12 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/01/27 04:41:13 DEBUG : Creating backend with remote "/tmp/rclone3411434019" run.go:185: Remote "OneDrive root 'rclone-test-cabanef7wase'", Local "Local file system at /tmp/rclone3411434019", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/01/27 04:41:14 DEBUG : some file-vunimav9.txt: Starting multipart upload 2026/01/27 04:41:15 DEBUG : info from Update error: null fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:382 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:55 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Received unexpected error: invalidRequest: Invalid request Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions Messages: Put 2026/01/27 04:41:15 DEBUG : OneDrive root 'rclone-test-cabanef7wase': Purge remote 2026/01/27 04:41:15 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-fuwogak2horu" 2026/01/27 04:41:15 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:41:15 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/01/27 04:41:16 DEBUG : Creating backend with remote "/tmp/rclone1503852912" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:185: Remote "OneDrive root 'rclone-test-fuwogak2horu'", Local "Local file system at /tmp/rclone1503852912", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/01/27 04:41:17 DEBUG : some file-yowapef2.txt: Starting singlepart upload 2026/01/27 04:41:18 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AfQ0Z1olM7dCsNh1k_YFEnM" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/01/27 04:41:18 DEBUG : some file-yowapef2.txt: sortPermissions: will add permission: &{ 0xc0000d9080 [0xc0000d9200] [] [read] } [read] 2026/01/27 04:41:18 DEBUG : some file-yowapef2.txt: skipping remove permission -- can't remove 'owner' role 2026/01/27 04:41:18 DEBUG : some file-yowapef2.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/01/27 04:41:18 ERROR : some file-yowapef2.txt: Failed to add permission: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:18 ERROR : some file-yowapef2.txt: error writing permissions: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:18 DEBUG : info from Update error: null fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:382 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:55 Error: Received unexpected error: failed to fetch and update metadata: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart Messages: Put 2026/01/27 04:41:18 DEBUG : OneDrive root 'rclone-test-fuwogak2horu': Purge remote 2026/01/27 04:41:19 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-wemiviw3zari" 2026/01/27 04:41:19 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:41:19 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/01/27 04:41:20 DEBUG : Creating backend with remote "/tmp/rclone1859511114" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:185: Remote "OneDrive root 'rclone-test-wemiviw3zari'", Local "Local file system at /tmp/rclone1859511114", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadPermissions 2026/01/27 04:41:20 DEBUG : some file-lotenaw5.txt: Starting singlepart upload 2026/01/27 04:41:21 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AbmMmiXSkH9KqrO0ROuyszE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/01/27 04:41:23 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AbmMmiXSkH9KqrO0ROuyszE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/01/27 04:41:23 DEBUG : some file-lotenaw5.txt: Starting singlepart upload 2026/01/27 04:41:23 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AbmMmiXSkH9KqrO0ROuyszE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/01/27 04:41:25 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AbmMmiXSkH9KqrO0ROuyszE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] onedrive_internal_test.go:141: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:141 Error: Should be false Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadPermissions Messages: permissions metadata key was unexpectedly found: [{"id":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ","grantedTo":{"user":{"displayName":"Nick Craig-Wood","id":"4","email":"nick@craig-wood.com"},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{}},"grantedToV2":{"user":{},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{"displayName":"Nick Craig-Wood","id":"4","email":"nick@craig-wood.com","loginName":"i:0#.f|membership|nick@craig-wood.com"}},"link":{"webUrl":"https://1drv.ms/t/c/71A96798E7B1D253/AbmMmiXSkH9KqrO0ROuyszE"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] 2026/01/27 04:41:25 DEBUG : OneDrive root 'rclone-test-wemiviw3zari': Purge remote 2026/01/27 04:41:25 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-rexevif9qofu" 2026/01/27 04:41:25 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:41:25 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/01/27 04:41:26 DEBUG : Creating backend with remote "/tmp/rclone795516435" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:185: Remote "OneDrive root 'rclone-test-rexevif9qofu'", Local "Local file system at /tmp/rclone795516435", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/01/27 04:41:27 DEBUG : some file-neqojim0.txt: Starting singlepart upload 2026/01/27 04:41:29 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AcoHTsg4vahHklkWOYFqcRo" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/01/27 04:41:30 DEBUG : some file-neqojim0.txt: sortPermissions: will add permission: &{ 0xc000244000 [0xc000244180] [] [write] } [write] 2026/01/27 04:41:30 DEBUG : some file-neqojim0.txt: skipping remove permission -- can't remove 'owner' role 2026/01/27 04:41:30 DEBUG : some file-neqojim0.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/01/27 04:41:30 ERROR : some file-neqojim0.txt: Failed to add permission: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:30 ERROR : some file-neqojim0.txt: error writing permissions: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:30 DEBUG : info from Update error: null fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:382 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:156 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Received unexpected error: failed to fetch and update metadata: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata Messages: Put 2026/01/27 04:41:30 DEBUG : OneDrive root 'rclone-test-rexevif9qofu': Purge remote 2026/01/27 04:41:31 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-qeyudox9bepu" 2026/01/27 04:41:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:41:31 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/01/27 04:41:32 DEBUG : Creating backend with remote "/tmp/rclone2884142153" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:185: Remote "OneDrive root 'rclone-test-qeyudox9bepu'", Local "Local file system at /tmp/rclone2884142153", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/01/27 04:41:32 DEBUG : subdir: Making directory with metadata 2026/01/27 04:41:34 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory onedrive_internal_test.go:208: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:208 Error: Received unexpected error: resourceModified: The resource has changed since the caller last read it; usually an eTag mismatch Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata onedrive_internal_test.go:209: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:209 Error: Expected value not to be nil. Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/01/27 04:41:34 DEBUG : OneDrive root 'rclone-test-qeyudox9bepu': Purge remote 2026/01/27 04:41:35 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-hoboqap9yixu" 2026/01/27 04:41:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/27 04:41:35 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/01/27 04:41:38 DEBUG : Creating backend with remote "/tmp/rclone723827439" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:185: Remote "OneDrive root 'rclone-test-hoboqap9yixu'", Local "Local file system at /tmp/rclone723827439", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/01/27 04:41:39 DEBUG : some file-xugapok1.txt: Starting singlepart upload 2026/01/27 04:41:41 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AcfFpDkAgqVNoqC7vyc36HI" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/01/27 04:41:42 DEBUG : some file-xugapok1.txt: sortPermissions: will add permission: &{ 0xc000148a80 [0xc000148c00] [] [read] } [read] 2026/01/27 04:41:42 DEBUG : some file-xugapok1.txt: skipping remove permission -- can't remove 'owner' role 2026/01/27 04:41:42 DEBUG : some file-xugapok1.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/01/27 04:41:43 ERROR : some file-xugapok1.txt: Failed to add permission: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:43 ERROR : some file-xugapok1.txt: error writing permissions: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:43 DEBUG : info from Update error: null fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:382 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:293 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Received unexpected error: failed to fetch and update metadata: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove Messages: Put 2026/01/27 04:41:43 DEBUG : OneDrive root 'rclone-test-hoboqap9yixu': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/01/27 04:41:44 DEBUG : some file-yezopev4.txt: Starting singlepart upload 2026/01/27 04:41:45 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone723827439", "SrcFsType": "local", "DstFs": "TestOneDrive:rclone-test-hoboqap9yixu", "DstFsType": "onedrive", "Remote": "some file-yezopev4.txt", "Size": 0, "MimeType": "text/plain; charset=utf-8", "ModTime": "2020-02-29T12:34:56.789Z", "IsDir": false, "Metadata": { "atime": "2020-02-29T12:34:56.789Z", "btime": "2026-01-27T04:41:43.612545977Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/01/27 04:41:45 DEBUG : some file-yezopev4.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentities\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/01/27 04:41:45 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentities\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/01/27 04:41:45 DEBUG : some file-yezopev4.txt: Metadata mapper returned in 11.257198ms 2026/01/27 04:41:46 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AclWfg_expFEpBIPTYUWEL4" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/01/27 04:41:46 DEBUG : some file-yezopev4.txt: sortPermissions: will add permission: &{ [0xc000149200] [] [read] } [read] 2026/01/27 04:41:46 DEBUG : some file-yezopev4.txt: skipping remove permission -- can't remove 'owner' role 2026/01/27 04:41:46 DEBUG : some file-yezopev4.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/01/27 04:41:47 ERROR : some file-yezopev4.txt: Failed to add permission: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:47 ERROR : some file-yezopev4.txt: error writing permissions: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false 2026/01/27 04:41:47 DEBUG : info from Update error: null 2026/01/27 04:41:47 ERROR : some file-feyimiz6.txt: Failed to copy: failed to fetch and update metadata: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false onedrive_internal_test.go:345: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:345 Error: Received unexpected error: failed to fetch and update metadata: failed to process permissions: failed to set permissions: invalidRequest: RequireSignIn and SendInvitation cannot both be false Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/01/27 04:41:47 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick@craig-wood.com", "loginName": "i:0#.f|membership|nick@craig-wood.com" } }, "link": { "webUrl": "https://1drv.ms/t/c/71A96798E7B1D253/AclWfg_expFEpBIPTYUWEL4" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] onedrive_internal_test.go:368: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:368 Error: Should be true Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper Messages: no permission found with expected role (want: {"Metadata":{"permissions":"[{\"grantedToIdentities\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} got: map[btime:2026-01-27T04:41:45Z content-type:text/plain created-by-display-name:Nick Craig-Wood created-by-id:71A96798E7B1D253 id:71A96798E7B1D253#71A96798E7B1D253!s0f7e56c9c6de4491a4120f4d851610be last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:71A96798E7B1D253 malware-detected:false mtime:2026-01-27T04:41:45Z permissions:[{"id":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ","grantedTo":{"user":{"displayName":"Nick Craig-Wood","id":"4","email":"nick@craig-wood.com"},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{}},"grantedToV2":{"user":{},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{"displayName":"Nick Craig-Wood","id":"4","email":"nick@craig-wood.com","loginName":"i:0#.f|membership|nick@craig-wood.com"}},"link":{"webUrl":"https://1drv.ms/t/c/71A96798E7B1D253/AclWfg_expFEpBIPTYUWEL4"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] utime:2026-01-27T04:41:45Z] ) onedrive_internal_test.go:369: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:369 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper Messages: expected to find exactly 1 match 2026/01/27 04:41:47 DEBUG : OneDrive root 'rclone-test-hoboqap9yixu': Purge remote 2026/01/27 04:41:48 DEBUG : OneDrive root 'rclone-test-hoboqap9yixu': Purge remote 2026/01/27 04:41:48 NOTICE: purge failed: directory not found 2026/01/27 04:41:48 DEBUG : OneDrive root 'rclone-test-qeyudox9bepu': Purge remote 2026/01/27 04:41:49 NOTICE: purge failed: directory not found 2026/01/27 04:41:49 DEBUG : OneDrive root 'rclone-test-rexevif9qofu': Purge remote 2026/01/27 04:41:49 NOTICE: purge failed: directory not found 2026/01/27 04:41:49 DEBUG : OneDrive root 'rclone-test-wemiviw3zari': Purge remote 2026/01/27 04:41:50 NOTICE: purge failed: directory not found 2026/01/27 04:41:50 DEBUG : OneDrive root 'rclone-test-fuwogak2horu': Purge remote 2026/01/27 04:41:50 NOTICE: purge failed: directory not found 2026/01/27 04:41:50 DEBUG : OneDrive root 'rclone-test-cabanef7wase': Purge remote 2026/01/27 04:41:50 NOTICE: purge failed: directory not found === RUN TestIntegration/FsMkdir/FsMkdirMetadata 2026/01/27 04:41:51 DEBUG : dir-metadata: skipping unsupported metadata item: potato: jersey fstest.go:127: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:127 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:613 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:2682 Error: Should be true Test: TestIntegration/FsMkdir/FsMkdirMetadata Messages: dir-metadata: Modification time difference too big |-218976h36m44.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2026-01-27 04:41:51 +0000 UTC) (precision 1s) fstest.go:127: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:127 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:613 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:2683 Error: Should be true Test: TestIntegration/FsMkdir/FsMkdirMetadata Messages: dir-metadata: Modification time difference too big |-218976h36m44.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2026-01-27 04:41:51 +0000 UTC) (precision 1s) === RUN TestIntegration/FsMkdir/FsMkdirMetadata/Update 2026/01/27 04:41:52 DEBUG : dir-metadata: skipping unsupported metadata item: potato: king edwards === RUN TestIntegration/FsMkdir/FsMkdirMetadata/CheckDirectory 2026/01/27 04:41:54 ERROR : error listing: directory not found --- FAIL: TestIntegration (78.27s) --- FAIL: TestIntegration/FsMkdir (76.29s) --- FAIL: TestIntegration/FsMkdir/FsPutError (30.52s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (41.86s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (38.17s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (1.06s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (2.35s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadPermissions (5.14s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (3.96s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (2.26s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (4.98s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (4.39s) --- FAIL: TestIntegration/FsMkdir/FsMkdirMetadata (2.61s) --- PASS: TestIntegration/FsMkdir/FsMkdirMetadata/Update (0.66s) --- PASS: TestIntegration/FsMkdir/FsMkdirMetadata/CheckDirectory (0.00s) FAIL 2026/01/27 04:41:54 DEBUG : OneDrive root 'rclone-test-bajijin0dime': Purge remote 2026/01/27 04:41:54 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 79.676s "go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^(FsMkdirMetadata|FsPutError)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestReadPermissions|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 1m25.534057479s (try 2/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutError TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadPermissions TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper TestIntegration/FsMkdir/FsMkdirMetadata]