"go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 3/5) 2026/07/15 05:28:15 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-bayexoq2quyu" 2026/07/15 05:28:15 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:15 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/15 05:28:16 DEBUG : Creating backend with remote "/tmp/rclone578635172" === RUN TestIntegration fstests.go:457: Using remote "TestOneDrive:" 2026/07/15 05:28:16 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-judenev4vune" 2026/07/15 05:28:16 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:16 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/07/15 05:28:18 DEBUG : file name.txt: Starting multipart upload 2026/07/15 05:28:19 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/07/15 05:28:23 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/07/15 05:28:24 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/07/15 05:28:24 DEBUG : file name.txt: Starting multipart upload 2026/07/15 05:28:24 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/07/15 05:28:24 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/07/15 05:28:25 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/07/15 05:28:26 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-taqedef8zavi" 2026/07/15 05:28:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:26 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/15 05:28:27 DEBUG : Creating backend with remote "/tmp/rclone387686481" run.go:198: Remote "OneDrive root 'rclone-test-taqedef8zavi'", Local "Local file system at /tmp/rclone387686481", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/07/15 05:28:28 DEBUG : some file-wufesep9.txt: Starting multipart upload 2026/07/15 05:28:28 DEBUG : some file-wufesep9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:28 DEBUG : some file-wufesep9.txt: Uploading segment 0/5 size 5 2026/07/15 05:28:30 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/AT_jRQ8fy4VJthOdNZI66Zk" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/15 05:28:30 DEBUG : some file-wufesep9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:30 DEBUG : some file-wufesep9.txt: sortPermissions: will add permission: &{ 0x117bf92b6f00 [0x117bf92b7080] [] [read] } [read] 2026/07/15 05:28:30 DEBUG : some file-wufesep9.txt: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:28:30 DEBUG : some file-wufesep9.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/15 05:28:32 ERROR : some file-wufesep9.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:28:32 ERROR : some file-wufesep9.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:28:33 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/AT_jRQ8fy4VJthOdNZI66Zk" }, "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/AT_jRQ8fy4VJthOdNZI66Zk" }, "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/15 05:28:33 DEBUG : some file-wufesep9.txt: Starting multipart upload 2026/07/15 05:28:33 DEBUG : some file-wufesep9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:33 DEBUG : some file-wufesep9.txt: Uploading segment 0/5 size 5 2026/07/15 05:28:34 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/AT_jRQ8fy4VJthOdNZI66Zk" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/15 05:28:34 DEBUG : some file-wufesep9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:35 DEBUG : some file-wufesep9.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ) 2026/07/15 05:28:35 DEBUG : some file-wufesep9.txt: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:28:35 DEBUG : some file-wufesep9.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/07/15 05:28:35 DEBUG : some file-wufesep9.txt: updated permissions (now has 1 permissions) 2026/07/15 05:28:36 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/AT_jRQ8fy4VJthOdNZI66Zk" }, "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/AT_jRQ8fy4VJthOdNZI66Zk"}, "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/AT_jRQ8fy4VJthOdNZI66Zk"}, "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/15 05:28:36 DEBUG : some file-wufesep9.txt: Starting multipart upload 2026/07/15 05:28:36 DEBUG : some file-wufesep9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:37 DEBUG : some file-wufesep9.txt: Uploading segment 0/5 size 5 2026/07/15 05:28: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/AT_jRQ8fy4VJthOdNZI66Zk" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/15 05:28:38 DEBUG : some file-wufesep9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:38 DEBUG : some file-wufesep9.txt: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:28:38 DEBUG : some file-wufesep9.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/07/15 05:28:38 DEBUG : some file-wufesep9.txt: updated permissions (now has 1 permissions) 2026/07/15 05:28:39 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/AT_jRQ8fy4VJthOdNZI66Zk" }, "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/AT_jRQ8fy4VJthOdNZI66Zk"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] 2026/07/15 05:28:39 DEBUG : OneDrive root 'rclone-test-taqedef8zavi': Purge remote 2026/07/15 05:28:39 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-wekevar7xila" 2026/07/15 05:28:39 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:39 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/15 05:28:40 DEBUG : Creating backend with remote "/tmp/rclone3558178472" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-wekevar7xila'", Local "Local file system at /tmp/rclone3558178472", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/07/15 05:28:41 DEBUG : some file-sanupok8.txt: Starting singlepart upload 2026/07/15 05:28: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/AWSUikSbFMxEnk6WMnNxklY" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/15 05:28:42 DEBUG : some file-sanupok8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:42 DEBUG : some file-sanupok8.txt: sortPermissions: will add permission: &{ 0x117bf963e480 [0x117bf963e600] [] [read] } [read] 2026/07/15 05:28:42 DEBUG : some file-sanupok8.txt: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:28:42 DEBUG : some file-sanupok8.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/15 05:28:44 ERROR : some file-sanupok8.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:28:44 ERROR : some file-sanupok8.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:28:44 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/15 05:28:44 DEBUG : OneDrive root 'rclone-test-wekevar7xila': Purge remote 2026/07/15 05:28:45 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-wuqobel1vobo" 2026/07/15 05:28:45 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:45 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/15 05:28:46 DEBUG : Creating backend with remote "/tmp/rclone3302557709" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-wuqobel1vobo'", Local "Local file system at /tmp/rclone3302557709", Modify Window "1s" 2026/07/15 05:28:46 DEBUG : OneDrive root 'rclone-test-wuqobel1vobo': Purge remote 2026/07/15 05:28:46 NOTICE: purge failed: directory not found 2026/07/15 05:28:46 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-sajetuy5vami" 2026/07/15 05:28:46 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:46 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/15 05:28:47 DEBUG : Creating backend with remote "/tmp/rclone930108570" run.go:198: Remote "OneDrive root 'rclone-test-sajetuy5vami'", Local "Local file system at /tmp/rclone930108570", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/07/15 05:28:48 DEBUG : some file-sulivoh6.txt: Starting singlepart upload 2026/07/15 05:28:49 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/AVNL6KzfDzpCqGllapZ1Ugo" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/15 05:28:49 DEBUG : some file-sulivoh6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:49 DEBUG : some file-sulivoh6.txt: sortPermissions: will add permission: &{ 0x117bf93e8480 [0x117bf93e8600] [] [write] } [write] 2026/07/15 05:28:49 DEBUG : some file-sulivoh6.txt: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:28:49 DEBUG : some file-sulivoh6.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/15 05:28:51 ERROR : some file-sulivoh6.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:28:51 ERROR : some file-sulivoh6.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:28:51 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/15 05:28:51 DEBUG : OneDrive root 'rclone-test-sajetuy5vami': Purge remote 2026/07/15 05:28:51 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-pihusog1guza" 2026/07/15 05:28:51 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:51 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/15 05:28:52 DEBUG : Creating backend with remote "/tmp/rclone4228440939" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-pihusog1guza'", Local "Local file system at /tmp/rclone4228440939", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/07/15 05:28:52 DEBUG : subdir: Making directory with metadata 2026/07/15 05:28:54 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/07/15 05:28:54 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:28:55 DEBUG : subdir: sortPermissions: will add permission: &{ 0x117bf92b6a80 [0x117bf92b6c00] [] [read] } [read] 2026/07/15 05:28:55 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:28:55 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/15 05:28:56 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:28:56 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/15 05:28:56 DEBUG : OneDrive root 'rclone-test-pihusog1guza': Purge remote 2026/07/15 05:28:56 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-nikawuy9hano" 2026/07/15 05:28:56 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/15 05:28:56 DEBUG : TestOneDrive: Set overridden config ["user_agent"] for backend startup 2026/07/15 05:28:59 DEBUG : Creating backend with remote "/tmp/rclone635828596" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-nikawuy9hano'", Local "Local file system at /tmp/rclone635828596", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/07/15 05:29:00 DEBUG : some file-majetav8.txt: Starting singlepart upload 2026/07/15 05:29:02 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/ATRj_WpRf5xHrQCqej8gGP4" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/15 05:29:02 DEBUG : some file-majetav8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/07/15 05:29:02 DEBUG : some file-majetav8.txt: sortPermissions: will add permission: &{ 0x117bf9453080 [0x117bf9453200] [] [read] } [read] 2026/07/15 05:29:02 DEBUG : some file-majetav8.txt: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:29:02 DEBUG : some file-majetav8.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/15 05:29:05 ERROR : some file-majetav8.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:29:05 ERROR : some file-majetav8.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:29:05 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/15 05:29:05 DEBUG : OneDrive root 'rclone-test-nikawuy9hano': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/07/15 05:29:07 DEBUG : some file-vomerav7.txt: Starting singlepart upload 2026/07/15 05:29:08 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone635828596", "SrcFsType": "local", "DstFs": "TestOneDrive:rclone-test-nikawuy9hano", "DstFsType": "onedrive", "Remote": "some file-vomerav7.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-15T05:29:05.805846741Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/07/15 05:29:08 DEBUG : some file-vomerav7.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentities\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/07/15 05:29:08 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentities\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/07/15 05:29:08 DEBUG : some file-vomerav7.txt: Metadata mapper returned in 1.474508ms 2026/07/15 05:29:08 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/Ac1pZ0G5rGpBil5HXtf2ZAg" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ" } ] 2026/07/15 05:29:09 DEBUG : some file-vomerav7.txt: sortPermissions: will add permission: &{ [0x117bf93e8480] [] [read] } [read] 2026/07/15 05:29:09 DEBUG : some file-vomerav7.txt: skipping remove permission -- can't remove 'owner' role 2026/07/15 05:29:09 DEBUG : some file-vomerav7.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/07/15 05:29:11 ERROR : some file-vomerav7.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:29:11 ERROR : some file-vomerav7.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/07/15 05:29:11 DEBUG : info from Update error: null 2026/07/15 05:29:11 ERROR : some file-huwedoy9.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/15 05:29:12 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/Ac1pZ0G5rGpBil5HXtf2ZAg" }, "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-15T05:29:08Z content-type:text/plain created-by-display-name:Nick Craig-Wood created-by-id:71A96798E7B1D253 id:71A96798E7B1D253#71A96798E7B1D253!s416769cdacb9416a8a5e475ed7f66408 last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:71A96798E7B1D253 malware-detected:false mtime:2026-07-15T05:29:08Z 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/Ac1pZ0G5rGpBil5HXtf2ZAg"},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja0BjcmFpZy13b29kLmNvbQ"}] utime:2026-07-15T05:29:08Z] ) 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/15 05:29:12 DEBUG : OneDrive root 'rclone-test-nikawuy9hano': Purge remote 2026/07/15 05:29:13 DEBUG : OneDrive root 'rclone-test-nikawuy9hano': Purge remote 2026/07/15 05:29:13 NOTICE: purge failed: directory not found 2026/07/15 05:29:13 DEBUG : OneDrive root 'rclone-test-pihusog1guza': Purge remote 2026/07/15 05:29:14 NOTICE: purge failed: directory not found 2026/07/15 05:29:14 DEBUG : OneDrive root 'rclone-test-sajetuy5vami': Purge remote 2026/07/15 05:29:14 NOTICE: purge failed: directory not found 2026/07/15 05:29:14 DEBUG : OneDrive root 'rclone-test-wuqobel1vobo': Purge remote 2026/07/15 05:29:14 NOTICE: purge failed: directory not found 2026/07/15 05:29:14 DEBUG : OneDrive root 'rclone-test-wekevar7xila': Purge remote 2026/07/15 05:29:15 NOTICE: purge failed: directory not found 2026/07/15 05:29:15 DEBUG : OneDrive root 'rclone-test-taqedef8zavi': Purge remote 2026/07/15 05:29:15 NOTICE: purge failed: directory not found 2026/07/15 05:29:16 ERROR : error listing: directory not found --- FAIL: TestIntegration (60.03s) --- FAIL: TestIntegration/FsMkdir (57.90s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (56.67s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (49.31s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (12.17s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (3.93s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (3.93s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (3.68s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (5.94s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (6.64s) FAIL 2026/07/15 05:29:16 DEBUG : OneDrive root 'rclone-test-bayexoq2quyu': Purge remote 2026/07/15 05:29:17 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 62.078s "go test -v -timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 1m2.835606511s (try 3/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]