"./operations.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseInsensitiveMoveFile|TestCaseInsensitiveMoveFileDryRun|TestCat|TestCopyDirMetadata|TestCopyFileCompareDest|TestCopyFileCopyDest|TestCopyFileMaxTransfer|TestCopyInplace|TestCopyLongFileName|TestCopyURL|TestCount|TestDeduplicateFirst|TestDeduplicateInteractive|TestDeduplicateLargest|TestDeduplicateNewest|TestDeduplicateNewestByHash|TestDeduplicateOldest|TestDeduplicateRename|TestDeduplicateSizeOnly|TestDeduplicateSkip|TestDeduplicateSmallest|TestDelete|TestDirMove|TestDirsEqual|TestGetFsInfo|TestHashSums|TestListDirSorted|TestListJSON|TestLs|TestLsLong|TestLsWithFilesFrom|TestLsd|TestMaxDelete|TestMaxDeleteSize|TestMaxDeleteSizeLargeFile|TestMergeDirs|TestMkdir|TestMkdirMetadata|TestMkdirModTime|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatMetadata|TestRcatSize|TestRcatSizeMetadata|TestReadFile|TestRemoveExisting|TestRmdirsLeaveRoot|TestRmdirsNoLeaveRoot|TestRmdirsWithFilter|TestSetDirModTime|TestStatJSON|TestTouchDir)$|^TestRcat$/^(withChecksum=false,ignoreChecksum=false|withChecksum=false,ignoreChecksum=true|withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Starting (try 2/5) 2024/11/10 03:13:35 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jegarey1goka" 2024/11/10 03:13:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/10 03:13:35 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Has cached credentials 2024/11/10 03:13:36 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Used cached credential to initialize the ProtonDrive API 2024/11/10 03:13:37 DEBUG : Creating backend with remote "/tmp/rclone1814023505" === RUN TestCopyFileCompareDest run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:13:37 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jegarey1goka/dst" 2024/11/10 03:13:37 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/dst': Has cached credentials 2024/11/10 03:13:38 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/dst': Used cached credential to initialize the ProtonDrive API 2024/11/10 03:13:39 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jegarey1goka/CompareDest" 2024/11/10 03:13:39 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/CompareDest': Has cached credentials 2024/11/10 03:13:40 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/CompareDest': Used cached credential to initialize the ProtonDrive API 2024/11/10 03:13:41 DEBUG : one: Need to transfer - File not found at Destination 2024/11/10 03:13:44 DEBUG : one: sha1 = fe05bcdcdc4928012781a5f1a2a77cbb5398e106 OK 2024/11/10 03:13:44 INFO : one: Copied (new) 2024/11/10 03:14:11 DEBUG : one: Sizes differ (src 5 vs dst 3) 2024/11/10 03:14:35.715462 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 2024/11/10 03:14:35.715505 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) 2024/11/10 03:14:37 DEBUG : one: sha1 = 7f376fd65843a1267de8f986d40e164e5a321c13 OK 2024/11/10 03:14:37 INFO : one: Copied (replaced existing) 2024/11/10 03:14:39.522283 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 2024/11/10 03:14:39.522306 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) 2024/11/10 03:14:45 DEBUG : one: Sizes differ (src 5 vs dst 3) 2024/11/10 03:14:46 DEBUG : one: Size and modification time the same (differ by -123.456789ms, within tolerance 1s) 2024/11/10 03:14:46 DEBUG : one: Destination found in --compare-dest, skipping 2024/11/10 03:14:49 DEBUG : two: Need to transfer - File not found at Destination 2024/11/10 03:14:50 DEBUG : two: Size and modification time the same (differ by -123.456789ms, within tolerance 1s) 2024/11/10 03:14:50 DEBUG : two: Destination found in --compare-dest, skipping 2024/11/10 03:14:51 DEBUG : two: Need to transfer - File not found at Destination 2024/11/10 03:14:52 DEBUG : two: Size and modification time the same (differ by -123.456789ms, within tolerance 1s) 2024/11/10 03:14:52 DEBUG : two: Destination found in --compare-dest, skipping 2024/11/10 03:14:54 DEBUG : two: Need to transfer - File not found at Destination 2024/11/10 03:14:55 DEBUG : two: Sizes differ (src 5 vs dst 3) 2024/11/10 03:14:56 DEBUG : two: sha1 = a4be8877ad88f3109a6411985a1f359e10e2d930 OK 2024/11/10 03:14:56 INFO : two: Copied (new) --- PASS: TestCopyFileCompareDest (84.33s) === RUN TestCopyFileCopyDest run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" copy_test.go:276: Skipping test as remote does not support server-side copy --- SKIP: TestCopyFileCopyDest (0.65s) === RUN TestCopyInplace run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" copy_test.go:370: Partial uploads not supported --- SKIP: TestCopyInplace (0.67s) === RUN TestCopyLongFileName run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" copy_test.go:403: Partial uploads not supported --- SKIP: TestCopyLongFileName (0.62s) === RUN TestCopyFileMaxTransfer run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:15:03 DEBUG : TestCopyFileMaxTransfer/file1: Need to transfer - File not found at Destination 2024/11/10 03:15:05 DEBUG : TestCopyFileMaxTransfer/file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/11/10 03:15:05 INFO : TestCopyFileMaxTransfer/file1: Copied (new) 2024/11/10 03:15:06 DEBUG : TestCopyFileMaxTransfer/file2: Need to transfer - File not found at Destination 2024/11/10 03:15:07 ERROR : TestCopyFileMaxTransfer/file2: Failed to copy: max transfer limit reached as set by --max-transfer 2024/11/10 03:15:08 DEBUG : TestCopyFileMaxTransfer/file3: Need to transfer - File not found at Destination 2024/11/10 03:15:09 DEBUG : TestCopyFileMaxTransfer/file4: Need to transfer - File not found at Destination 2024/11/10 03:15:10 DEBUG : TestCopyFileMaxTransfer/file4: sha1 = 930797ddc676717846a8edeb72df901b13e09bd1 OK 2024/11/10 03:15:10 INFO : TestCopyFileMaxTransfer/file4: Copied (new) --- PASS: TestCopyFileMaxTransfer (11.13s) === RUN TestDeduplicateInteractive run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateInteractive (0.67s) === RUN TestDeduplicateSkip run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateSkip (0.63s) === RUN TestDeduplicateSizeOnly run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateSizeOnly (0.63s) === RUN TestDeduplicateFirst run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateFirst (0.68s) === RUN TestDeduplicateNewest run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateNewest (0.64s) === RUN TestDeduplicateNewestByHash run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:15:26 INFO : proton drive root link ID 'rclone-test-jegarey1goka': Looking for duplicate sha1 hashes using newest mode. 2024/11/10 03:15:27 NOTICE: 5e9684ec389275bcd01baef007084205482ce162: Found 3 files with duplicate sha1 hashes 2024/11/10 03:15:27 INFO : one: Deleted 2024/11/10 03:15:28 INFO : also/one: Deleted 2024/11/10 03:15:28 NOTICE: 5e9684ec389275bcd01baef007084205482ce162: Deleted 2 extra copies --- PASS: TestDeduplicateNewestByHash (13.96s) === RUN TestDeduplicateOldest run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateOldest (0.68s) === RUN TestDeduplicateLargest run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateLargest (0.63s) === RUN TestDeduplicateSmallest run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateSmallest (0.63s) === RUN TestDeduplicateRename run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateRename (0.63s) === RUN TestMergeDirs run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" dedupe_test.go:256: Can't merge directories --- SKIP: TestMergeDirs (0.64s) === RUN TestListDirSorted run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:15:51 DEBUG : a.txt: Excluded (Size Filter) 2024/11/10 03:15:51 DEBUG : a.txt: Excluded 2024/11/10 03:15:52 DEBUG : sub dir/hello world: Excluded (Size Filter) 2024/11/10 03:15:52 DEBUG : sub dir/hello world: Excluded 2024/11/10 03:15:52 DEBUG : sub dir/hello world2: Excluded (Size Filter) 2024/11/10 03:15:52 DEBUG : sub dir/hello world2: Excluded 2024/11/10 03:15:53 DEBUG : sub dir/hello world: Excluded (Size Filter) 2024/11/10 03:15:53 DEBUG : sub dir/hello world: Excluded 2024/11/10 03:15:53 DEBUG : sub dir/hello world2: Excluded (Size Filter) 2024/11/10 03:15:53 DEBUG : sub dir/hello world2: Excluded 2024/11/10 03:15:53 DEBUG : sub dir/ignore dir: Excluded 2024/11/10 03:15:54 DEBUG : sub dir/ignore dir: Excluded --- PASS: TestListDirSorted (27.86s) === RUN TestListJSON run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" === RUN TestListJSON/Default === RUN TestListJSON/FilesOnly === RUN TestListJSON/DirsOnly === RUN TestListJSON/Recurse === RUN TestListJSON/SubDir === RUN TestListJSON/NoModTime === RUN TestListJSON/NoMimeType === RUN TestListJSON/ShowHash === RUN TestListJSON/HashTypes 2024/11/10 03:16:12 ERROR : file1: Failed to read hash: hash type not supported === RUN TestListJSON/Metadata --- PASS: TestListJSON (12.99s) --- PASS: TestListJSON/Default (0.48s) --- PASS: TestListJSON/FilesOnly (0.49s) --- PASS: TestListJSON/DirsOnly (0.47s) --- PASS: TestListJSON/Recurse (0.97s) --- PASS: TestListJSON/SubDir (0.49s) --- PASS: TestListJSON/NoModTime (0.48s) --- PASS: TestListJSON/NoMimeType (0.48s) --- PASS: TestListJSON/ShowHash (0.47s) --- PASS: TestListJSON/HashTypes (0.51s) --- PASS: TestListJSON/Metadata (0.50s) === RUN TestStatJSON run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" === RUN TestStatJSON/Root === RUN TestStatJSON/RootFilesOnly === RUN TestStatJSON/RootDirsOnly === RUN TestStatJSON/Dir === RUN TestStatJSON/DirWithTrailingSlash === RUN TestStatJSON/File === RUN TestStatJSON/NotFound === RUN TestStatJSON/DirFilesOnly === RUN TestStatJSON/FileFilesOnly === RUN TestStatJSON/NotFoundFilesOnly === RUN TestStatJSON/DirDirsOnly === RUN TestStatJSON/FileDirsOnly === RUN TestStatJSON/NotFoundDirsOnly === RUN TestStatJSON/RootNotFound 2024/11/10 03:16:27 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jegarey1goka/notfound" 2024/11/10 03:16:27 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/notfound': Has cached credentials 2024/11/10 03:16:28 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/notfound': Used cached credential to initialize the ProtonDrive API --- PASS: TestStatJSON (65.04s) --- PASS: TestStatJSON/Root (0.49s) --- PASS: TestStatJSON/RootFilesOnly (0.00s) --- PASS: TestStatJSON/RootDirsOnly (0.51s) --- PASS: TestStatJSON/Dir (0.97s) --- PASS: TestStatJSON/DirWithTrailingSlash (0.47s) --- PASS: TestStatJSON/File (0.65s) --- PASS: TestStatJSON/NotFound (0.68s) --- PASS: TestStatJSON/DirFilesOnly (0.48s) --- PASS: TestStatJSON/FileFilesOnly (0.64s) --- PASS: TestStatJSON/NotFoundFilesOnly (0.15s) --- PASS: TestStatJSON/DirDirsOnly (0.48s) --- PASS: TestStatJSON/FileDirsOnly (0.51s) --- PASS: TestStatJSON/NotFoundDirsOnly (0.48s) --- PASS: TestStatJSON/RootNotFound (51.02s) === RUN TestMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:17:20 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Making directory 2024/11/10 03:17:21 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Making directory --- PASS: TestMkdir (0.94s) === RUN TestLsd run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestLsd (5.70s) === RUN TestLs run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestLs (6.26s) === RUN TestLsWithFilesFrom run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:17:38 DEBUG : empty space: Excluded (FilesFrom Filter) 2024/11/10 03:17:38 DEBUG : empty space: Excluded --- PASS: TestLsWithFilesFrom (6.73s) === RUN TestLsLong run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestLsLong (6.09s) === RUN TestHashSums run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" === RUN TestHashSums/Sha1 === RUN TestHashSums/Sha1Download --- PASS: TestHashSums (7.54s) --- PASS: TestHashSums/Sha1 (0.66s) --- PASS: TestHashSums/Sha1Download (1.50s) === RUN TestCount run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestCount (10.95s) === RUN TestDelete run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:18:10 DEBUG : Waiting for deletions to finish 2024/11/10 03:18:11 DEBUG : large: Excluded (Size Filter) 2024/11/10 03:18:11 DEBUG : large: Excluded 2024/11/10 03:18:11 INFO : medium: Deleted 2024/11/10 03:18:11 INFO : small: Deleted --- PASS: TestDelete (8.53s) === RUN TestMaxDelete run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:18:19 DEBUG : Waiting for deletions to finish 2024/11/10 03:18:20 ERROR : medium: Got fatal error on delete: --max-delete threshold reached 2024/11/10 03:18:20 INFO : small: Deleted 2024/11/10 03:18:20 INFO : large: Deleted --- PASS: TestMaxDelete (9.25s) === RUN TestMaxDeleteSizeLargeFile run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:18:29 DEBUG : Waiting for deletions to finish 2024/11/10 03:18:29 ERROR : large: Got fatal error on delete: --max-delete-size threshold reached 2024/11/10 03:18:30 INFO : medium: Deleted 2024/11/10 03:18:30 INFO : small: Deleted --- PASS: TestMaxDeleteSizeLargeFile (9.81s) === RUN TestMaxDeleteSize run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:18:38 DEBUG : Waiting for deletions to finish 2024/11/10 03:18:38 ERROR : medium: Got fatal error on delete: --max-delete-size threshold reached 2024/11/10 03:18:39 INFO : small: Deleted 2024/11/10 03:18:39 INFO : large: Deleted --- PASS: TestMaxDeleteSize (9.52s) === RUN TestReadFile run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestReadFile (5.37s) === RUN TestCat run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestCat (16.15s) === RUN TestRmdirsNoLeaveRoot run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:19:07 DEBUG : A2: Making directory 2024/11/10 03:19:08 DEBUG : A1/B2: Making directory 2024/11/10 03:19:08 DEBUG : A1/B2/C2: Making directory 2024/11/10 03:19:09 DEBUG : A1/B1/C3: Making directory 2024/11/10 03:19:10 DEBUG : A3: Making directory 2024/11/10 03:19:11 DEBUG : A3/B3: Making directory 2024/11/10 03:19:11 DEBUG : A3/B3/C4: Making directory 2024/11/10 03:19:16 DEBUG : removing 1 level 3 directories 2024/11/10 03:19:16 INFO : A3/B3/C4: Removing directory 2024/11/10 03:19:20 DEBUG : removing 2 level 3 directories 2024/11/10 03:19:20 INFO : A1/B2/C2: Removing directory 2024/11/10 03:19:20 INFO : A1/B1/C3: Removing directory 2024/11/10 03:19:20 DEBUG : removing 2 level 2 directories 2024/11/10 03:19:20 INFO : A3/B3: Removing directory 2024/11/10 03:19:20 INFO : A1/B2: Removing directory 2024/11/10 03:19:21 DEBUG : removing 2 level 1 directories 2024/11/10 03:19:21 INFO : A3: Removing directory 2024/11/10 03:19:21 INFO : A2: Removing directory 2024/11/10 03:19:26 DEBUG : removing 1 level 3 directories 2024/11/10 03:19:26 INFO : A1/B1/C1: Removing directory 2024/11/10 03:19:27 DEBUG : removing 1 level 2 directories 2024/11/10 03:19:27 INFO : A1/B1: Removing directory 2024/11/10 03:19:27 DEBUG : removing 1 level 1 directories 2024/11/10 03:19:27 INFO : A1: Removing directory 2024/11/10 03:19:28 DEBUG : removing 1 level 0 directories 2024/11/10 03:19:28 INFO : proton drive root link ID 'rclone-test-jegarey1goka': Removing directory 2024/11/10 03:19:29 ERROR : : error listing: directory not found 2024/11/10 03:19:29 ERROR : : error listing: directory not found --- PASS: TestRmdirsNoLeaveRoot (25.60s) === RUN TestRmdirsLeaveRoot run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:19:30 DEBUG : A1: Making directory 2024/11/10 03:19:30 DEBUG : A1/B1: Making directory 2024/11/10 03:19:31 DEBUG : A1/B1/C1: Making directory 2024/11/10 03:19:34 DEBUG : removing 1 level 3 directories 2024/11/10 03:19:34 INFO : A1/B1/C1: Removing directory 2024/11/10 03:19:35 DEBUG : removing 1 level 2 directories 2024/11/10 03:19:35 INFO : A1/B1: Removing directory --- PASS: TestRmdirsLeaveRoot (8.45s) === RUN TestRmdirsWithFilter run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:19:37 DEBUG : A1: Making directory 2024/11/10 03:19:38 DEBUG : A1/B1: Making directory 2024/11/10 03:19:39 DEBUG : A1/B1/C1: Making directory 2024/11/10 03:19:42 DEBUG : removing 1 level 3 directories 2024/11/10 03:19:42 INFO : A1/B1/C1: Removing directory 2024/11/10 03:19:42 DEBUG : removing 1 level 2 directories 2024/11/10 03:19:42 INFO : A1/B1: Removing directory --- PASS: TestRmdirsWithFilter (7.84s) === RUN TestCopyURL run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:19:48 DEBUG : filename.txt: File name found in url 2024/11/10 03:19:50 DEBUG : headerfilename.txt: filename found in Content-Disposition header. --- PASS: TestCopyURL (11.57s) === RUN TestMoveFile run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:19:57 DEBUG : file1: Need to transfer - File not found at Destination 2024/11/10 03:19:59 DEBUG : file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/11/10 03:19:59 INFO : file1: Copied (new) to: sub/file2 2024/11/10 03:19:59 INFO : file1: Deleted 2024/11/10 03:20:01 DEBUG : file1: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2024/11/10 03:20:01 DEBUG : file1: Unchanged skipping 2024/11/10 03:20:01 INFO : file1: Deleted 2024/11/10 03:20:01 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': don't need to copy/move sub/file2, it is already at target location --- PASS: TestMoveFile (7.54s) === RUN TestMoveFileWithIgnoreExisting run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:20:04 DEBUG : file1: Need to transfer - File not found at Destination 2024/11/10 03:20:06 DEBUG : file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/11/10 03:20:06 INFO : file1: Copied (new) 2024/11/10 03:20:06 INFO : file1: Deleted 2024/11/10 03:20:07 DEBUG : file1: Destination exists, skipping 2024/11/10 03:20:07 DEBUG : file1: Not removing source file as destination file exists and --ignore-existing is set --- PASS: TestMoveFileWithIgnoreExisting (4.40s) === RUN TestCaseInsensitiveMoveFile run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestCaseInsensitiveMoveFile (0.65s) === RUN TestCaseInsensitiveMoveFileDryRun run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" --- PASS: TestCaseInsensitiveMoveFileDryRun (0.64s) === RUN TestMoveFileBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:20:14 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jegarey1goka/backup" 2024/11/10 03:20:14 DEBUG : Config file has changed externally - reloading 2024/11/10 03:20:14 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/backup': Has cached credentials 2024/11/10 03:20:15 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka/backup': Used cached credential to initialize the ProtonDrive API 2024/11/10 03:21:02 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2024/11/10 03:21:10 INFO : dst/file1: Moved (server-side) 2024/11/10 03:21:11 DEBUG : dst/file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/11/10 03:21:11 INFO : dst/file1: Copied (new) 2024/11/10 03:21:11 INFO : dst/file1: Deleted --- PASS: TestMoveFileBackupDir (66.12s) === RUN TestDirMove run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:21:27 DEBUG : A1/B2: Making directory 2024/11/10 03:21:27 DEBUG : A1/B1/C3: Making directory 2024/11/10 03:21:49 INFO : A2/two: Moved (server-side) to: A3/two 2024/11/10 03:21:49 INFO : A2/B1/three: Moved (server-side) to: A3/B1/three 2024/11/10 03:21:49 INFO : A2/one: Moved (server-side) to: A3/one 2024/11/10 03:21:49 INFO : A2/B1/C1/four: Moved (server-side) to: A3/B1/C1/four 2024/11/10 03:21:49 INFO : A2/B1/C2/five: Moved (server-side) to: A3/B1/C2/five 2024/11/10 03:21:55 INFO : proton drive root link ID 'rclone-test-jegarey1goka': Can't DirMove - falling back to file moves: can't move directory - incompatible remotes 2024/11/10 03:22:06 INFO : A3/two: Moved (server-side) to: A4/two 2024/11/10 03:22:06 INFO : A3/one: Moved (server-side) to: A4/one 2024/11/10 03:22:07 INFO : A3/B1/three: Moved (server-side) to: A4/B1/three 2024/11/10 03:22:07 INFO : A3/B1/C2/five: Moved (server-side) to: A4/B1/C2/five 2024/11/10 03:22:07 INFO : A3/B1/C1/four: Moved (server-side) to: A4/B1/C1/four --- PASS: TestDirMove (63.16s) === RUN TestGetFsInfo run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:22:19 DEBUG : Config file has changed externally - reloading --- PASS: TestGetFsInfo (0.63s) === RUN TestRcat === RUN TestRcat/withChecksum=false,ignoreChecksum=false run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:22:20 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': File to upload is small (34 bytes), uploading instead of streaming 2024/11/10 03:22:22 DEBUG : no_checksum_small_file_from_pipe: sha1 = 4c3452689ee5e2b950454c46181b8b5e7bcfeca9 OK 2024/11/10 03:22:22 DEBUG : no_checksum_small_file_from_pipe: Size and sha1 of src and dst objects identical 2024/11/10 03:22:22 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/11/10 03:22:24 DEBUG : no_checksum_big_file_from_pipe: sha1 = d0080f73aa8b494570ad63df1beb25c01ea9eea2 OK 2024/11/10 03:22:24 DEBUG : no_checksum_big_file_from_pipe: Size and sha1 of src and dst objects identical === RUN TestRcat/withChecksum=true,ignoreChecksum=false run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:22:26 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': File to upload is small (34 bytes), uploading instead of streaming 2024/11/10 03:22:28 DEBUG : with_checksum_small_file_from_pipe: sha1 = 4c3452689ee5e2b950454c46181b8b5e7bcfeca9 OK 2024/11/10 03:22:28 DEBUG : with_checksum_small_file_from_pipe: Size and sha1 of src and dst objects identical 2024/11/10 03:22:28 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/11/10 03:22:29 DEBUG : with_checksum_big_file_from_pipe: sha1 = d0080f73aa8b494570ad63df1beb25c01ea9eea2 OK 2024/11/10 03:22:29 DEBUG : with_checksum_big_file_from_pipe: Size and sha1 of src and dst objects identical === RUN TestRcat/withChecksum=false,ignoreChecksum=true run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:22:32 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': File to upload is small (34 bytes), uploading instead of streaming 2024/11/10 03:22:33 DEBUG : ignore_checksum_small_file_from_pipe: Size and modification time the same (differ by 0s, within tolerance 1s) 2024/11/10 03:22:33 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/11/10 03:22:35 DEBUG : ignore_checksum_big_file_from_pipe: Size and modification time the same (differ by 0s, within tolerance 1s) === RUN TestRcat/withChecksum=true,ignoreChecksum=true run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:22:38 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': File to upload is small (34 bytes), uploading instead of streaming 2024/11/10 03:22:39 DEBUG : ignore_checksum_small_file_from_pipe: Src hash empty - aborting Dst hash check 2024/11/10 03:22:39 DEBUG : ignore_checksum_small_file_from_pipe: Size of src and dst objects identical 2024/11/10 03:22:39 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/11/10 03:22:41 DEBUG : ignore_checksum_big_file_from_pipe: Src hash empty - aborting Dst hash check 2024/11/10 03:22:41 DEBUG : ignore_checksum_big_file_from_pipe: Size of src and dst objects identical --- PASS: TestRcat (22.98s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=false (6.01s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=false (5.66s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=true (5.72s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=true (5.59s) === RUN TestRcatMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" operations_test.go:1532: Skipping as destination doesn't support user metadata --- SKIP: TestRcatMetadata (0.61s) === RUN TestRcatSize run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:22:45 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': File to upload is small (60 bytes), uploading instead of streaming 2024/11/10 03:22:47 DEBUG : potato2: sha1 = 9dc7f7d3279715991a22853f5981df582b7f9f6d OK 2024/11/10 03:22:47 DEBUG : potato2: Size and sha1 of src and dst objects identical --- PASS: TestRcatSize (5.42s) === RUN TestRcatSizeMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" operations_test.go:1613: Skipping as destination doesn't support user metadata --- SKIP: TestRcatSizeMetadata (0.64s) === RUN TestTouchDir run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:22:56 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Touching "empty space" 2024/11/10 03:22:56 ERROR : empty space: failed to touch: can't set modified time 2024/11/10 03:22:56 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Touching "potato2" 2024/11/10 03:22:56 ERROR : potato2: failed to touch: can't set modified time 2024/11/10 03:22:57 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Touching "sub dir/potato3" 2024/11/10 03:22:57 ERROR : sub dir/potato3: failed to touch: can't set modified time --- PASS: TestTouchDir (10.57s) === RUN TestMkdirMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" operations_test.go:1703: Skipping test as remote does not support MkdirMetadata --- SKIP: TestMkdirMetadata (0.62s) === RUN TestMkdirModTime run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" operations_test.go:1722: Skipping test as remote does not support DirSetModTime or MkdirMetadata --- SKIP: TestMkdirModTime (0.61s) === RUN TestCopyDirMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" operations_test.go:1743: Skipping test as remote does not support WriteDirMetadata or MkdirMetadata --- SKIP: TestCopyDirMetadata (0.61s) === RUN TestSetDirModTime run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" operations_test.go:1779: Skipping test as remote does not support DirSetModTime or WriteDirSetModTime --- SKIP: TestSetDirModTime (0.66s) === RUN TestDirsEqual run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" operations_test.go:1823: Skipping test as remote does not support WriteDirMetadata or MkdirMetadata --- SKIP: TestDirsEqual (0.62s) === RUN TestRemoveExisting run.go:180: Remote "proton drive root link ID 'rclone-test-jegarey1goka'", Local "Local file system at /tmp/rclone1814023505", Modify Window "1s" 2024/11/10 03:23:11 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.kafujem0" before starting 2024/11/10 03:23:18 DEBUG : sub dir/test remove existing.kafujem0: TEST: removing renamed existing file after operation 2024/11/10 03:23:20 DEBUG : sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890: TEST: renaming existing object to "sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901.xuyemur5" before starting 2024/11/10 03:23:27 DEBUG : sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901.xuyemur5: TEST: renaming existing back after failed operation 2024/11/10 03:23:34 DEBUG : sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890: TEST: renaming existing object to "sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901.tenibum6" before starting 2024/11/10 03:23:41 DEBUG : sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901.tenibum6: TEST: removing renamed existing file after operation --- PASS: TestRemoveExisting (40.70s) PASS 2024/11/10 03:23:44 DEBUG : proton drive root link ID 'rclone-test-jegarey1goka': Purge remote "./operations.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseInsensitiveMoveFile|TestCaseInsensitiveMoveFileDryRun|TestCat|TestCopyDirMetadata|TestCopyFileCompareDest|TestCopyFileCopyDest|TestCopyFileMaxTransfer|TestCopyInplace|TestCopyLongFileName|TestCopyURL|TestCount|TestDeduplicateFirst|TestDeduplicateInteractive|TestDeduplicateLargest|TestDeduplicateNewest|TestDeduplicateNewestByHash|TestDeduplicateOldest|TestDeduplicateRename|TestDeduplicateSizeOnly|TestDeduplicateSkip|TestDeduplicateSmallest|TestDelete|TestDirMove|TestDirsEqual|TestGetFsInfo|TestHashSums|TestListDirSorted|TestListJSON|TestLs|TestLsLong|TestLsWithFilesFrom|TestLsd|TestMaxDelete|TestMaxDeleteSize|TestMaxDeleteSizeLargeFile|TestMergeDirs|TestMkdir|TestMkdirMetadata|TestMkdirModTime|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatMetadata|TestRcatSize|TestRcatSizeMetadata|TestReadFile|TestRemoveExisting|TestRmdirsLeaveRoot|TestRmdirsNoLeaveRoot|TestRmdirsWithFilter|TestSetDirModTime|TestStatJSON|TestTouchDir)$|^TestRcat$/^(withChecksum=false,ignoreChecksum=false|withChecksum=false,ignoreChecksum=true|withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Finished OK in 10m9.889322671s (try 2/5)