"go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 4/5) 2026/07/14 01:20:20 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-zukafen5fawo" 2026/07/14 01:20:20 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:20:20 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:20:22 DEBUG : Creating backend with remote "/tmp/rclone1562184353" === RUN TestIntegration fstests.go:457: Using remote "TestOneDrive:" 2026/07/14 01:20:22 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-mavazuh3zopi" 2026/07/14 01:20:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:20:22 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/07/14 01:20:24 DEBUG : file name.txt: Starting multipart upload 2026/07/14 01:20:25 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/07/14 01:20:30 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/07/14 01:20:30 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/07/14 01:20:31 DEBUG : file name.txt: Starting multipart upload 2026/07/14 01:20:31 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/07/14 01:20:31 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/07/14 01:20:32 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/07/14 01:20:33 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-gogohet2revo" 2026/07/14 01:20:33 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:20:33 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:20:34 DEBUG : Creating backend with remote "/tmp/rclone538614257" run.go:198: Remote "OneDrive root 'rclone-test-gogohet2revo'", Local "Local file system at /tmp/rclone538614257", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/07/14 01:20:35 DEBUG : some file-wavekir5.txt: Starting multipart upload 2026/07/14 01:20:35 DEBUG : some file-wavekir5.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:36 DEBUG : some file-wavekir5.txt: Uploading segment 0/5 size 5 2026/07/14 01:20:37 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/ARmb4UeX4KVNnvQNZm_I3DE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:20:37 DEBUG : some file-wavekir5.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:38 DEBUG : some file-wavekir5.txt: sortPermissions: will add permission: &{ 0x32cc3686c600 [0x32cc3686c780] [] [read] } [read] 2026/07/14 01:20:38 DEBUG : some file-wavekir5.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:20:38 DEBUG : some file-wavekir5.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:20:40 ERROR : some file-wavekir5.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:20:40 ERROR : some file-wavekir5.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:20: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/ARmb4UeX4KVNnvQNZm_I3DE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] onedrive_internal_test.go:78: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:78 Error: Should be true Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions Messages: no permission found with expected role (want: [ { "id": "", "grantedTo": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToIdentities": [ { "user": { "id": "ryan@contoso.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} } ], "roles": [ "read" ] } ] got: [ { "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/ARmb4UeX4KVNnvQNZm_I3DE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] ) onedrive_internal_test.go:79: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:79 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions Messages: expected to find exactly 1 match 2026/07/14 01:20:41 DEBUG : some file-wavekir5.txt: Starting multipart upload 2026/07/14 01:20:41 DEBUG : some file-wavekir5.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:41 DEBUG : some file-wavekir5.txt: Uploading segment 0/5 size 5 2026/07/14 01:20:42 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/ARmb4UeX4KVNnvQNZm_I3DE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:20:42 DEBUG : some file-wavekir5.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:42 DEBUG : some file-wavekir5.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ) 2026/07/14 01:20:42 DEBUG : some file-wavekir5.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:20:42 DEBUG : some file-wavekir5.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/07/14 01:20:43 DEBUG : some file-wavekir5.txt: updated permissions (now has 1 permissions) 2026/07/14 01:20:44 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/ARmb4UeX4KVNnvQNZm_I3DE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] onedrive_internal_test.go:94: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:94 Error: Not equal: expected: []interface {}{map[string]interface {}{"grantedTo":map[string]interface {}{"application":map[string]interface {}{}, "device":map[string]interface {}{}, "group":map[string]interface {}{}, "siteGroup":map[string]interface {}{}, "siteUser":map[string]interface {}{}, "user":map[string]interface {}{"displayName":"Nick Craig-Wood", "email":"nick@craig-wood.com", "id":"4"}}, "grantedToV2":map[string]interface {}{"application":map[string]interface {}{}, "device":map[string]interface {}{}, "group":map[string]interface {}{}, "siteGroup":map[string]interface {}{}, "siteUser":map[string]interface {}{"displayName":"Nick Craig-Wood", "email":"nick@craig-wood.com", "id":"4", "loginName":"i:0#.f|membership|nick@craig-wood.com"}, "user":map[string]interface {}{}}, "id":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "link":map[string]interface {}{"webUrl":"https://1drv.ms/t/c/71A96798E7B1D253/ARmb4UeX4KVNnvQNZm_I3DE"}, "roles":[]interface {}{"write"}, "shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}} actual : []interface {}{map[string]interface {}{"grantedTo":map[string]interface {}{"application":map[string]interface {}{}, "device":map[string]interface {}{}, "group":map[string]interface {}{}, "siteGroup":map[string]interface {}{}, "siteUser":map[string]interface {}{}, "user":map[string]interface {}{"displayName":"Nick Craig-Wood", "email":"nick@craig-wood.com", "id":"4"}}, "grantedToV2":map[string]interface {}{"application":map[string]interface {}{}, "device":map[string]interface {}{}, "group":map[string]interface {}{}, "siteGroup":map[string]interface {}{}, "siteUser":map[string]interface {}{"displayName":"Nick Craig-Wood", "email":"nick@craig-wood.com", "id":"4", "loginName":"i:0#.f|membership|nick@craig-wood.com"}, "user":map[string]interface {}{}}, "id":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ", "link":map[string]interface {}{"webUrl":"https://1drv.ms/t/c/71A96798E7B1D253/ARmb4UeX4KVNnvQNZm_I3DE"}, "roles":[]interface {}{"owner"}, "shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}} Diff: --- Expected +++ Actual @@ -42,3 +42,3 @@ (string) (len=5) "roles": ([]interface {}) (len=1) { - (string) (len=5) "write" + (string) (len=5) "owner" }, Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/07/14 01:20:44 DEBUG : some file-wavekir5.txt: Starting multipart upload 2026/07/14 01:20:44 DEBUG : some file-wavekir5.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:44 DEBUG : some file-wavekir5.txt: Uploading segment 0/5 size 5 2026/07/14 01:20:45 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/ARmb4UeX4KVNnvQNZm_I3DE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:20:45 DEBUG : some file-wavekir5.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:46 DEBUG : some file-wavekir5.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:20:46 DEBUG : some file-wavekir5.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/07/14 01:20:46 DEBUG : some file-wavekir5.txt: updated permissions (now has 1 permissions) 2026/07/14 01:20: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/ARmb4UeX4KVNnvQNZm_I3DE" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] onedrive_internal_test.go:101: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:101 Error: Should be false Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 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/ARmb4UeX4KVNnvQNZm_I3DE"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] 2026/07/14 01:20:47 DEBUG : OneDrive root 'rclone-test-gogohet2revo': Purge remote 2026/07/14 01:20:47 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-jezucub1bufo" 2026/07/14 01:20:47 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:20:47 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:20:48 DEBUG : Creating backend with remote "/tmp/rclone3854193582" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-jezucub1bufo'", Local "Local file system at /tmp/rclone3854193582", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/07/14 01:20:49 DEBUG : some file-diwohij2.txt: Starting singlepart upload 2026/07/14 01:20:50 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/ASG0HjxgmY1GhVq3d-DDY-4" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:20:50 DEBUG : some file-diwohij2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:50 DEBUG : some file-diwohij2.txt: sortPermissions: will add permission: &{ 0x32cc3647ec00 [0x32cc3647ef00] [] [read] } [read] 2026/07/14 01:20:50 DEBUG : some file-diwohij2.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:20:50 DEBUG : some file-diwohij2.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:20:52 ERROR : some file-diwohij2.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:20:52 ERROR : some file-diwohij2.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:20:52 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:177 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:377 /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: sharingFailed: There was a problem sharing, please try again later. Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart Messages: Put 2026/07/14 01:20:52 DEBUG : OneDrive root 'rclone-test-jezucub1bufo': Purge remote 2026/07/14 01:20:52 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-kapoyol7hipi" 2026/07/14 01:20:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:20:52 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:20:53 DEBUG : Creating backend with remote "/tmp/rclone2334573532" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-kapoyol7hipi'", Local "Local file system at /tmp/rclone2334573532", Modify Window "1s" 2026/07/14 01:20:53 DEBUG : OneDrive root 'rclone-test-kapoyol7hipi': Purge remote 2026/07/14 01:20:53 NOTICE: purge failed: directory not found 2026/07/14 01:20:53 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-yozawaz3lote" 2026/07/14 01:20:53 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:20:53 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:20:55 DEBUG : Creating backend with remote "/tmp/rclone3332506765" run.go:198: Remote "OneDrive root 'rclone-test-yozawaz3lote'", Local "Local file system at /tmp/rclone3332506765", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/07/14 01:20:55 DEBUG : some file-xonuqoz2.txt: Starting singlepart upload 2026/07/14 01:20:56 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/Ad8Lxrqd1SpGs3PgnRC64eI" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:20:56 DEBUG : some file-xonuqoz2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:20:57 DEBUG : some file-xonuqoz2.txt: sortPermissions: will add permission: &{ 0x32cc364be780 [0x32cc364be900] [] [write] } [write] 2026/07/14 01:20:57 DEBUG : some file-xonuqoz2.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:20:57 DEBUG : some file-xonuqoz2.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:20:59 ERROR : some file-xonuqoz2.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:20:59 ERROR : some file-xonuqoz2.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:20:59 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:177 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:377 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:151 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: failed to fetch and update metadata: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata Messages: Put 2026/07/14 01:20:59 DEBUG : OneDrive root 'rclone-test-yozawaz3lote': Purge remote 2026/07/14 01:20:59 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-yovuwod0noyi" 2026/07/14 01:20:59 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:20:59 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:21:01 DEBUG : Creating backend with remote "/tmp/rclone2030208134" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-yovuwod0noyi'", Local "Local file system at /tmp/rclone2030208134", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/07/14 01:21:01 DEBUG : subdir: Making directory with metadata 2026/07/14 01:21:03 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/07/14 01:21:03 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:05 DEBUG : subdir: sortPermissions: will add permission: &{ 0x32cc3686cc00 [0x32cc3686cd80] [] [read] } [read] 2026/07/14 01:21:05 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:05 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:21:06 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:21:06 ERROR : subdir: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. onedrive_internal_test.go:203: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:203 Error: Received unexpected error: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata onedrive_internal_test.go:204: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:204 Error: Expected value not to be nil. Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/07/14 01:21:06 DEBUG : OneDrive root 'rclone-test-yovuwod0noyi': Purge remote 2026/07/14 01:21:07 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-yagubij6qewu" 2026/07/14 01:21:07 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:21:07 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:21:08 DEBUG : Creating backend with remote "/tmp/rclone1056547485" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-yagubij6qewu'", Local "Local file system at /tmp/rclone1056547485", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/07/14 01:21:09 DEBUG : some file-giyamel6.txt: Starting singlepart upload 2026/07/14 01:21:10 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/ATeIW36yZxBLq3t_1-r9UIU" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:21:10 DEBUG : some file-giyamel6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:11 DEBUG : some file-giyamel6.txt: sortPermissions: will add permission: &{ 0x32cc3686ca80 [0x32cc3686cc00] [] [read] } [read] 2026/07/14 01:21:11 DEBUG : some file-giyamel6.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:11 DEBUG : some file-giyamel6.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:21:13 ERROR : some file-giyamel6.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:21:13 ERROR : some file-giyamel6.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:21:13 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:177 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:377 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:288 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: failed to fetch and update metadata: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove Messages: Put 2026/07/14 01:21:13 DEBUG : OneDrive root 'rclone-test-yagubij6qewu': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/07/14 01:21:14 DEBUG : some file-saqezon1.txt: Starting singlepart upload 2026/07/14 01:21:14 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone1056547485", "SrcFsType": "local", "DstFs": "TestOneDrive:rclone-test-yagubij6qewu", "DstFsType": "onedrive", "Remote": "some file-saqezon1.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-07-14T01:21:13.521737437Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/07/14 01:21:14 DEBUG : some file-saqezon1.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentities\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/07/14 01:21:14 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentities\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/07/14 01:21:14 DEBUG : some file-saqezon1.txt: Metadata mapper returned in 1.448842ms 2026/07/14 01:21:15 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/Ac5y5VPty8NAgkadCLQj6sI" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:21:15 DEBUG : some file-saqezon1.txt: sortPermissions: will add permission: &{ [0x32cc364bec00] [] [read] } [read] 2026/07/14 01:21:15 DEBUG : some file-saqezon1.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:15 DEBUG : some file-saqezon1.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:21:17 ERROR : some file-saqezon1.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:21:17 ERROR : some file-saqezon1.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:21:17 DEBUG : info from Update error: null 2026/07/14 01:21:17 ERROR : some file-yuvasal9.txt: Failed to copy: failed to fetch and update metadata: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. onedrive_internal_test.go:340: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:340 Error: Received unexpected error: failed to fetch and update metadata: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/07/14 01:21:17 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/Ac5y5VPty8NAgkadCLQj6sI" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] onedrive_internal_test.go:363: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:363 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-07-14T01:21:14Z content-type:text/plain created-by-display-name:Nick Craig-Wood created-by-id:71A96798E7B1D253 id:71A96798E7B1D253#71A96798E7B1D253!s53e572cecbed40c382469d08b423eac2 last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:71A96798E7B1D253 malware-detected:false mtime:2026-07-14T01:21:14Z 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/Ac5y5VPty8NAgkadCLQj6sI"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] utime:2026-07-14T01:21:14Z] ) onedrive_internal_test.go:364: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:364 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper Messages: expected to find exactly 1 match 2026/07/14 01:21:17 DEBUG : OneDrive root 'rclone-test-yagubij6qewu': Purge remote 2026/07/14 01:21:18 DEBUG : OneDrive root 'rclone-test-yagubij6qewu': Purge remote 2026/07/14 01:21:18 NOTICE: purge failed: directory not found 2026/07/14 01:21:18 DEBUG : OneDrive root 'rclone-test-yovuwod0noyi': Purge remote 2026/07/14 01:21:19 NOTICE: purge failed: directory not found 2026/07/14 01:21:19 DEBUG : OneDrive root 'rclone-test-yozawaz3lote': Purge remote 2026/07/14 01:21:19 NOTICE: purge failed: directory not found 2026/07/14 01:21:19 DEBUG : OneDrive root 'rclone-test-kapoyol7hipi': Purge remote 2026/07/14 01:21:19 NOTICE: purge failed: directory not found 2026/07/14 01:21:19 DEBUG : OneDrive root 'rclone-test-jezucub1bufo': Purge remote 2026/07/14 01:21:19 NOTICE: purge failed: directory not found 2026/07/14 01:21:19 DEBUG : OneDrive root 'rclone-test-gogohet2revo': Purge remote 2026/07/14 01:21:20 NOTICE: purge failed: directory not found 2026/07/14 01:21:20 ERROR : error listing: directory not found --- FAIL: TestIntegration (58.55s) --- FAIL: TestIntegration/FsMkdir (56.49s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (55.28s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (47.19s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (12.93s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (3.99s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (4.11s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (5.49s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (4.45s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (4.36s) FAIL 2026/07/14 01:21:21 DEBUG : OneDrive root 'rclone-test-zukafen5fawo': Purge remote 2026/07/14 01:21:21 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 61.151s "go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 1m1.959317097s (try 4/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper]