"go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Starting (try 5/5) 2026/05/16 01:12:01 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-gewogaj8woju" 2026/05/16 01:12:01 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/16 01:12:02 DEBUG : Creating backend with remote "/tmp/rclone527271476" === RUN TestIntegration fstests.go:438: Using remote "TestOneDriveBusiness:" 2026/05/16 01:12:02 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-pahonic5piwo" 2026/05/16 01:12:02 DEBUG : Using config file from "/home/rclone/.rclone.conf" === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsPutFiles 2026/05/16 01:12:04 DEBUG : file name.txt: Starting multipart upload 2026/05/16 01:12:05 DEBUG : file name.txt: Uploading segment 0/100 size 100 2026/05/16 01:12:09 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Starting multipart upload 2026/05/16 01:12:10 DEBUG : hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt: Uploading segment 0/100 size 100 2026/05/16 01:12:11 DEBUG : file name.txt: Starting multipart upload 2026/05/16 01:12:11 DEBUG : file name.txt: skipping unsupported metadata item: rclonetest: potato 2026/05/16 01:12:11 INFO : file name.txt: no writeable metadata found: map[rclonetest:potato] 2026/05/16 01:12:12 DEBUG : file name.txt: Uploading segment 0/100 size 100 === RUN TestIntegration/FsMkdir/FsPutFiles/Internal 2026/05/16 01:12:13 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-nuwirob0guri" 2026/05/16 01:12:13 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/16 01:12:14 DEBUG : Creating backend with remote "/tmp/rclone1132134261" run.go:198: Remote "OneDrive root 'rclone-test-nuwirob0guri'", Local "Local file system at /tmp/rclone1132134261", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions 2026/05/16 01:12:15 DEBUG : some file-yaduloh2.txt: Starting multipart upload 2026/05/16 01:12:15 DEBUG : some file-yaduloh2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:16 DEBUG : some file-yaduloh2.txt: Uploading segment 0/5 size 5 2026/05/16 01:12:17 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/16 01:12:17 DEBUG : some file-yaduloh2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:17 DEBUG : some file-yaduloh2.txt: sortPermissions: will add permission: &{ [] 0x19259d057500 [0x19259d057680] [read] } [read] 2026/05/16 01:12:17 DEBUG : some file-yaduloh2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:17 DEBUG : some file-yaduloh2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:17 DEBUG : some file-yaduloh2.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/16 01:12:18 ERROR : some file-yaduloh2.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:18 ERROR : some file-yaduloh2.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12: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" } ] 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/16 01:12:19 DEBUG : some file-yaduloh2.txt: Starting multipart upload 2026/05/16 01:12:19 DEBUG : some file-yaduloh2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:20 DEBUG : some file-yaduloh2.txt: Uploading segment 0/5 size 5 2026/05/16 01:12:21 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/16 01:12:21 DEBUG : some file-yaduloh2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:21 DEBUG : some file-yaduloh2.txt: skipping update for invalid roles: [write] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ) 2026/05/16 01:12:21 DEBUG : some file-yaduloh2.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/16 01:12:21 DEBUG : some file-yaduloh2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:21 DEBUG : some file-yaduloh2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:21 DEBUG : some file-yaduloh2.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/16 01:12:22 DEBUG : some file-yaduloh2.txt: updated permissions (now has 2 permissions) 2026/05/16 01:12: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" } ] 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/16 01:12:22 DEBUG : some file-yaduloh2.txt: Starting multipart upload 2026/05/16 01:12:22 DEBUG : some file-yaduloh2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:23 DEBUG : some file-yaduloh2.txt: Uploading segment 0/5 size 5 2026/05/16 01:12:24 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/16 01:12:24 DEBUG : some file-yaduloh2.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:24 DEBUG : some file-yaduloh2.txt: skipping update for invalid roles: [owner] (perm ID: aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU) 2026/05/16 01:12:24 DEBUG : some file-yaduloh2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:24 DEBUG : some file-yaduloh2.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:24 DEBUG : some file-yaduloh2.txt: metadata permissions: to add: 0 to update: 0 to remove: 0 2026/05/16 01:12:25 DEBUG : some file-yaduloh2.txt: updated permissions (now has 2 permissions) 2026/05/16 01:12:26 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/16 01:12:26 DEBUG : OneDrive root 'rclone-test-nuwirob0guri': Purge remote 2026/05/16 01:12:26 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-povepew1qija" 2026/05/16 01:12:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/16 01:12:28 DEBUG : Creating backend with remote "/tmp/rclone1057452372" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-povepew1qija'", Local "Local file system at /tmp/rclone1057452372", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart 2026/05/16 01:12:28 DEBUG : some file-lamulik0.txt: Starting singlepart upload 2026/05/16 01:12:29 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/16 01:12:29 DEBUG : some file-lamulik0.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:30 DEBUG : some file-lamulik0.txt: sortPermissions: will add permission: &{ [] 0x19259d650900 [0x19259d650a80] [read] } [read] 2026/05/16 01:12:30 DEBUG : some file-lamulik0.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:30 DEBUG : some file-lamulik0.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:30 DEBUG : some file-lamulik0.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/16 01:12:31 ERROR : some file-lamulik0.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:31 ERROR : some file-lamulik0.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:31 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/16 01:12:31 DEBUG : OneDrive root 'rclone-test-povepew1qija': Purge remote 2026/05/16 01:12:31 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-jipunuw1joko" 2026/05/16 01:12:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/16 01:12:32 DEBUG : Creating backend with remote "/tmp/rclone12639604" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-jipunuw1joko'", Local "Local file system at /tmp/rclone12639604", Modify Window "1s" 2026/05/16 01:12:32 DEBUG : OneDrive root 'rclone-test-jipunuw1joko': Purge remote 2026/05/16 01:12:32 NOTICE: purge failed: directory not found 2026/05/16 01:12:32 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-fosovun7jule" 2026/05/16 01:12:32 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/16 01:12:34 DEBUG : Creating backend with remote "/tmp/rclone981310057" run.go:198: Remote "OneDrive root 'rclone-test-fosovun7jule'", Local "Local file system at /tmp/rclone981310057", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata 2026/05/16 01:12:34 DEBUG : some file-fanujob9.txt: Starting singlepart upload 2026/05/16 01:12:35 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/16 01:12:35 DEBUG : some file-fanujob9.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:36 DEBUG : some file-fanujob9.txt: sortPermissions: will add permission: &{ [] 0x19259d768a80 [0x19259d768c00] [write] } [write] 2026/05/16 01:12:36 DEBUG : some file-fanujob9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:36 DEBUG : some file-fanujob9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:36 DEBUG : some file-fanujob9.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/16 01:12:37 ERROR : some file-fanujob9.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:37 ERROR : some file-fanujob9.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:37 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/16 01:12:37 DEBUG : OneDrive root 'rclone-test-fosovun7jule': Purge remote 2026/05/16 01:12:37 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-baqocox5yebo" 2026/05/16 01:12:37 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/16 01:12:38 DEBUG : Creating backend with remote "/tmp/rclone1920640869" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-baqocox5yebo'", Local "Local file system at /tmp/rclone1920640869", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata 2026/05/16 01:12:38 DEBUG : subdir: Making directory with metadata 2026/05/16 01:12:39 DEBUG : subdir: skipping unsupported metadata item: content-type: inode/directory 2026/05/16 01:12:39 DEBUG : subdir: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:40 DEBUG : subdir: sortPermissions: will add permission: &{ [] 0x19259d769b00 [0x19259d769c80] [read] } [read] 2026/05/16 01:12:40 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:40 DEBUG : subdir: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:40 DEBUG : subdir: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/16 01:12:42 ERROR : subdir: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:42 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/16 01:12:42 DEBUG : OneDrive root 'rclone-test-baqocox5yebo': Purge remote 2026/05/16 01:12:42 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-xutojiq0lavu" 2026/05/16 01:12:42 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/16 01:12:43 DEBUG : Creating backend with remote "/tmp/rclone3298930685" === NAME TestIntegration/FsMkdir/FsPutFiles/Internal run.go:198: Remote "OneDrive root 'rclone-test-xutojiq0lavu'", Local "Local file system at /tmp/rclone3298930685", Modify Window "1s" === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove 2026/05/16 01:12:43 DEBUG : some file-zuzeceh7.txt: Starting singlepart upload 2026/05/16 01:12:44 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] 2026/05/16 01:12:44 DEBUG : some file-zuzeceh7.txt: metadata description is no longer supported -- skipping: that is so meta! 2026/05/16 01:12:45 DEBUG : some file-zuzeceh7.txt: sortPermissions: will add permission: &{ [] 0x19259d651800 [0x19259d651980] [read] } [read] 2026/05/16 01:12:45 DEBUG : some file-zuzeceh7.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:45 DEBUG : some file-zuzeceh7.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:45 DEBUG : some file-zuzeceh7.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/16 01:12:46 ERROR : some file-zuzeceh7.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:46 ERROR : some file-zuzeceh7.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:46 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/16 01:12:46 DEBUG : OneDrive root 'rclone-test-xutojiq0lavu': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper 2026/05/16 01:12:47 DEBUG : some file-cewomoz9.txt: Starting singlepart upload 2026/05/16 01:12:47 DEBUG : Metadata mapper sent: { "SrcFs": "/tmp/rclone3298930685", "SrcFsType": "local", "DstFs": "TestOneDriveBusiness:rclone-test-xutojiq0lavu", "DstFsType": "onedrive", "Remote": "some file-cewomoz9.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-16T01:12:46.786355812Z", "gid": "1000", "mode": "100600", "mtime": "2020-02-29T12:34:56.789Z", "uid": "1000" } } 2026/05/16 01:12:47 DEBUG : some file-cewomoz9.txt: Calling metadata mapper echo "{""Metadata"":{""permissions"":""[{\""grantedToIdentitiesV2\"":[{\""user\"":{\""id\"":\""ryan@contoso.com\""}}],\""roles\"":[\""read\""]}]""}}" 2026/05/16 01:12:47 DEBUG : Metadata mapper received: {"Metadata":{"permissions":"[{\"grantedToIdentitiesV2\":[{\"user\":{\"id\":\"ryan@contoso.com\"}}],\"roles\":[\"read\"]}]"}} 2026/05/16 01:12:47 DEBUG : some file-cewomoz9.txt: Metadata mapper returned in 1.43187ms 2026/05/16 01:12:48 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/16 01:12:48 DEBUG : some file-cewomoz9.txt: sortPermissions: will add permission: &{ [] [0x19259d46c900] [read] } [read] 2026/05/16 01:12:48 DEBUG : some file-cewomoz9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:48 DEBUG : some file-cewomoz9.txt: skipping remove permission -- can't remove 'owner' role 2026/05/16 01:12:48 DEBUG : some file-cewomoz9.txt: metadata permissions: to add: 1 to update: 0 to remove: 0 2026/05/16 01:12:49 ERROR : some file-cewomoz9.txt: Failed to add permission: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:49 ERROR : some file-cewomoz9.txt: error writing permissions: failed to process permissions: failed to set permissions: sharingFailed: There was a problem sharing, please try again later. 2026/05/16 01:12:49 DEBUG : info from Update error: null 2026/05/16 01:12:49 ERROR : some file-gasakif9.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/16 01:12:49 DEBUG : perms: [ { "id": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ", "grantedTo": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Charlie Gaither - O365", "id": "8e2784d2-8bbe-418f-a009-02c35817ede7", "email": "charlie@delta911turbo.com" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Charlie Gaither - O365", "id": "6", "email": "charlie@delta911turbo.com", "loginName": "i:0#.f|membership|charlie@delta911turbo.com" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8Y2hhcmxpZUBkZWx0YTkxMXR1cmJvLmNvbQ" }, { "id": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU", "grantedTo": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": {} }, "grantedToV2": { "user": { "displayName": "Nick Craig-Wood", "id": "9d952662-9958-4d05-b47e-a9bf9c661abd", "email": "nick_craig-wood@whitecell.online" }, "application": {}, "device": {}, "group": {}, "siteGroup": {}, "siteUser": { "displayName": "Nick Craig-Wood", "id": "4", "email": "nick_craig-wood@whitecell.online", "loginName": "i:0#.f|membership|nick_craig-wood@whitecell.online" } }, "inheritedFrom": { "driveId": "", "id": "", "path": "", "driveType": "" }, "roles": [ "owner" ], "shareId": "aTowIy5mfG1lbWJlcnNoaXB8bmlja19jcmFpZy13b29kQHdoaXRlY2VsbC5vbmxpbmU" } ] onedrive_internal_test.go: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-16T01:12:48Z 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#01W3O4PF3W4MOVFXFIJJHJCBWJMO4C52IW last-modified-by-display-name:Nick Craig-Wood last-modified-by-id:9d952662-9958-4d05-b47e-a9bf9c661abd malware-detected:false mtime:2026-05-16T01:12:48Z 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-16T01:12:48Z] ) 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/16 01:12:49 DEBUG : OneDrive root 'rclone-test-xutojiq0lavu': Purge remote 2026/05/16 01:12:50 DEBUG : OneDrive root 'rclone-test-xutojiq0lavu': Purge remote 2026/05/16 01:12:50 NOTICE: purge failed: directory not found 2026/05/16 01:12:50 DEBUG : OneDrive root 'rclone-test-baqocox5yebo': Purge remote 2026/05/16 01:12:50 NOTICE: purge failed: directory not found 2026/05/16 01:12:50 DEBUG : OneDrive root 'rclone-test-fosovun7jule': Purge remote 2026/05/16 01:12:51 NOTICE: purge failed: directory not found 2026/05/16 01:12:51 DEBUG : OneDrive root 'rclone-test-jipunuw1joko': Purge remote 2026/05/16 01:12:51 NOTICE: purge failed: directory not found 2026/05/16 01:12:51 DEBUG : OneDrive root 'rclone-test-povepew1qija': Purge remote 2026/05/16 01:12:51 NOTICE: purge failed: directory not found 2026/05/16 01:12:51 DEBUG : OneDrive root 'rclone-test-nuwirob0guri': Purge remote 2026/05/16 01:12:51 NOTICE: purge failed: directory not found 2026/05/16 01:12:52 ERROR : error listing: directory not found --- FAIL: TestIntegration (50.47s) --- FAIL: TestIntegration/FsMkdir (47.90s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (46.86s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal (38.26s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions (11.32s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart (2.93s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata (3.04s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata (3.68s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove (3.13s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper (3.19s) FAIL 2026/05/16 01:12:52 DEBUG : OneDrive root 'rclone-test-gewogaj8woju': Purge remote 2026/05/16 01:12:52 NOTICE: purge failed: directory not found exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 51.682s "go test -v -timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsPutFiles$/^Internal$/^(TestDirectoryMetadata|TestMetadataMapper|TestReadMetadata|TestServerSideCopyMove|TestUploadSinglePart|TestWritePermissions)$'" - Finished ERROR in 52.476435009s (try 5/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles/Internal/TestWritePermissions TestIntegration/FsMkdir/FsPutFiles/Internal/TestUploadSinglePart TestIntegration/FsMkdir/FsPutFiles/Internal/TestReadMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestDirectoryMetadata TestIntegration/FsMkdir/FsPutFiles/Internal/TestServerSideCopyMove TestIntegration/FsMkdir/FsPutFiles/Internal/TestMetadataMapper]