"go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 5/5) 2026/05/08 02:22:27 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-tosagih7sora" 2026/05/08 02:22:27 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 02:22:29 DEBUG : Creating backend with remote "/tmp/rclone1269751095" === RUN TestIntegration fstests.go:438: Using remote "TestOneDriveBusiness:" 2026/05/08 02:22:29 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-ficoqom0gore" 2026/05/08 02:22:29 DEBUG : Using config file from "/home/rclone/.rclone.conf" === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/05/08 02:22:32 DEBUG : file name.txt: Starting multipart upload 2026/05/08 02:22:32 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/05/08 02:22:36 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/05/08 02:22:37 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/05/08 02:22:38 DEBUG : file name.txt: Starting multipart upload 2026/05/08 02:22:38 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/05/08 02:22:38 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/05/08 02:22:39 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/05/08 02:22:40 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-fosojes5pawa" 2026/05/08 02:22:40 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 02:22:41 DEBUG : Creating backend with remote "/tmp/rclone3767970010" run.go:198: Remote "OneDrive root 'rclone-test-fosojes5pawa'", Local "Local file system at /tmp/rclone3767970010", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/05/08 02:22:41 DEBUG : some file-dokemum6.txt: Starting multipart upload 2026/05/08 02:22:41 DEBUG : some file-dokemum6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:22:42 DEBUG : some file-dokemum6.txt: Uploading segment 0/5 size 5 2026/05/08 02:22:43 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/08 02:22:43 DEBUG : some file-dokemum6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:22:44 DEBUG : some file-dokemum6.txt: sortPermissions: will add permission: &{ [] 0xc4b265c900 [0xc4b265ca80] [read] } [read] 2026/05/08 02:22:44 DEBUG : some file-dokemum6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:44 DEBUG : some file-dokemum6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:44 DEBUG : some file-dokemum6.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/08 02:22:45 ERROR : some file-dokemum6.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:22:45 ERROR : some file-dokemum6.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:22: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: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/08 02:22:46 DEBUG : some file-dokemum6.txt: Starting multipart upload 2026/05/08 02:22:46 DEBUG : some file-dokemum6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:22:46 DEBUG : some file-dokemum6.txt: Uploading segment 0/5 size 5 2026/05/08 02:22:47 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/08 02:22:47 DEBUG : some file-dokemum6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:22:48 DEBUG : some file-dokemum6.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ) 2026/05/08 02:22:48 DEBUG : some file-dokemum6.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/08 02:22:48 DEBUG : some file-dokemum6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:48 DEBUG : some file-dokemum6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:48 DEBUG : some file-dokemum6.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/08 02:22:48 DEBUG : some file-dokemum6.txt: updated permissions (now has 2 permissions) 2026/05/08 02:22:49 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/08 02:22:49 DEBUG : some file-dokemum6.txt: Starting multipart upload 2026/05/08 02:22:49 DEBUG : some file-dokemum6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:22:49 DEBUG : some file-dokemum6.txt: Uploading segment 0/5 size 5 2026/05/08 02:22:50 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/08 02:22:50 DEBUG : some file-dokemum6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:22:51 DEBUG : some file-dokemum6.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/08 02:22:51 DEBUG : some file-dokemum6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:51 DEBUG : some file-dokemum6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:51 DEBUG : some file-dokemum6.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/08 02:22:51 DEBUG : some file-dokemum6.txt: updated permissions (now has 2 permissions) 2026/05/08 02:22:52 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/08 02:22:52 DEBUG : OneDrive root 'rclone-test-fosojes5pawa': Purge remote 2026/05/08 02:22:52 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-fesoyul6quwo" 2026/05/08 02:22:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 02:22:53 DEBUG : Creating backend with remote "/tmp/rclone2352686413" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-fesoyul6quwo'", Local "Local file system at /tmp/rclone2352686413", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/05/08 02:22:53 DEBUG : some file-nadacih4.txt: Starting singlepart upload 2026/05/08 02:22:54 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/08 02:22:54 DEBUG : some file-nadacih4.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:22:54 DEBUG : some file-nadacih4.txt: sortPermissions: will add permission: &{ [] 0xc4b265c900 [0xc4b265ca80] [read] } [read] 2026/05/08 02:22:54 DEBUG : some file-nadacih4.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:54 DEBUG : some file-nadacih4.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:22:54 DEBUG : some file-nadacih4.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/08 02:22:56 ERROR : some file-nadacih4.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:22:56 ERROR : some file-nadacih4.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:22:56 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/08 02:22:56 DEBUG : OneDrive root 'rclone-test-fesoyul6quwo': Purge remote 2026/05/08 02:22:56 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-zoluxuc5metu" 2026/05/08 02:22:56 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 02:22:58 DEBUG : Creating backend with remote "/tmp/rclone3740329288" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-zoluxuc5metu'", Local "Local file system at /tmp/rclone3740329288", Modify Window "1s" 2026/05/08 02:22:58 DEBUG : OneDrive root 'rclone-test-zoluxuc5metu': Purge remote 2026/05/08 02:22:58 NOTICE: purge failed: directory not found 2026/05/08 02:22:58 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-nedohof1guke" 2026/05/08 02:22:58 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 02:23:00 DEBUG : Creating backend with remote "/tmp/rclone2658267047" run.go:198: Remote "OneDrive root 'rclone-test-nedohof1guke'", Local "Local file system at /tmp/rclone2658267047", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/05/08 02:23:01 DEBUG : some file-pipezan7.txt: Starting singlepart upload 2026/05/08 02:23:01 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/08 02:23:01 DEBUG : some file-pipezan7.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:23:02 DEBUG : some file-pipezan7.txt: sortPermissions: will add permission: &{ [] 0xc4b25d9500 [0xc4b25d9680] [write] } [write] 2026/05/08 02:23:02 DEBUG : some file-pipezan7.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:02 DEBUG : some file-pipezan7.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:02 DEBUG : some file-pipezan7.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/08 02:23:03 ERROR : some file-pipezan7.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:23:03 ERROR : some file-pipezan7.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:23:03 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/08 02:23:03 DEBUG : OneDrive root 'rclone-test-nedohof1guke': Purge remote 2026/05/08 02:23:04 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-dexidak9raya" 2026/05/08 02:23:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 02:23:05 DEBUG : Creating backend with remote "/tmp/rclone1231266032" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-dexidak9raya'", Local "Local file system at /tmp/rclone1231266032", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/05/08 02:23:05 DEBUG : subdir: Making directory with metadata 2026/05/08 02:23:06 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/05/08 02:23:06 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:23:07 DEBUG : subdir: sortPermissions: will add permission: &{ [] 0xc4b2564180 [0xc4b2564300] [read] } [read] 2026/05/08 02:23:07 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:07 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:07 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/08 02:23:09 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:23:09 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/08 02:23:09 DEBUG : OneDrive root 'rclone-test-dexidak9raya': Purge remote 2026/05/08 02:23:09 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-bowibam9tiyo" 2026/05/08 02:23:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 02:23:10 DEBUG : Creating backend with remote "/tmp/rclone3169209197" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-bowibam9tiyo'", Local "Local file system at /tmp/rclone3169209197", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/05/08 02:23:11 DEBUG : some file-razeyon2.txt: Starting singlepart upload 2026/05/08 02:23: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/08 02:23:11 DEBUG : some file-razeyon2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/08 02:23:12 DEBUG : some file-razeyon2.txt: sortPermissions: will add permission: &{ [] 0xc4b265c900 [0xc4b265ca80] [read] } [read] 2026/05/08 02:23:12 DEBUG : some file-razeyon2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:12 DEBUG : some file-razeyon2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:12 DEBUG : some file-razeyon2.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/08 02:23:13 ERROR : some file-razeyon2.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:23:13 ERROR : some file-razeyon2.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:23: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: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/08 02:23:13 DEBUG : OneDrive root 'rclone-test-bowibam9tiyo': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/05/08 02:23:14 DEBUG : some file-saxigim4.txt: Starting singlepart upload 2026/05/08 02:23:14 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone3169209197", "SrcFsType": "local", "DstFs": "TestOneDriveBusiness:rclone-test-bowibam9tiyo", "DstFsType": "onedrive", "Remote": "some file-saxigim4.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-08T02:23:13.701427463Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/05/08 02:23:14 DEBUG : some file-saxigim4.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentitiesV2\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/05/08 02:23:14 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentitiesV2\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/05/08 02:23:14 DEBUG : some file-saxigim4.txt: Metadata mapper returned in 2.053636ms 2026/05/08 02:23: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/08 02:23:15 DEBUG : some file-saxigim4.txt: sortPermissions: will add permission: &{ [] [0xc4b265db00] [read] } [read] 2026/05/08 02:23:15 DEBUG : some file-saxigim4.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:15 DEBUG : some file-saxigim4.txt: skipping remove permission -- can't remove 'owner' role 2026/05/08 02:23:15 DEBUG : some file-saxigim4.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/08 02:23:16 ERROR : some file-saxigim4.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:23:16 ERROR : some file-saxigim4.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/08 02:23:16 DEBUG : info from Update error: null 2026/05/08 02:23:16 ERROR : some file-gecodej3.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/08 02:23: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: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-08T02:23:14Z 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#01W3O4PF5M5ENXQ2LNMVAIKYWOT42OPLUX last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:9d952662-9958-4d05-b47e-a9bf9c661abd malware-detected:false mtime:2026-05-08T02:23:14Z 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-08T02:23:14Z] ) onedrive_internal_test.go:364: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_internal_test.go:364 Error: Not equal: expected: 1 actual : 0 Test: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper Messages: expected to find exactly 1 match 2026/05/08 02:23:16 DEBUG : OneDrive root 'rclone-test-bowibam9tiyo': Purge remote 2026/05/08 02:23:17 DEBUG : OneDrive root 'rclone-test-bowibam9tiyo': Purge remote 2026/05/08 02:23:17 NOTICE: purge failed: directory not found 2026/05/08 02:23:17 DEBUG : OneDrive root 'rclone-test-dexidak9raya': Purge remote 2026/05/08 02:23:17 NOTICE: purge failed: directory not found 2026/05/08 02:23:17 DEBUG : OneDrive root 'rclone-test-nedohof1guke': Purge remote 2026/05/08 02:23:17 NOTICE: purge failed: directory not found 2026/05/08 02:23:17 DEBUG : OneDrive root 'rclone-test-zoluxuc5metu': Purge remote 2026/05/08 02:23:18 NOTICE: purge failed: directory not found 2026/05/08 02:23:18 DEBUG : OneDrive root 'rclone-test-fesoyul6quwo': Purge remote 2026/05/08 02:23:18 NOTICE: purge failed: directory not found 2026/05/08 02:23:18 DEBUG : OneDrive root 'rclone-test-fosojes5pawa': Purge remote 2026/05/08 02:23:18 NOTICE: purge failed: directory not found 2026/05/08 02:23:19 ERROR : error listing: directory not found --- FAIL: TestIntegration (50.06s) --- FAIL: TestIntegration/FsMkdir (47.54s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (46.51s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (38.27s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (11.02s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (3.20s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (3.50s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (3.39s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (2.87s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (3.26s) FAIL 2026/05/08 02:23:19 DEBUG : OneDrive root 'rclone-test-tosagih7sora': Purge remote 2026/05/08 02:23:19 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 52.078s "go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 52.84896583s (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]