"./operations.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseInsensitiveMoveFile|TestCaseInsensitiveMoveFileDryRun|TestCat|TestCopyDirMetadata|TestCopyFile|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCopyFileCopyDest|TestCopyFileMaxTransfer|TestCopyInplace|TestCopyLongFile|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|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/10/04 01:23:43 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-koqamof6defa" 2024/10/04 01:23:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/04 01:23:43 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Has cached credentials 2024/10/04 01:23:44 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Used cached credential to initialize the ProtonDrive API 2024/10/04 01:23:44 DEBUG : Creating backend with remote "/tmp/rclone1619446995" === RUN TestCopyFile run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:23:45 DEBUG : file1: Need to transfer - File not found at Destination 2024/10/04 01:23:48 DEBUG : file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/04 01:23:48 INFO : file1: Copied (new) to: sub/file2 2024/10/04 01:23:49 DEBUG : file1: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2024/10/04 01:23:49 DEBUG : file1: Unchanged skipping 2024/10/04 01:23:49 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': don't need to copy/move sub/file2, it is already at target location --- PASS: TestCopyFile (8.13s) === RUN TestCopyLongFile run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" copy_test.go:153: Test only runs on local --- SKIP: TestCopyLongFile (0.47s) === RUN TestCopyFileBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:23:56 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-koqamof6defa/backup" 2024/10/04 01:23:56 DEBUG : Config file has changed externally - reloading 2024/10/04 01:23:56 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/backup': Has cached credentials 2024/10/04 01:23:58 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/backup': Used cached credential to initialize the ProtonDrive API 2024/10/04 01:25:12 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2024/10/04 01:25:21 INFO : dst/file1: Moved (server-side) 2024/10/04 01:25:23 DEBUG : dst/file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/04 01:25:23 INFO : dst/file1: Copied (new) --- PASS: TestCopyFileBackupDir (94.98s) === RUN TestCopyFileCompareDest run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:25:28 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-koqamof6defa/dst" 2024/10/04 01:25:28 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/dst': Has cached credentials 2024/10/04 01:25:29 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/dst': Used cached credential to initialize the ProtonDrive API 2024/10/04 01:26:44 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-koqamof6defa/CompareDest" 2024/10/04 01:26:44 DEBUG : Config file has changed externally - reloading 2024/10/04 01:26:44 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/CompareDest': Has cached credentials 2024/10/04 01:26:45 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/CompareDest': Used cached credential to initialize the ProtonDrive API 2024/10/04 01:27:57 DEBUG : one: Need to transfer - File not found at Destination 2024/10/04 01:28:00 DEBUG : one: sha1 = fe05bcdcdc4928012781a5f1a2a77cbb5398e106 OK 2024/10/04 01:28:00 INFO : one: Copied (new) 2024/10/04 01:28:02 DEBUG : one: Sizes differ (src 5 vs dst 3) 2024/10/04 01:28:03.156749 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/10/04 01:28:03.156781 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/10/04 01:28:04 DEBUG : one: sha1 = 7f376fd65843a1267de8f986d40e164e5a321c13 OK 2024/10/04 01:28:04 INFO : one: Copied (replaced existing) 2024/10/04 01:28:07.526935 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/10/04 01:28:07.526967 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/10/04 01:28:12 DEBUG : one: Sizes differ (src 5 vs dst 3) 2024/10/04 01:28:14 DEBUG : one: Size and modification time the same (differ by -123.456789ms, within tolerance 1s) 2024/10/04 01:28:14 DEBUG : one: Destination found in --compare-dest, skipping 2024/10/04 01:28:17 DEBUG : two: Need to transfer - File not found at Destination 2024/10/04 01:28:17 DEBUG : two: Size and modification time the same (differ by -123.456789ms, within tolerance 1s) 2024/10/04 01:28:17 DEBUG : two: Destination found in --compare-dest, skipping 2024/10/04 01:28:18 DEBUG : two: Need to transfer - File not found at Destination 2024/10/04 01:28:19 DEBUG : two: Size and modification time the same (differ by -123.456789ms, within tolerance 1s) 2024/10/04 01:28:19 DEBUG : two: Destination found in --compare-dest, skipping 2024/10/04 01:28:21 DEBUG : two: Need to transfer - File not found at Destination 2024/10/04 01:28:22 DEBUG : two: Sizes differ (src 5 vs dst 3) 2024/10/04 01:28:23 DEBUG : two: sha1 = a4be8877ad88f3109a6411985a1f359e10e2d930 OK 2024/10/04 01:28:23 INFO : two: Copied (new) --- PASS: TestCopyFileCompareDest (178.94s) === RUN TestCopyFileCopyDest run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" copy_test.go:276: Skipping test as remote does not support server-side copy --- SKIP: TestCopyFileCopyDest (0.68s) === RUN TestCopyInplace run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" copy_test.go:370: Partial uploads not supported --- SKIP: TestCopyInplace (0.49s) === RUN TestCopyLongFileName run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" copy_test.go:403: Partial uploads not supported --- SKIP: TestCopyLongFileName (0.53s) === RUN TestCopyFileMaxTransfer run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:28:29 DEBUG : TestCopyFileMaxTransfer/file1: Need to transfer - File not found at Destination 2024/10/04 01:28:30 DEBUG : TestCopyFileMaxTransfer/file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/04 01:28:30 INFO : TestCopyFileMaxTransfer/file1: Copied (new) 2024/10/04 01:28:32 DEBUG : TestCopyFileMaxTransfer/file2: Need to transfer - File not found at Destination 2024/10/04 01:28:33 ERROR : TestCopyFileMaxTransfer/file2: Failed to copy: max transfer limit reached as set by --max-transfer 2024/10/04 01:28:34 DEBUG : TestCopyFileMaxTransfer/file3: Need to transfer - File not found at Destination 2024/10/04 01:28:34 DEBUG : TestCopyFileMaxTransfer/file4: Need to transfer - File not found at Destination 2024/10/04 01:28:36 DEBUG : TestCopyFileMaxTransfer/file4: sha1 = d1a93bea230092744e0b5254a3745b752a7d1853 OK 2024/10/04 01:28:36 INFO : TestCopyFileMaxTransfer/file4: Copied (new) --- PASS: TestCopyFileMaxTransfer (10.95s) === RUN TestDeduplicateInteractive run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateInteractive (0.65s) === RUN TestDeduplicateSkip run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateSkip (0.69s) === RUN TestDeduplicateSizeOnly run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateSizeOnly (0.51s) === RUN TestDeduplicateFirst run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateFirst (0.56s) === RUN TestDeduplicateNewest run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateNewest (0.55s) === RUN TestDeduplicateNewestByHash run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:28:49 INFO : proton drive root link ID 'rclone-test-koqamof6defa': Looking for duplicate sha1 hashes using newest mode. 2024/10/04 01:28:51 NOTICE: 6b6bbe3b36618de078d8a76e16edcbf534369d29: Found 3 files with duplicate sha1 hashes 2024/10/04 01:28:51 INFO : one: Deleted 2024/10/04 01:28:51 INFO : also/one: Deleted 2024/10/04 01:28:51 NOTICE: 6b6bbe3b36618de078d8a76e16edcbf534369d29: Deleted 2 extra copies --- PASS: TestDeduplicateNewestByHash (11.83s) === RUN TestDeduplicateOldest run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateOldest (0.60s) === RUN TestDeduplicateLargest run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateLargest (0.39s) === RUN TestDeduplicateSmallest run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateSmallest (0.70s) === RUN TestDeduplicateRename run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:24: Can't test deduplicate - no duplicate files possible --- SKIP: TestDeduplicateRename (0.83s) === RUN TestMergeDirs run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" dedupe_test.go:256: Can't merge directories --- SKIP: TestMergeDirs (0.74s) === RUN TestListDirSorted run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:29:12 DEBUG : a.txt: Excluded (Size Filter) 2024/10/04 01:29:12 DEBUG : a.txt: Excluded 2024/10/04 01:29:13 DEBUG : sub dir/hello world: Excluded (Size Filter) 2024/10/04 01:29:13 DEBUG : sub dir/hello world: Excluded 2024/10/04 01:29:13 DEBUG : sub dir/hello world2: Excluded (Size Filter) 2024/10/04 01:29:13 DEBUG : sub dir/hello world2: Excluded 2024/10/04 01:29:14 DEBUG : sub dir/hello world: Excluded (Size Filter) 2024/10/04 01:29:14 DEBUG : sub dir/hello world: Excluded 2024/10/04 01:29:14 DEBUG : sub dir/hello world2: Excluded (Size Filter) 2024/10/04 01:29:14 DEBUG : sub dir/hello world2: Excluded 2024/10/04 01:29:14 DEBUG : sub dir/ignore dir: Excluded 2024/10/04 01:29:15 DEBUG : sub dir/ignore dir: Excluded --- PASS: TestListDirSorted (24.97s) === RUN TestListJSON run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", 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/10/04 01:29:32 ERROR : file1: Failed to read hash: hash type not supported === RUN TestListJSON/Metadata --- PASS: TestListJSON (13.60s) --- PASS: TestListJSON/Default (0.58s) --- PASS: TestListJSON/FilesOnly (0.30s) --- PASS: TestListJSON/DirsOnly (0.59s) --- PASS: TestListJSON/Recurse (1.06s) --- PASS: TestListJSON/SubDir (0.56s) --- PASS: TestListJSON/NoModTime (0.57s) --- PASS: TestListJSON/NoMimeType (1.25s) --- PASS: TestListJSON/ShowHash (0.49s) --- PASS: TestListJSON/HashTypes (0.43s) --- PASS: TestListJSON/Metadata (0.58s) === RUN TestStatJSON run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", 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/10/04 01:29:48 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-koqamof6defa/notfound" 2024/10/04 01:29:48 DEBUG : Config file has changed externally - reloading 2024/10/04 01:29:48 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/notfound': Has cached credentials 2024/10/04 01:29:49 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/notfound': Used cached credential to initialize the ProtonDrive API --- PASS: TestStatJSON (87.80s) --- PASS: TestStatJSON/Root (0.52s) --- PASS: TestStatJSON/RootFilesOnly (0.00s) --- PASS: TestStatJSON/RootDirsOnly (0.42s) --- PASS: TestStatJSON/Dir (1.82s) --- PASS: TestStatJSON/DirWithTrailingSlash (0.61s) --- PASS: TestStatJSON/File (0.66s) --- PASS: TestStatJSON/NotFound (0.61s) --- PASS: TestStatJSON/DirFilesOnly (0.63s) --- PASS: TestStatJSON/FileFilesOnly (0.80s) --- PASS: TestStatJSON/NotFoundFilesOnly (0.10s) --- PASS: TestStatJSON/DirDirsOnly (0.49s) --- PASS: TestStatJSON/FileDirsOnly (0.38s) --- PASS: TestStatJSON/NotFoundDirsOnly (0.53s) --- PASS: TestStatJSON/RootNotFound (73.86s) === RUN TestMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:31:04 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Making directory 2024/10/04 01:31:04 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Making directory --- PASS: TestMkdir (0.94s) === RUN TestLsd run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestLsd (4.50s) === RUN TestLs run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestLs (4.75s) === RUN TestLsWithFilesFrom run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:31:19 DEBUG : empty space: Excluded (FilesFrom Filter) 2024/10/04 01:31:19 DEBUG : empty space: Excluded --- PASS: TestLsWithFilesFrom (7.12s) === RUN TestLsLong run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestLsLong (4.81s) === RUN TestHashSums run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" === RUN TestHashSums/Sha1 === RUN TestHashSums/Sha1Download --- PASS: TestHashSums (8.18s) --- PASS: TestHashSums/Sha1 (0.66s) --- PASS: TestHashSums/Sha1Download (1.13s) === RUN TestCount run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestCount (9.31s) === RUN TestDelete run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:31:49 DEBUG : Waiting for deletions to finish 2024/10/04 01:31:50 DEBUG : large: Excluded (Size Filter) 2024/10/04 01:31:50 DEBUG : large: Excluded 2024/10/04 01:31:50 INFO : small: Deleted 2024/10/04 01:31:50 INFO : medium: Deleted --- PASS: TestDelete (8.45s) === RUN TestMaxDelete run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:31:58 DEBUG : Waiting for deletions to finish 2024/10/04 01:31:59 ERROR : small: Got fatal error on delete: --max-delete threshold reached 2024/10/04 01:31:59 INFO : large: Deleted 2024/10/04 01:31:59 INFO : medium: Deleted --- PASS: TestMaxDelete (9.57s) === RUN TestMaxDeleteSizeLargeFile run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:32:07 DEBUG : Waiting for deletions to finish 2024/10/04 01:32:08 ERROR : large: Got fatal error on delete: --max-delete-size threshold reached 2024/10/04 01:32:08 INFO : small: Deleted 2024/10/04 01:32:09 INFO : medium: Deleted --- PASS: TestMaxDeleteSizeLargeFile (9.64s) === RUN TestMaxDeleteSize run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:32:18 DEBUG : Waiting for deletions to finish 2024/10/04 01:32:19 ERROR : small: Got fatal error on delete: --max-delete-size threshold reached 2024/10/04 01:32:20 INFO : large: Deleted 2024/10/04 01:32:20 INFO : medium: Deleted --- PASS: TestMaxDeleteSize (11.23s) === RUN TestReadFile run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestReadFile (5.61s) === RUN TestCat run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestCat (15.60s) === RUN TestRmdirsNoLeaveRoot run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:32:48 DEBUG : A2: Making directory 2024/10/04 01:32:48 DEBUG : A1/B2: Making directory 2024/10/04 01:32:49 DEBUG : A1/B2/C2: Making directory 2024/10/04 01:32:50 DEBUG : A1/B1/C3: Making directory 2024/10/04 01:32:51 DEBUG : A3: Making directory 2024/10/04 01:32:52 DEBUG : A3/B3: Making directory 2024/10/04 01:32:53 DEBUG : A3/B3/C4: Making directory 2024/10/04 01:32:57 DEBUG : removing 1 level 3 directories 2024/10/04 01:32:57 INFO : A3/B3/C4: Removing directory 2024/10/04 01:33:01 DEBUG : removing 2 level 3 directories 2024/10/04 01:33:01 INFO : A1/B2/C2: Removing directory 2024/10/04 01:33:01 INFO : A1/B1/C3: Removing directory 2024/10/04 01:33:01 DEBUG : removing 2 level 2 directories 2024/10/04 01:33:01 INFO : A3/B3: Removing directory 2024/10/04 01:33:01 INFO : A1/B2: Removing directory 2024/10/04 01:33:02 DEBUG : removing 2 level 1 directories 2024/10/04 01:33:02 INFO : A3: Removing directory 2024/10/04 01:33:02 INFO : A2: Removing directory 2024/10/04 01:33:07 DEBUG : removing 1 level 3 directories 2024/10/04 01:33:07 INFO : A1/B1/C1: Removing directory 2024/10/04 01:33:08 DEBUG : removing 1 level 2 directories 2024/10/04 01:33:08 INFO : A1/B1: Removing directory 2024/10/04 01:33:09 DEBUG : removing 1 level 1 directories 2024/10/04 01:33:09 INFO : A1: Removing directory 2024/10/04 01:33:09 DEBUG : removing 1 level 0 directories 2024/10/04 01:33:09 INFO : proton drive root link ID 'rclone-test-koqamof6defa': Removing directory 2024/10/04 01:33:10 ERROR : : error listing: directory not found 2024/10/04 01:33:10 ERROR : : error listing: directory not found --- PASS: TestRmdirsNoLeaveRoot (25.94s) === RUN TestRmdirsLeaveRoot run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:33:10 DEBUG : A1: Making directory 2024/10/04 01:33:11 DEBUG : A1/B1: Making directory 2024/10/04 01:33:12 DEBUG : A1/B1/C1: Making directory 2024/10/04 01:33:15 DEBUG : removing 1 level 3 directories 2024/10/04 01:33:15 INFO : A1/B1/C1: Removing directory 2024/10/04 01:33:15 DEBUG : removing 1 level 2 directories 2024/10/04 01:33:15 INFO : A1/B1: Removing directory --- PASS: TestRmdirsLeaveRoot (7.55s) === RUN TestRmdirsWithFilter run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:33:17 DEBUG : A1: Making directory 2024/10/04 01:33:18 DEBUG : A1/B1: Making directory 2024/10/04 01:33:18 DEBUG : A1/B1/C1: Making directory 2024/10/04 01:33:21 DEBUG : removing 1 level 3 directories 2024/10/04 01:33:21 INFO : A1/B1/C1: Removing directory 2024/10/04 01:33:22 DEBUG : removing 1 level 2 directories 2024/10/04 01:33:22 INFO : A1/B1: Removing directory --- PASS: TestRmdirsWithFilter (7.23s) === RUN TestCopyURL run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:33:27 DEBUG : filename.txt: File name found in url 2024/10/04 01:33:28 DEBUG : headerfilename.txt: filename found in Content-Disposition header. --- PASS: TestCopyURL (10.88s) === RUN TestMoveFile run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:33:35 DEBUG : file1: Need to transfer - File not found at Destination 2024/10/04 01:33:38 DEBUG : file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/04 01:33:38 INFO : file1: Copied (new) to: sub/file2 2024/10/04 01:33:38 INFO : file1: Deleted 2024/10/04 01:33:39 DEBUG : file1: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2024/10/04 01:33:39 DEBUG : file1: Unchanged skipping 2024/10/04 01:33:39 INFO : file1: Deleted 2024/10/04 01:33:40 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': don't need to copy/move sub/file2, it is already at target location --- PASS: TestMoveFile (6.65s) === RUN TestMoveFileWithIgnoreExisting run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:33:42 DEBUG : file1: Need to transfer - File not found at Destination 2024/10/04 01:33:43 DEBUG : file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/04 01:33:43 INFO : file1: Copied (new) 2024/10/04 01:33:43 INFO : file1: Deleted 2024/10/04 01:33:45 DEBUG : file1: Destination exists, skipping 2024/10/04 01:33:45 DEBUG : file1: Not removing source file as destination file exists and --ignore-existing is set --- PASS: TestMoveFileWithIgnoreExisting (4.30s) === RUN TestCaseInsensitiveMoveFile run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestCaseInsensitiveMoveFile (0.66s) === RUN TestCaseInsensitiveMoveFileDryRun run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" --- PASS: TestCaseInsensitiveMoveFileDryRun (0.46s) === RUN TestMoveFileBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:33:51 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-koqamof6defa/backup" 2024/10/04 01:33:51 DEBUG : Config file has changed externally - reloading 2024/10/04 01:33:51 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/backup': Has cached credentials 2024/10/04 01:33:52 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa/backup': Used cached credential to initialize the ProtonDrive API 2024/10/04 01:35:03 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2024/10/04 01:35:11 INFO : dst/file1: Moved (server-side) 2024/10/04 01:35:12 DEBUG : dst/file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/04 01:35:12 INFO : dst/file1: Copied (new) 2024/10/04 01:35:12 INFO : dst/file1: Deleted --- PASS: TestMoveFileBackupDir (89.36s) === RUN TestDirMove run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:35:27 DEBUG : A1/B2: Making directory 2024/10/04 01:35:28 DEBUG : A1/B1/C3: Making directory 2024/10/04 01:35:51 INFO : A2/B1/three: Moved (server-side) to: A3/B1/three 2024/10/04 01:35:51 INFO : A2/one: Moved (server-side) to: A3/one 2024/10/04 01:35:51 INFO : A2/two: Moved (server-side) to: A3/two 2024/10/04 01:35:51 INFO : A2/B1/C1/four: Moved (server-side) to: A3/B1/C1/four 2024/10/04 01:35:52 INFO : A2/B1/C2/five: Moved (server-side) to: A3/B1/C2/five 2024/10/04 01:35:57 INFO : proton drive root link ID 'rclone-test-koqamof6defa': Can't DirMove - falling back to file moves: can't move directory - incompatible remotes 2024/10/04 01:36:09 INFO : A3/two: Moved (server-side) to: A4/two 2024/10/04 01:36:09 INFO : A3/one: Moved (server-side) to: A4/one 2024/10/04 01:36:09 INFO : A3/B1/three: Moved (server-side) to: A4/B1/three 2024/10/04 01:36:09 INFO : A3/B1/C1/four: Moved (server-side) to: A4/B1/C1/four 2024/10/04 01:36:09 INFO : A3/B1/C2/five: Moved (server-side) to: A4/B1/C2/five --- PASS: TestDirMove (66.18s) === RUN TestGetFsInfo run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:36:23 DEBUG : Config file has changed externally - reloading --- PASS: TestGetFsInfo (0.74s) === RUN TestRcat === RUN TestRcat/withChecksum=false,ignoreChecksum=false run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:36:24 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': File to upload is small (34 bytes), uploading instead of streaming 2024/10/04 01:36:26 DEBUG : no_checksum_small_file_from_pipe: sha1 = 4c3452689ee5e2b950454c46181b8b5e7bcfeca9 OK 2024/10/04 01:36:26 DEBUG : no_checksum_small_file_from_pipe: Size and sha1 of src and dst objects identical 2024/10/04 01:36:26 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/10/04 01:36:27 DEBUG : no_checksum_big_file_from_pipe: sha1 = d0080f73aa8b494570ad63df1beb25c01ea9eea2 OK 2024/10/04 01:36:27 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-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:36:30 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': File to upload is small (34 bytes), uploading instead of streaming 2024/10/04 01:36:31 DEBUG : with_checksum_small_file_from_pipe: sha1 = 4c3452689ee5e2b950454c46181b8b5e7bcfeca9 OK 2024/10/04 01:36:31 DEBUG : with_checksum_small_file_from_pipe: Size and sha1 of src and dst objects identical 2024/10/04 01:36:31 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/10/04 01:36:32 DEBUG : with_checksum_big_file_from_pipe: sha1 = d0080f73aa8b494570ad63df1beb25c01ea9eea2 OK 2024/10/04 01:36:32 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-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:36:35 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': File to upload is small (34 bytes), uploading instead of streaming 2024/10/04 01:36:36 DEBUG : ignore_checksum_small_file_from_pipe: Size and modification time the same (differ by 0s, within tolerance 1s) 2024/10/04 01:36:36 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/10/04 01:36:38 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-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:36:41 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': File to upload is small (34 bytes), uploading instead of streaming 2024/10/04 01:36:42 DEBUG : ignore_checksum_small_file_from_pipe: Src hash empty - aborting Dst hash check 2024/10/04 01:36:42 DEBUG : ignore_checksum_small_file_from_pipe: Size of src and dst objects identical 2024/10/04 01:36:42 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2024/10/04 01:36:44 DEBUG : ignore_checksum_big_file_from_pipe: Src hash empty - aborting Dst hash check 2024/10/04 01:36:44 DEBUG : ignore_checksum_big_file_from_pipe: Size of src and dst objects identical --- PASS: TestRcat (22.86s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=false (5.64s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=false (5.69s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=true (5.65s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=true (5.87s) === RUN TestRcatMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" operations_test.go:1532: Skipping as destination doesn't support user metadata --- SKIP: TestRcatMetadata (0.58s) === RUN TestRcatSize run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:36:48 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': File to upload is small (60 bytes), uploading instead of streaming 2024/10/04 01:36:49 DEBUG : potato2: sha1 = 9dc7f7d3279715991a22853f5981df582b7f9f6d OK 2024/10/04 01:36:49 DEBUG : potato2: Size and sha1 of src and dst objects identical --- PASS: TestRcatSize (4.27s) === RUN TestRcatSizeMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" operations_test.go:1613: Skipping as destination doesn't support user metadata --- SKIP: TestRcatSizeMetadata (0.61s) === RUN TestTouchDir run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" 2024/10/04 01:36:59 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Touching "empty space" 2024/10/04 01:36:59 ERROR : empty space: failed to touch: can't set modified time 2024/10/04 01:36:59 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Touching "potato2" 2024/10/04 01:36:59 ERROR : potato2: failed to touch: can't set modified time 2024/10/04 01:36:59 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Touching "sub dir/potato3" 2024/10/04 01:36:59 ERROR : sub dir/potato3: failed to touch: can't set modified time --- PASS: TestTouchDir (10.31s) === RUN TestMkdirMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" operations_test.go:1703: Skipping test as remote does not support MkdirMetadata --- SKIP: TestMkdirMetadata (0.73s) === RUN TestMkdirModTime run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" operations_test.go:1722: Skipping test as remote does not support DirSetModTime or MkdirMetadata --- SKIP: TestMkdirModTime (0.64s) === RUN TestCopyDirMetadata run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" operations_test.go:1743: Skipping test as remote does not support WriteDirMetadata or MkdirMetadata --- SKIP: TestCopyDirMetadata (0.70s) === RUN TestSetDirModTime run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" operations_test.go:1779: Skipping test as remote does not support DirSetModTime or WriteDirSetModTime --- SKIP: TestSetDirModTime (0.51s) === RUN TestDirsEqual run.go:180: Remote "proton drive root link ID 'rclone-test-koqamof6defa'", Local "Local file system at /tmp/rclone1619446995", Modify Window "1s" operations_test.go:1823: Skipping test as remote does not support WriteDirMetadata or MkdirMetadata --- SKIP: TestDirsEqual (0.64s) PASS 2024/10/04 01:37:06 DEBUG : proton drive root link ID 'rclone-test-koqamof6defa': Purge remote "./operations.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseInsensitiveMoveFile|TestCaseInsensitiveMoveFileDryRun|TestCat|TestCopyDirMetadata|TestCopyFile|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCopyFileCopyDest|TestCopyFileMaxTransfer|TestCopyInplace|TestCopyLongFile|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|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 13m23.441140072s (try 2/5)