"go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 3/5) 2026/05/15 03:26:50 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-buxaruz3xeme" 2026/05/15 03:26:50 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/15 03:26:52 DEBUG : Creating backend with remote "/tmp/rclone696966040" === RUN TestIntegration fstests.go:438: Using remote "TestOneDriveBusiness:" 2026/05/15 03:26:52 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-vesotad1seva" 2026/05/15 03:26:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/05/15 03:26:54 DEBUG : file name.txt: Starting multipart upload 2026/05/15 03:26:55 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/05/15 03:26:59 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/05/15 03:27:00 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/05/15 03:27:01 DEBUG : file name.txt: Starting multipart upload 2026/05/15 03:27:01 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/05/15 03:27:01 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/05/15 03:27:02 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/05/15 03:27:03 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-xupojaq2rige" 2026/05/15 03:27:03 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/15 03:27:05 DEBUG : Creating backend with remote "/tmp/rclone457178284" run.go:198: Remote "OneDrive root 'rclone-test-xupojaq2rige'", Local "Local file system at /tmp/rclone457178284", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/05/15 03:27:06 DEBUG : some file-vezahul9.txt: Starting multipart upload 2026/05/15 03:27:06 DEBUG : some file-vezahul9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:06 DEBUG : some file-vezahul9.txt: Uploading segment 0/5 size 5 2026/05/15 03:27:08 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/15 03:27:08 DEBUG : some file-vezahul9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:08 DEBUG : some file-vezahul9.txt: sortPermissions: will add permission: &{ [] 0x35ed2aa35080 [0x35ed2aa35200] [read] } [read] 2026/05/15 03:27:08 DEBUG : some file-vezahul9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:08 DEBUG : some file-vezahul9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:08 DEBUG : some file-vezahul9.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/15 03:27:09 ERROR : some file-vezahul9.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:09 ERROR : some file-vezahul9.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:10 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/15 03:27:10 DEBUG : some file-vezahul9.txt: Starting multipart upload 2026/05/15 03:27:10 DEBUG : some file-vezahul9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:10 DEBUG : some file-vezahul9.txt: Uploading segment 0/5 size 5 2026/05/15 03:27: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/15 03:27:11 DEBUG : some file-vezahul9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:12 DEBUG : some file-vezahul9.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ) 2026/05/15 03:27:12 DEBUG : some file-vezahul9.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/15 03:27:12 DEBUG : some file-vezahul9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:12 DEBUG : some file-vezahul9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:12 DEBUG : some file-vezahul9.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/15 03:27:12 DEBUG : some file-vezahul9.txt: updated permissions (now has 2 permissions) 2026/05/15 03:27: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: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/15 03:27:13 DEBUG : some file-vezahul9.txt: Starting multipart upload 2026/05/15 03:27:13 DEBUG : some file-vezahul9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:14 DEBUG : some file-vezahul9.txt: Uploading segment 0/5 size 5 2026/05/15 03:27: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/15 03:27:15 DEBUG : some file-vezahul9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:15 DEBUG : some file-vezahul9.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/15 03:27:15 DEBUG : some file-vezahul9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:15 DEBUG : some file-vezahul9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:15 DEBUG : some file-vezahul9.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/15 03:27:15 DEBUG : some file-vezahul9.txt: updated permissions (now has 2 permissions) 2026/05/15 03:27: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" } ] 2026/05/15 03:27:16 DEBUG : OneDrive root 'rclone-test-xupojaq2rige': Purge remote 2026/05/15 03:27:17 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-muqekal5lame" 2026/05/15 03:27:17 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/15 03:27:18 DEBUG : Creating backend with remote "/tmp/rclone974969615" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-muqekal5lame'", Local "Local file system at /tmp/rclone974969615", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/05/15 03:27:19 DEBUG : some file-xovegep3.txt: Starting singlepart upload 2026/05/15 03:27:20 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/15 03:27:20 DEBUG : some file-xovegep3.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:20 DEBUG : some file-xovegep3.txt: sortPermissions: will add permission: &{ [] 0x35ed2b08e180 [0x35ed2b08e300] [read] } [read] 2026/05/15 03:27:20 DEBUG : some file-xovegep3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:20 DEBUG : some file-xovegep3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:20 DEBUG : some file-xovegep3.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/15 03:27:22 ERROR : some file-xovegep3.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:22 ERROR : some file-xovegep3.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:22 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/15 03:27:22 DEBUG : OneDrive root 'rclone-test-muqekal5lame': Purge remote 2026/05/15 03:27:22 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-riwojek0suna" 2026/05/15 03:27:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/15 03:27:24 DEBUG : Creating backend with remote "/tmp/rclone3999901870" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-riwojek0suna'", Local "Local file system at /tmp/rclone3999901870", Modify Window "1s" 2026/05/15 03:27:24 DEBUG : OneDrive root 'rclone-test-riwojek0suna': Purge remote 2026/05/15 03:27:24 NOTICE: purge failed: directory not found 2026/05/15 03:27:24 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-pivaqoj7rosa" 2026/05/15 03:27:24 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/15 03:27:26 DEBUG : Creating backend with remote "/tmp/rclone268305902" run.go:198: Remote "OneDrive root 'rclone-test-pivaqoj7rosa'", Local "Local file system at /tmp/rclone268305902", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/05/15 03:27:27 DEBUG : some file-fobeqan6.txt: Starting singlepart upload 2026/05/15 03:27:28 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/15 03:27:28 DEBUG : some file-fobeqan6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:28 DEBUG : some file-fobeqan6.txt: sortPermissions: will add permission: &{ [] 0x35ed2aefef00 [0x35ed2aeff080] [write] } [write] 2026/05/15 03:27:28 DEBUG : some file-fobeqan6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:28 DEBUG : some file-fobeqan6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:28 DEBUG : some file-fobeqan6.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/15 03:27:30 ERROR : some file-fobeqan6.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:30 ERROR : some file-fobeqan6.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:30 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/15 03:27:30 DEBUG : OneDrive root 'rclone-test-pivaqoj7rosa': Purge remote 2026/05/15 03:27:30 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-zizayal2giha" 2026/05/15 03:27:30 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/15 03:27:32 DEBUG : Creating backend with remote "/tmp/rclone3378255449" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-zizayal2giha'", Local "Local file system at /tmp/rclone3378255449", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/05/15 03:27:32 DEBUG : subdir: Making directory with metadata 2026/05/15 03:27:33 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:33 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/05/15 03:27:34 DEBUG : subdir: sortPermissions: will add permission: &{ [] 0x35ed2aefe480 [0x35ed2aefe600] [read] } [read] 2026/05/15 03:27:34 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:34 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:34 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/15 03:27:35 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:35 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/15 03:27:35 DEBUG : OneDrive root 'rclone-test-zizayal2giha': Purge remote 2026/05/15 03:27:36 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-renuhir4cave" 2026/05/15 03:27:36 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/15 03:27:37 DEBUG : Creating backend with remote "/tmp/rclone4181645283" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-renuhir4cave'", Local "Local file system at /tmp/rclone4181645283", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/05/15 03:27:38 DEBUG : some file-voxoqax3.txt: Starting singlepart upload 2026/05/15 03:27:39 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/15 03:27:39 DEBUG : some file-voxoqax3.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/15 03:27:39 DEBUG : some file-voxoqax3.txt: sortPermissions: will add permission: &{ [] 0x35ed2aea8180 [0x35ed2aea8300] [read] } [read] 2026/05/15 03:27:39 DEBUG : some file-voxoqax3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:39 DEBUG : some file-voxoqax3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:39 DEBUG : some file-voxoqax3.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/15 03:27:41 ERROR : some file-voxoqax3.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:41 ERROR : some file-voxoqax3.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:41 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/15 03:27:41 DEBUG : OneDrive root 'rclone-test-renuhir4cave': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/05/15 03:27:42 DEBUG : some file-xewajej3.txt: Starting singlepart upload 2026/05/15 03:27:42 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone4181645283", "SrcFsType": "local", "DstFs": "TestOneDriveBusiness:rclone-test-renuhir4cave", "DstFsType": "onedrive", "Remote": "some file-xewajej3.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-15T03:27:41.796230249Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/05/15 03:27:42 DEBUG : some file-xewajej3.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentitiesV2\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/05/15 03:27:42 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentitiesV2\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/05/15 03:27:42 DEBUG : some file-xewajej3.txt: Metadata mapper returned in 1.857284ms 2026/05/15 03:27: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/15 03:27:43 DEBUG : some file-xewajej3.txt: sortPermissions: will add permission: &{ [] [0x35ed2a9bb080] [read] } [read] 2026/05/15 03:27:43 DEBUG : some file-xewajej3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:43 DEBUG : some file-xewajej3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/15 03:27:43 DEBUG : some file-xewajej3.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/15 03:27:45 ERROR : some file-xewajej3.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:45 ERROR : some file-xewajej3.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/15 03:27:45 DEBUG : info from Update error: null 2026/05/15 03:27:45 ERROR : some file-rupepuw0.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/15 03:27:45 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-15T03:27:43Z 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#01W3O4PF2VA4NBRONZS5AZ5MZX4IPTAPDW last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:9d952662-9958-4d05-b47e-a9bf9c661abd malware-detected:false mtime:2026-05-15T03:27:43Z 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-15T03:27:43Z] ) 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/15 03:27:45 DEBUG : OneDrive root 'rclone-test-renuhir4cave': Purge remote 2026/05/15 03:27:45 DEBUG : OneDrive root 'rclone-test-renuhir4cave': Purge remote 2026/05/15 03:27:46 NOTICE: purge failed: directory not found 2026/05/15 03:27:46 DEBUG : OneDrive root 'rclone-test-zizayal2giha': Purge remote 2026/05/15 03:27:46 NOTICE: purge failed: directory not found 2026/05/15 03:27:46 DEBUG : OneDrive root 'rclone-test-pivaqoj7rosa': Purge remote 2026/05/15 03:27:46 NOTICE: purge failed: directory not found 2026/05/15 03:27:46 DEBUG : OneDrive root 'rclone-test-riwojek0suna': Purge remote 2026/05/15 03:27:46 NOTICE: purge failed: directory not found 2026/05/15 03:27:46 DEBUG : OneDrive root 'rclone-test-muqekal5lame': Purge remote 2026/05/15 03:27:47 NOTICE: purge failed: directory not found 2026/05/15 03:27:47 DEBUG : OneDrive root 'rclone-test-xupojaq2rige': Purge remote 2026/05/15 03:27:47 NOTICE: purge failed: directory not found 2026/05/15 03:27:48 ERROR : error listing: directory not found --- FAIL: TestIntegration (55.71s) --- FAIL: TestIntegration/FsMkdir (53.97s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (52.87s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (43.79s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (11.21s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (3.68s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (3.62s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (3.47s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (3.51s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (3.90s) FAIL 2026/05/15 03:27:48 DEBUG : OneDrive root 'rclone-test-buxaruz3xeme': Purge remote 2026/05/15 03:27:48 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 57.833s "go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 58.588080971s (try 3/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper]