"./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 4/5) 2025/02/18 03:12:17 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge" 2025/02/18 03:12:17 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/02/18 03:12:17 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Has cached credentials 2025/02/18 03:12:18 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:12:18 DEBUG : Creating backend with remote "/tmp/rclone2129097344" === RUN TestServerSideMoveOverSelf run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:12:21 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qigojin9gisu" 2025/02/18 03:12:21 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Has cached credentials 2025/02/18 03:12:22 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Used cached credential to initialize the ProtonDrive API sync_test.go:671: Server side copy (if possible) proton drive root link ID 'rclone-test-tolapez5luge' -> proton drive root link ID 'rclone-test-qigojin9gisu' 2025/02/18 03:12:23 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/02/18 03:12:23 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Waiting for checks to finish 2025/02/18 03:12:23 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Waiting for transfers to finish 2025/02/18 03:12:26 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/02/18 03:12:26 INFO : sub dir/hello world: Copied (new) run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:12:27.400045 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/02/18 03:12:27.400073 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/02/18 03:12:29 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Using server-side directory move 2025/02/18 03:12:29 INFO : proton drive root link ID 'rclone-test-qigojin9gisu': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/02/18 03:12:29 DEBUG : sub dir/hello world: Sizes differ (src 17 vs dst 11) 2025/02/18 03:12:29 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Waiting for checks to finish 2025/02/18 03:12:29 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Waiting for transfers to finish 2025/02/18 03:12:30 INFO : sub dir/hello world: Deleted 2025/02/18 03:12:30.819915 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/xHuFTp4PsuqQwy0XMV9CLgyZ3LUB_cpnUaDNjQpN8g9_h0RqWgkvWj15V12yal1lOdRDbEKPbdiCY3DL5dxNfQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:12:30.819940 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/xHuFTp4PsuqQwy0XMV9CLgyZ3LUB_cpnUaDNjQpN8g9_h0RqWgkvWj15V12yal1lOdRDbEKPbdiCY3DL5dxNfQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:30 ERROR : sub dir/hello world: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/xHuFTp4PsuqQwy0XMV9CLgyZ3LUB_cpnUaDNjQpN8g9_h0RqWgkvWj15V12yal1lOdRDbEKPbdiCY3DL5dxNfQ==/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/xHuFTp4PsuqQwy0XMV9CLgyZ3LUB_cpnUaDNjQpN8g9_h0RqWgkvWj15V12yal1lOdRDbEKPbdiCY3DL5dxNfQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveOverSelf 2025/02/18 03:12:30 DEBUG : proton drive root link ID 'rclone-test-qigojin9gisu': Purge remote --- FAIL: TestServerSideMoveOverSelf (14.83s) === RUN TestSyncWithTrackRenames run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" sync_test.go:1538: Can track renames: true 2025/02/18 03:12:33 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Making map for --track-renames 2025/02/18 03:12:33 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Finished making map for --track-renames 2025/02/18 03:12:33 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for checks to finish 2025/02/18 03:12:33 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/02/18 03:12:33 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/02/18 03:12:33 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for renames to finish 2025/02/18 03:12:33 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for transfers to finish 2025/02/18 03:12:34 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/02/18 03:12:34 INFO : potato: Copied (new) 2025/02/18 03:12:34 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/02/18 03:12:34 INFO : yam: Copied (new) 2025/02/18 03:12:34 DEBUG : Waiting for deletions to finish run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:12:35 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/02/18 03:12:35 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Making map for --track-renames 2025/02/18 03:12:35 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Finished making map for --track-renames 2025/02/18 03:12:35 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for checks to finish 2025/02/18 03:12:35 DEBUG : potato: Unchanged skipping 2025/02/18 03:12:35 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for renames to finish 2025/02/18 03:12:36.295976 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/QAyqizdcjc6nJOG_i0Grdnjf3jI7GejWCBFx-cbQrLToby39-IvcHUO4VDlMEoWuqzMSD8kIZcK-f1-OYOmPsQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:12:36.295996 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/QAyqizdcjc6nJOG_i0Grdnjf3jI7GejWCBFx-cbQrLToby39-IvcHUO4VDlMEoWuqzMSD8kIZcK-f1-OYOmPsQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:36 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/QAyqizdcjc6nJOG_i0Grdnjf3jI7GejWCBFx-cbQrLToby39-IvcHUO4VDlMEoWuqzMSD8kIZcK-f1-OYOmPsQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:36 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/QAyqizdcjc6nJOG_i0Grdnjf3jI7GejWCBFx-cbQrLToby39-IvcHUO4VDlMEoWuqzMSD8kIZcK-f1-OYOmPsQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:36 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/02/18 03:12:36 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for transfers to finish 2025/02/18 03:12:37 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/02/18 03:12:37 INFO : yaml: Copied (new) 2025/02/18 03:12:37 ERROR : proton drive root link ID 'rclone-test-tolapez5luge': not deleting files as there were IO errors 2025/02/18 03:12:37 ERROR : proton drive root link ID 'rclone-test-tolapez5luge': 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 (6.08s) === RUN TestSyncWithTrackRenamesStrategyModtime run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" sync_test.go:1610: Can track renames: true 2025/02/18 03:12:39 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Making map for --track-renames 2025/02/18 03:12:39 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Finished making map for --track-renames 2025/02/18 03:12:39 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for checks to finish 2025/02/18 03:12:39 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/02/18 03:12:39 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/02/18 03:12:39 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for renames to finish 2025/02/18 03:12:39 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for transfers to finish 2025/02/18 03:12:40 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/02/18 03:12:40 INFO : potato: Copied (new) 2025/02/18 03:12:40 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/02/18 03:12:40 INFO : yam: Copied (new) 2025/02/18 03:12:40 DEBUG : Waiting for deletions to finish run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:12:41 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/02/18 03:12:41 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Making map for --track-renames 2025/02/18 03:12:41 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Finished making map for --track-renames 2025/02/18 03:12:41 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for checks to finish 2025/02/18 03:12:41 DEBUG : potato: Unchanged skipping 2025/02/18 03:12:41 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for renames to finish 2025/02/18 03:12:42.283171 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/YYIjiyOK9aWAFkCUEwJnJK5DCbH1qBmh3ZHy_H8HeNVUggl6V8siHMkS3GD8TYSYK3Pr2U5DTLgMDAa9mjodvg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:12:42.283201 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/YYIjiyOK9aWAFkCUEwJnJK5DCbH1qBmh3ZHy_H8HeNVUggl6V8siHMkS3GD8TYSYK3Pr2U5DTLgMDAa9mjodvg==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:42 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/YYIjiyOK9aWAFkCUEwJnJK5DCbH1qBmh3ZHy_H8HeNVUggl6V8siHMkS3GD8TYSYK3Pr2U5DTLgMDAa9mjodvg==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:42 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/YYIjiyOK9aWAFkCUEwJnJK5DCbH1qBmh3ZHy_H8HeNVUggl6V8siHMkS3GD8TYSYK3Pr2U5DTLgMDAa9mjodvg==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:42 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/02/18 03:12:42 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for transfers to finish 2025/02/18 03:12:43 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/02/18 03:12:43 INFO : yaml: Copied (new) 2025/02/18 03:12:43 ERROR : proton drive root link ID 'rclone-test-tolapez5luge': not deleting files as there were IO errors 2025/02/18 03:12:43 ERROR : proton drive root link ID 'rclone-test-tolapez5luge': 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 (6.15s) === RUN TestSyncWithTrackRenamesStrategyLeaf run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" sync_test.go:1649: Can track renames: true 2025/02/18 03:12:45 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Making map for --track-renames 2025/02/18 03:12:45 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Finished making map for --track-renames 2025/02/18 03:12:45 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for checks to finish 2025/02/18 03:12:45 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/02/18 03:12:45 DEBUG : sub/yam: Need to transfer - No matching file found at Destination 2025/02/18 03:12:45 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for renames to finish 2025/02/18 03:12:45 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for transfers to finish 2025/02/18 03:12:47 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/02/18 03:12:47 INFO : potato: Copied (new) 2025/02/18 03:12:47 DEBUG : sub/yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/02/18 03:12:47 INFO : sub/yam: Copied (new) 2025/02/18 03:12:47 DEBUG : Waiting for deletions to finish run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:12:48 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/02/18 03:12:48 DEBUG : potato: Unchanged skipping 2025/02/18 03:12:48 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Making map for --track-renames 2025/02/18 03:12:48 INFO : proton drive root link ID 'rclone-test-tolapez5luge': Finished making map for --track-renames 2025/02/18 03:12:48 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for checks to finish 2025/02/18 03:12:48 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for renames to finish 2025/02/18 03:12:49.440985 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vCZp1YlcUIvlFY723jIedHpGzgnLM1CSp09_XYsWNbUFoZ3RsuWTNAtUTjdF5ToaUSdq8XIy1U4FfBzfUdNZMQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:12:49.441009 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vCZp1YlcUIvlFY723jIedHpGzgnLM1CSp09_XYsWNbUFoZ3RsuWTNAtUTjdF5ToaUSdq8XIy1U4FfBzfUdNZMQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:49 ERROR : sub/yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vCZp1YlcUIvlFY723jIedHpGzgnLM1CSp09_XYsWNbUFoZ3RsuWTNAtUTjdF5ToaUSdq8XIy1U4FfBzfUdNZMQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:49 DEBUG : yam: Failed to rename to "sub/yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vCZp1YlcUIvlFY723jIedHpGzgnLM1CSp09_XYsWNbUFoZ3RsuWTNAtUTjdF5ToaUSdq8XIy1U4FfBzfUdNZMQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:12:49 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/02/18 03:12:49 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for transfers to finish 2025/02/18 03:12:50 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/02/18 03:12:50 INFO : yam: Copied (new) 2025/02/18 03:12:50 ERROR : proton drive root link ID 'rclone-test-tolapez5luge': not deleting files as there were IO errors 2025/02/18 03:12:50 ERROR : proton drive root link ID 'rclone-test-tolapez5luge': 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 (7.51s) === RUN TestMoveWithDeleteEmptySrcDirs run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:12:53 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/02/18 03:12:53 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination 2025/02/18 03:12:53 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for checks to finish 2025/02/18 03:12:53 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': Waiting for transfers to finish 2025/02/18 03:12:56 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/02/18 03:12:56 INFO : sub dir/hello world: Copied (new) 2025/02/18 03:12:56 INFO : sub dir/hello world: Deleted 2025/02/18 03:12:56 DEBUG : nested/sub dir/file: sha1 = b4b3e0a278988bc15f2913af3f4153ccef74e465 OK 2025/02/18 03:12:56 INFO : nested/sub dir/file: Copied (new) 2025/02/18 03:12:56 INFO : nested/sub dir/file: Deleted 2025/02/18 03:12:56 ERROR : Local file system at /tmp/rclone2129097344: 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 (5.54s) === RUN TestServerSideMove run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:12:58 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-texixoq5vari" 2025/02/18 03:12:58 DEBUG : proton drive root link ID 'rclone-test-texixoq5vari': Has cached credentials 2025/02/18 03:12:59 DEBUG : proton drive root link ID 'rclone-test-texixoq5vari': Used cached credential to initialize the ProtonDrive API sync_test.go:1705: Server side move (if possible) proton drive root link ID 'rclone-test-tolapez5luge' -> proton drive root link ID 'rclone-test-texixoq5vari' 2025/02/18 03:13:06 DEBUG : proton drive root link ID 'rclone-test-texixoq5vari': Using server-side directory move 2025/02/18 03:13:06 INFO : proton drive root link ID 'rclone-test-texixoq5vari': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/02/18 03:13:07 DEBUG : potato2: Need to transfer - File not found at Destination 2025/02/18 03:13:07 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/02/18 03:13:07 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/02/18 03:13:07 DEBUG : empty space: Unchanged skipping 2025/02/18 03:13:07 DEBUG : proton drive root link ID 'rclone-test-texixoq5vari': Waiting for checks to finish 2025/02/18 03:13:07 INFO : empty space: Deleted 2025/02/18 03:13:07 DEBUG : proton drive root link ID 'rclone-test-texixoq5vari': Waiting for transfers to finish 2025/02/18 03:13:07 INFO : potato3: Deleted 2025/02/18 03:13:07.524671 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/1zXzCo7kBVBXuLtbxH4nifIKTN5qeB9qJl453DPeNuuV29YKOVIi1CZjdWAoQGbS_AbTjDq-s_RxY10F9OPyTA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:13:07.524694 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/1zXzCo7kBVBXuLtbxH4nifIKTN5qeB9qJl453DPeNuuV29YKOVIi1CZjdWAoQGbS_AbTjDq-s_RxY10F9OPyTA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:07 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/1zXzCo7kBVBXuLtbxH4nifIKTN5qeB9qJl453DPeNuuV29YKOVIi1CZjdWAoQGbS_AbTjDq-s_RxY10F9OPyTA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:07.623079 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/8wuEF79EBCkYMztq4O82oSi3u1h90eDSrud96emZyKpcA1QpfIXWDyocbEgOyTrnTqoMFpq7COlB-091b2RkGw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:13:07.623102 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/8wuEF79EBCkYMztq4O82oSi3u1h90eDSrud96emZyKpcA1QpfIXWDyocbEgOyTrnTqoMFpq7COlB-091b2RkGw==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:07 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/8wuEF79EBCkYMztq4O82oSi3u1h90eDSrud96emZyKpcA1QpfIXWDyocbEgOyTrnTqoMFpq7COlB-091b2RkGw==/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/8wuEF79EBCkYMztq4O82oSi3u1h90eDSrud96emZyKpcA1QpfIXWDyocbEgOyTrnTqoMFpq7COlB-091b2RkGw==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMove 2025/02/18 03:13:07 DEBUG : proton drive root link ID 'rclone-test-texixoq5vari': Purge remote --- FAIL: TestServerSideMove (10.73s) === RUN TestServerSideMoveWithFilter run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:13:09 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-yorayem4tupe" 2025/02/18 03:13:09 DEBUG : proton drive root link ID 'rclone-test-yorayem4tupe': Has cached credentials 2025/02/18 03:13:10 DEBUG : proton drive root link ID 'rclone-test-yorayem4tupe': Used cached credential to initialize the ProtonDrive API sync_test.go:1705: Server side move (if possible) proton drive root link ID 'rclone-test-tolapez5luge' -> proton drive root link ID 'rclone-test-yorayem4tupe' 2025/02/18 03:13:17 DEBUG : empty space: Excluded (Size Filter) 2025/02/18 03:13:17 DEBUG : empty space: Excluded 2025/02/18 03:13:17 DEBUG : empty space: Excluded (Size Filter) 2025/02/18 03:13:17 DEBUG : empty space: Excluded 2025/02/18 03:13:17 DEBUG : potato2: Need to transfer - File not found at Destination 2025/02/18 03:13:17 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/02/18 03:13:17 DEBUG : proton drive root link ID 'rclone-test-yorayem4tupe': Waiting for checks to finish 2025/02/18 03:13:17 DEBUG : proton drive root link ID 'rclone-test-yorayem4tupe': Waiting for transfers to finish 2025/02/18 03:13:18 INFO : potato3: Deleted 2025/02/18 03:13:18.328955 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/0--kKbButi-lT0kd0H_90O_S4fAO9fh127YmqnvIZK3vXv8j48dj-UZMcZi747ndcfTmwiaUH7kC797bPGn6eA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:13:18.329039 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/0--kKbButi-lT0kd0H_90O_S4fAO9fh127YmqnvIZK3vXv8j48dj-UZMcZi747ndcfTmwiaUH7kC797bPGn6eA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:18 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/0--kKbButi-lT0kd0H_90O_S4fAO9fh127YmqnvIZK3vXv8j48dj-UZMcZi747ndcfTmwiaUH7kC797bPGn6eA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:18.423143 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/XcaAfEeDsn-eQv7OGBQd0sOX73SnFvIMfWLzv6H81UDclV4Abb4YcKhAKY6ypvQYHHOoTEm3Vln-y_1OQg72mA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:13:18.423222 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/XcaAfEeDsn-eQv7OGBQd0sOX73SnFvIMfWLzv6H81UDclV4Abb4YcKhAKY6ypvQYHHOoTEm3Vln-y_1OQg72mA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:18 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/XcaAfEeDsn-eQv7OGBQd0sOX73SnFvIMfWLzv6H81UDclV4Abb4YcKhAKY6ypvQYHHOoTEm3Vln-y_1OQg72mA==/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/XcaAfEeDsn-eQv7OGBQd0sOX73SnFvIMfWLzv6H81UDclV4Abb4YcKhAKY6ypvQYHHOoTEm3Vln-y_1OQg72mA==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveWithFilter 2025/02/18 03:13:18 DEBUG : proton drive root link ID 'rclone-test-yorayem4tupe': Purge remote --- FAIL: TestServerSideMoveWithFilter (11.36s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:13:20 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-hexolay9mule" 2025/02/18 03:13:20 DEBUG : proton drive root link ID 'rclone-test-hexolay9mule': Has cached credentials 2025/02/18 03:13:21 DEBUG : proton drive root link ID 'rclone-test-hexolay9mule': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:13:25 INFO : tomatoDir: Making directory sync_test.go:1705: Server side move (if possible) proton drive root link ID 'rclone-test-tolapez5luge' -> proton drive root link ID 'rclone-test-hexolay9mule' 2025/02/18 03:13:29 DEBUG : proton drive root link ID 'rclone-test-hexolay9mule': Using server-side directory move 2025/02/18 03:13:29 INFO : proton drive root link ID 'rclone-test-hexolay9mule': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/02/18 03:13:30 DEBUG : potato2: Need to transfer - File not found at Destination 2025/02/18 03:13:30 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/02/18 03:13:30 DEBUG : empty space: Unchanged skipping 2025/02/18 03:13:30 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/02/18 03:13:30 DEBUG : proton drive root link ID 'rclone-test-hexolay9mule': Waiting for checks to finish 2025/02/18 03:13:30 INFO : empty space: Deleted 2025/02/18 03:13:30 DEBUG : proton drive root link ID 'rclone-test-hexolay9mule': Waiting for transfers to finish 2025/02/18 03:13:30 INFO : potato3: Deleted 2025/02/18 03:13:31.104804 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/HyD7e7YavPaLPyPzB82hnOo5urEldr7rL-QLjOSTQ7PHKnQjzqHFahAYK546lY_RYUYLL-5E2P5vD_3Ii4cMdA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:13:31.104832 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/HyD7e7YavPaLPyPzB82hnOo5urEldr7rL-QLjOSTQ7PHKnQjzqHFahAYK546lY_RYUYLL-5E2P5vD_3Ii4cMdA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:31 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/HyD7e7YavPaLPyPzB82hnOo5urEldr7rL-QLjOSTQ7PHKnQjzqHFahAYK546lY_RYUYLL-5E2P5vD_3Ii4cMdA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:31.269636 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/2cWXvsKJfQX6S3TkAfQqJRgNkAQVzQz0XqKNw0iZeIsabwzSWxGOV6JUtUfWqfovSxgmRgzadmYaNvRvhKsXRw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:13:31.269659 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/2cWXvsKJfQX6S3TkAfQqJRgNkAQVzQz0XqKNw0iZeIsabwzSWxGOV6JUtUfWqfovSxgmRgzadmYaNvRvhKsXRw==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:31 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/2cWXvsKJfQX6S3TkAfQqJRgNkAQVzQz0XqKNw0iZeIsabwzSWxGOV6JUtUfWqfovSxgmRgzadmYaNvRvhKsXRw==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:13:31 ERROR : proton drive root link ID 'rclone-test-tolapez5luge': 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/02/18 03:13:31 DEBUG : proton drive root link ID 'rclone-test-hexolay9mule': Purge remote --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (12.76s) === RUN TestSyncBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:13:37 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/dst" 2025/02/18 03:13:37 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Has cached credentials 2025/02/18 03:13:38 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:14:21 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/backup" 2025/02/18 03:14:21 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/backup': Has cached credentials 2025/02/18 03:14:23 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/backup': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:15:51 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/02/18 03:15:51 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/02/18 03:15:51 DEBUG : two: Unchanged skipping 2025/02/18 03:15:51 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for checks to finish 2025/02/18 03:15:52.957454 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/LISjw5hDDkRlTfpKtdC9Hxn9pL3AnrCqaZOYom3IKJY3-J61i5i0YEu5wAYCWMs6k_tbHnPPuBklt5CKuQQAWw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:15:52.957475 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/LISjw5hDDkRlTfpKtdC9Hxn9pL3AnrCqaZOYom3IKJY3-J61i5i0YEu5wAYCWMs6k_tbHnPPuBklt5CKuQQAWw==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:15:52 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/LISjw5hDDkRlTfpKtdC9Hxn9pL3AnrCqaZOYom3IKJY3-J61i5i0YEu5wAYCWMs6k_tbHnPPuBklt5CKuQQAWw==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:15:52 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for transfers to finish 2025/02/18 03:15:52 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/dst': not deleting files as there were IO errors 2025/02/18 03:15:52 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/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/LISjw5hDDkRlTfpKtdC9Hxn9pL3AnrCqaZOYom3IKJY3-J61i5i0YEu5wAYCWMs6k_tbHnPPuBklt5CKuQQAWw==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDir --- FAIL: TestSyncBackupDir (142.11s) === RUN TestSyncBackupDirWithSuffix run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:16:00 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/dst" 2025/02/18 03:16:00 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Has cached credentials 2025/02/18 03:16:00 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:16:45 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/backup" 2025/02/18 03:16:45 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/backup': Has cached credentials 2025/02/18 03:16:46 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/backup': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:18:13 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/02/18 03:18:13 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/02/18 03:18:13 DEBUG : two: Unchanged skipping 2025/02/18 03:18:13 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for checks to finish 2025/02/18 03:18:14.316624 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/TGA50_-YjzOm_Oj3PG7JqT4vAHxPJvNNXcAnAgtjvxQ28BoRxZdiVJ2aukQNV-e6ow5ZVQWPyTiSi_T-5AmCeQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:18:14.316657 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/TGA50_-YjzOm_Oj3PG7JqT4vAHxPJvNNXcAnAgtjvxQ28BoRxZdiVJ2aukQNV-e6ow5ZVQWPyTiSi_T-5AmCeQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:18:14 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/TGA50_-YjzOm_Oj3PG7JqT4vAHxPJvNNXcAnAgtjvxQ28BoRxZdiVJ2aukQNV-e6ow5ZVQWPyTiSi_T-5AmCeQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:18:14 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for transfers to finish 2025/02/18 03:18:14 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/dst': not deleting files as there were IO errors 2025/02/18 03:18:14 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/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/TGA50_-YjzOm_Oj3PG7JqT4vAHxPJvNNXcAnAgtjvxQ28BoRxZdiVJ2aukQNV-e6ow5ZVQWPyTiSi_T-5AmCeQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDirWithSuffix --- FAIL: TestSyncBackupDirWithSuffix (141.47s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:18:21 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/dst" 2025/02/18 03:18:21 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Has cached credentials 2025/02/18 03:18:22 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:19:06 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/backup" 2025/02/18 03:19:06 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/backup': Has cached credentials 2025/02/18 03:19:07 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/backup': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:20:34 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/02/18 03:20:34 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for checks to finish 2025/02/18 03:20:34 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/02/18 03:20:34 DEBUG : two: Unchanged skipping 2025/02/18 03:20:35.276875 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Q3BDuTdMXrkDlKZp58vtXDFcRM0rbQdXzfI8XL9mK9P3Q64lV2c7qOI-yViI-hnY5zfxSRxuKGF9t5uyL5Qhrg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:20:35.276900 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Q3BDuTdMXrkDlKZp58vtXDFcRM0rbQdXzfI8XL9mK9P3Q64lV2c7qOI-yViI-hnY5zfxSRxuKGF9t5uyL5Qhrg==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:20:35 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Q3BDuTdMXrkDlKZp58vtXDFcRM0rbQdXzfI8XL9mK9P3Q64lV2c7qOI-yViI-hnY5zfxSRxuKGF9t5uyL5Qhrg==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:20:35 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for transfers to finish 2025/02/18 03:20:35 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/dst': not deleting files as there were IO errors 2025/02/18 03:20:35 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/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/Q3BDuTdMXrkDlKZp58vtXDFcRM0rbQdXzfI8XL9mK9P3Q64lV2c7qOI-yViI-hnY5zfxSRxuKGF9t5uyL5Qhrg==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDirWithSuffixKeepExtension --- FAIL: TestSyncBackupDirWithSuffixKeepExtension (140.87s) === RUN TestSyncBackupDirSuffixOnly run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:20:42 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/dst" 2025/02/18 03:20:42 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Has cached credentials 2025/02/18 03:20:43 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:21:27 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/02/18 03:21:27 DEBUG : two: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/02/18 03:21:27 DEBUG : two: Unchanged skipping 2025/02/18 03:21:27 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for checks to finish 2025/02/18 03:21:27.720883 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IyWX8n3OF03Q4CW4QOzcixQQm3R-hUWk6GdgLvXU7QSSjCHH4Ox4uIKfmwThmWtrA8dHkt0UN6bfot7mh6BcUQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:21:27.720906 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IyWX8n3OF03Q4CW4QOzcixQQm3R-hUWk6GdgLvXU7QSSjCHH4Ox4uIKfmwThmWtrA8dHkt0UN6bfot7mh6BcUQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:21:27 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IyWX8n3OF03Q4CW4QOzcixQQm3R-hUWk6GdgLvXU7QSSjCHH4Ox4uIKfmwThmWtrA8dHkt0UN6bfot7mh6BcUQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:21:27 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Waiting for transfers to finish 2025/02/18 03:21:27 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/dst': not deleting files as there were IO errors 2025/02/18 03:21:27 ERROR : proton drive root link ID 'rclone-test-tolapez5luge/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/IyWX8n3OF03Q4CW4QOzcixQQm3R-hUWk6GdgLvXU7QSSjCHH4Ox4uIKfmwThmWtrA8dHkt0UN6bfot7mh6BcUQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncBackupDirSuffixOnly --- FAIL: TestSyncBackupDirSuffixOnly (52.16s) === RUN TestSyncSuffix run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:21:34 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/dst" 2025/02/18 03:21:34 DEBUG : Config file has changed externally - reloading 2025/02/18 03:21:34 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Has cached credentials 2025/02/18 03:21:35 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:22:19 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/02/18 03:22:19.800452 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Ho0-WJb0EZO1Tg21N8uoadZVo0yienQ9H80G0G14eTldbNlSpHHeVOv6MtzLre8zMHjeSbPg0enOATjB2FNv4g==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:22:19.800475 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Ho0-WJb0EZO1Tg21N8uoadZVo0yienQ9H80G0G14eTldbNlSpHHeVOv6MtzLre8zMHjeSbPg0enOATjB2FNv4g==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:22:19 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Ho0-WJb0EZO1Tg21N8uoadZVo0yienQ9H80G0G14eTldbNlSpHHeVOv6MtzLre8zMHjeSbPg0enOATjB2FNv4g==/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/Ho0-WJb0EZO1Tg21N8uoadZVo0yienQ9H80G0G14eTldbNlSpHHeVOv6MtzLre8zMHjeSbPg0enOATjB2FNv4g==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncSuffix --- FAIL: TestSyncSuffix (52.02s) === RUN TestSyncSuffixKeepExtension run.go:180: Remote "proton drive root link ID 'rclone-test-tolapez5luge'", Local "Local file system at /tmp/rclone2129097344", Modify Window "1s" 2025/02/18 03:22:26 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-tolapez5luge/dst" 2025/02/18 03:22:26 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Has cached credentials 2025/02/18 03:22:27 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge/dst': Used cached credential to initialize the ProtonDrive API 2025/02/18 03:23:11 DEBUG : one: Sizes differ (src 4 vs dst 3) 2025/02/18 03:23:11.864908 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/0voBKvhxMyIBDEubuwUBNz-wA5wMAumUYxbApvU66fkIViWUg9MJusjWVa8pAgu-XUKxIS6vwc6YedNTyC4RZA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/02/18 03:23:11.864936 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/0voBKvhxMyIBDEubuwUBNz-wA5wMAumUYxbApvU66fkIViWUg9MJusjWVa8pAgu-XUKxIS6vwc6YedNTyC4RZA==/move: This value should not be blank. (Code=2000, Status=400) 2025/02/18 03:23:11 ERROR : one: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/0voBKvhxMyIBDEubuwUBNz-wA5wMAumUYxbApvU66fkIViWUg9MJusjWVa8pAgu-XUKxIS6vwc6YedNTyC4RZA==/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/0voBKvhxMyIBDEubuwUBNz-wA5wMAumUYxbApvU66fkIViWUg9MJusjWVa8pAgu-XUKxIS6vwc6YedNTyC4RZA==/move: This value should not be blank. (Code=2000, Status=400) Test: TestSyncSuffixKeepExtension --- FAIL: TestSyncSuffixKeepExtension (52.11s) FAIL 2025/02/18 03:23:14 DEBUG : proton drive root link ID 'rclone-test-tolapez5luge': 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 10m57.597804609s (try 4/5): exit status 1: Failed [TestServerSideMoveOverSelf TestSyncWithTrackRenames TestSyncWithTrackRenamesStrategyModtime TestSyncWithTrackRenamesStrategyLeaf TestMoveWithDeleteEmptySrcDirs TestServerSideMove TestServerSideMoveWithFilter TestServerSideMoveDeleteEmptySourceDirs TestSyncBackupDir TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly TestSyncSuffix TestSyncSuffixKeepExtension]