"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^(check_access|filtersfile_checks)$|^TestBisyncRemoteLocal$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^(check_sync|filtersfile_checks)$'" - Starting (try 5/5) 2025/01/15 02:41:31 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-juhetap3jozi" 2025/01/15 02:41:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/15 02:41:31 DEBUG : Creating backend with remote "/tmp/rclone3381041930" === RUN TestBisyncRemoteLocal 2025/01/15 02:41:31 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-jimojar2kexe" 2025/01/15 02:41:31 NOTICE: remote: TestGoogleCloudStorage:rclone-test-jimojar2kexe === RUN TestBisyncRemoteLocal/filtersfile_checks 2025/01/15 02:41:31 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti" 2025/01/15 02:41:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/15 02:41:32 INFO : path1: Making directory 2025/01/15 02:41:34 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1" 2025/01/15 02:41:34 DEBUG : Creating backend with remote "/tmp/024131ti" 2025/01/15 02:41:34 DEBUG : Creating backend with remote "/tmp/024131ti/filtersfile_checks/path2" 2025/01/15 02:41:34 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2025/01/15 02:41:34 DEBUG : Creating backend with remote "/tmp/024131ti/initdir/test_filtersfile_checks-zacowiw7" 2025/01/15 02:41:34 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:34 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:34 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:34 DEBUG : subdir: Making directory with metadata 2025/01/15 02:41:34 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/15 02:41:34 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/15 02:41:34 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:34 DEBUG : Local file system at /tmp/024131ti/initdir/test_filtersfile_checks-zacowiw7: Waiting for checks to finish 2025/01/15 02:41:34 DEBUG : Local file system at /tmp/024131ti/initdir/test_filtersfile_checks-zacowiw7: Waiting for transfers to finish 2025/01/15 02:41:34 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:34 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:34 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:41:34 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:41:34 INFO : file1.txt: Copied (new) 2025/01/15 02:41:34 INFO : file2.txt: Copied (new) 2025/01/15 02:41:34 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:34 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:41:34 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:34 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:34 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/15 02:41:34 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:34 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:34 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2025/01/15 02:41:34 DEBUG : Creating backend with remote "/tmp/024131ti/datadir/test_filtersfile_checks-xocivib6" 2025/01/15 02:41:34 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:34 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:34 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:34 DEBUG : Local file system at /tmp/024131ti/datadir/test_filtersfile_checks-xocivib6: Waiting for checks to finish 2025/01/15 02:41:34 DEBUG : Local file system at /tmp/024131ti/datadir/test_filtersfile_checks-xocivib6: Waiting for transfers to finish 2025/01/15 02:41:34 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/01/15 02:41:34 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/01/15 02:41:34 INFO : filtersfile.txt: Copied (new) 2025/01/15 02:41:34 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/01/15 02:41:34 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/01/15 02:41:34 INFO : filtersfile2.txt: Copied (new) 2025/01/15 02:41:34 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/15 02:41:34 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/15 02:41:34 INFO : hold.txt: Copied (new) 2025/01/15 02:41:35 ERROR : : error listing: directory not found 2025/01/15 02:41:35 NOTICE: checking initFs Local file system at /tmp/024131ti/initdir/test_filtersfile_checks-zacowiw7 2025/01/15 02:41:35 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:35 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:35 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:35 INFO : subdir: Making directory 2025/01/15 02:41:35 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:35 DEBUG : GCS bucket rclone-test-jimojar2kexe path 024131ti/filtersfile_checks/path1: Waiting for checks to finish 2025/01/15 02:41:35 DEBUG : GCS bucket rclone-test-jimojar2kexe path 024131ti/filtersfile_checks/path1: Waiting for transfers to finish 2025/01/15 02:41:35 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:35 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:35 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:35 INFO : file1.txt: Copied (new) 2025/01/15 02:41:35 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:35 INFO : file2.txt: Copied (new) 2025/01/15 02:41:35 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:35 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:35 NOTICE: checking Path1 GCS bucket rclone-test-jimojar2kexe path 024131ti/filtersfile_checks/path1 2025/01/15 02:41:35 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:35 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:35 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:35 DEBUG : subdir: Making directory with metadata 2025/01/15 02:41:35 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/15 02:41:35 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/15 02:41:35 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:35 DEBUG : Local file system at /tmp/024131ti/filtersfile_checks/path2: Waiting for checks to finish 2025/01/15 02:41:35 DEBUG : Local file system at /tmp/024131ti/filtersfile_checks/path2: Waiting for transfers to finish 2025/01/15 02:41:35 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:35 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:35 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:41:35 INFO : file1.txt: Copied (new) 2025/01/15 02:41:35 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:35 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/15 02:41:35 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:35 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:41:35 INFO : file2.txt: Copied (new) 2025/01/15 02:41:35 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:35 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:41:35 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:35 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:35 NOTICE: checking path2 Local file system at /tmp/024131ti/filtersfile_checks/path2 2025/01/15 02:41:35 NOTICE: (01) : test filtersfile-checks 2025/01/15 02:41:35 NOTICE: (02) : test initial bisync 2025/01/15 02:41:35 NOTICE: (03) : bisync resync 2025/01/15 02:41:36 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:36 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:36 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:36 INFO : Copying Path2 files to Path1 2025/01/15 02:41:36 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:41:36 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:41:37 INFO : Resync updating listings 2025/01/15 02:41:37 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" vs Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:37 INFO : Bisync successful 2025/01/15 02:41:37 NOTICE: (04) : test 1. inject filters file in workdir. 2025/01/15 02:41:37 NOTICE: (05) : copy-file /tmp/024131ti/datadir/test_filtersfile_checks-xocivib6/filtersfile.txt /tmp/024131ti/workdir/ 2025/01/15 02:41:37 INFO : filtersfile.txt: Copied (new) 2025/01/15 02:41:37 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/01/15 02:41:37 NOTICE: (07) : bisync filters-file=/tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:38 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:38 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:38 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:38 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:38 INFO : Using filters file /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:38 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:38 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:41:38 NOTICE: Bisync error: bisync aborted 2025/01/15 02:41:38 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/01/15 02:41:38 NOTICE: (09) : bisync 2025/01/15 02:41:38 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:38 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:38 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:38 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:38 ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run Tip: here are the filenames we were looking for. Do they exist? Path1: /tmp/024131ti/workdir/TestGoogleCloudStorage_rclone-test-jimojar2kexe_024131ti_filtersfile_checks_path1..tmp_024131ti_filtersfile_checks_path2.path1.lst Path2: /tmp/024131ti/workdir/TestGoogleCloudStorage_rclone-test-jimojar2kexe_024131ti_filtersfile_checks_path1..tmp_024131ti_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024131ti/workdir" 2025/01/15 02:41:38 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:41:38 NOTICE: Bisync error: bisync aborted 2025/01/15 02:41:38 NOTICE: (10) : test 4. run with filters-file and resync. 2025/01/15 02:41:38 NOTICE: (11) : bisync filters-file=/tmp/024131ti/workdir/filtersfile.txt resync 2025/01/15 02:41:39 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:39 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:39 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:39 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:39 INFO : Using filters file /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:39 INFO : Storing filters file hash to /tmp/024131ti/workdir/filtersfile.txt.md5 2025/01/15 02:41:39 INFO : Copying Path2 files to Path1 2025/01/15 02:41:39 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:41:39 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:41:40 INFO : Resync updating listings 2025/01/15 02:41:40 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" vs Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:40 INFO : Bisync successful 2025/01/15 02:41:40 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/01/15 02:41:40 NOTICE: (13) : bisync filters-file=/tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:41 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:41 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:41 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:41 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:41 INFO : Using filters file /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:41 INFO : Building Path1 and Path2 listings 2025/01/15 02:41:41 INFO : Path1 checking for diffs 2025/01/15 02:41:41 INFO : Path2 checking for diffs 2025/01/15 02:41:41 INFO : No changes found 2025/01/15 02:41:41 INFO : Updating listings 2025/01/15 02:41:41 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" vs Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:41 INFO : Bisync successful 2025/01/15 02:41:41 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/01/15 02:41:41 NOTICE: (15) : copy-as /tmp/024131ti/datadir/test_filtersfile_checks-xocivib6/filtersfile2.txt /tmp/024131ti/workdir/ filtersfile.txt 2025/01/15 02:41:41 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/01/15 02:41:41 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/01/15 02:41:41 NOTICE: (17) : bisync filters-file=/tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:42 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:42 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:42 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:42 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:42 INFO : Using filters file /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:42 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:42 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:41:42 NOTICE: Bisync error: bisync aborted 2025/01/15 02:41:42 NOTICE: (18) : test 8. run with filters-file and resync and dry-run. should do the dry-run but still cause next non-resync run to abort. 2025/01/15 02:41:42 NOTICE: (19) : bisync filters-file=/tmp/024131ti/workdir/filtersfile.txt resync dry-run 2025/01/15 02:41:42 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:42 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:42 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:42 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:42 INFO : Using filters file /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:42 INFO : Skipped storing filters file hash to /tmp/024131ti/workdir/filtersfile.txt.md5 as --dry-run is set 2025/01/15 02:41:42 INFO : Copying Path2 files to Path1 2025/01/15 02:41:42 NOTICE: - Path2 Resync is copying files to - Path1 2025/01/15 02:41:42 NOTICE: - Path1 Resync is copying files to - Path2 2025/01/15 02:41:43 INFO : Resync updating listings 2025/01/15 02:41:43 INFO : Bisync successful 2025/01/15 02:41:43 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/01/15 02:41:43 NOTICE: (21) : bisync filters-file=/tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:43 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:43 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:43 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:43 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-jimojar2kexe/024131ti/filtersfile_checks/path1/" with Path2 "/tmp/024131ti/filtersfile_checks/path2/" 2025/01/15 02:41:43 INFO : Using filters file /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:43 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/024131ti/workdir/filtersfile.txt 2025/01/15 02:41:43 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:41:43 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2025/01/15 02:41:44 DEBUG : GCS bucket rclone-test-jimojar2kexe: Purge dir "" --- PASS: TestBisyncRemoteLocal (13.38s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (12.25s) === RUN TestBisyncLocalRemote 2025/01/15 02:41:45 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-medipad1conu" 2025/01/15 02:41:45 NOTICE: remote: TestGoogleCloudStorage:rclone-test-medipad1conu === RUN TestBisyncLocalRemote/check_access 2025/01/15 02:41:45 DEBUG : Creating backend with remote "/tmp/024145se" 2025/01/15 02:41:45 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/15 02:41:45 DEBUG : Creating backend with remote "/tmp/024145se/check_access/path1" 2025/01/15 02:41:45 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se" 2025/01/15 02:41:45 INFO : path2: Making directory 2025/01/15 02:41:46 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2" 2025/01/15 02:41:47 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_access/initial" 2025/01/15 02:41:47 DEBUG : Creating backend with remote "/tmp/024145se/initdir/test_check_access-lococan4" 2025/01/15 02:41:47 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : subdir: Making directory with metadata 2025/01/15 02:41:47 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/15 02:41:47 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/15 02:41:47 DEBUG : subdir/RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : Local file system at /tmp/024145se/initdir/test_check_access-lococan4: Waiting for checks to finish 2025/01/15 02:41:47 DEBUG : Local file system at /tmp/024145se/initdir/test_check_access-lococan4: Waiting for transfers to finish 2025/01/15 02:41:47 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:41:47 INFO : file2.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:47 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/01/15 02:41:47 INFO : file3.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:41:47 INFO : file1.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:41:47 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:47 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/01/15 02:41:47 INFO : file4.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/15 02:41:47 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : subdir/RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:47 DEBUG : subdir/RCLONE_TEST.cf9a93ac.partial: renamed to: subdir/RCLONE_TEST 2025/01/15 02:41:47 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/15 02:41:47 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:47 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_access/modfiles" 2025/01/15 02:41:47 DEBUG : Creating backend with remote "/tmp/024145se/datadir/test_check_access-wamazup7" 2025/01/15 02:41:47 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : Local file system at /tmp/024145se/datadir/test_check_access-wamazup7: Waiting for checks to finish 2025/01/15 02:41:47 DEBUG : Local file system at /tmp/024145se/datadir/test_check_access-wamazup7: Waiting for transfers to finish 2025/01/15 02:41:47 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/15 02:41:47 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/15 02:41:47 INFO : hold.txt: Copied (new) 2025/01/15 02:41:47 ERROR : : error listing: directory not found 2025/01/15 02:41:47 NOTICE: checking initFs Local file system at /tmp/024145se/initdir/test_check_access-lococan4 2025/01/15 02:41:47 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : subdir: Making directory with metadata 2025/01/15 02:41:47 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/15 02:41:47 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/15 02:41:47 DEBUG : subdir/RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:47 DEBUG : Local file system at /tmp/024145se/check_access/path1: Waiting for checks to finish 2025/01/15 02:41:47 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : Local file system at /tmp/024145se/check_access/path1: Waiting for transfers to finish 2025/01/15 02:41:47 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:41:47 INFO : file1.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:41:47 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/01/15 02:41:47 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 INFO : file3.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/01/15 02:41:47 INFO : file4.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:47 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:41:47 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:47 INFO : file2.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:47 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/15 02:41:47 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:47 DEBUG : subdir/RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:47 DEBUG : subdir/RCLONE_TEST.cf9a93ac.partial: renamed to: subdir/RCLONE_TEST 2025/01/15 02:41:47 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/15 02:41:47 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:47 NOTICE: checking Path1 Local file system at /tmp/024145se/check_access/path1 2025/01/15 02:41:48 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:48 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:48 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:48 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:48 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:48 INFO : subdir: Making directory 2025/01/15 02:41:48 DEBUG : subdir/RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:48 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:48 DEBUG : GCS bucket rclone-test-medipad1conu path 024145se/check_access/path2: Waiting for checks to finish 2025/01/15 02:41:48 DEBUG : GCS bucket rclone-test-medipad1conu path 024145se/check_access/path2: Waiting for transfers to finish 2025/01/15 02:41:48 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:48 INFO : file2.txt: Copied (new) 2025/01/15 02:41:48 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:48 INFO : file1.txt: Copied (new) 2025/01/15 02:41:48 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:48 INFO : file3.txt: Copied (new) 2025/01/15 02:41:48 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:48 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:48 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:48 INFO : file4.txt: Copied (new) 2025/01/15 02:41:48 DEBUG : subdir/RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:48 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/15 02:41:48 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:48 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:48 NOTICE: checking path2 GCS bucket rclone-test-medipad1conu path 024145se/check_access/path2 2025/01/15 02:41:48 NOTICE: (01) : test check-access 2025/01/15 02:41:48 NOTICE: (02) : test initial bisync 2025/01/15 02:41:48 NOTICE: (03) : bisync resync 2025/01/15 02:41:49 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:49 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:49 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:49 INFO : Synching Path1 "/tmp/024145se/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:49 INFO : Copying Path2 files to Path1 2025/01/15 02:41:49 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:41:50 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:41:50 INFO : Resync updating listings 2025/01/15 02:41:50 INFO : Validating listings for Path1 "/tmp/024145se/check_access/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:50 INFO : Bisync successful 2025/01/15 02:41:50 NOTICE: (04) : test 1. see that check-access passes with the initial setup 2025/01/15 02:41:50 NOTICE: (05) : bisync check-access 2025/01/15 02:41:51 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:51 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:51 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:51 INFO : Synching Path1 "/tmp/024145se/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:51 INFO : Building Path1 and Path2 listings 2025/01/15 02:41:51 INFO : Path1 checking for diffs 2025/01/15 02:41:51 INFO : Path2 checking for diffs 2025/01/15 02:41:51 INFO : Checking access health 2025/01/15 02:41:51 INFO : Found 2 matching "RCLONE_TEST" files on both paths 2025/01/15 02:41:51 INFO : No changes found 2025/01/15 02:41:51 INFO : Updating listings 2025/01/15 02:41:51 INFO : Validating listings for Path1 "/tmp/024145se/check_access/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:51 INFO : Bisync successful 2025/01/15 02:41:51 NOTICE: (06) : test 2. delete the path2 subdir RCLONE_TEST and run sync. should fail critical. 2025/01/15 02:41:51 NOTICE: (07) : delete-file TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/subdir/RCLONE_TEST 2025/01/15 02:41:52 INFO : RCLONE_TEST: Deleted 2025/01/15 02:41:52 NOTICE: (08) : bisync check-access 2025/01/15 02:41:52 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:52 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:52 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:52 INFO : Synching Path1 "/tmp/024145se/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:52 INFO : Building Path1 and Path2 listings 2025/01/15 02:41:53 INFO : Path1 checking for diffs 2025/01/15 02:41:53 INFO : Path2 checking for diffs 2025/01/15 02:41:53 INFO : - Path2 File was deleted - subdir/RCLONE_TEST 2025/01/15 02:41:53 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2025/01/15 02:41:53 INFO : Checking access health 2025/01/15 02:41:53 ERROR : Access test failed: Path1 count 2, Path2 count 1 - RCLONE_TEST 2025/01/15 02:41:53 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/RCLONE_TEST 2025/01/15 02:41:53 ERROR : Bisync critical error: check file check failed 2025/01/15 02:41:53 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:41:53 NOTICE: Bisync error: bisync aborted 2025/01/15 02:41:53 NOTICE: (09) : copy-listings path2-missing 2025/01/15 02:41:53 NOTICE: (10) : test 3. put the path2 subdir RCLONE_TEST back, resync. 2025/01/15 02:41:53 NOTICE: (11) : copy-file /tmp/024145se/check_access/path1/subdir/RCLONE_TEST TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/ 2025/01/15 02:41:53 NOTICE: (12) : bisync resync 2025/01/15 02:41:54 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:54 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:54 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:54 INFO : Synching Path1 "/tmp/024145se/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:54 INFO : Copying Path2 files to Path1 2025/01/15 02:41:54 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:41:54 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:41:55 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/15 02:41:55 INFO : Resync updating listings 2025/01/15 02:41:55 INFO : Validating listings for Path1 "/tmp/024145se/check_access/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:55 INFO : Bisync successful 2025/01/15 02:41:55 NOTICE: (13) : test 4. run sync with check-access. should pass. 2025/01/15 02:41:55 NOTICE: (14) : bisync check-access 2025/01/15 02:41:56 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:56 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:56 INFO : Synching Path1 "/tmp/024145se/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:56 INFO : Building Path1 and Path2 listings 2025/01/15 02:41:56 INFO : Path1 checking for diffs 2025/01/15 02:41:56 INFO : Path2 checking for diffs 2025/01/15 02:41:56 INFO : Checking access health 2025/01/15 02:41:56 INFO : Found 2 matching "RCLONE_TEST" files on both paths 2025/01/15 02:41:56 INFO : No changes found 2025/01/15 02:41:56 INFO : Updating listings 2025/01/15 02:41:56 INFO : Validating listings for Path1 "/tmp/024145se/check_access/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:56 INFO : Bisync successful 2025/01/15 02:41:56 NOTICE: (15) : test 5. delete path1 top level RCLONE_TEST, run sync. should fail critical. 2025/01/15 02:41:56 NOTICE: (16) : delete-file /tmp/024145se/check_access/path1/RCLONE_TEST 2025/01/15 02:41:56 INFO : RCLONE_TEST: Deleted 2025/01/15 02:41:56 NOTICE: (17) : bisync check-access 2025/01/15 02:41:57 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:57 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:57 INFO : Synching Path1 "/tmp/024145se/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/check_access/path2/" 2025/01/15 02:41:57 INFO : Building Path1 and Path2 listings 2025/01/15 02:41:57 INFO : Path1 checking for diffs 2025/01/15 02:41:57 INFO : - Path1 File was deleted - RCLONE_TEST 2025/01/15 02:41:57 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/01/15 02:41:57 INFO : Path2 checking for diffs 2025/01/15 02:41:57 INFO : Checking access health 2025/01/15 02:41:57 ERROR : Access test failed: Path1 count 1, Path2 count 2 - RCLONE_TEST 2025/01/15 02:41:57 ERROR : -  Access test failed: Path2 file not found in Path1 - RCLONE_TEST 2025/01/15 02:41:57 ERROR : Bisync critical error: check file check failed 2025/01/15 02:41:57 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:41:57 NOTICE: Bisync error: bisync aborted 2025/01/15 02:41:57 NOTICE: (18) : copy-listings path1-missing 2025/01/15 02:41:57 NOTICE: (19) : test 6. run again. should fail critical due to missing listings. 2025/01/15 02:41:57 NOTICE: (20) : bisync check-access bisync_test.go:966: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:966 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:977 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:1041 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:745 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:492 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:356 Error: Received unexpected error: googleapi: Error 429: The object rclone-test-medipad1conu/024145se/check_access/path2/modtime_write_test exceeded the rate limit for object mutation operations (create, update, and delete). Please reduce your request rate. See https://cloud.google.com/storage/docs/gcs429., rateLimitExceeded Test: TestBisyncLocalRemote/check_access === RUN TestBisyncLocalRemote/filtersfile_checks 2025/01/15 02:41:57 DEBUG : Creating backend with remote "/tmp/024145se/filtersfile_checks/path1" 2025/01/15 02:41:57 INFO : path2: Making directory 2025/01/15 02:41:57 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2" 2025/01/15 02:41:58 DEBUG : Creating backend with remote "/tmp/024145se/initdir/test_filtersfile_checks-fejayes8" 2025/01/15 02:41:58 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : subdir: Making directory with metadata 2025/01/15 02:41:58 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/15 02:41:58 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/15 02:41:58 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:58 DEBUG : Local file system at /tmp/024145se/initdir/test_filtersfile_checks-fejayes8: Waiting for checks to finish 2025/01/15 02:41:58 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:41:58 INFO : file1.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : Local file system at /tmp/024145se/initdir/test_filtersfile_checks-fejayes8: Waiting for transfers to finish 2025/01/15 02:41:58 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:58 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:41:58 INFO : file2.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:58 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/15 02:41:58 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:58 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:41:58 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:58 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:58 DEBUG : Creating backend with remote "/tmp/024145se/datadir/test_filtersfile_checks-faforij1" 2025/01/15 02:41:58 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : Local file system at /tmp/024145se/datadir/test_filtersfile_checks-faforij1: Waiting for checks to finish 2025/01/15 02:41:58 DEBUG : Local file system at /tmp/024145se/datadir/test_filtersfile_checks-faforij1: Waiting for transfers to finish 2025/01/15 02:41:58 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/01/15 02:41:58 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/15 02:41:58 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/01/15 02:41:58 INFO : filtersfile2.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/01/15 02:41:58 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/15 02:41:58 INFO : hold.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/01/15 02:41:58 INFO : filtersfile.txt: Copied (new) 2025/01/15 02:41:58 ERROR : : error listing: directory not found 2025/01/15 02:41:58 NOTICE: checking initFs Local file system at /tmp/024145se/initdir/test_filtersfile_checks-fejayes8 2025/01/15 02:41:58 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : subdir: Making directory with metadata 2025/01/15 02:41:58 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/15 02:41:58 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/15 02:41:58 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : Local file system at /tmp/024145se/filtersfile_checks/path1: Waiting for checks to finish 2025/01/15 02:41:58 DEBUG : Local file system at /tmp/024145se/filtersfile_checks/path1: Waiting for transfers to finish 2025/01/15 02:41:58 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:58 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/15 02:41:58 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:58 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:41:58 INFO : file1.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:58 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:41:58 INFO : file2.txt: Copied (new) 2025/01/15 02:41:58 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:58 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:41:58 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:58 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:58 NOTICE: checking Path1 Local file system at /tmp/024145se/filtersfile_checks/path1 2025/01/15 02:41:58 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 INFO : subdir: Making directory 2025/01/15 02:41:58 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:41:58 DEBUG : GCS bucket rclone-test-medipad1conu path 024145se/filtersfile_checks/path2: Waiting for checks to finish 2025/01/15 02:41:58 DEBUG : GCS bucket rclone-test-medipad1conu path 024145se/filtersfile_checks/path2: Waiting for transfers to finish 2025/01/15 02:41:58 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:58 INFO : file1.txt: Copied (new) 2025/01/15 02:41:59 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:59 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:41:59 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:41:59 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:41:59 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:41:59 INFO : file2.txt: Copied (new) 2025/01/15 02:41:59 NOTICE: checking path2 GCS bucket rclone-test-medipad1conu path 024145se/filtersfile_checks/path2 2025/01/15 02:41:59 NOTICE: (01) : test filtersfile-checks 2025/01/15 02:41:59 NOTICE: (02) : test initial bisync 2025/01/15 02:41:59 NOTICE: (03) : bisync resync 2025/01/15 02:41:59 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:41:59 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:41:59 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:41:59 INFO : Synching Path1 "/tmp/024145se/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:41:59 INFO : Copying Path2 files to Path1 2025/01/15 02:41:59 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:42:00 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:42:00 INFO : Resync updating listings 2025/01/15 02:42:00 INFO : Validating listings for Path1 "/tmp/024145se/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:42:00 INFO : Bisync successful 2025/01/15 02:42:00 NOTICE: (04) : test 1. inject filters file in workdir. 2025/01/15 02:42:00 NOTICE: (05) : copy-file /tmp/024145se/datadir/test_filtersfile_checks-faforij1/filtersfile.txt /tmp/024145se/workdir/ 2025/01/15 02:42:00 INFO : filtersfile.txt: Copied (new) 2025/01/15 02:42:00 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/01/15 02:42:00 NOTICE: (07) : bisync filters-file=/tmp/024145se/workdir/filtersfile.txt 2025/01/15 02:42:01 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:42:01 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:01 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:42:01 INFO : Synching Path1 "/tmp/024145se/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:42:01 INFO : Using filters file /tmp/024145se/workdir/filtersfile.txt 2025/01/15 02:42:01 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/024145se/workdir/filtersfile.txt 2025/01/15 02:42:01 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:01 NOTICE: Bisync error: bisync aborted 2025/01/15 02:42:01 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/01/15 02:42:01 NOTICE: (09) : bisync 2025/01/15 02:42:02 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:42:02 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:02 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:42:02 INFO : Synching Path1 "/tmp/024145se/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:42:02 ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run Tip: here are the filenames we were looking for. Do they exist? Path1: /tmp/024145se/workdir/tmp_024145se_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-medipad1conu_024145se_filtersfile_checks_path2.path1.lst Path2: /tmp/024145se/workdir/tmp_024145se_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-medipad1conu_024145se_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024145se/workdir" 2025/01/15 02:42:02 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:02 NOTICE: Bisync error: bisync aborted 2025/01/15 02:42:02 NOTICE: (10) : test 4. run with filters-file and resync. 2025/01/15 02:42:02 NOTICE: (11) : bisync filters-file=/tmp/024145se/workdir/filtersfile.txt resync 2025/01/15 02:42:02 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:42:02 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:02 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:42:02 INFO : Synching Path1 "/tmp/024145se/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:42:02 INFO : Using filters file /tmp/024145se/workdir/filtersfile.txt 2025/01/15 02:42:02 INFO : Storing filters file hash to /tmp/024145se/workdir/filtersfile.txt.md5 2025/01/15 02:42:02 INFO : Copying Path2 files to Path1 2025/01/15 02:42:02 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:42:02 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:42:03 INFO : Resync updating listings 2025/01/15 02:42:03 INFO : Validating listings for Path1 "/tmp/024145se/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:42:03 INFO : Bisync successful 2025/01/15 02:42:03 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/01/15 02:42:03 NOTICE: (13) : bisync filters-file=/tmp/024145se/workdir/filtersfile.txt 2025/01/15 02:42:04 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:42:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:04 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/15 02:42:04 INFO : Synching Path1 "/tmp/024145se/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:42:04 INFO : Using filters file /tmp/024145se/workdir/filtersfile.txt 2025/01/15 02:42:04 INFO : Building Path1 and Path2 listings 2025/01/15 02:42:04 INFO : Path1 checking for diffs 2025/01/15 02:42:04 INFO : Path2 checking for diffs 2025/01/15 02:42:04 INFO : No changes found 2025/01/15 02:42:04 INFO : Updating listings 2025/01/15 02:42:04 INFO : Validating listings for Path1 "/tmp/024145se/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-medipad1conu/024145se/filtersfile_checks/path2/" 2025/01/15 02:42:04 INFO : Bisync successful 2025/01/15 02:42:04 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/01/15 02:42:04 NOTICE: (15) : copy-as /tmp/024145se/datadir/test_filtersfile_checks-faforij1/filtersfile2.txt /tmp/024145se/workdir/ filtersfile.txt 2025/01/15 02:42:04 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/01/15 02:42:04 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/01/15 02:42:04 NOTICE: (17) : bisync filters-file=/tmp/024145se/workdir/filtersfile.txt bisync_test.go:966: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:966 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:977 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:1041 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:745 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:492 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:356 Error: Received unexpected error: googleapi: Error 429: The object rclone-test-medipad1conu/024145se/filtersfile_checks/path2/modtime_write_test exceeded the rate limit for object mutation operations (create, update, and delete). Please reduce your request rate. See https://cloud.google.com/storage/docs/gcs429., rateLimitExceeded Test: TestBisyncLocalRemote/filtersfile_checks 2025/01/15 02:42:04 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/check_access/path2/RCLONE_TEST" 2025/01/15 02:42:04 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/check_access/path2/file1.txt" 2025/01/15 02:42:05 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/check_access/path2/file2.txt" 2025/01/15 02:42:05 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/check_access/path2/file3.txt" 2025/01/15 02:42:05 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/check_access/path2/file4.txt" 2025/01/15 02:42:05 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/check_access/path2/subdir/RCLONE_TEST" 2025/01/15 02:42:05 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/check_access/path2/subdir/file20.txt" 2025/01/15 02:42:05 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/filtersfile_checks/path2/RCLONE_TEST" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/filtersfile_checks/path2/file1.txt" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/filtersfile_checks/path2/file2.txt" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge object "024145se/filtersfile_checks/path2/subdir/file20.txt" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "024145se/filtersfile_checks/path2/subdir" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "024145se/filtersfile_checks/path2" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "024145se/filtersfile_checks" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "024145se/check_access/path2/subdir" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "024145se/check_access/path2" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "024145se/check_access" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "024145se" 2025/01/15 02:42:06 DEBUG : GCS bucket rclone-test-medipad1conu: Purge dir "" --- FAIL: TestBisyncLocalRemote (21.98s) --- FAIL: TestBisyncLocalRemote/check_access (12.28s) --- FAIL: TestBisyncLocalRemote/filtersfile_checks (6.99s) === RUN TestBisyncRemoteRemote 2025/01/15 02:42:07 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-ganeras6fava" 2025/01/15 02:42:07 NOTICE: remote: TestGoogleCloudStorage:rclone-test-ganeras6fava === RUN TestBisyncRemoteRemote/check_sync 2025/01/15 02:42:07 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te" 2025/01/15 02:42:07 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/15 02:42:07 INFO : path1: Making directory 2025/01/15 02:42:08 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path1" 2025/01/15 02:42:09 INFO : path2: Making directory 2025/01/15 02:42:09 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path2" 2025/01/15 02:42:09 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_sync/initial" 2025/01/15 02:42:09 DEBUG : Creating backend with remote "/tmp/024207te/initdir/test_check_sync-jitasad1" 2025/01/15 02:42:09 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : Local file system at /tmp/024207te/initdir/test_check_sync-jitasad1: Waiting for checks to finish 2025/01/15 02:42:09 DEBUG : Local file system at /tmp/024207te/initdir/test_check_sync-jitasad1: Waiting for transfers to finish 2025/01/15 02:42:09 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:42:09 INFO : file1.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:42:09 INFO : file2.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/01/15 02:42:09 INFO : file3.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/01/15 02:42:09 INFO : file4.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2025/01/15 02:42:09 INFO : file6.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2025/01/15 02:42:09 INFO : file5.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:42:09 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:42:09 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:42:09 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2025/01/15 02:42:09 INFO : file7.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:09 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2025/01/15 02:42:09 INFO : file8.txt: Copied (new) 2025/01/15 02:42:09 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_sync/modfiles" 2025/01/15 02:42:09 DEBUG : Creating backend with remote "/tmp/024207te/datadir/test_check_sync-veburif5" 2025/01/15 02:42:09 DEBUG : _testdir_path1.._testdir_path2.path1.lst: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : _testdir_path1.._testdir_path2.path2.lst: Need to transfer - File not found at Destination 2025/01/15 02:42:09 DEBUG : Local file system at /tmp/024207te/datadir/test_check_sync-veburif5: Waiting for checks to finish 2025/01/15 02:42:09 DEBUG : Local file system at /tmp/024207te/datadir/test_check_sync-veburif5: Waiting for transfers to finish 2025/01/15 02:42:09 DEBUG : _testdir_path1.._testdir_path2.path1.lst: md5 = fdb18e0dff6961813e12c57227d2e854 OK 2025/01/15 02:42:09 DEBUG : _testdir_path1.._testdir_path2.path1.lst.c670fe74.partial: renamed to: _testdir_path1.._testdir_path2.path1.lst 2025/01/15 02:42:09 INFO : _testdir_path1.._testdir_path2.path1.lst: Copied (new) 2025/01/15 02:42:09 DEBUG : _testdir_path1.._testdir_path2.path2.lst: md5 = d6ce44a26af9c2110b1750fe88dc4b69 OK 2025/01/15 02:42:09 DEBUG : _testdir_path1.._testdir_path2.path2.lst.c670fe74.partial: renamed to: _testdir_path1.._testdir_path2.path2.lst 2025/01/15 02:42:09 INFO : _testdir_path1.._testdir_path2.path2.lst: Copied (new) 2025/01/15 02:42:10 NOTICE: checking initFs Local file system at /tmp/024207te/initdir/test_check_sync-jitasad1 2025/01/15 02:42:10 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:10 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/check_sync/path1: Waiting for checks to finish 2025/01/15 02:42:10 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/check_sync/path1: Waiting for transfers to finish 2025/01/15 02:42:10 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:10 INFO : file1.txt: Copied (new) 2025/01/15 02:42:10 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:10 INFO : file3.txt: Copied (new) 2025/01/15 02:42:10 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:42:10 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:42:10 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:10 INFO : file2.txt: Copied (new) 2025/01/15 02:42:10 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:10 INFO : file4.txt: Copied (new) 2025/01/15 02:42:11 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file7.txt: Copied (new) 2025/01/15 02:42:11 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file6.txt: Copied (new) 2025/01/15 02:42:11 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file5.txt: Copied (new) 2025/01/15 02:42:11 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file8.txt: Copied (new) 2025/01/15 02:42:11 NOTICE: checking Path1 GCS bucket rclone-test-ganeras6fava path 024207te/check_sync/path1 2025/01/15 02:42:11 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:11 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/check_sync/path2: Waiting for checks to finish 2025/01/15 02:42:11 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/check_sync/path2: Waiting for transfers to finish 2025/01/15 02:42:11 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file1.txt: Copied (new) 2025/01/15 02:42:11 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file2.txt: Copied (new) 2025/01/15 02:42:11 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:42:11 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:42:11 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file3.txt: Copied (new) 2025/01/15 02:42:11 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:11 INFO : file4.txt: Copied (new) 2025/01/15 02:42:12 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:12 INFO : file5.txt: Copied (new) 2025/01/15 02:42:12 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:12 INFO : file7.txt: Copied (new) 2025/01/15 02:42:12 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:12 INFO : file6.txt: Copied (new) 2025/01/15 02:42:12 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:12 INFO : file8.txt: Copied (new) 2025/01/15 02:42:12 NOTICE: checking path2 GCS bucket rclone-test-ganeras6fava path 024207te/check_sync/path2 2025/01/15 02:42:12 NOTICE: (01) : test check-sync 2025/01/15 02:42:12 NOTICE: (02) : test initial bisync 2025/01/15 02:42:12 NOTICE: (03) : bisync resync 2025/01/15 02:42:13 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:13 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:13 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path2/" 2025/01/15 02:42:13 INFO : Copying Path2 files to Path1 2025/01/15 02:42:13 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:42:13 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:42:14 INFO : Resync updating listings 2025/01/15 02:42:14 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path2/" 2025/01/15 02:42:14 INFO : Bisync successful 2025/01/15 02:42:14 NOTICE: (04) : test 1. run check-sync-only on a clean sync 2025/01/15 02:42:14 NOTICE: (05) : bisync check-sync-only 2025/01/15 02:42:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:15 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:15 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path2/" 2025/01/15 02:42:15 INFO : Bisync successful 2025/01/15 02:42:15 NOTICE: (06) : test 2. inject modified listings into the workdir 2025/01/15 02:42:15 NOTICE: (07) : copy-as /tmp/024207te/datadir/test_check_sync-veburif5/_testdir_path1.._testdir_path2.path1.lst /tmp/024207te/workdir/ TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path1.lst 2025/01/15 02:42:15 INFO : _testdir_path1.._testdir_path2.path1.lst: Copied (replaced existing) to: TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path1.lst 2025/01/15 02:42:15 NOTICE: (08) : copy-as /tmp/024207te/datadir/test_check_sync-veburif5/_testdir_path1.._testdir_path2.path2.lst /tmp/024207te/workdir/ TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path2.lst 2025/01/15 02:42:15 INFO : _testdir_path1.._testdir_path2.path2.lst: Copied (replaced existing) to: TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path2.lst 2025/01/15 02:42:15 NOTICE: (09) : test 3. run check-sync-only on modified listings 2025/01/15 02:42:15 NOTICE: (10) : bisync check-sync-only 2025/01/15 02:42:16 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:16 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:16 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path2/" 2025/01/15 02:42:16 ERROR : -  Path1 file not found in Path2 - file2.txt 2025/01/15 02:42:16 ERROR : -  Path2 file not found in Path1 - file1.txt 2025/01/15 02:42:16 ERROR : Bisync critical error: path1 and path2 are out of sync, run --resync to recover 2025/01/15 02:42:16 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:16 NOTICE: Bisync error: bisync aborted 2025/01/15 02:42:16 NOTICE: (11) : copy-listings check-sync-only 2025/01/15 02:42:16 NOTICE: (12) : test 4. run normal sync to check that it aborts 2025/01/15 02:42:16 NOTICE: (13) : bisync 2025/01/15 02:42:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:18 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:18 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/check_sync/path2/" 2025/01/15 02:42:18 ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run Tip: here are the filenames we were looking for. Do they exist? Path1: /tmp/024207te/workdir/TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path1.lst Path2: /tmp/024207te/workdir/TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024207te/workdir" 2025/01/15 02:42:18 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:18 NOTICE: Bisync error: bisync aborted 2025/01/15 02:42:18 NOTICE: (14) : test 5. prune failure listings after critical abort 2025/01/15 02:42:18 NOTICE: (15) : delete-glob /tmp/024207te/workdir/ *.lst 2025/01/15 02:42:18 NOTICE: (16) : delete-glob /tmp/024207te/workdir/ *.lst-err 2025/01/15 02:42:18 INFO : TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path1.lst-err: Deleted 2025/01/15 02:42:18 INFO : TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path2.lst-err: Deleted 2025/01/15 02:42:18 NOTICE: (17) : delete-glob /tmp/024207te/workdir/ *.lst-new 2025/01/15 02:42:18 INFO : TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path1.lst-new: Deleted 2025/01/15 02:42:18 INFO : TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_check_sync_path2.path2.lst-new: Deleted 2025/01/15 02:42:18 NOTICE: (18) : test 6. run resync 2025/01/15 02:42:18 NOTICE: (19) : bisync resync bisync_test.go:966: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:966 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:976 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:1041 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:745 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:492 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:356 Error: Received unexpected error: googleapi: Error 429: The object rclone-test-ganeras6fava/024207te/check_sync/path1/modtime_write_test exceeded the rate limit for object mutation operations (create, update, and delete). Please reduce your request rate. See https://cloud.google.com/storage/docs/gcs429., rateLimitExceeded Test: TestBisyncRemoteRemote/check_sync === RUN TestBisyncRemoteRemote/filtersfile_checks 2025/01/15 02:42:18 INFO : path1: Making directory 2025/01/15 02:42:18 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1" 2025/01/15 02:42:19 INFO : path2: Making directory 2025/01/15 02:42:19 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2" 2025/01/15 02:42:19 DEBUG : Creating backend with remote "/tmp/024207te/initdir/test_filtersfile_checks-tuganuw0" 2025/01/15 02:42:19 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:42:19 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:19 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:19 DEBUG : subdir: Making directory with metadata 2025/01/15 02:42:19 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/15 02:42:19 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/15 02:42:19 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:19 DEBUG : Local file system at /tmp/024207te/initdir/test_filtersfile_checks-tuganuw0: Waiting for checks to finish 2025/01/15 02:42:19 DEBUG : Local file system at /tmp/024207te/initdir/test_filtersfile_checks-tuganuw0: Waiting for transfers to finish 2025/01/15 02:42:19 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:19 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/15 02:42:19 INFO : file1.txt: Copied (new) 2025/01/15 02:42:19 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:19 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/15 02:42:19 INFO : file2.txt: Copied (new) 2025/01/15 02:42:19 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:19 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/15 02:42:19 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:42:19 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:42:19 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/15 02:42:19 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:42:19 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/15 02:42:19 DEBUG : Creating backend with remote "/tmp/024207te/datadir/test_filtersfile_checks-dakocas6" 2025/01/15 02:42:19 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:19 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:19 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:19 DEBUG : Local file system at /tmp/024207te/datadir/test_filtersfile_checks-dakocas6: Waiting for checks to finish 2025/01/15 02:42:19 DEBUG : Local file system at /tmp/024207te/datadir/test_filtersfile_checks-dakocas6: Waiting for transfers to finish 2025/01/15 02:42:19 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/01/15 02:42:19 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/01/15 02:42:19 INFO : filtersfile.txt: Copied (new) 2025/01/15 02:42:19 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/01/15 02:42:19 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/01/15 02:42:19 INFO : filtersfile2.txt: Copied (new) 2025/01/15 02:42:19 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/15 02:42:19 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/15 02:42:19 INFO : hold.txt: Copied (new) 2025/01/15 02:42:20 NOTICE: checking initFs Local file system at /tmp/024207te/initdir/test_filtersfile_checks-tuganuw0 2025/01/15 02:42:20 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:42:20 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:20 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:20 INFO : subdir: Making directory 2025/01/15 02:42:20 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:20 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/filtersfile_checks/path1: Waiting for checks to finish 2025/01/15 02:42:20 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/filtersfile_checks/path1: Waiting for transfers to finish 2025/01/15 02:42:20 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:42:20 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:42:21 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:21 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:42:21 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:21 INFO : file2.txt: Copied (new) 2025/01/15 02:42:21 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:21 INFO : file1.txt: Copied (new) 2025/01/15 02:42:21 NOTICE: checking Path1 GCS bucket rclone-test-ganeras6fava path 024207te/filtersfile_checks/path1 2025/01/15 02:42:21 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/15 02:42:21 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:21 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:21 INFO : subdir: Making directory 2025/01/15 02:42:21 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/15 02:42:21 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/filtersfile_checks/path2: Waiting for checks to finish 2025/01/15 02:42:21 DEBUG : GCS bucket rclone-test-ganeras6fava path 024207te/filtersfile_checks/path2: Waiting for transfers to finish 2025/01/15 02:42:21 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/15 02:42:21 INFO : RCLONE_TEST: Copied (new) 2025/01/15 02:42:21 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:21 INFO : file1.txt: Copied (new) 2025/01/15 02:42:21 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:21 INFO : subdir/file20.txt: Copied (new) 2025/01/15 02:42:21 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/15 02:42:21 INFO : file2.txt: Copied (new) 2025/01/15 02:42:21 NOTICE: checking path2 GCS bucket rclone-test-ganeras6fava path 024207te/filtersfile_checks/path2 2025/01/15 02:42:21 NOTICE: (01) : test filtersfile-checks 2025/01/15 02:42:21 NOTICE: (02) : test initial bisync 2025/01/15 02:42:21 NOTICE: (03) : bisync resync 2025/01/15 02:42:23 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:23 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:23 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:23 INFO : Copying Path2 files to Path1 2025/01/15 02:42:23 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:42:23 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:42:23 INFO : Resync updating listings 2025/01/15 02:42:23 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:23 INFO : Bisync successful 2025/01/15 02:42:23 NOTICE: (04) : test 1. inject filters file in workdir. 2025/01/15 02:42:23 NOTICE: (05) : copy-file /tmp/024207te/datadir/test_filtersfile_checks-dakocas6/filtersfile.txt /tmp/024207te/workdir/ 2025/01/15 02:42:23 INFO : filtersfile.txt: Copied (new) 2025/01/15 02:42:23 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/01/15 02:42:23 NOTICE: (07) : bisync filters-file=/tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:25 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:25 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:25 INFO : Using filters file /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:25 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:25 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:25 NOTICE: Bisync error: bisync aborted 2025/01/15 02:42:25 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/01/15 02:42:25 NOTICE: (09) : bisync 2025/01/15 02:42:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:26 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:26 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:26 ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run Tip: here are the filenames we were looking for. Do they exist? Path1: /tmp/024207te/workdir/TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_filtersfile_checks_path2.path1.lst Path2: /tmp/024207te/workdir/TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-ganeras6fava_024207te_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024207te/workdir" 2025/01/15 02:42:26 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:26 NOTICE: Bisync error: bisync aborted 2025/01/15 02:42:26 NOTICE: (10) : test 4. run with filters-file and resync. 2025/01/15 02:42:26 NOTICE: (11) : bisync filters-file=/tmp/024207te/workdir/filtersfile.txt resync 2025/01/15 02:42:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:28 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:28 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:28 INFO : Using filters file /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:28 INFO : Storing filters file hash to /tmp/024207te/workdir/filtersfile.txt.md5 2025/01/15 02:42:28 INFO : Copying Path2 files to Path1 2025/01/15 02:42:28 INFO : - Path2 Resync is copying files to - Path1 2025/01/15 02:42:28 INFO : - Path1 Resync is copying files to - Path2 2025/01/15 02:42:28 INFO : Resync updating listings 2025/01/15 02:42:28 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:28 INFO : Bisync successful 2025/01/15 02:42:28 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/01/15 02:42:28 NOTICE: (13) : bisync filters-file=/tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:30 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:30 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:30 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:30 INFO : Using filters file /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:30 INFO : Building Path1 and Path2 listings 2025/01/15 02:42:30 INFO : Path1 checking for diffs 2025/01/15 02:42:30 INFO : Path2 checking for diffs 2025/01/15 02:42:30 INFO : No changes found 2025/01/15 02:42:30 INFO : Updating listings 2025/01/15 02:42:30 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:30 INFO : Bisync successful 2025/01/15 02:42:30 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/01/15 02:42:30 NOTICE: (15) : copy-as /tmp/024207te/datadir/test_filtersfile_checks-dakocas6/filtersfile2.txt /tmp/024207te/workdir/ filtersfile.txt 2025/01/15 02:42:30 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/01/15 02:42:30 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/01/15 02:42:30 NOTICE: (17) : bisync filters-file=/tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:31 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:31 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:31 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:31 INFO : Using filters file /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:31 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:31 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:31 NOTICE: Bisync error: bisync aborted 2025/01/15 02:42:31 NOTICE: (18) : test 8. run with filters-file and resync and dry-run. should do the dry-run but still cause next non-resync run to abort. 2025/01/15 02:42:31 NOTICE: (19) : bisync filters-file=/tmp/024207te/workdir/filtersfile.txt resync dry-run 2025/01/15 02:42:33 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:33 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:33 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:33 INFO : Using filters file /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:33 INFO : Skipped storing filters file hash to /tmp/024207te/workdir/filtersfile.txt.md5 as --dry-run is set 2025/01/15 02:42:33 INFO : Copying Path2 files to Path1 2025/01/15 02:42:33 NOTICE: - Path2 Resync is copying files to - Path1 2025/01/15 02:42:33 NOTICE: - Path1 Resync is copying files to - Path2 2025/01/15 02:42:33 INFO : Resync updating listings 2025/01/15 02:42:33 INFO : Bisync successful 2025/01/15 02:42:33 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/01/15 02:42:33 NOTICE: (21) : bisync filters-file=/tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:35 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/15 02:42:35 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/01/15 02:42:35 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-ganeras6fava/024207te/filtersfile_checks/path2/" 2025/01/15 02:42:35 INFO : Using filters file /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:35 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/024207te/workdir/filtersfile.txt 2025/01/15 02:42:35 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/15 02:42:35 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2025/01/15 02:42:36 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/RCLONE_TEST" 2025/01/15 02:42:36 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file1.txt" 2025/01/15 02:42:36 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file2.txt" 2025/01/15 02:42:36 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file3.txt" 2025/01/15 02:42:37 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file4.txt" 2025/01/15 02:42:37 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file5.txt" 2025/01/15 02:42:37 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file6.txt" 2025/01/15 02:42:37 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file7.txt" 2025/01/15 02:42:37 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path1/file8.txt" 2025/01/15 02:42:37 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/RCLONE_TEST" 2025/01/15 02:42:37 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file1.txt" 2025/01/15 02:42:38 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file2.txt" 2025/01/15 02:42:38 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file3.txt" 2025/01/15 02:42:38 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file4.txt" 2025/01/15 02:42:38 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file5.txt" 2025/01/15 02:42:38 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file6.txt" 2025/01/15 02:42:38 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file7.txt" 2025/01/15 02:42:38 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge object "024207te/check_sync/path2/file8.txt" 2025/01/15 02:42:39 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge dir "024207te/check_sync/path2" 2025/01/15 02:42:39 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge dir "024207te/check_sync/path1" 2025/01/15 02:42:39 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge dir "024207te/check_sync" 2025/01/15 02:42:39 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge dir "024207te" 2025/01/15 02:42:39 DEBUG : GCS bucket rclone-test-ganeras6fava: Purge dir "" --- FAIL: TestBisyncRemoteRemote (33.12s) --- FAIL: TestBisyncRemoteRemote/check_sync (11.49s) --- PASS: TestBisyncRemoteRemote/filtersfile_checks (17.40s) FAIL 2025/01/15 02:42:40 DEBUG : GCS bucket rclone-test-juhetap3jozi: Purge dir "" 2025/01/15 02:42:41 NOTICE: purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2025/01/15 02:42:41 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^(check_access|filtersfile_checks)$|^TestBisyncRemoteLocal$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^(check_sync|filtersfile_checks)$'" - Finished ERROR in 1m9.274374962s (try 5/5): exit status 1: Failed [TestBisyncLocalRemote/check_access TestBisyncLocalRemote/filtersfile_checks TestBisyncRemoteRemote/check_sync]