"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/18 02:13:28 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-hoxanob9dofu" 2026/05/18 02:13:28 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 02:13:29 DEBUG : Creating backend with remote "/tmp/rclone3695127593" === RUN TestIntegration fstests.go:438: Using remote "TestOneDriveBusiness:" 2026/05/18 02:13:29 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-tocicun9doca" 2026/05/18 02:13:29 DEBUG : Using config file from "/home/rclone/.rclone.conf" === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/05/18 02:13:32 DEBUG : file name.txt: Starting multipart upload 2026/05/18 02:13:33 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/05/18 02:13:38 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/05/18 02:13:38 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/05/18 02:13:40 DEBUG : file name.txt: Starting multipart upload 2026/05/18 02:13:40 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/05/18 02:13:40 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/05/18 02:13:40 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/05/18 02:13:42 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-xokesed3qaqe" 2026/05/18 02:13:42 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 02:13:44 DEBUG : Creating backend with remote "/tmp/rclone866477579" run.go:198: Remote "OneDrive root 'rclone-test-xokesed3qaqe'", Local "Local file system at /tmp/rclone866477579", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/05/18 02:13:44 DEBUG : some file-lahiyeg9.txt: Starting multipart upload 2026/05/18 02:13:44 DEBUG : some file-lahiyeg9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:13:45 DEBUG : some file-lahiyeg9.txt: Uploading segment 0/5 size 5 2026/05/18 02:13: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" } ] 2026/05/18 02:13:46 DEBUG : some file-lahiyeg9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:13:47 DEBUG : some file-lahiyeg9.txt: sortPermissions: will add permission: &{ [] 0x204fbc795080 [0x204fbc795200] [read] } [read] 2026/05/18 02:13:47 DEBUG : some file-lahiyeg9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:13:47 DEBUG : some file-lahiyeg9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:13:47 DEBUG : some file-lahiyeg9.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/18 02:13:49 ERROR : some file-lahiyeg9.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:13:49 ERROR : some file-lahiyeg9.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:13: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" } ] 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/18 02:13:50 DEBUG : some file-lahiyeg9.txt: Starting multipart upload 2026/05/18 02:13:50 DEBUG : some file-lahiyeg9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:13:50 DEBUG : some file-lahiyeg9.txt: Uploading segment 0/5 size 5 2026/05/18 02:13:51 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/18 02:13:51 DEBUG : some file-lahiyeg9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:13:52 DEBUG : some file-lahiyeg9.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ) 2026/05/18 02:13:52 DEBUG : some file-lahiyeg9.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/18 02:13:52 DEBUG : some file-lahiyeg9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:13:52 DEBUG : some file-lahiyeg9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:13:52 DEBUG : some file-lahiyeg9.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/18 02:13:52 DEBUG : some file-lahiyeg9.txt: updated permissions (now has 2 permissions) 2026/05/18 02:13:53 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/18 02:13:53 DEBUG : some file-lahiyeg9.txt: Starting multipart upload 2026/05/18 02:13:53 DEBUG : some file-lahiyeg9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:13:53 DEBUG : some file-lahiyeg9.txt: Uploading segment 0/5 size 5 2026/05/18 02:13: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/18 02:13:54 DEBUG : some file-lahiyeg9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:13:55 DEBUG : some file-lahiyeg9.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/18 02:13:55 DEBUG : some file-lahiyeg9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:13:55 DEBUG : some file-lahiyeg9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:13:55 DEBUG : some file-lahiyeg9.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/18 02:13:55 DEBUG : some file-lahiyeg9.txt: updated permissions (now has 2 permissions) 2026/05/18 02:13:56 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/18 02:13:56 DEBUG : OneDrive root 'rclone-test-xokesed3qaqe': Purge remote 2026/05/18 02:13:56 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-yofacem2rovo" 2026/05/18 02:13:56 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 02:13:58 DEBUG : Creating backend with remote "/tmp/rclone1832183714" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-yofacem2rovo'", Local "Local file system at /tmp/rclone1832183714", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/05/18 02:13:59 DEBUG : some file-xetoson6.txt: Starting singlepart upload 2026/05/18 02:14:00 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/18 02:14:00 DEBUG : some file-xetoson6.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:14:00 DEBUG : some file-xetoson6.txt: sortPermissions: will add permission: &{ [] 0x204fbc794300 [0x204fbc794480] [read] } [read] 2026/05/18 02:14:00 DEBUG : some file-xetoson6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:00 DEBUG : some file-xetoson6.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:00 DEBUG : some file-xetoson6.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/18 02:14:02 ERROR : some file-xetoson6.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:02 ERROR : some file-xetoson6.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:02 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/18 02:14:02 DEBUG : OneDrive root 'rclone-test-yofacem2rovo': Purge remote 2026/05/18 02:14:02 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-deyetux9tiwe" 2026/05/18 02:14:02 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 02:14:04 DEBUG : Creating backend with remote "/tmp/rclone1253409426" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-deyetux9tiwe'", Local "Local file system at /tmp/rclone1253409426", Modify Window "1s" 2026/05/18 02:14:04 DEBUG : OneDrive root 'rclone-test-deyetux9tiwe': Purge remote 2026/05/18 02:14:04 NOTICE: purge failed: directory not found 2026/05/18 02:14:04 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-xuvorih4habe" 2026/05/18 02:14:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 02:14:06 DEBUG : Creating backend with remote "/tmp/rclone1861266376" run.go:198: Remote "OneDrive root 'rclone-test-xuvorih4habe'", Local "Local file system at /tmp/rclone1861266376", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/05/18 02:14:07 DEBUG : some file-zebuvoq3.txt: Starting singlepart upload 2026/05/18 02:14:07 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/18 02:14:07 DEBUG : some file-zebuvoq3.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:14:08 DEBUG : some file-zebuvoq3.txt: sortPermissions: will add permission: &{ [] 0x204fbc45b200 [0x204fbc45b380] [write] } [write] 2026/05/18 02:14:08 DEBUG : some file-zebuvoq3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:08 DEBUG : some file-zebuvoq3.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:08 DEBUG : some file-zebuvoq3.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/18 02:14:09 ERROR : some file-zebuvoq3.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:09 ERROR : some file-zebuvoq3.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:09 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/18 02:14:09 DEBUG : OneDrive root 'rclone-test-xuvorih4habe': Purge remote 2026/05/18 02:14:10 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-yotitum3suvo" 2026/05/18 02:14:10 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 02:14:11 DEBUG : Creating backend with remote "/tmp/rclone1676686865" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-yotitum3suvo'", Local "Local file system at /tmp/rclone1676686865", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/05/18 02:14:11 DEBUG : subdir: Making directory with metadata 2026/05/18 02:14:12 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/05/18 02:14:12 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:14:13 DEBUG : subdir: sortPermissions: will add permission: &{ [] 0x204fbc36c900 [0x204fbc36ca80] [read] } [read] 2026/05/18 02:14:13 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:13 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:13 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/18 02:14:15 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:15 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/18 02:14:15 DEBUG : OneDrive root 'rclone-test-yotitum3suvo': Purge remote 2026/05/18 02:14:15 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-secowoc5pime" 2026/05/18 02:14:15 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 02:14:17 DEBUG : Creating backend with remote "/tmp/rclone9111379" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-secowoc5pime'", Local "Local file system at /tmp/rclone9111379", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/05/18 02:14:18 DEBUG : some file-josopes7.txt: Starting singlepart upload 2026/05/18 02:14:19 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/18 02:14:19 DEBUG : some file-josopes7.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/18 02:14:19 DEBUG : some file-josopes7.txt: sortPermissions: will add permission: &{ [] 0x204fbc45aa80 [0x204fbc45ac00] [read] } [read] 2026/05/18 02:14:19 DEBUG : some file-josopes7.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:19 DEBUG : some file-josopes7.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:19 DEBUG : some file-josopes7.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/18 02:14:21 ERROR : some file-josopes7.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:21 ERROR : some file-josopes7.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:21 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/18 02:14:21 DEBUG : OneDrive root 'rclone-test-secowoc5pime': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/05/18 02:14:22 DEBUG : some file-cowegub5.txt: Starting singlepart upload 2026/05/18 02:14:22 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone9111379", "SrcFsType": "local", "DstFs": "TestOneDriveBusiness:rclone-test-secowoc5pime", "DstFsType": "onedrive", "Remote": "some file-cowegub5.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-18T02:14:21.512560482Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/05/18 02:14:22 DEBUG : some file-cowegub5.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentitiesV2\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/05/18 02:14:22 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentitiesV2\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/05/18 02:14:22 DEBUG : some file-cowegub5.txt: Metadata mapper returned in 2.323868ms 2026/05/18 02:14:22 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/18 02:14:23 DEBUG : some file-cowegub5.txt: sortPermissions: will add permission: &{ [] [0x204fbc555080] [read] } [read] 2026/05/18 02:14:23 DEBUG : some file-cowegub5.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:23 DEBUG : some file-cowegub5.txt: skipping remove permission -- can't remove 'owner' role 2026/05/18 02:14:23 DEBUG : some file-cowegub5.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/18 02:14:25 ERROR : some file-cowegub5.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:25 ERROR : some file-cowegub5.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/18 02:14:25 DEBUG : info from Update error: null 2026/05/18 02:14:25 ERROR : some file-yizewey4.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/18 02:14:25 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-18T02:14:22Z 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#01W3O4PFZEBJQ4ZE6KJFEK5URUACMDUR2G last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:9d952662-9958-4d05-b47e-a9bf9c661abd malware-detected:false mtime:2026-05-18T02:14:22Z 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-18T02:14:22Z] ) 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/18 02:14:25 DEBUG : OneDrive root 'rclone-test-secowoc5pime': Purge remote 2026/05/18 02:14:26 DEBUG : OneDrive root 'rclone-test-secowoc5pime': Purge remote 2026/05/18 02:14:26 NOTICE: purge failed: directory not found 2026/05/18 02:14:26 DEBUG : OneDrive root 'rclone-test-yotitum3suvo': Purge remote 2026/05/18 02:14:26 NOTICE: purge failed: directory not found 2026/05/18 02:14:26 DEBUG : OneDrive root 'rclone-test-xuvorih4habe': Purge remote 2026/05/18 02:14:26 NOTICE: purge failed: directory not found 2026/05/18 02:14:26 DEBUG : OneDrive root 'rclone-test-deyetux9tiwe': Purge remote 2026/05/18 02:14:27 NOTICE: purge failed: directory not found 2026/05/18 02:14:27 DEBUG : OneDrive root 'rclone-test-yofacem2rovo': Purge remote 2026/05/18 02:14:27 NOTICE: purge failed: directory not found 2026/05/18 02:14:27 DEBUG : OneDrive root 'rclone-test-xokesed3qaqe': Purge remote 2026/05/18 02:14:27 NOTICE: purge failed: directory not found 2026/05/18 02:14:28 ERROR : error listing: directory not found --- FAIL: TestIntegration (58.49s) --- FAIL: TestIntegration/FsMkdir (55.89s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (54.80s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (45.29s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (12.20s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (3.74s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (3.47s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (3.63s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (3.69s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (4.24s) FAIL 2026/05/18 02:14:28 DEBUG : OneDrive root 'rclone-test-hoxanob9dofu': Purge remote 2026/05/18 02:14:28 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 60.486s "go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 1m1.264340078s (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]