"./sync.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Starting (try 2/5) 2025/07/04 02:26:53 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-kupupap6tini" 2025/07/04 02:26:53 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/04 02:26:53 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Has cached credentials 2025/07/04 02:26:54 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Used cached credential to initialize the ProtonDrive API 2025/07/04 02:26:55 DEBUG : Creating backend with remote "/tmp/rclone1066773556" === RUN TestServerSideMoveOverSelf run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" 2025/07/04 02:27:04 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tajaxoq0kego" 2025/07/04 02:27:04 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Has cached credentials 2025/07/04 02:27:05 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Used cached credential to initialize the ProtonDrive API sync_test.go:672: Server side copy (if possible) proton drive root link ID 'rclone-test-kupupap6tini' -> proton drive root link ID 'rclone-test-tajaxoq0kego' 2025/07/04 02:27:07 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/07/04 02:27:07 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Waiting for checks to finish 2025/07/04 02:27:07 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Waiting for transfers to finish 2025/07/04 02:27:11 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/07/04 02:27:11 INFO : sub dir/hello world: Copied (new) 2025/07/04 02:27:13.826712 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/04 02:27:13.826788 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/07/04 02:27:16 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Using server-side directory move 2025/07/04 02:27:16 INFO : proton drive root link ID 'rclone-test-tajaxoq0kego': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/07/04 02:27:17 DEBUG : sub dir/hello world: Sizes differ (src 17 vs dst 11) 2025/07/04 02:27:17 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Waiting for checks to finish 2025/07/04 02:27:17 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Waiting for transfers to finish 2025/07/04 02:27:18 INFO : sub dir/hello world: Deleted 2025/07/04 02:27:19.074658 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lj0OO38UeGmWZRdfbCgmg2KBpGI3AbSzCAwEI_5BYBPUD4g-pTStK-JRfs9-O36lEgmxhnaAB9J7kFhUGJErEQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:27:19.074698 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lj0OO38UeGmWZRdfbCgmg2KBpGI3AbSzCAwEI_5BYBPUD4g-pTStK-JRfs9-O36lEgmxhnaAB9J7kFhUGJErEQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:19 ERROR : sub dir/hello world: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lj0OO38UeGmWZRdfbCgmg2KBpGI3AbSzCAwEI_5BYBPUD4g-pTStK-JRfs9-O36lEgmxhnaAB9J7kFhUGJErEQ==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:685: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:685 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lj0OO38UeGmWZRdfbCgmg2KBpGI3AbSzCAwEI_5BYBPUD4g-pTStK-JRfs9-O36lEgmxhnaAB9J7kFhUGJErEQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveOverSelf 2025/07/04 02:27:19 DEBUG : proton drive root link ID 'rclone-test-tajaxoq0kego': Purge remote --- FAIL: TestServerSideMoveOverSelf (26.50s) === RUN TestSyncWithTrackRenames run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" sync_test.go:1539: Can track renames: true 2025/07/04 02:27:22 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Making map for --track-renames 2025/07/04 02:27:22 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Finished making map for --track-renames 2025/07/04 02:27:22 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for checks to finish 2025/07/04 02:27:22 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/07/04 02:27:22 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for renames to finish 2025/07/04 02:27:22 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/07/04 02:27:22 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for transfers to finish 2025/07/04 02:27:24 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/07/04 02:27:24 INFO : yam: Copied (new) 2025/07/04 02:27:24 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/07/04 02:27:24 INFO : potato: Copied (new) 2025/07/04 02:27:24 DEBUG : Waiting for deletions to finish 2025/07/04 02:27:25 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/07/04 02:27:25 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Making map for --track-renames 2025/07/04 02:27:25 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Finished making map for --track-renames 2025/07/04 02:27:25 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for checks to finish 2025/07/04 02:27:25 DEBUG : potato: Unchanged skipping 2025/07/04 02:27:25 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for renames to finish 2025/07/04 02:27:26.644853 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/WFCZXd5_yD3Bt5pd3WL_CMcHSJmaSR-5gqh6YLgv4TmYw-gvrKpK5LUloTPPBP6a5w7e7KY4B845wAnq1VjgmA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:27:26.644887 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/WFCZXd5_yD3Bt5pd3WL_CMcHSJmaSR-5gqh6YLgv4TmYw-gvrKpK5LUloTPPBP6a5w7e7KY4B845wAnq1VjgmA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:26 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/WFCZXd5_yD3Bt5pd3WL_CMcHSJmaSR-5gqh6YLgv4TmYw-gvrKpK5LUloTPPBP6a5w7e7KY4B845wAnq1VjgmA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:26 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/WFCZXd5_yD3Bt5pd3WL_CMcHSJmaSR-5gqh6YLgv4TmYw-gvrKpK5LUloTPPBP6a5w7e7KY4B845wAnq1VjgmA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:26 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/07/04 02:27:26 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for transfers to finish 2025/07/04 02:27:28 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/07/04 02:27:28 INFO : yaml: Copied (new) 2025/07/04 02:27:28 ERROR : proton drive root link ID 'rclone-test-kupupap6tini': not deleting files as there were IO errors 2025/07/04 02:27:28 ERROR : proton drive root link ID 'rclone-test-kupupap6tini': not deleting directories as there were IO errors sync_test.go:1557: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1557 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenames --- FAIL: TestSyncWithTrackRenames (9.03s) === RUN TestSyncWithTrackRenamesStrategyModtime run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" sync_test.go:1611: Can track renames: true 2025/07/04 02:27:31 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Making map for --track-renames 2025/07/04 02:27:31 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Finished making map for --track-renames 2025/07/04 02:27:31 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for checks to finish 2025/07/04 02:27:31 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/07/04 02:27:31 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/07/04 02:27:31 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for renames to finish 2025/07/04 02:27:31 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for transfers to finish 2025/07/04 02:27:33 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/07/04 02:27:33 INFO : potato: Copied (new) 2025/07/04 02:27:33 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/07/04 02:27:33 INFO : yam: Copied (new) 2025/07/04 02:27:33 DEBUG : Waiting for deletions to finish 2025/07/04 02:27:34 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/07/04 02:27:34 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Making map for --track-renames 2025/07/04 02:27:34 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Finished making map for --track-renames 2025/07/04 02:27:34 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for checks to finish 2025/07/04 02:27:34 DEBUG : potato: Unchanged skipping 2025/07/04 02:27:34 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for renames to finish 2025/07/04 02:27:35.485151 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/5AQa3YiQceX6LWWKpwKgyHA3oJOiCuJmkE6eGWIS6_crxCC_7rGs7JfElDzmmBcbex1BJnd9Irb-_hp5PLoBuA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:27:35.485179 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/5AQa3YiQceX6LWWKpwKgyHA3oJOiCuJmkE6eGWIS6_crxCC_7rGs7JfElDzmmBcbex1BJnd9Irb-_hp5PLoBuA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:35 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/5AQa3YiQceX6LWWKpwKgyHA3oJOiCuJmkE6eGWIS6_crxCC_7rGs7JfElDzmmBcbex1BJnd9Irb-_hp5PLoBuA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:35 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/5AQa3YiQceX6LWWKpwKgyHA3oJOiCuJmkE6eGWIS6_crxCC_7rGs7JfElDzmmBcbex1BJnd9Irb-_hp5PLoBuA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:35 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/07/04 02:27:35 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for transfers to finish 2025/07/04 02:27:37 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/07/04 02:27:37 INFO : yaml: Copied (new) 2025/07/04 02:27:37 ERROR : proton drive root link ID 'rclone-test-kupupap6tini': not deleting files as there were IO errors 2025/07/04 02:27:37 ERROR : proton drive root link ID 'rclone-test-kupupap6tini': not deleting directories as there were IO errors sync_test.go:1629: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1629 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenamesStrategyModtime --- FAIL: TestSyncWithTrackRenamesStrategyModtime (8.94s) === RUN TestSyncWithTrackRenamesStrategyLeaf run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" sync_test.go:1650: Can track renames: true 2025/07/04 02:27:40 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Making map for --track-renames 2025/07/04 02:27:40 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Finished making map for --track-renames 2025/07/04 02:27:40 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for checks to finish 2025/07/04 02:27:40 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/07/04 02:27:40 DEBUG : sub/yam: Need to transfer - No matching file found at Destination 2025/07/04 02:27:40 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for renames to finish 2025/07/04 02:27:40 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for transfers to finish 2025/07/04 02:27:42 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/07/04 02:27:42 INFO : potato: Copied (new) 2025/07/04 02:27:43 DEBUG : sub/yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/07/04 02:27:43 INFO : sub/yam: Copied (new) 2025/07/04 02:27:43 DEBUG : Waiting for deletions to finish 2025/07/04 02:27:44 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/07/04 02:27:44 DEBUG : potato: Unchanged skipping 2025/07/04 02:27:45 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Making map for --track-renames 2025/07/04 02:27:45 INFO : proton drive root link ID 'rclone-test-kupupap6tini': Finished making map for --track-renames 2025/07/04 02:27:45 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for checks to finish 2025/07/04 02:27:45 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for renames to finish 2025/07/04 02:27:45.904305 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RV7IzfBSDkaK2RqY8AEZX-1LutIkhxPmHTakjGBSNZyarPuh10ZM74727a8I28m8pw5Vl97U8m5AK3pLKeGr5g==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:27:45.904368 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RV7IzfBSDkaK2RqY8AEZX-1LutIkhxPmHTakjGBSNZyarPuh10ZM74727a8I28m8pw5Vl97U8m5AK3pLKeGr5g==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:45 ERROR : sub/yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RV7IzfBSDkaK2RqY8AEZX-1LutIkhxPmHTakjGBSNZyarPuh10ZM74727a8I28m8pw5Vl97U8m5AK3pLKeGr5g==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:45 DEBUG : yam: Failed to rename to "sub/yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RV7IzfBSDkaK2RqY8AEZX-1LutIkhxPmHTakjGBSNZyarPuh10ZM74727a8I28m8pw5Vl97U8m5AK3pLKeGr5g==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:27:45 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/07/04 02:27:45 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for transfers to finish 2025/07/04 02:27:47 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/07/04 02:27:47 INFO : yam: Copied (new) 2025/07/04 02:27:47 ERROR : proton drive root link ID 'rclone-test-kupupap6tini': not deleting files as there were IO errors 2025/07/04 02:27:47 ERROR : proton drive root link ID 'rclone-test-kupupap6tini': not deleting directories as there were IO errors sync_test.go:1668: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1668 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenamesStrategyLeaf --- FAIL: TestSyncWithTrackRenamesStrategyLeaf (11.58s) === RUN TestMoveWithDeleteEmptySrcDirs run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" 2025/07/04 02:27:51 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/07/04 02:27:51 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination 2025/07/04 02:27:51 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for checks to finish 2025/07/04 02:27:51 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Waiting for transfers to finish 2025/07/04 02:27:56 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/07/04 02:27:56 INFO : sub dir/hello world: Copied (new) 2025/07/04 02:27:56 INFO : sub dir/hello world: Deleted 2025/07/04 02:27:56 DEBUG : nested/sub dir/file: sha1 = b4b3e0a278988bc15f2913af3f4153ccef74e465 OK 2025/07/04 02:27:56 INFO : nested/sub dir/file: Copied (new) 2025/07/04 02:27:56 INFO : nested/sub dir/file: Deleted 2025/07/04 02:27:56 ERROR : Local file system at /tmp/rclone1066773556: not deleting directories as there were IO errors sync_test.go:1789: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1789 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestMoveWithDeleteEmptySrcDirs run.go:125: removing dir "nested" failed - try 1/3: folder can't be deleted because it is not empty run.go:125: removing dir "nested" failed - try 2/3: folder can't be deleted because it is not empty fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- FAIL: TestMoveWithDeleteEmptySrcDirs (95.19s) === RUN TestServerSideMove run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" 2025/07/04 02:29:26 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jenuveh2sumi" 2025/07/04 02:29:26 DEBUG : Config file has changed externally - reloading 2025/07/04 02:29:26 DEBUG : proton drive root link ID 'rclone-test-jenuveh2sumi': Has cached credentials 2025/07/04 02:29:28 DEBUG : proton drive root link ID 'rclone-test-jenuveh2sumi': Used cached credential to initialize the ProtonDrive API fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure sync_test.go:1706: Server side move (if possible) proton drive root link ID 'rclone-test-kupupap6tini' -> proton drive root link ID 'rclone-test-jenuveh2sumi' 2025/07/04 02:31:05 DEBUG : proton drive root link ID 'rclone-test-jenuveh2sumi': Using server-side directory move 2025/07/04 02:31:05 INFO : proton drive root link ID 'rclone-test-jenuveh2sumi': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/07/04 02:31:05 DEBUG : potato2: Need to transfer - File not found at Destination 2025/07/04 02:31:05 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/07/04 02:31:05 DEBUG : empty space: Unchanged skipping 2025/07/04 02:31:05 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/07/04 02:31:05 DEBUG : proton drive root link ID 'rclone-test-jenuveh2sumi': Waiting for checks to finish 2025/07/04 02:31:06 INFO : potato3: Deleted 2025/07/04 02:31:06 INFO : empty space: Deleted 2025/07/04 02:31:06 DEBUG : proton drive root link ID 'rclone-test-jenuveh2sumi': Waiting for transfers to finish 2025/07/04 02:31:06.818592 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/kgVA8VJSvqFAqYmtEsI0bc5unpiRX3qO7q-CmOiMWNe98oXUFm6U2dZ8iSJs9Vm2X1fPZ2CiXVqoeUGuelAhhA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:31:06.818623 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/kgVA8VJSvqFAqYmtEsI0bc5unpiRX3qO7q-CmOiMWNe98oXUFm6U2dZ8iSJs9Vm2X1fPZ2CiXVqoeUGuelAhhA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:06 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/kgVA8VJSvqFAqYmtEsI0bc5unpiRX3qO7q-CmOiMWNe98oXUFm6U2dZ8iSJs9Vm2X1fPZ2CiXVqoeUGuelAhhA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:07.045830 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/8CPOHtgkxx9ZLFBA4eNTkNu8mU5IMvMkMP0KdCAbCTkuvMo5YCrgjCMxBM6eXNQHdwPjshuAnifTPTf3dE_q1g==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:31:07.045864 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/8CPOHtgkxx9ZLFBA4eNTkNu8mU5IMvMkMP0KdCAbCTkuvMo5YCrgjCMxBM6eXNQHdwPjshuAnifTPTf3dE_q1g==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:07 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/8CPOHtgkxx9ZLFBA4eNTkNu8mU5IMvMkMP0KdCAbCTkuvMo5YCrgjCMxBM6eXNQHdwPjshuAnifTPTf3dE_q1g==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:1717: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1717 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1882 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/8CPOHtgkxx9ZLFBA4eNTkNu8mU5IMvMkMP0KdCAbCTkuvMo5YCrgjCMxBM6eXNQHdwPjshuAnifTPTf3dE_q1g==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMove 2025/07/04 02:31:07 DEBUG : proton drive root link ID 'rclone-test-jenuveh2sumi': Purge remote --- FAIL: TestServerSideMove (103.06s) === RUN TestServerSideMoveWithFilter run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" 2025/07/04 02:31:09 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-dafozex3daxa" 2025/07/04 02:31:09 DEBUG : proton drive root link ID 'rclone-test-dafozex3daxa': Has cached credentials 2025/07/04 02:31:11 DEBUG : proton drive root link ID 'rclone-test-dafozex3daxa': Used cached credential to initialize the ProtonDrive API sync_test.go:1706: Server side move (if possible) proton drive root link ID 'rclone-test-kupupap6tini' -> proton drive root link ID 'rclone-test-dafozex3daxa' 2025/07/04 02:31:24 DEBUG : empty space: Excluded (Size Filter) 2025/07/04 02:31:24 DEBUG : empty space: Excluded 2025/07/04 02:31:24 DEBUG : empty space: Excluded (Size Filter) 2025/07/04 02:31:24 DEBUG : empty space: Excluded 2025/07/04 02:31:24 DEBUG : potato2: Need to transfer - File not found at Destination 2025/07/04 02:31:24 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/07/04 02:31:24 DEBUG : proton drive root link ID 'rclone-test-dafozex3daxa': Waiting for checks to finish 2025/07/04 02:31:24 DEBUG : proton drive root link ID 'rclone-test-dafozex3daxa': Waiting for transfers to finish 2025/07/04 02:31:24 INFO : potato3: Deleted 2025/07/04 02:31:25.233677 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FYJR-6ZTjrlXnB2_K-d15Jy14iWDD3-3e_p10G3TkUC33-JRgJwLhoYwv_2RuqcfxbjXIcS2pgAOQIUrJkDpfA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:31:25.233718 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FYJR-6ZTjrlXnB2_K-d15Jy14iWDD3-3e_p10G3TkUC33-JRgJwLhoYwv_2RuqcfxbjXIcS2pgAOQIUrJkDpfA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:25 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FYJR-6ZTjrlXnB2_K-d15Jy14iWDD3-3e_p10G3TkUC33-JRgJwLhoYwv_2RuqcfxbjXIcS2pgAOQIUrJkDpfA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:25.643154 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/PViBWA9JYl6yQyCOj2fb0xSn7F7wVfYDroShI-aUUXRBBC3TTb6NQBP9pN9J-JJx0GDzdQ3IkfOsIYx8slNYyQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:31:25.643194 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/PViBWA9JYl6yQyCOj2fb0xSn7F7wVfYDroShI-aUUXRBBC3TTb6NQBP9pN9J-JJx0GDzdQ3IkfOsIYx8slNYyQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:25 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/PViBWA9JYl6yQyCOj2fb0xSn7F7wVfYDroShI-aUUXRBBC3TTb6NQBP9pN9J-JJx0GDzdQ3IkfOsIYx8slNYyQ==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:1717: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1717 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1895 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/PViBWA9JYl6yQyCOj2fb0xSn7F7wVfYDroShI-aUUXRBBC3TTb6NQBP9pN9J-JJx0GDzdQ3IkfOsIYx8slNYyQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveWithFilter 2025/07/04 02:31:25 DEBUG : proton drive root link ID 'rclone-test-dafozex3daxa': Purge remote --- FAIL: TestServerSideMoveWithFilter (19.23s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:180: Remote "proton drive root link ID 'rclone-test-kupupap6tini'", Local "Local file system at /tmp/rclone1066773556", Modify Window "1s" 2025/07/04 02:31:28 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-situmuf8beyo" 2025/07/04 02:31:28 DEBUG : proton drive root link ID 'rclone-test-situmuf8beyo': Has cached credentials 2025/07/04 02:31:30 DEBUG : proton drive root link ID 'rclone-test-situmuf8beyo': Used cached credential to initialize the ProtonDrive API 2025/07/04 02:31:36 INFO : tomatoDir: Making directory sync_test.go:1706: Server side move (if possible) proton drive root link ID 'rclone-test-kupupap6tini' -> proton drive root link ID 'rclone-test-situmuf8beyo' 2025/07/04 02:31:43 DEBUG : proton drive root link ID 'rclone-test-situmuf8beyo': Using server-side directory move 2025/07/04 02:31:43 INFO : proton drive root link ID 'rclone-test-situmuf8beyo': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/07/04 02:31:44 DEBUG : potato2: Need to transfer - File not found at Destination 2025/07/04 02:31:44 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/07/04 02:31:44 DEBUG : empty space: Unchanged skipping 2025/07/04 02:31:44 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/07/04 02:31:44 DEBUG : proton drive root link ID 'rclone-test-situmuf8beyo': Waiting for checks to finish 2025/07/04 02:31:45 INFO : potato3: Deleted 2025/07/04 02:31:45 INFO : empty space: Deleted 2025/07/04 02:31:45 DEBUG : proton drive root link ID 'rclone-test-situmuf8beyo': Waiting for transfers to finish 2025/07/04 02:31:45.503783 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/tX6HjdE6sZEVdLimbpyQTyhcGuPUM6KSNeNqTENdhS9d9PJWqDginUScU7zgHT0EIB0RT3cuM8LkhQrDAwUJsw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:31:45.503815 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/tX6HjdE6sZEVdLimbpyQTyhcGuPUM6KSNeNqTENdhS9d9PJWqDginUScU7zgHT0EIB0RT3cuM8LkhQrDAwUJsw==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:45 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/tX6HjdE6sZEVdLimbpyQTyhcGuPUM6KSNeNqTENdhS9d9PJWqDginUScU7zgHT0EIB0RT3cuM8LkhQrDAwUJsw==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:45.829663 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/-DI6EEQvAr3rssIXpWorZu9CGuExVOsIlleQvhFIdtsq9l_cLv9SN6TbGXfqpH3JyZ4KLLw9w70kCmU3__0CTQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/04 02:31:45.829717 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/-DI6EEQvAr3rssIXpWorZu9CGuExVOsIlleQvhFIdtsq9l_cLv9SN6TbGXfqpH3JyZ4KLLw9w70kCmU3__0CTQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:45 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/-DI6EEQvAr3rssIXpWorZu9CGuExVOsIlleQvhFIdtsq9l_cLv9SN6TbGXfqpH3JyZ4KLLw9w70kCmU3__0CTQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/04 02:31:45 ERROR : proton drive root link ID 'rclone-test-kupupap6tini': not deleting directories as there were IO errors sync_test.go:1717: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1717 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1902 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestServerSideMoveDeleteEmptySourceDirs 2025/07/04 02:31:45 DEBUG : proton drive root link ID 'rclone-test-situmuf8beyo': Purge remote --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (20.47s) FAIL 2025/07/04 02:31:49 DEBUG : proton drive root link ID 'rclone-test-kupupap6tini': Purge remote "./sync.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Finished ERROR in 4m56.645855041s (try 2/5): exit status 1: Failed [TestServerSideMoveOverSelf TestSyncWithTrackRenames TestSyncWithTrackRenamesStrategyModtime TestSyncWithTrackRenamesStrategyLeaf TestMoveWithDeleteEmptySrcDirs TestServerSideMove TestServerSideMoveWithFilter TestServerSideMoveDeleteEmptySourceDirs]