"./operations.test -test.v -test.timeout 1h0m0s -remote 'TestGoogleCloudStorage,directory_markers:' -verbose -test.run '^(TestCopyURL|TestDirMove|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatSize|TestRmdirsLeaveRoot|TestRmdirsWithFilter|TestTouchDir)$|^TestRcat$/^(withChecksum=false,ignoreChecksum=false|withChecksum=false,ignoreChecksum=true|withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Starting (try 2/5) 2024/05/06 05:15:52 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-totiqaf9zikewed8xuhudan4" 2024/05/06 05:15:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/05/06 05:15:52 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/05/06 05:15:52 DEBUG : Creating backend with remote "/tmp/rclone2321905956" === RUN TestRmdirsLeaveRoot run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:15:54 DEBUG : A1: Making directory 2024/05/06 05:15:55 DEBUG : A1/: Creating directory marker 2024/05/06 05:15:55 DEBUG : A1/B1: Making directory 2024/05/06 05:15:55 DEBUG : A1/B1/: Creating directory marker 2024/05/06 05:15:56 DEBUG : A1/B1/C1: Making directory 2024/05/06 05:15:56 DEBUG : A1/B1/C1/: Creating directory marker 2024/05/06 05:15:57 DEBUG : removing 1 level 3 directories 2024/05/06 05:15:57 INFO : A1/B1/C1: Removing directory 2024/05/06 05:15:57 DEBUG : A1/B1/C1/: Removing directory marker 2024/05/06 05:15:57 DEBUG : removing 1 level 2 directories 2024/05/06 05:15:57 INFO : A1/B1: Removing directory 2024/05/06 05:15:57 DEBUG : A1/B1/: Removing directory marker 2024/05/06 05:15:58 DEBUG : A1/: Removing directory marker --- PASS: TestRmdirsLeaveRoot (6.28s) === RUN TestRmdirsWithFilter run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:15:59 DEBUG : A1: Making directory 2024/05/06 05:15:59 DEBUG : A1/: Creating directory marker 2024/05/06 05:15:59 DEBUG : A1/B1: Making directory 2024/05/06 05:16:00 DEBUG : A1/B1/: Creating directory marker 2024/05/06 05:16:00 DEBUG : A1/B1/C1: Making directory 2024/05/06 05:16:01 DEBUG : A1/B1/C1/: Creating directory marker 2024/05/06 05:16:02 DEBUG : removing 1 level 3 directories 2024/05/06 05:16:02 INFO : A1/B1/C1: Removing directory 2024/05/06 05:16:02 DEBUG : A1/B1/C1/: Removing directory marker 2024/05/06 05:16:02 DEBUG : removing 1 level 2 directories 2024/05/06 05:16:02 INFO : A1/B1: Removing directory 2024/05/06 05:16:02 DEBUG : A1/B1/: Removing directory marker 2024/05/06 05:16:03 DEBUG : A1/: Removing directory marker --- PASS: TestRmdirsWithFilter (4.80s) === RUN TestCopyURL run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:04 DEBUG : filename.txt: File name found in url 2024/05/06 05:16:05 DEBUG : headerfilename.txt: filename found in Content-Disposition header. --- PASS: TestCopyURL (3.50s) === RUN TestMoveFile run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:07 DEBUG : file1: Need to transfer - File not found at Destination 2024/05/06 05:16:08 DEBUG : sub/: Creating directory marker 2024/05/06 05:16:08 DEBUG : file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2024/05/06 05:16:08 INFO : file1: Copied (new) to: sub/file2 2024/05/06 05:16:08 INFO : file1: Deleted 2024/05/06 05:16:09 DEBUG : file1: Size and modification time the same (differ by 0s, within tolerance 1ns) 2024/05/06 05:16:09 DEBUG : file1: Unchanged skipping 2024/05/06 05:16:09 INFO : file1: Deleted 2024/05/06 05:16:09 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: don't need to copy/move sub/file2, it is already at target location 2024/05/06 05:16:09 DEBUG : sub/: Removing directory marker --- PASS: TestMoveFile (3.10s) === RUN TestMoveFileWithIgnoreExisting run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:10 DEBUG : file1: Need to transfer - File not found at Destination 2024/05/06 05:16:11 DEBUG : file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2024/05/06 05:16:11 INFO : file1: Copied (new) 2024/05/06 05:16:11 INFO : file1: Deleted 2024/05/06 05:16:11 DEBUG : file1: Destination exists, skipping 2024/05/06 05:16:11 DEBUG : file1: Not removing source file as destination file exists and --ignore-existing is set --- PASS: TestMoveFileWithIgnoreExisting (1.80s) === RUN TestMoveFileBackupDir run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:12 DEBUG : dst/: Creating directory marker 2024/05/06 05:16:13 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-totiqaf9zikewed8xuhudan4/backup" 2024/05/06 05:16:13 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/05/06 05:16:14 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-totiqaf9zikewed8xuhudan4/backup" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-totiqaf9zikewed8xuhudan4/backup" 2024/05/06 05:16:14 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2024/05/06 05:16:14 DEBUG : dst/: Creating directory marker 2024/05/06 05:16:15 DEBUG : dst/file1: md5 = 05164b153084ba910184c26e561a7c18 OK 2024/05/06 05:16:15 INFO : dst/file1: Copied (server-side copy) 2024/05/06 05:16:15 INFO : dst/file1: Deleted 2024/05/06 05:16:16 DEBUG : dst/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2024/05/06 05:16:16 INFO : dst/file1: Copied (new) 2024/05/06 05:16:16 INFO : dst/file1: Deleted 2024/05/06 05:16:17 DEBUG : dst/: Removing directory marker 2024/05/06 05:16:17 DEBUG : backup/dst/: Removing directory marker 2024/05/06 05:16:17 DEBUG : backup/: Removing directory marker run.go:125: removing dir "backup" failed - try 1/3: removing directory marker failed: googleapi: Error 404: No such object: rclone-test-totiqaf9zikewed8xuhudan4/backup/, notFound 2024/05/06 05:16:18 DEBUG : backup/: Removing directory marker run.go:125: removing dir "backup" failed - try 2/3: removing directory marker failed: googleapi: Error 404: No such object: rclone-test-totiqaf9zikewed8xuhudan4/backup/, notFound 2024/05/06 05:16:20 DEBUG : backup/: Removing directory marker run.go:125: removing dir "backup" failed - try 3/3: removing directory marker failed: googleapi: Error 404: No such object: rclone-test-totiqaf9zikewed8xuhudan4/backup/, notFound run.go:128: removing dir "backup" failed: removing directory marker failed: googleapi: Error 404: No such object: rclone-test-totiqaf9zikewed8xuhudan4/backup/, notFound --- PASS: TestMoveFileBackupDir (9.30s) === RUN TestDirMove run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:21 DEBUG : A1/: Creating directory marker 2024/05/06 05:16:23 DEBUG : A1/B1/: Creating directory marker 2024/05/06 05:16:24 DEBUG : A1/B1/C1/: Creating directory marker 2024/05/06 05:16:25 DEBUG : A1/B1/C2/: Creating directory marker 2024/05/06 05:16:26 DEBUG : A1/B2: Making directory 2024/05/06 05:16:26 DEBUG : A1/B2/: Creating directory marker 2024/05/06 05:16:27 DEBUG : A1/B1/C3: Making directory 2024/05/06 05:16:27 DEBUG : A1/B1/C3/: Creating directory marker 2024/05/06 05:16:28 DEBUG : A2/: Creating directory marker 2024/05/06 05:16:29 DEBUG : A2/B1/: Creating directory marker 2024/05/06 05:16:30 DEBUG : A2/B1/C1/: Creating directory marker 2024/05/06 05:16:31 DEBUG : A2/B1/C2/: Creating directory marker 2024/05/06 05:16:31 DEBUG : A2/B1/C3/: Creating directory marker 2024/05/06 05:16:32 DEBUG : A2/B2/: Creating directory marker 2024/05/06 05:16:33 DEBUG : A1/B1/three: md5 = 35d6d33467aae9a2e3dccb4b6b027878 OK 2024/05/06 05:16:33 INFO : A1/B1/three: Copied (server-side copy) to: A2/B1/three 2024/05/06 05:16:34 DEBUG : A1/two: md5 = b8a9f715dbb64fd5c56e7783c6820a61 OK 2024/05/06 05:16:34 INFO : A1/two: Copied (server-side copy) to: A2/two 2024/05/06 05:16:34 DEBUG : A1/B1/C2/five: md5 = 30056e1cab7a61d256fc8edd970d14f5 OK 2024/05/06 05:16:34 INFO : A1/B1/C2/five: Copied (server-side copy) to: A2/B1/C2/five 2024/05/06 05:16:34 DEBUG : A1/B1/C1/four: md5 = 8cbad96aced40b3838dd9f07f6ef5772 OK 2024/05/06 05:16:34 INFO : A1/B1/C1/four: Copied (server-side copy) to: A2/B1/C1/four 2024/05/06 05:16:34 DEBUG : A1/one: md5 = f97c5d29941bfb1b2fdab0874906ab82 OK 2024/05/06 05:16:34 INFO : A1/one: Copied (server-side copy) to: A2/one 2024/05/06 05:16:34 INFO : A1/B1/three: Deleted 2024/05/06 05:16:34 INFO : A1/B1/C2/five: Deleted 2024/05/06 05:16:34 INFO : A1/two: Deleted 2024/05/06 05:16:34 INFO : A1/B1/C1/four: Deleted 2024/05/06 05:16:34 INFO : A1/one: Deleted 2024/05/06 05:16:34 DEBUG : A1/B2/: Removing directory marker 2024/05/06 05:16:34 DEBUG : A1/B1/C3/: Removing directory marker 2024/05/06 05:16:34 DEBUG : A1/B1/C2/: Removing directory marker 2024/05/06 05:16:35 DEBUG : A1/B1/C1/: Removing directory marker 2024/05/06 05:16:35 DEBUG : A1/B1/: Removing directory marker 2024/05/06 05:16:35 DEBUG : A1/: Removing directory marker 2024/05/06 05:16:36 DEBUG : A3/: Creating directory marker 2024/05/06 05:16:37 DEBUG : A3/B1/: Creating directory marker 2024/05/06 05:16:37 DEBUG : A3/B1/C1/: Creating directory marker 2024/05/06 05:16:38 DEBUG : A3/B1/C2/: Creating directory marker 2024/05/06 05:16:39 DEBUG : A3/B1/C3/: Creating directory marker 2024/05/06 05:16:40 DEBUG : A3/B2/: Creating directory marker 2024/05/06 05:16:41 DEBUG : A2/B1/C1/four: md5 = 8cbad96aced40b3838dd9f07f6ef5772 OK 2024/05/06 05:16:41 INFO : A2/B1/C1/four: Copied (server-side copy) to: A3/B1/C1/four 2024/05/06 05:16:41 DEBUG : A2/one: md5 = f97c5d29941bfb1b2fdab0874906ab82 OK 2024/05/06 05:16:41 INFO : A2/one: Copied (server-side copy) to: A3/one 2024/05/06 05:16:41 DEBUG : A2/B1/C2/five: md5 = 30056e1cab7a61d256fc8edd970d14f5 OK 2024/05/06 05:16:41 INFO : A2/B1/C2/five: Copied (server-side copy) to: A3/B1/C2/five 2024/05/06 05:16:41 DEBUG : A2/B1/three: md5 = 35d6d33467aae9a2e3dccb4b6b027878 OK 2024/05/06 05:16:41 INFO : A2/B1/three: Copied (server-side copy) to: A3/B1/three 2024/05/06 05:16:41 INFO : A2/one: Deleted 2024/05/06 05:16:41 INFO : A2/B1/C1/four: Deleted 2024/05/06 05:16:41 DEBUG : A2/two: md5 = b8a9f715dbb64fd5c56e7783c6820a61 OK 2024/05/06 05:16:41 INFO : A2/two: Copied (server-side copy) to: A3/two 2024/05/06 05:16:41 INFO : A2/B1/C2/five: Deleted 2024/05/06 05:16:41 INFO : A2/B1/three: Deleted 2024/05/06 05:16:41 INFO : A2/two: Deleted 2024/05/06 05:16:41 DEBUG : A2/B2/: Removing directory marker 2024/05/06 05:16:42 DEBUG : A2/B1/C3/: Removing directory marker 2024/05/06 05:16:42 DEBUG : A2/B1/C2/: Removing directory marker 2024/05/06 05:16:42 DEBUG : A2/B1/C1/: Removing directory marker 2024/05/06 05:16:42 DEBUG : A2/B1/: Removing directory marker 2024/05/06 05:16:42 DEBUG : A2/: Removing directory marker 2024/05/06 05:16:43 INFO : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: Can't DirMove - falling back to file moves: can't move directory - incompatible remotes 2024/05/06 05:16:43 DEBUG : A4/: Creating directory marker 2024/05/06 05:16:44 DEBUG : A4/B1/: Creating directory marker 2024/05/06 05:16:45 DEBUG : A4/B1/C1/: Creating directory marker 2024/05/06 05:16:46 DEBUG : A4/B1/C2/: Creating directory marker 2024/05/06 05:16:46 DEBUG : A4/B1/C3/: Creating directory marker 2024/05/06 05:16:47 DEBUG : A4/B2/: Creating directory marker 2024/05/06 05:16:48 DEBUG : A3/one: md5 = f97c5d29941bfb1b2fdab0874906ab82 OK 2024/05/06 05:16:48 INFO : A3/one: Copied (server-side copy) to: A4/one 2024/05/06 05:16:48 DEBUG : A3/B1/C2/five: md5 = 30056e1cab7a61d256fc8edd970d14f5 OK 2024/05/06 05:16:48 INFO : A3/B1/C2/five: Copied (server-side copy) to: A4/B1/C2/five 2024/05/06 05:16:48 DEBUG : A3/B1/C1/four: md5 = 8cbad96aced40b3838dd9f07f6ef5772 OK 2024/05/06 05:16:48 INFO : A3/B1/C1/four: Copied (server-side copy) to: A4/B1/C1/four 2024/05/06 05:16:48 DEBUG : A3/B1/three: md5 = 35d6d33467aae9a2e3dccb4b6b027878 OK 2024/05/06 05:16:48 INFO : A3/B1/three: Copied (server-side copy) to: A4/B1/three 2024/05/06 05:16:49 DEBUG : A3/two: md5 = b8a9f715dbb64fd5c56e7783c6820a61 OK 2024/05/06 05:16:49 INFO : A3/two: Copied (server-side copy) to: A4/two 2024/05/06 05:16:49 INFO : A3/B1/C2/five: Deleted 2024/05/06 05:16:49 INFO : A3/B1/C1/four: Deleted 2024/05/06 05:16:49 INFO : A3/one: Deleted 2024/05/06 05:16:49 INFO : A3/B1/three: Deleted 2024/05/06 05:16:49 INFO : A3/two: Deleted 2024/05/06 05:16:49 DEBUG : A3/B2/: Removing directory marker 2024/05/06 05:16:49 DEBUG : A3/B1/C3/: Removing directory marker 2024/05/06 05:16:49 DEBUG : A3/B1/C2/: Removing directory marker 2024/05/06 05:16:49 DEBUG : A3/B1/C1/: Removing directory marker 2024/05/06 05:16:50 DEBUG : A3/B1/: Removing directory marker 2024/05/06 05:16:50 DEBUG : A3/: Removing directory marker 2024/05/06 05:16:51 DEBUG : A4/B2/: Removing directory marker 2024/05/06 05:16:51 DEBUG : A4/B1/C3/: Removing directory marker 2024/05/06 05:16:52 DEBUG : A4/B1/C2/: Removing directory marker 2024/05/06 05:16:52 DEBUG : A4/B1/C1/: Removing directory marker 2024/05/06 05:16:52 DEBUG : A4/B1/: Removing directory marker 2024/05/06 05:16:52 DEBUG : A4/: Removing directory marker --- PASS: TestDirMove (31.56s) === RUN TestRcat === RUN TestRcat/withChecksum=false,ignoreChecksum=false run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:53 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: File to upload is small (34 bytes), uploading instead of streaming 2024/05/06 05:16:53 DEBUG : no_checksum_small_file_from_pipe: md5 = 4c762bc6ec18f21b23fcae426c7863b5 OK 2024/05/06 05:16:53 INFO : no_checksum_small_file_from_pipe: Copied (new) 2024/05/06 05:16:53 DEBUG : no_checksum_big_file_from_pipe: md5 = fffc7956ba9a7b58a63c01b6ce1ddc45 OK 2024/05/06 05:16:53 DEBUG : no_checksum_big_file_from_pipe: Size and md5 of src and dst objects identical === RUN TestRcat/withChecksum=true,ignoreChecksum=false run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:55 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: File to upload is small (34 bytes), uploading instead of streaming 2024/05/06 05:16:55 DEBUG : with_checksum_small_file_from_pipe: md5 = 4c762bc6ec18f21b23fcae426c7863b5 OK 2024/05/06 05:16:55 INFO : with_checksum_small_file_from_pipe: Copied (new) 2024/05/06 05:16:55 DEBUG : with_checksum_big_file_from_pipe: md5 = fffc7956ba9a7b58a63c01b6ce1ddc45 OK 2024/05/06 05:16:55 DEBUG : with_checksum_big_file_from_pipe: Size and md5 of src and dst objects identical === RUN TestRcat/withChecksum=false,ignoreChecksum=true run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:56 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: File to upload is small (34 bytes), uploading instead of streaming 2024/05/06 05:16:57 INFO : ignore_checksum_small_file_from_pipe: Copied (new) 2024/05/06 05:16:57 DEBUG : ignore_checksum_big_file_from_pipe: Size and modification time the same (differ by 0s, within tolerance 1ns) === RUN TestRcat/withChecksum=true,ignoreChecksum=true run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:16:58 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: File to upload is small (34 bytes), uploading instead of streaming 2024/05/06 05:16:58 INFO : ignore_checksum_small_file_from_pipe: Copied (new) 2024/05/06 05:16:59 DEBUG : ignore_checksum_big_file_from_pipe: Src hash empty - aborting Dst hash check 2024/05/06 05:16:59 DEBUG : ignore_checksum_big_file_from_pipe: Size of src and dst objects identical --- PASS: TestRcat (7.63s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=false (1.79s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=false (1.79s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=true (1.75s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=true (2.31s) === RUN TestRcatSize run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:17:00 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: File to upload is small (60 bytes), uploading instead of streaming 2024/05/06 05:17:01 DEBUG : potato2: md5 = d6548b156ea68a4e003e786df99eee76 OK 2024/05/06 05:17:01 INFO : potato2: Copied (new) --- PASS: TestRcatSize (1.41s) === RUN TestTouchDir run.go:180: Remote "GCS bucket rclone-test-totiqaf9zikewed8xuhudan4", Local "Local file system at /tmp/rclone2321905956", Modify Window "1ns" 2024/05/06 05:17:03 DEBUG : sub dir/: Creating directory marker 2024/05/06 05:17:03 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: Touching "empty space" 2024/05/06 05:17:04 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: Touching "potato2" 2024/05/06 05:17:04 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: Touching "sub dir/potato3" 2024/05/06 05:17:05 DEBUG : sub dir/: Removing directory marker --- PASS: TestTouchDir (4.11s) PASS 2024/05/06 05:17:06 DEBUG : GCS bucket rclone-test-totiqaf9zikewed8xuhudan4: Purge dir "" "./operations.test -test.v -test.timeout 1h0m0s -remote 'TestGoogleCloudStorage,directory_markers:' -verbose -test.run '^(TestCopyURL|TestDirMove|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatSize|TestRmdirsLeaveRoot|TestRmdirsWithFilter|TestTouchDir)$|^TestRcat$/^(withChecksum=false,ignoreChecksum=false|withChecksum=false,ignoreChecksum=true|withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Finished OK in 1m14.925174444s (try 2/5)