"go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 4/5) 2026/05/07 02:44:55 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-sidicay8movi" 2026/05/07 02:44:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 02:44:56 DEBUG : Creating backend with remote "/tmp/rclone2552620268" === RUN TestIntegration fstests.go:438: Using remote "TestOneDriveBusiness:" 2026/05/07 02:44:56 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-xavelop3zofo" 2026/05/07 02:44:56 DEBUG : Using config file from "/home/rclone/.rclone.conf" === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/05/07 02:44:58 DEBUG : file name.txt: Starting multipart upload 2026/05/07 02:44:59 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/05/07 02:45:03 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/05/07 02:45:04 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/05/07 02:45:05 DEBUG : file name.txt: Starting multipart upload 2026/05/07 02:45:05 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/05/07 02:45:05 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/05/07 02:45:05 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/05/07 02:45:07 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-nezoyah0wuge" 2026/05/07 02:45:07 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 02:45:08 DEBUG : Creating backend with remote "/tmp/rclone1819387551" run.go:198: Remote "OneDrive root 'rclone-test-nezoyah0wuge'", Local "Local file system at /tmp/rclone1819387551", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/05/07 02:45:09 DEBUG : some file-bicelix8.txt: Starting multipart upload 2026/05/07 02:45:09 DEBUG : some file-bicelix8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:10 DEBUG : some file-bicelix8.txt: Uploading segment 0/5 size 5 2026/05/07 02:45:11 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:11 DEBUG : some file-bicelix8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:11 DEBUG : some file-bicelix8.txt: sortPermissions: will add permission: &{ [] 0x158846aad680 [0x158846aad800] [read] } [read] 2026/05/07 02:45:11 DEBUG : some file-bicelix8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:11 DEBUG : some file-bicelix8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:11 DEBUG : some file-bicelix8.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/07 02:45:13 ERROR : some file-bicelix8.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:13 ERROR : some file-bicelix8.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:13 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 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": "", "grantedToV2": { "user": {}, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToIdentitiesV2": [ { "user": { "id": "ryan@contoso.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} } ], "roles": [ "read" ] } ] got: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] ) 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/05/07 02:45:13 DEBUG : some file-bicelix8.txt: Starting multipart upload 2026/05/07 02:45:13 DEBUG : some file-bicelix8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:14 DEBUG : some file-bicelix8.txt: Uploading segment 0/5 size 5 2026/05/07 02:45:15 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:15 DEBUG : some file-bicelix8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:15 DEBUG : some file-bicelix8.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ) 2026/05/07 02:45:15 DEBUG : some file-bicelix8.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/07 02:45:15 DEBUG : some file-bicelix8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:15 DEBUG : some file-bicelix8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:15 DEBUG : some file-bicelix8.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/07 02:45:16 DEBUG : some file-bicelix8.txt: updated permissions (now has 2 permissions) 2026/05/07 02:45:16 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 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":"Charlie Gaither - O365", "email":"charlie@delta911turbo.com", "id":"8e2784d2-8bbe-418f-a009-02c35817ede7"}}, "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":"Charlie Gaither - O365", "email":"charlie@delta911turbo.com", "id":"6", "loginName":"i:0#.f|membership|charlie@delta911turbo.com"}, "user":map[string]interface {}{"displayName":"Charlie Gaither - O365", "email":"charlie@delta911turbo.com", "id":"8e2784d2-8bbe-418f-a009-02c35817ede7"}}, "id":"", "inheritedFrom":map[string]interface {}{"driveId":"", "driveType":"", "id":"", "path":""}, "roles":[]interface {}{"write"}}, 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@whitecell.online", "id":"9d952662-9958-4d05-b47e-a9bf9c661abd"}}, "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@whitecell.online", "id":"4", "loginName":"i:0#.f|membership|nick_craig-wood@whitecell.online"}, "user":map[string]interface {}{"displayName":"Nick Craig-Wood", "email":"nick_craig-wood@whitecell.online", "id":"9d952662-9958-4d05-b47e-a9bf9c661abd"}}, "id":"", "inheritedFrom":map[string]interface {}{"driveId":"", "driveType":"", "id":"", "path":""}, "roles":[]interface {}{"owner"}}} 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":"Charlie Gaither - O365", "email":"charlie@delta911turbo.com", "id":"8e2784d2-8bbe-418f-a009-02c35817ede7"}}, "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":"Charlie Gaither - O365", "email":"charlie@delta911turbo.com", "id":"6", "loginName":"i:0#.f|membership|charlie@delta911turbo.com"}, "user":map[string]interface {}{"displayName":"Charlie Gaither - O365", "email":"charlie@delta911turbo.com", "id":"8e2784d2-8bbe-418f-a009-02c35817ede7"}}, "id":"", "inheritedFrom":map[string]interface {}{"driveId":"", "driveType":"", "id":"", "path":""}, "roles":[]interface {}{"owner"}}, 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@whitecell.online", "id":"9d952662-9958-4d05-b47e-a9bf9c661abd"}}, "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@whitecell.online", "id":"4", "loginName":"i:0#.f|membership|nick_craig-wood@whitecell.online"}, "user":map[string]interface {}{"displayName":"Nick Craig-Wood", "email":"nick_craig-wood@whitecell.online", "id":"9d952662-9958-4d05-b47e-a9bf9c661abd"}}, "id":"", "inheritedFrom":map[string]interface {}{"driveId":"", "driveType":"", "id":"", "path":""}, "roles":[]interface {}{"owner"}}} Diff: --- Expected +++ Actual @@ -48,3 +48,3 @@ (string) (len=5) "roles": ([]interface {}) (len=1) { - (string) (len=5) "write" + (string) (len=5) "owner" } Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/05/07 02:45:16 DEBUG : some file-bicelix8.txt: Starting multipart upload 2026/05/07 02:45:16 DEBUG : some file-bicelix8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:17 DEBUG : some file-bicelix8.txt: Uploading segment 0/5 size 5 2026/05/07 02:45:18 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:18 DEBUG : some file-bicelix8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:18 DEBUG : some file-bicelix8.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/07 02:45:18 DEBUG : some file-bicelix8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:18 DEBUG : some file-bicelix8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:18 DEBUG : some file-bicelix8.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/07 02:45:19 DEBUG : some file-bicelix8.txt: updated permissions (now has 2 permissions) 2026/05/07 02:45:19 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:19 DEBUG : OneDrive root 'rclone-test-nezoyah0wuge': Purge remote 2026/05/07 02:45:20 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-zaqaqah8loxa" 2026/05/07 02:45:20 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 02:45:22 DEBUG : Creating backend with remote "/tmp/rclone1063623230" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-zaqaqah8loxa'", Local "Local file system at /tmp/rclone1063623230", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/05/07 02:45:22 DEBUG : some file-duxobuy4.txt: Starting singlepart upload 2026/05/07 02:45:23 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:23 DEBUG : some file-duxobuy4.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:23 DEBUG : some file-duxobuy4.txt: sortPermissions: will add permission: &{ [] 0x158846b9b080 [0x158846b9b200] [read] } [read] 2026/05/07 02:45:23 DEBUG : some file-duxobuy4.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:23 DEBUG : some file-duxobuy4.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:23 DEBUG : some file-duxobuy4.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/07 02:45:25 ERROR : some file-duxobuy4.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:25 ERROR : some file-duxobuy4.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:25 DEBUG : info from Update error: null fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go: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/05/07 02:45:25 DEBUG : OneDrive root 'rclone-test-zaqaqah8loxa': Purge remote 2026/05/07 02:45:26 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-xikasom3xufu" 2026/05/07 02:45:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 02:45:26 DEBUG : Creating backend with remote "/tmp/rclone377194929" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-xikasom3xufu'", Local "Local file system at /tmp/rclone377194929", Modify Window "1s" 2026/05/07 02:45:26 DEBUG : OneDrive root 'rclone-test-xikasom3xufu': Purge remote 2026/05/07 02:45:27 NOTICE: purge failed: directory not found 2026/05/07 02:45:27 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-kexerat8nede" 2026/05/07 02:45:27 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 02:45:29 DEBUG : Creating backend with remote "/tmp/rclone3025472185" run.go:198: Remote "OneDrive root 'rclone-test-kexerat8nede'", Local "Local file system at /tmp/rclone3025472185", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/05/07 02:45:29 DEBUG : some file-sipexob8.txt: Starting singlepart upload 2026/05/07 02:45:30 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:30 DEBUG : some file-sipexob8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:30 DEBUG : some file-sipexob8.txt: sortPermissions: will add permission: &{ [] 0x158846b9af00 [0x158846b9b080] [write] } [write] 2026/05/07 02:45:30 DEBUG : some file-sipexob8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:30 DEBUG : some file-sipexob8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:30 DEBUG : some file-sipexob8.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/07 02:45:32 ERROR : some file-sipexob8.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:32 ERROR : some file-sipexob8.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:32 DEBUG : info from Update error: null fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go: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/05/07 02:45:32 DEBUG : OneDrive root 'rclone-test-kexerat8nede': Purge remote 2026/05/07 02:45:33 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-qahufum0mevu" 2026/05/07 02:45:33 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 02:45:33 DEBUG : Creating backend with remote "/tmp/rclone2524671614" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-qahufum0mevu'", Local "Local file system at /tmp/rclone2524671614", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/05/07 02:45:33 DEBUG : subdir: Making directory with metadata 2026/05/07 02:45:34 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/05/07 02:45:34 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:35 DEBUG : subdir: sortPermissions: will add permission: &{ [] 0x158846ac6480 [0x158846ac6600] [read] } [read] 2026/05/07 02:45:35 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:35 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:35 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/07 02:45:37 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:37 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/05/07 02:45:37 DEBUG : OneDrive root 'rclone-test-qahufum0mevu': Purge remote 2026/05/07 02:45:37 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-soduzeb2lizi" 2026/05/07 02:45:37 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 02:45:39 DEBUG : Creating backend with remote "/tmp/rclone1125042971" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-soduzeb2lizi'", Local "Local file system at /tmp/rclone1125042971", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/05/07 02:45:39 DEBUG : some file-lamafaz8.txt: Starting singlepart upload 2026/05/07 02:45:40 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:40 DEBUG : some file-lamafaz8.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/07 02:45:41 DEBUG : some file-lamafaz8.txt: sortPermissions: will add permission: &{ [] 0x158846861b00 [0x158846861c80] [read] } [read] 2026/05/07 02:45:41 DEBUG : some file-lamafaz8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:41 DEBUG : some file-lamafaz8.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:41 DEBUG : some file-lamafaz8.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/07 02:45:42 ERROR : some file-lamafaz8.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:42 ERROR : some file-lamafaz8.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:42 DEBUG : info from Update error: null fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go: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/05/07 02:45:42 DEBUG : OneDrive root 'rclone-test-soduzeb2lizi': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/05/07 02:45:43 DEBUG : some file-vicayic3.txt: Starting singlepart upload 2026/05/07 02:45:44 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone1125042971", "SrcFsType": "local", "DstFs": "TestOneDriveBusiness:rclone-test-soduzeb2lizi", "DstFsType": "onedrive", "Remote": "some file-vicayic3.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-05-07T02:45:43.062732285Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/05/07 02:45:44 DEBUG : some file-vicayic3.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentitiesV2\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/05/07 02:45:44 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentitiesV2\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/05/07 02:45:44 DEBUG : some file-vicayic3.txt: Metadata mapper returned in 5.356771ms 2026/05/07 02:45:44 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/07 02:45:44 DEBUG : some file-vicayic3.txt: sortPermissions: will add permission: &{ [] [0x158846b4ca80] [read] } [read] 2026/05/07 02:45:44 DEBUG : some file-vicayic3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:44 DEBUG : some file-vicayic3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/07 02:45:44 DEBUG : some file-vicayic3.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/07 02:45:45 ERROR : some file-vicayic3.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:45 ERROR : some file-vicayic3.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/07 02:45:45 DEBUG : info from Update error: null 2026/05/07 02:45:45 ERROR : some file-cefukug9.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/05/07 02:45:46 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 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":"[{\"grantedToIdentitiesV2\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} got: map[btime:2026-05-07T02:45:44Z content-type:text/plain created-by-display-name:Nick Craig-Wood created-by-id:9d952662-9958-4d05-b47e-a9bf9c661abd id:b!tPczmrJTCE2ShO96VLAAn_DGv2_4eZJGl83N0OQe_t9LuHcGPileQ7YByS0_6_xp#01W3O4PF2RSY7GYYUKPNCIIXH3WVFEBS5Z last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:9d952662-9958-4d05-b47e-a9bf9c661abd malware-detected:false mtime:2026-05-07T02:45:44Z permissions:[{"id":"aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ","grantedTo":{"user":{"displayName":"Charlie Gaither - O365","id":"8e2784d2-8bbe-418f-a009-02c35817ede7","email":"charlie@delta911turbo.com"},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{}},"grantedToV2":{"user":{"displayName":"Charlie Gaither - O365","id":"8e2784d2-8bbe-418f-a009-02c35817ede7","email":"charlie@delta911turbo.com"},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{"displayName":"Charlie Gaither - O365","id":"6","email":"charlie@delta911turbo.com","loginName":"i:0#.f|membership|charlie@delta911turbo.com"}},"inheritedFrom":{"driveId":"","id":"","path":"","driveType":""},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ"},{"id":"aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU","grantedTo":{"user":{"displayName":"Nick Craig-Wood","id":"9d952662-9958-4d05-b47e-a9bf9c661abd","email":"nick_craig-wood@whitecell.online"},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{}},"grantedToV2":{"user":{"displayName":"Nick Craig-Wood","id":"9d952662-9958-4d05-b47e-a9bf9c661abd","email":"nick_craig-wood@whitecell.online"},"application":{},"device":{},"group":{},"siteGroup":{},"siteUser":{"displayName":"Nick Craig-Wood","id":"4","email":"nick_craig-wood@whitecell.online","loginName":"i:0#.f|membership|nick_craig-wood@whitecell.online"}},"inheritedFrom":{"driveId":"","id":"","path":"","driveType":""},"roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU"}] utime:2026-05-07T02:45:44Z] ) 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/05/07 02:45:46 DEBUG : OneDrive root 'rclone-test-soduzeb2lizi': Purge remote 2026/05/07 02:45:46 DEBUG : OneDrive root 'rclone-test-soduzeb2lizi': Purge remote 2026/05/07 02:45:46 NOTICE: purge failed: directory not found 2026/05/07 02:45:46 DEBUG : OneDrive root 'rclone-test-qahufum0mevu': Purge remote 2026/05/07 02:45:46 NOTICE: purge failed: directory not found 2026/05/07 02:45:46 DEBUG : OneDrive root 'rclone-test-kexerat8nede': Purge remote 2026/05/07 02:45:47 NOTICE: purge failed: directory not found 2026/05/07 02:45:47 DEBUG : OneDrive root 'rclone-test-xikasom3xufu': Purge remote 2026/05/07 02:45:47 NOTICE: purge failed: directory not found 2026/05/07 02:45:47 DEBUG : OneDrive root 'rclone-test-zaqaqah8loxa': Purge remote 2026/05/07 02:45:47 NOTICE: purge failed: directory not found 2026/05/07 02:45:47 DEBUG : OneDrive root 'rclone-test-nezoyah0wuge': Purge remote 2026/05/07 02:45:47 NOTICE: purge failed: directory not found 2026/05/07 02:45:48 ERROR : error listing: directory not found --- FAIL: TestIntegration (51.98s) --- FAIL: TestIntegration/FsMkdir (50.26s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (49.14s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (40.78s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (11.01s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (3.74s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (3.73s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (3.33s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (3.42s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (3.14s) FAIL 2026/05/07 02:45:48 DEBUG : OneDrive root 'rclone-test-sidicay8movi': Purge remote 2026/05/07 02:45:49 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 54.084s "go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 54.827615936s (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]