"go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 5/5) 2026/07/14 01:21:22 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-quciyid6vage" 2026/07/14 01:21:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:21:22 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:21:23 DEBUG : Creating backend with remote "/tmp/rclone2464002801" === RUN TestIntegration fstests.go:457: Using remote "TestOneDrive:" 2026/07/14 01:21:23 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-juxafec4bopi" 2026/07/14 01:21:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:21:23 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/07/14 01:21:26 DEBUG : file name.txt: Starting multipart upload 2026/07/14 01:21:27 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/07/14 01:21:32 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/07/14 01:21:32 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/07/14 01:21:33 DEBUG : file name.txt: Starting multipart upload 2026/07/14 01:21:33 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/07/14 01:21:33 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/07/14 01:21:34 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/07/14 01:21:35 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-migenun8riba" 2026/07/14 01:21:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:21:35 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:21:36 DEBUG : Creating backend with remote "/tmp/rclone1050475334" run.go:198: Remote "OneDrive root 'rclone-test-migenun8riba'", Local "Local file system at /tmp/rclone1050475334", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/07/14 01:21:36 DEBUG : some file-hixomib6.txt: Starting multipart upload 2026/07/14 01:21:36 DEBUG : some file-hixomib6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:37 DEBUG : some file-hixomib6.txt: Uploading segment 0/5 size 5 2026/07/14 01:21:38 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/AVb89Uf-BvBKunnKe1wth-o" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:21:38 DEBUG : some file-hixomib6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:39 DEBUG : some file-hixomib6.txt: sortPermissions: will add permission: &{ 0x2e604cce8780 [0x2e604cce8900] [] [read] } [read] 2026/07/14 01:21:39 DEBUG : some file-hixomib6.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:39 DEBUG : some file-hixomib6.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:21:40 ERROR : some file-hixomib6.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:21:40 ERROR : some file-hixomib6.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: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/AVb89Uf-BvBKunnKe1wth-o" }, "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/AVb89Uf-BvBKunnKe1wth-o" }, "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:21:41 DEBUG : some file-hixomib6.txt: Starting multipart upload 2026/07/14 01:21:41 DEBUG : some file-hixomib6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:42 DEBUG : some file-hixomib6.txt: Uploading segment 0/5 size 5 2026/07/14 01:21:43 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/AVb89Uf-BvBKunnKe1wth-o" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:21:43 DEBUG : some file-hixomib6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:43 DEBUG : some file-hixomib6.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ) 2026/07/14 01:21:43 DEBUG : some file-hixomib6.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:43 DEBUG : some file-hixomib6.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/07/14 01:21:43 DEBUG : some file-hixomib6.txt: updated permissions (now has 1 permissions) 2026/07/14 01:21: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/AVb89Uf-BvBKunnKe1wth-o" }, "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/AVb89Uf-BvBKunnKe1wth-o"}, "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/AVb89Uf-BvBKunnKe1wth-o"}, "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:21:44 DEBUG : some file-hixomib6.txt: Starting multipart upload 2026/07/14 01:21:44 DEBUG : some file-hixomib6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:44 DEBUG : some file-hixomib6.txt: Uploading segment 0/5 size 5 2026/07/14 01:21: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/AVb89Uf-BvBKunnKe1wth-o" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:21:45 DEBUG : some file-hixomib6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:46 DEBUG : some file-hixomib6.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:46 DEBUG : some file-hixomib6.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/07/14 01:21:46 DEBUG : some file-hixomib6.txt: updated permissions (now has 1 permissions) 2026/07/14 01:21: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/AVb89Uf-BvBKunnKe1wth-o" }, "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/AVb89Uf-BvBKunnKe1wth-o"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] 2026/07/14 01:21:47 DEBUG : OneDrive root 'rclone-test-migenun8riba': Purge remote 2026/07/14 01:21:47 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-tihewix3yemo" 2026/07/14 01:21:47 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:21:47 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:21:48 DEBUG : Creating backend with remote "/tmp/rclone413361249" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-tihewix3yemo'", Local "Local file system at /tmp/rclone413361249", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/07/14 01:21:49 DEBUG : some file-puquhiv7.txt: Starting singlepart upload 2026/07/14 01:21: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/AVnPhjrX0uZFi67YJvnaKhg" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:21:50 DEBUG : some file-puquhiv7.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:51 DEBUG : some file-puquhiv7.txt: sortPermissions: will add permission: &{ 0x2e604cce8900 [0x2e604cce8a80] [] [read] } [read] 2026/07/14 01:21:51 DEBUG : some file-puquhiv7.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:51 DEBUG : some file-puquhiv7.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:21:53 ERROR : some file-puquhiv7.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:21:53 ERROR : some file-puquhiv7.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:53 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:21:53 DEBUG : OneDrive root 'rclone-test-tihewix3yemo': Purge remote 2026/07/14 01:21:53 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-boqifit4loke" 2026/07/14 01:21:53 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:21:53 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:21:54 DEBUG : Creating backend with remote "/tmp/rclone2555125722" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-boqifit4loke'", Local "Local file system at /tmp/rclone2555125722", Modify Window "1s" 2026/07/14 01:21:54 DEBUG : OneDrive root 'rclone-test-boqifit4loke': Purge remote 2026/07/14 01:21:55 NOTICE: purge failed: directory not found 2026/07/14 01:21:55 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-jusiwuk9roqu" 2026/07/14 01:21:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:21:55 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:21:56 DEBUG : Creating backend with remote "/tmp/rclone1955806126" run.go:198: Remote "OneDrive root 'rclone-test-jusiwuk9roqu'", Local "Local file system at /tmp/rclone1955806126", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/07/14 01:21:57 DEBUG : some file-nobofip1.txt: Starting singlepart upload 2026/07/14 01:21:58 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/AbXn8wcKEpROgqXtKU8RVhM" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:21:58 DEBUG : some file-nobofip1.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:21:58 DEBUG : some file-nobofip1.txt: sortPermissions: will add permission: &{ 0x2e604cce8780 [0x2e604cce8900] [] [write] } [write] 2026/07/14 01:21:58 DEBUG : some file-nobofip1.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:21:58 DEBUG : some file-nobofip1.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:22:00 ERROR : some file-nobofip1.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:22:00 ERROR : some file-nobofip1.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:22:00 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:22:00 DEBUG : OneDrive root 'rclone-test-jusiwuk9roqu': Purge remote 2026/07/14 01:22:00 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-varebif0lemi" 2026/07/14 01:22:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:22:00 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:22:01 DEBUG : Creating backend with remote "/tmp/rclone823967160" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-varebif0lemi'", Local "Local file system at /tmp/rclone823967160", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/07/14 01:22:01 DEBUG : subdir: Making directory with metadata 2026/07/14 01:22:02 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/07/14 01:22:02 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:22:04 DEBUG : subdir: sortPermissions: will add permission: &{ 0x2e604cd30780 [0x2e604cd30900] [] [read] } [read] 2026/07/14 01:22:04 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:22:04 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:22:05 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:22:05 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:22:05 DEBUG : OneDrive root 'rclone-test-varebif0lemi': Purge remote 2026/07/14 01:22:06 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-siqiduw7bopi" 2026/07/14 01:22:06 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 01:22:06 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/14 01:22:08 DEBUG : Creating backend with remote "/tmp/rclone2717656976" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-siqiduw7bopi'", Local "Local file system at /tmp/rclone2717656976", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/07/14 01:22:10 DEBUG : some file-yaxoyij0.txt: Starting singlepart upload 2026/07/14 01:22:11 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/AewWcQjssNpLjCSQQVVVUMo" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:22:11 DEBUG : some file-yaxoyij0.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/14 01:22:12 DEBUG : some file-yaxoyij0.txt: sortPermissions: will add permission: &{ 0x2e604d064900 [0x2e604d064a80] [] [read] } [read] 2026/07/14 01:22:12 DEBUG : some file-yaxoyij0.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:22:12 DEBUG : some file-yaxoyij0.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:22:13 ERROR : some file-yaxoyij0.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:22:13 ERROR : some file-yaxoyij0.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:22: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:22:13 DEBUG : OneDrive root 'rclone-test-siqiduw7bopi': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/07/14 01:22:15 DEBUG : some file-viyeseq4.txt: Starting singlepart upload 2026/07/14 01:22:15 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone2717656976", "SrcFsType": "local", "DstFs": "TestOneDrive:rclone-test-siqiduw7bopi", "DstFsType": "onedrive", "Remote": "some file-viyeseq4.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:22:14.073340444Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/07/14 01:22:15 DEBUG : some file-viyeseq4.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentities\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/07/14 01:22:15 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentities\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/07/14 01:22:15 DEBUG : some file-viyeseq4.txt: Metadata mapper returned in 3.817297ms 2026/07/14 01:22:16 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/AdDdgyXRvqJKvmPwDTvkoQo" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/14 01:22:16 DEBUG : some file-viyeseq4.txt: sortPermissions: will add permission: &{ [0x2e604d064f00] [] [read] } [read] 2026/07/14 01:22:16 DEBUG : some file-viyeseq4.txt: skipping remove permission -- can't remove 'owner' role 2026/07/14 01:22:16 DEBUG : some file-viyeseq4.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/14 01:22:18 ERROR : some file-viyeseq4.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/14 01:22:18 ERROR : some file-viyeseq4.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:22:18 DEBUG : info from Update error: null 2026/07/14 01:22:18 ERROR : some file-goqofec7.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:22:20 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/AdDdgyXRvqJKvmPwDTvkoQo" }, "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:22:15Z content-type:text/plain created-by-display-name:Nick Craig-Wood created-by-id:71A96798E7B1D253 id:71A96798E7B1D253#71A96798E7B1D253!s2583ddd0bed14aa2be63f00d3be4a10a last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:71A96798E7B1D253 malware-detected:false mtime:2026-07-14T01:22:15Z 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/AdDdgyXRvqJKvmPwDTvkoQo"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] utime:2026-07-14T01:22:15Z] ) 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:22:20 DEBUG : OneDrive root 'rclone-test-siqiduw7bopi': Purge remote 2026/07/14 01:22:20 DEBUG : OneDrive root 'rclone-test-siqiduw7bopi': Purge remote 2026/07/14 01:22:21 NOTICE: purge failed: directory not found 2026/07/14 01:22:21 DEBUG : OneDrive root 'rclone-test-varebif0lemi': Purge remote 2026/07/14 01:22:21 NOTICE: purge failed: directory not found 2026/07/14 01:22:21 DEBUG : OneDrive root 'rclone-test-jusiwuk9roqu': Purge remote 2026/07/14 01:22:21 NOTICE: purge failed: directory not found 2026/07/14 01:22:21 DEBUG : OneDrive root 'rclone-test-boqifit4loke': Purge remote 2026/07/14 01:22:21 NOTICE: purge failed: directory not found 2026/07/14 01:22:21 DEBUG : OneDrive root 'rclone-test-tihewix3yemo': Purge remote 2026/07/14 01:22:22 NOTICE: purge failed: directory not found 2026/07/14 01:22:22 DEBUG : OneDrive root 'rclone-test-migenun8riba': Purge remote 2026/07/14 01:22:22 NOTICE: purge failed: directory not found 2026/07/14 01:22:23 ERROR : error listing: directory not found --- FAIL: TestIntegration (60.48s) --- FAIL: TestIntegration/FsMkdir (57.88s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (56.27s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (47.48s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (11.28s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (4.67s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (4.23s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (4.22s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (5.15s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (6.06s) FAIL 2026/07/14 01:22:23 DEBUG : OneDrive root 'rclone-test-quciyid6vage': Purge remote 2026/07/14 01:22:24 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 62.027s "go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 1m2.854386999s (try 5/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]