"./sync.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Starting (try 5/5) 2025/05/07 05:20:50 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca" 2025/05/07 05:20:50 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/05/07 05:20:50 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Has cached credentials 2025/05/07 05:20:51 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:20:52 DEBUG : Creating backend with remote "/tmp/rclone3863794373" === RUN TestServerSideMoveOverSelf run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:20:53 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-noxebej9weza" 2025/05/07 05:20:53 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Has cached credentials 2025/05/07 05:20:54 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Used cached credential to initialize the ProtonDrive API sync_test.go:671: Server side copy (if possible) proton drive root link ID 'rclone-test-sofahej2leca' -> proton drive root link ID 'rclone-test-noxebej9weza' 2025/05/07 05:20:55 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/05/07 05:20:55 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Waiting for checks to finish 2025/05/07 05:20:55 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Waiting for transfers to finish 2025/05/07 05:20:57 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/05/07 05:20:57 INFO : sub dir/hello world: Copied (new) run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:20:58.111426 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/05/07 05:20:58.111451 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/05/07 05:20:59 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Using server-side directory move 2025/05/07 05:20:59 INFO : proton drive root link ID 'rclone-test-noxebej9weza': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/05/07 05:20:59 DEBUG : sub dir/hello world: Sizes differ (src 17 vs dst 11) 2025/05/07 05:20:59 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Waiting for checks to finish 2025/05/07 05:20:59 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Waiting for transfers to finish 2025/05/07 05:21:00 INFO : sub dir/hello world: Deleted 2025/05/07 05:21:00.452877 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ZNrgxrvVevst_jXrhD_6Bp5TO6ruWYp3Sb-eT-FoRqLJ9Nuxl5qv8ckPkjL4Xy-iTnf7X0R0xSAC_L5142xM3Q==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:00.452914 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ZNrgxrvVevst_jXrhD_6Bp5TO6ruWYp3Sb-eT-FoRqLJ9Nuxl5qv8ckPkjL4Xy-iTnf7X0R0xSAC_L5142xM3Q==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:00 ERROR : sub dir/hello world: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ZNrgxrvVevst_jXrhD_6Bp5TO6ruWYp3Sb-eT-FoRqLJ9Nuxl5qv8ckPkjL4Xy-iTnf7X0R0xSAC_L5142xM3Q==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:684: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:684 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ZNrgxrvVevst_jXrhD_6Bp5TO6ruWYp3Sb-eT-FoRqLJ9Nuxl5qv8ckPkjL4Xy-iTnf7X0R0xSAC_L5142xM3Q==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveOverSelf 2025/05/07 05:21:00 DEBUG : proton drive root link ID 'rclone-test-noxebej9weza': Purge remote --- FAIL: TestServerSideMoveOverSelf (10.17s) === RUN TestSyncWithTrackRenames run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" sync_test.go:1538: Can track renames: true 2025/05/07 05:21:02 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Making map for --track-renames 2025/05/07 05:21:02 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Finished making map for --track-renames 2025/05/07 05:21:02 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for checks to finish 2025/05/07 05:21:02 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/05/07 05:21:02 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/05/07 05:21:02 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for renames to finish 2025/05/07 05:21:02 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for transfers to finish 2025/05/07 05:21:02 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/05/07 05:21:02 INFO : potato: Copied (new) 2025/05/07 05:21:03 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/05/07 05:21:03 INFO : yam: Copied (new) 2025/05/07 05:21:03 DEBUG : Waiting for deletions to finish run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:03 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/05/07 05:21:03 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Making map for --track-renames 2025/05/07 05:21:03 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Finished making map for --track-renames 2025/05/07 05:21:03 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for checks to finish 2025/05/07 05:21:03 DEBUG : potato: Unchanged skipping 2025/05/07 05:21:03 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for renames to finish 2025/05/07 05:21:04.064554 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/EQKo9s3cO9dwsRbYWAzTiiZouGRtdkyknum73twivlcYMvdyt0-UxeC9_l6bHTKrw9bektaR2xd8wox5sa1kmA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:04.064578 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/EQKo9s3cO9dwsRbYWAzTiiZouGRtdkyknum73twivlcYMvdyt0-UxeC9_l6bHTKrw9bektaR2xd8wox5sa1kmA==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:04 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/EQKo9s3cO9dwsRbYWAzTiiZouGRtdkyknum73twivlcYMvdyt0-UxeC9_l6bHTKrw9bektaR2xd8wox5sa1kmA==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:04 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/EQKo9s3cO9dwsRbYWAzTiiZouGRtdkyknum73twivlcYMvdyt0-UxeC9_l6bHTKrw9bektaR2xd8wox5sa1kmA==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:04 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/05/07 05:21:04 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for transfers to finish 2025/05/07 05:21:04 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/05/07 05:21:04 INFO : yaml: Copied (new) 2025/05/07 05:21:04 ERROR : proton drive root link ID 'rclone-test-sofahej2leca': not deleting files as there were IO errors 2025/05/07 05:21:04 ERROR : proton drive root link ID 'rclone-test-sofahej2leca': not deleting directories as there were IO errors sync_test.go:1556: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1556 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenames --- FAIL: TestSyncWithTrackRenames (4.03s) === RUN TestSyncWithTrackRenamesStrategyModtime run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" sync_test.go:1610: Can track renames: true 2025/05/07 05:21:06 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Making map for --track-renames 2025/05/07 05:21:06 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Finished making map for --track-renames 2025/05/07 05:21:06 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for checks to finish 2025/05/07 05:21:06 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/05/07 05:21:06 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/05/07 05:21:06 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for renames to finish 2025/05/07 05:21:06 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for transfers to finish 2025/05/07 05:21:07 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/05/07 05:21:07 INFO : potato: Copied (new) 2025/05/07 05:21:07 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/05/07 05:21:07 INFO : yam: Copied (new) 2025/05/07 05:21:07 DEBUG : Waiting for deletions to finish run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:07 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/05/07 05:21:07 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Making map for --track-renames 2025/05/07 05:21:07 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Finished making map for --track-renames 2025/05/07 05:21:07 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for checks to finish 2025/05/07 05:21:07 DEBUG : potato: Unchanged skipping 2025/05/07 05:21:07 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for renames to finish 2025/05/07 05:21:08.109024 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GJdLk6zXVy6UR_ZG1KqpMQpf_R8RCxj3t5Ri_UeT0-silfRiG3nwMwuDvDGU1Wrl8hgYS2v9_OTMcQ-sfaQSyQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:08.109053 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GJdLk6zXVy6UR_ZG1KqpMQpf_R8RCxj3t5Ri_UeT0-silfRiG3nwMwuDvDGU1Wrl8hgYS2v9_OTMcQ-sfaQSyQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:08 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GJdLk6zXVy6UR_ZG1KqpMQpf_R8RCxj3t5Ri_UeT0-silfRiG3nwMwuDvDGU1Wrl8hgYS2v9_OTMcQ-sfaQSyQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:08 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GJdLk6zXVy6UR_ZG1KqpMQpf_R8RCxj3t5Ri_UeT0-silfRiG3nwMwuDvDGU1Wrl8hgYS2v9_OTMcQ-sfaQSyQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:08 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/05/07 05:21:08 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for transfers to finish 2025/05/07 05:21:08 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/05/07 05:21:08 INFO : yaml: Copied (new) 2025/05/07 05:21:08 ERROR : proton drive root link ID 'rclone-test-sofahej2leca': not deleting files as there were IO errors 2025/05/07 05:21:08 ERROR : proton drive root link ID 'rclone-test-sofahej2leca': not deleting directories as there were IO errors sync_test.go:1628: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1628 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenamesStrategyModtime --- FAIL: TestSyncWithTrackRenamesStrategyModtime (4.22s) === RUN TestSyncWithTrackRenamesStrategyLeaf run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" sync_test.go:1649: Can track renames: true 2025/05/07 05:21:10 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Making map for --track-renames 2025/05/07 05:21:10 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Finished making map for --track-renames 2025/05/07 05:21:10 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for checks to finish 2025/05/07 05:21:10 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/05/07 05:21:10 DEBUG : sub/yam: Need to transfer - No matching file found at Destination 2025/05/07 05:21:10 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for renames to finish 2025/05/07 05:21:10 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for transfers to finish 2025/05/07 05:21:11 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/05/07 05:21:11 INFO : potato: Copied (new) 2025/05/07 05:21:11 DEBUG : sub/yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/05/07 05:21:11 INFO : sub/yam: Copied (new) 2025/05/07 05:21:11 DEBUG : Waiting for deletions to finish run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:12 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/05/07 05:21:12 DEBUG : potato: Unchanged skipping 2025/05/07 05:21:12 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Making map for --track-renames 2025/05/07 05:21:12 INFO : proton drive root link ID 'rclone-test-sofahej2leca': Finished making map for --track-renames 2025/05/07 05:21:12 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for checks to finish 2025/05/07 05:21:12 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for renames to finish 2025/05/07 05:21:13.165310 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/LeNApKL08E84eDTIBaA33I2W9pQJYJoVCMH8B00bmvxG250-7Gom6_iJX_0pNYHE76PAMmlO_DUJOlrdtS36EA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:13.165371 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/LeNApKL08E84eDTIBaA33I2W9pQJYJoVCMH8B00bmvxG250-7Gom6_iJX_0pNYHE76PAMmlO_DUJOlrdtS36EA==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:13 ERROR : sub/yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/LeNApKL08E84eDTIBaA33I2W9pQJYJoVCMH8B00bmvxG250-7Gom6_iJX_0pNYHE76PAMmlO_DUJOlrdtS36EA==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:13 DEBUG : yam: Failed to rename to "sub/yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/LeNApKL08E84eDTIBaA33I2W9pQJYJoVCMH8B00bmvxG250-7Gom6_iJX_0pNYHE76PAMmlO_DUJOlrdtS36EA==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:13 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/05/07 05:21:13 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for transfers to finish 2025/05/07 05:21:13 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/05/07 05:21:13 INFO : yam: Copied (new) 2025/05/07 05:21:13 ERROR : proton drive root link ID 'rclone-test-sofahej2leca': not deleting files as there were IO errors 2025/05/07 05:21:13 ERROR : proton drive root link ID 'rclone-test-sofahej2leca': not deleting directories as there were IO errors sync_test.go:1667: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1667 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenamesStrategyLeaf --- FAIL: TestSyncWithTrackRenamesStrategyLeaf (5.38s) === RUN TestMoveWithDeleteEmptySrcDirs run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:16 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/05/07 05:21:16 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination 2025/05/07 05:21:16 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for checks to finish 2025/05/07 05:21:16 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Waiting for transfers to finish 2025/05/07 05:21:17 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/05/07 05:21:17 INFO : sub dir/hello world: Copied (new) 2025/05/07 05:21:17 INFO : sub dir/hello world: Deleted 2025/05/07 05:21:17 DEBUG : nested/sub dir/file: sha1 = b4b3e0a278988bc15f2913af3f4153ccef74e465 OK 2025/05/07 05:21:17 INFO : nested/sub dir/file: Copied (new) 2025/05/07 05:21:17 INFO : nested/sub dir/file: Deleted 2025/05/07 05:21:17 ERROR : Local file system at /tmp/rclone3863794373: not deleting directories as there were IO errors sync_test.go:1788: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1788 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestMoveWithDeleteEmptySrcDirs --- FAIL: TestMoveWithDeleteEmptySrcDirs (3.87s) === RUN TestServerSideMove run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:19 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-juduxif4xoze" 2025/05/07 05:21:19 DEBUG : proton drive root link ID 'rclone-test-juduxif4xoze': Has cached credentials 2025/05/07 05:21:20 DEBUG : proton drive root link ID 'rclone-test-juduxif4xoze': Used cached credential to initialize the ProtonDrive API sync_test.go:1705: Server side move (if possible) proton drive root link ID 'rclone-test-sofahej2leca' -> proton drive root link ID 'rclone-test-juduxif4xoze' 2025/05/07 05:21:25 DEBUG : proton drive root link ID 'rclone-test-juduxif4xoze': Using server-side directory move 2025/05/07 05:21:25 INFO : proton drive root link ID 'rclone-test-juduxif4xoze': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/05/07 05:21:25 DEBUG : potato2: Need to transfer - File not found at Destination 2025/05/07 05:21:25 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/05/07 05:21:25 DEBUG : empty space: Unchanged skipping 2025/05/07 05:21:25 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/05/07 05:21:25 DEBUG : proton drive root link ID 'rclone-test-juduxif4xoze': Waiting for checks to finish 2025/05/07 05:21:25 INFO : empty space: Deleted 2025/05/07 05:21:25 DEBUG : proton drive root link ID 'rclone-test-juduxif4xoze': Waiting for transfers to finish 2025/05/07 05:21:25 INFO : potato3: Deleted 2025/05/07 05:21:25.908202 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/24LeQ-cdhc1O07ijBxoNqh4IhVl_WzOlieEc77JYeYFJV4X9WRTnbUqwQP_bWGlZwSAjQCUxoJFoZz2pV2TIlg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:25.908226 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/24LeQ-cdhc1O07ijBxoNqh4IhVl_WzOlieEc77JYeYFJV4X9WRTnbUqwQP_bWGlZwSAjQCUxoJFoZz2pV2TIlg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:25 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/24LeQ-cdhc1O07ijBxoNqh4IhVl_WzOlieEc77JYeYFJV4X9WRTnbUqwQP_bWGlZwSAjQCUxoJFoZz2pV2TIlg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:25.957160 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RGfoHNNmSwqT8Kw4w-huzWyrUvOw4KYbLFRG_riMnkya0uEKER1GpWXuBhjhhL_nscOoC0JBF89KgHmiT0wz6w==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:25.957199 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RGfoHNNmSwqT8Kw4w-huzWyrUvOw4KYbLFRG_riMnkya0uEKER1GpWXuBhjhhL_nscOoC0JBF89KgHmiT0wz6w==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:25 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RGfoHNNmSwqT8Kw4w-huzWyrUvOw4KYbLFRG_riMnkya0uEKER1GpWXuBhjhhL_nscOoC0JBF89KgHmiT0wz6w==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:1716: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1716 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1881 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/RGfoHNNmSwqT8Kw4w-huzWyrUvOw4KYbLFRG_riMnkya0uEKER1GpWXuBhjhhL_nscOoC0JBF89KgHmiT0wz6w==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMove 2025/05/07 05:21:25 DEBUG : proton drive root link ID 'rclone-test-juduxif4xoze': Purge remote --- FAIL: TestServerSideMove (7.52s) === RUN TestServerSideMoveWithFilter run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:27 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sepobot9jowa" 2025/05/07 05:21:27 DEBUG : proton drive root link ID 'rclone-test-sepobot9jowa': Has cached credentials 2025/05/07 05:21:27 DEBUG : proton drive root link ID 'rclone-test-sepobot9jowa': Used cached credential to initialize the ProtonDrive API sync_test.go:1705: Server side move (if possible) proton drive root link ID 'rclone-test-sofahej2leca' -> proton drive root link ID 'rclone-test-sepobot9jowa' 2025/05/07 05:21:32 DEBUG : empty space: Excluded (Size Filter) 2025/05/07 05:21:32 DEBUG : empty space: Excluded 2025/05/07 05:21:32 DEBUG : empty space: Excluded (Size Filter) 2025/05/07 05:21:32 DEBUG : empty space: Excluded 2025/05/07 05:21:32 DEBUG : potato2: Need to transfer - File not found at Destination 2025/05/07 05:21:32 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/05/07 05:21:32 DEBUG : proton drive root link ID 'rclone-test-sepobot9jowa': Waiting for checks to finish 2025/05/07 05:21:32 DEBUG : proton drive root link ID 'rclone-test-sepobot9jowa': Waiting for transfers to finish 2025/05/07 05:21:33 INFO : potato3: Deleted 2025/05/07 05:21:33.343591 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/UpPufAS-8qBPhwOVv1ABxguyRJtM4oIgqiiGqKvYmrclVRQTxOhJgQl_Hx0gXbTWRx8oSz2gWuBs3j5etmeC4g==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:33.343618 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/UpPufAS-8qBPhwOVv1ABxguyRJtM4oIgqiiGqKvYmrclVRQTxOhJgQl_Hx0gXbTWRx8oSz2gWuBs3j5etmeC4g==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:33 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/UpPufAS-8qBPhwOVv1ABxguyRJtM4oIgqiiGqKvYmrclVRQTxOhJgQl_Hx0gXbTWRx8oSz2gWuBs3j5etmeC4g==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:33.439656 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Jcvpn0nNhCKIjJ9WnRBLRXoveKoXncRerZaJy5TM12W7OxhBunRr4XWYnmXel8tbhBtWjUGvCtunCCEsrjvWFg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:33.439685 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Jcvpn0nNhCKIjJ9WnRBLRXoveKoXncRerZaJy5TM12W7OxhBunRr4XWYnmXel8tbhBtWjUGvCtunCCEsrjvWFg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:33 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Jcvpn0nNhCKIjJ9WnRBLRXoveKoXncRerZaJy5TM12W7OxhBunRr4XWYnmXel8tbhBtWjUGvCtunCCEsrjvWFg==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:1716: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1716 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1894 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Jcvpn0nNhCKIjJ9WnRBLRXoveKoXncRerZaJy5TM12W7OxhBunRr4XWYnmXel8tbhBtWjUGvCtunCCEsrjvWFg==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveWithFilter 2025/05/07 05:21:33 DEBUG : proton drive root link ID 'rclone-test-sepobot9jowa': Purge remote --- FAIL: TestServerSideMoveWithFilter (7.68s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:34 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-difebil6zudo" 2025/05/07 05:21:34 DEBUG : proton drive root link ID 'rclone-test-difebil6zudo': Has cached credentials 2025/05/07 05:21:35 DEBUG : proton drive root link ID 'rclone-test-difebil6zudo': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:21:37 INFO : tomatoDir: Making directory sync_test.go:1705: Server side move (if possible) proton drive root link ID 'rclone-test-sofahej2leca' -> proton drive root link ID 'rclone-test-difebil6zudo' 2025/05/07 05:21:40 DEBUG : proton drive root link ID 'rclone-test-difebil6zudo': Using server-side directory move 2025/05/07 05:21:40 INFO : proton drive root link ID 'rclone-test-difebil6zudo': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/05/07 05:21:41 DEBUG : potato2: Need to transfer - File not found at Destination 2025/05/07 05:21:41 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/05/07 05:21:41 DEBUG : empty space: Unchanged skipping 2025/05/07 05:21:41 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/05/07 05:21:41 DEBUG : proton drive root link ID 'rclone-test-difebil6zudo': Waiting for checks to finish 2025/05/07 05:21:41 INFO : potato3: Deleted 2025/05/07 05:21:41 INFO : empty space: Deleted 2025/05/07 05:21:41 DEBUG : proton drive root link ID 'rclone-test-difebil6zudo': Waiting for transfers to finish 2025/05/07 05:21:41.611333 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/gQBN68nJF-PYrTNRvfEYuWeXUqQLNGSepu89MEdprNKOxWOvydsZ5nAYSbuRULt4VTPERFPtUS21hUkLFXq0xg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:41.611351 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/gQBN68nJF-PYrTNRvfEYuWeXUqQLNGSepu89MEdprNKOxWOvydsZ5nAYSbuRULt4VTPERFPtUS21hUkLFXq0xg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:41 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/gQBN68nJF-PYrTNRvfEYuWeXUqQLNGSepu89MEdprNKOxWOvydsZ5nAYSbuRULt4VTPERFPtUS21hUkLFXq0xg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:41.714697 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/pfCTRHqMcL_hxm4XkHaXMDklpMp7U7jeyd3Nbu1xeC-63BOquJdVxlnSPlcOjmY8bmYvZkwyyCc_XgvEiWgejw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:21:41.714723 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/pfCTRHqMcL_hxm4XkHaXMDklpMp7U7jeyd3Nbu1xeC-63BOquJdVxlnSPlcOjmY8bmYvZkwyyCc_XgvEiWgejw==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:41 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/pfCTRHqMcL_hxm4XkHaXMDklpMp7U7jeyd3Nbu1xeC-63BOquJdVxlnSPlcOjmY8bmYvZkwyyCc_XgvEiWgejw==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:21:41 ERROR : proton drive root link ID 'rclone-test-sofahej2leca': not deleting directories as there were IO errors sync_test.go:1716: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1716 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1901 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestServerSideMoveDeleteEmptySourceDirs 2025/05/07 05:21:41 DEBUG : proton drive root link ID 'rclone-test-difebil6zudo': Purge remote --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (8.45s) === RUN TestSyncBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:21:46 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/dst" 2025/05/07 05:21:46 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Has cached credentials 2025/05/07 05:21:47 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:22:40 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/backup" 2025/05/07 05:22:40 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/backup': Has cached credentials 2025/05/07 05:22:40 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/backup': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:24:27 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/05/07 05:24:27 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/05/07 05:24:27 DEBUG : two: Unchanged skipping 2025/05/07 05:24:27 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for checks to finish 2025/05/07 05:24:28.594767 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/UExMQJoeHJvxtoQKhGryU6xiVazvzPOPkL0d99HB_lo6w-wdarTKiXe5gVTmgOkiAU2pEAjjEr7QQoLh53QSlg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:24:28.594874 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/UExMQJoeHJvxtoQKhGryU6xiVazvzPOPkL0d99HB_lo6w-wdarTKiXe5gVTmgOkiAU2pEAjjEr7QQoLh53QSlg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:24:28 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/UExMQJoeHJvxtoQKhGryU6xiVazvzPOPkL0d99HB_lo6w-wdarTKiXe5gVTmgOkiAU2pEAjjEr7QQoLh53QSlg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:24:28 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for transfers to finish 2025/05/07 05:24:28 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting files as there were IO errors 2025/05/07 05:24:28 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting directories as there were IO errors sync_test.go:2385: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2385 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2427 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/UExMQJoeHJvxtoQKhGryU6xiVazvzPOPkL0d99HB_lo6w-wdarTKiXe5gVTmgOkiAU2pEAjjEr7QQoLh53QSlg==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDir --- FAIL: TestSyncBackupDir (167.04s) === RUN TestSyncBackupDirWithSuffix run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:24:33 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/dst" 2025/05/07 05:24:33 DEBUG : Config file has changed externally - reloading 2025/05/07 05:24:33 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Has cached credentials 2025/05/07 05:24:34 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:25:27 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/backup" 2025/05/07 05:25:27 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/backup': Has cached credentials 2025/05/07 05:25:28 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/backup': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:27:14 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/05/07 05:27:14 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for checks to finish 2025/05/07 05:27:14 DEBUG : two: Unchanged skipping 2025/05/07 05:27:14 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/05/07 05:27:15.765413 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/p1bhdmE1fN7cCVpItHoLk2rbAq1WGqs4rbjiQhRwC_AILCc7Oqx0wzMrbS-i93x2pbo1J0iPZg8tyWmvM-2RPw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:27:15.765531 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/p1bhdmE1fN7cCVpItHoLk2rbAq1WGqs4rbjiQhRwC_AILCc7Oqx0wzMrbS-i93x2pbo1J0iPZg8tyWmvM-2RPw==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:27:15 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/p1bhdmE1fN7cCVpItHoLk2rbAq1WGqs4rbjiQhRwC_AILCc7Oqx0wzMrbS-i93x2pbo1J0iPZg8tyWmvM-2RPw==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:27:15 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for transfers to finish 2025/05/07 05:27:15 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting files as there were IO errors 2025/05/07 05:27:15 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting directories as there were IO errors sync_test.go:2385: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2385 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2431 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/p1bhdmE1fN7cCVpItHoLk2rbAq1WGqs4rbjiQhRwC_AILCc7Oqx0wzMrbS-i93x2pbo1J0iPZg8tyWmvM-2RPw==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDirWithSuffix 2025/05/07 05:27:16.510642 WARN RESTY 502 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/z7JuRGIm71ub86jhtzI3p0CncSqy5yzmgonsPngLCC5JmU8qZbfvr69efXN-30Jm-liaVfWA_OMV92a6CXgU1Q==/trash_multiple: 502 Bad Gateway (Code=0, Status=502), Attempt 1 2025/05/07 05:27:16.510668 ERROR RESTY 502 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/z7JuRGIm71ub86jhtzI3p0CncSqy5yzmgonsPngLCC5JmU8qZbfvr69efXN-30Jm-liaVfWA_OMV92a6CXgU1Q==/trash_multiple: 502 Bad Gateway (Code=0, Status=502) run.go:125: removing file "dst/one" failed - try 1/3: 502 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/z7JuRGIm71ub86jhtzI3p0CncSqy5yzmgonsPngLCC5JmU8qZbfvr69efXN-30Jm-liaVfWA_OMV92a6CXgU1Q==/trash_multiple: 502 Bad Gateway (Code=0, Status=502) --- FAIL: TestSyncBackupDirWithSuffix (168.39s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:27:21 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/dst" 2025/05/07 05:27:21 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Has cached credentials 2025/05/07 05:27:22 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:28:15 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/backup" 2025/05/07 05:28:15 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/backup': Has cached credentials 2025/05/07 05:28:15 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/backup': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:30:01 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/05/07 05:30:01 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/05/07 05:30:01 DEBUG : two: Unchanged skipping 2025/05/07 05:30:01 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for checks to finish 2025/05/07 05:30:02.813390 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GkeH-VK08BfchVarPBqyOjDKcqdVbgtcTyPwslnsLs-JQ4a17qS8B0N5fUGci148gID52MxTkeALvzoMFgcblw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:30:02.813424 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GkeH-VK08BfchVarPBqyOjDKcqdVbgtcTyPwslnsLs-JQ4a17qS8B0N5fUGci148gID52MxTkeALvzoMFgcblw==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:30:02 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GkeH-VK08BfchVarPBqyOjDKcqdVbgtcTyPwslnsLs-JQ4a17qS8B0N5fUGci148gID52MxTkeALvzoMFgcblw==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:30:02 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for transfers to finish 2025/05/07 05:30:02 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting files as there were IO errors 2025/05/07 05:30:02 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting directories as there were IO errors sync_test.go:2385: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2385 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2435 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GkeH-VK08BfchVarPBqyOjDKcqdVbgtcTyPwslnsLs-JQ4a17qS8B0N5fUGci148gID52MxTkeALvzoMFgcblw==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDirWithSuffixKeepExtension --- FAIL: TestSyncBackupDirWithSuffixKeepExtension (165.89s) === RUN TestSyncBackupDirSuffixOnly run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:30:07 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/dst" 2025/05/07 05:30:07 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Has cached credentials 2025/05/07 05:30:08 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:31:01 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/05/07 05:31:01 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for checks to finish 2025/05/07 05:31:01 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/05/07 05:31:01 DEBUG : two: Unchanged skipping 2025/05/07 05:31:01.869186 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lSjd35tkT-DlZpG7cmaXOCp38Bm_HVVjCNJfjIjQNJucPM7j0eHGViRwdY3L2rVTNCXN-fTJiUsnMwnrrZxbDg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:31:01.869205 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lSjd35tkT-DlZpG7cmaXOCp38Bm_HVVjCNJfjIjQNJucPM7j0eHGViRwdY3L2rVTNCXN-fTJiUsnMwnrrZxbDg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:31:01 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lSjd35tkT-DlZpG7cmaXOCp38Bm_HVVjCNJfjIjQNJucPM7j0eHGViRwdY3L2rVTNCXN-fTJiUsnMwnrrZxbDg==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:31:01 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Waiting for transfers to finish 2025/05/07 05:31:01 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting files as there were IO errors 2025/05/07 05:31:01 ERROR : proton drive root link ID 'rclone-test-sofahej2leca/dst': not deleting directories as there were IO errors sync_test.go:2385: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2385 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2439 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/lSjd35tkT-DlZpG7cmaXOCp38Bm_HVVjCNJfjIjQNJucPM7j0eHGViRwdY3L2rVTNCXN-fTJiUsnMwnrrZxbDg==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDirSuffixOnly --- FAIL: TestSyncBackupDirSuffixOnly (58.79s) === RUN TestSyncSuffix run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:31:06 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/dst" 2025/05/07 05:31:06 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Has cached credentials 2025/05/07 05:31:07 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:32:00 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/05/07 05:32:01.032142 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/4LSVrVfX0f7ausotQp3PgBSTk14z7a0ZYYDa1PaA-6msU-h7yqOirTjTdXbggkddC6qaIYy9czspOAnHL-_vvA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:32:01.032167 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/4LSVrVfX0f7ausotQp3PgBSTk14z7a0ZYYDa1PaA-6msU-h7yqOirTjTdXbggkddC6qaIYy9czspOAnHL-_vvA==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:32:01 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/4LSVrVfX0f7ausotQp3PgBSTk14z7a0ZYYDa1PaA-6msU-h7yqOirTjTdXbggkddC6qaIYy9czspOAnHL-_vvA==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:2473: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2473 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2523 Error: Received unexpected error: moving to --backup-dir failed: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/4LSVrVfX0f7ausotQp3PgBSTk14z7a0ZYYDa1PaA-6msU-h7yqOirTjTdXbggkddC6qaIYy9czspOAnHL-_vvA==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncSuffix --- FAIL: TestSyncSuffix (59.15s) === RUN TestSyncSuffixKeepExtension run.go:180: Remote "proton drive root link ID 'rclone-test-sofahej2leca'", Local "Local file system at /tmp/rclone3863794373", Modify Window "1s" 2025/05/07 05:32:05 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-sofahej2leca/dst" 2025/05/07 05:32:05 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Has cached credentials 2025/05/07 05:32:06 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca/dst': Used cached credential to initialize the ProtonDrive API 2025/05/07 05:32:59 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/05/07 05:33:00.342287 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/kja3xReOGXPWSCkkIYhRMwgju2EdFdYA_te_C-6f7mMNc6LMZQGY-eVfIQEPBbRKkPAxkgulLX_lRHfs0u0kVw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/07 05:33:00.342315 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/kja3xReOGXPWSCkkIYhRMwgju2EdFdYA_te_C-6f7mMNc6LMZQGY-eVfIQEPBbRKkPAxkgulLX_lRHfs0u0kVw==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/07 05:33:00 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/kja3xReOGXPWSCkkIYhRMwgju2EdFdYA_te_C-6f7mMNc6LMZQGY-eVfIQEPBbRKkPAxkgulLX_lRHfs0u0kVw==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:2473: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2473 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2524 Error: Received unexpected error: moving to --backup-dir failed: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/kja3xReOGXPWSCkkIYhRMwgju2EdFdYA_te_C-6f7mMNc6LMZQGY-eVfIQEPBbRKkPAxkgulLX_lRHfs0u0kVw==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncSuffixKeepExtension --- FAIL: TestSyncSuffixKeepExtension (59.30s) FAIL 2025/05/07 05:33:01 DEBUG : proton drive root link ID 'rclone-test-sofahej2leca': Purge remote "./sync.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Finished ERROR in 12m11.322486182s (try 5/5): exit status 1: Failed [TestServerSideMoveOverSelf TestSyncWithTrackRenames TestSyncWithTrackRenamesStrategyModtime TestSyncWithTrackRenamesStrategyLeaf TestMoveWithDeleteEmptySrcDirs TestServerSideMove TestServerSideMoveWithFilter TestServerSideMoveDeleteEmptySourceDirs TestSyncBackupDir TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly TestSyncSuffix TestSyncSuffixKeepExtension]