"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Starting (try 5/5) 2025/03/26 04:16:59 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-foberaj5hune" 2025/03/26 04:16:59 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/26 04:16:59 DEBUG : Creating backend with remote "/tmp/rclone3370130297" === RUN TestBisyncLocalRemote 2025/03/26 04:16:59 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gedihew7yido" 2025/03/26 04:16:59 NOTICE: remote: TestGoogleCloudStorage:rclone-test-gedihew7yido === RUN TestBisyncLocalRemote/filtersfile_checks 2025/03/26 04:16:59 DEBUG : Creating backend with remote "/tmp/041659yi" 2025/03/26 04:16:59 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/26 04:16:59 DEBUG : Creating backend with remote "/tmp/041659yi/filtersfile_checks/path1" 2025/03/26 04:16:59 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi" 2025/03/26 04:16:59 INFO : path2: Making directory 2025/03/26 04:17:01 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2" 2025/03/26 04:17:02 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2025/03/26 04:17:02 DEBUG : Creating backend with remote "/tmp/041659yi/initdir/test_filtersfile_checks-xovenuw4" 2025/03/26 04:17:02 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : subdir: Making directory with metadata 2025/03/26 04:17:02 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/03/26 04:17:02 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/03/26 04:17:02 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : Local file system at /tmp/041659yi/initdir/test_filtersfile_checks-xovenuw4: Waiting for checks to finish 2025/03/26 04:17:02 DEBUG : Local file system at /tmp/041659yi/initdir/test_filtersfile_checks-xovenuw4: Waiting for transfers to finish 2025/03/26 04:17:02 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:02 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:02 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/26 04:17:02 INFO : file1.txt: Copied (new) 2025/03/26 04:17:02 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/03/26 04:17:02 INFO : file2.txt: Copied (new) 2025/03/26 04:17:02 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:02 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/03/26 04:17:02 INFO : subdir/file20.txt: Copied (new) 2025/03/26 04:17:02 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/26 04:17:02 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/26 04:17:02 INFO : RCLONE_TEST: Copied (new) 2025/03/26 04:17:02 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:02 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2025/03/26 04:17:02 DEBUG : Creating backend with remote "/tmp/041659yi/datadir/test_filtersfile_checks-doriqex8" 2025/03/26 04:17:02 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : Local file system at /tmp/041659yi/datadir/test_filtersfile_checks-doriqex8: Waiting for checks to finish 2025/03/26 04:17:02 DEBUG : Local file system at /tmp/041659yi/datadir/test_filtersfile_checks-doriqex8: Waiting for transfers to finish 2025/03/26 04:17:02 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/03/26 04:17:02 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/03/26 04:17:02 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/03/26 04:17:02 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/03/26 04:17:02 INFO : filtersfile.txt: Copied (new) 2025/03/26 04:17:02 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/03/26 04:17:02 INFO : hold.txt: Copied (new) 2025/03/26 04:17:02 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/03/26 04:17:02 INFO : filtersfile2.txt: Copied (new) 2025/03/26 04:17:02 ERROR : : error listing: directory not found 2025/03/26 04:17:02 NOTICE: checking initFs Local file system at /tmp/041659yi/initdir/test_filtersfile_checks-xovenuw4 2025/03/26 04:17:02 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : subdir: Making directory with metadata 2025/03/26 04:17:02 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/03/26 04:17:02 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/03/26 04:17:02 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : Local file system at /tmp/041659yi/filtersfile_checks/path1: Waiting for checks to finish 2025/03/26 04:17:02 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:02 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/26 04:17:02 INFO : file1.txt: Copied (new) 2025/03/26 04:17:02 DEBUG : Local file system at /tmp/041659yi/filtersfile_checks/path1: Waiting for transfers to finish 2025/03/26 04:17:02 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:02 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:02 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/03/26 04:17:02 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/03/26 04:17:02 INFO : file2.txt: Copied (new) 2025/03/26 04:17:02 INFO : subdir/file20.txt: Copied (new) 2025/03/26 04:17:02 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/26 04:17:02 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/26 04:17:02 INFO : RCLONE_TEST: Copied (new) 2025/03/26 04:17:02 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:02 NOTICE: checking Path1 Local file system at /tmp/041659yi/filtersfile_checks/path1 2025/03/26 04:17:02 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 INFO : subdir: Making directory 2025/03/26 04:17:02 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:02 DEBUG : GCS bucket rclone-test-gedihew7yido path 041659yi/filtersfile_checks/path2: Waiting for checks to finish 2025/03/26 04:17:02 DEBUG : GCS bucket rclone-test-gedihew7yido path 041659yi/filtersfile_checks/path2: Waiting for transfers to finish 2025/03/26 04:17:02 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/26 04:17:02 INFO : RCLONE_TEST: Copied (new) 2025/03/26 04:17:03 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:03 INFO : file2.txt: Copied (new) 2025/03/26 04:17:03 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:03 INFO : file1.txt: Copied (new) 2025/03/26 04:17:03 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:03 INFO : subdir/file20.txt: Copied (new) 2025/03/26 04:17:03 NOTICE: checking path2 GCS bucket rclone-test-gedihew7yido path 041659yi/filtersfile_checks/path2 2025/03/26 04:17:03 NOTICE: (01) : test filtersfile-checks 2025/03/26 04:17:03 NOTICE: (02) : test initial bisync 2025/03/26 04:17:03 NOTICE: (03) : bisync resync 2025/03/26 04:17:04 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17: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/03/26 04:17:04 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:04 INFO : Copying Path2 files to Path1 2025/03/26 04:17:04 INFO : - Path2 Resync is copying files to - Path1 2025/03/26 04:17:04 INFO : - Path1 Resync is copying files to - Path2 2025/03/26 04:17:04 INFO : Resync updating listings 2025/03/26 04:17:04 INFO : Validating listings for Path1 "/tmp/041659yi/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:04 INFO : Bisync successful 2025/03/26 04:17:04 NOTICE: (04) : test 1. inject filters file in workdir. 2025/03/26 04:17:04 NOTICE: (05) : copy-file /tmp/041659yi/datadir/test_filtersfile_checks-doriqex8/filtersfile.txt /tmp/041659yi/workdir/ 2025/03/26 04:17:04 INFO : filtersfile.txt: Copied (new) 2025/03/26 04:17:04 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/03/26 04:17:04 NOTICE: (07) : bisync filters-file=/tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:05 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:05 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/26 04:17:05 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:05 INFO : Using filters file /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:05 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:05 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:05 NOTICE: Bisync error: bisync aborted 2025/03/26 04:17:05 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/03/26 04:17:05 NOTICE: (09) : bisync 2025/03/26 04:17:06 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:06 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:06 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/26 04:17:06 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:06 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/041659yi/workdir/tmp_041659yi_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-gedihew7yido_041659yi_filtersfile_checks_path2.path1.lst Path2: /tmp/041659yi/workdir/tmp_041659yi_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-gedihew7yido_041659yi_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/041659yi/workdir" 2025/03/26 04:17:06 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:06 NOTICE: Bisync error: bisync aborted 2025/03/26 04:17:06 NOTICE: (10) : test 4. run with filters-file and resync. 2025/03/26 04:17:06 NOTICE: (11) : bisync filters-file=/tmp/041659yi/workdir/filtersfile.txt resync 2025/03/26 04:17:07 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:07 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/26 04:17:07 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:07 INFO : Using filters file /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:07 INFO : Storing filters file hash to /tmp/041659yi/workdir/filtersfile.txt.md5 2025/03/26 04:17:07 INFO : Copying Path2 files to Path1 2025/03/26 04:17:07 INFO : - Path2 Resync is copying files to - Path1 2025/03/26 04:17:07 INFO : - Path1 Resync is copying files to - Path2 2025/03/26 04:17:07 INFO : Resync updating listings 2025/03/26 04:17:07 INFO : Validating listings for Path1 "/tmp/041659yi/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:07 INFO : Bisync successful 2025/03/26 04:17:07 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/03/26 04:17:07 NOTICE: (13) : bisync filters-file=/tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:08 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:08 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/26 04:17:08 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:08 INFO : Using filters file /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:08 INFO : Building Path1 and Path2 listings 2025/03/26 04:17:08 INFO : Path1 checking for diffs 2025/03/26 04:17:08 INFO : Path2 checking for diffs 2025/03/26 04:17:08 INFO : No changes found 2025/03/26 04:17:08 INFO : Updating listings 2025/03/26 04:17:08 INFO : Validating listings for Path1 "/tmp/041659yi/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:08 INFO : Bisync successful 2025/03/26 04:17:08 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/03/26 04:17:08 NOTICE: (15) : copy-as /tmp/041659yi/datadir/test_filtersfile_checks-doriqex8/filtersfile2.txt /tmp/041659yi/workdir/ filtersfile.txt 2025/03/26 04:17:08 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/03/26 04:17:08 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/03/26 04:17:08 NOTICE: (17) : bisync filters-file=/tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:09 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:09 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:09 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/26 04:17:09 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:09 INFO : Using filters file /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:09 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:09 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:09 NOTICE: Bisync error: bisync aborted 2025/03/26 04:17:09 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/03/26 04:17:09 NOTICE: (19) : bisync filters-file=/tmp/041659yi/workdir/filtersfile.txt resync dry-run 2025/03/26 04:17:10 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:10 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/26 04:17:10 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:10 INFO : Using filters file /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:10 INFO : Skipped storing filters file hash to /tmp/041659yi/workdir/filtersfile.txt.md5 as --dry-run is set 2025/03/26 04:17:10 INFO : Copying Path2 files to Path1 2025/03/26 04:17:10 NOTICE: - Path2 Resync is copying files to - Path1 2025/03/26 04:17:10 NOTICE: - Path1 Resync is copying files to - Path2 2025/03/26 04:17:10 INFO : Resync updating listings 2025/03/26 04:17:10 INFO : Bisync successful 2025/03/26 04:17:10 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/03/26 04:17:10 NOTICE: (21) : bisync filters-file=/tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:12 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:12 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:12 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/26 04:17:12 INFO : Synching Path1 "/tmp/041659yi/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gedihew7yido/041659yi/filtersfile_checks/path2/" 2025/03/26 04:17:12 INFO : Using filters file /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:12 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041659yi/workdir/filtersfile.txt 2025/03/26 04:17:12 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:12 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED 2025/03/26 04:17:12 DEBUG : GCS bucket rclone-test-gedihew7yido: Purge dir "" --- PASS: TestBisyncLocalRemote (13.82s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (13.08s) === RUN TestBisyncRemoteRemote 2025/03/26 04:17:13 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-wuzidef4wulo" 2025/03/26 04:17:13 NOTICE: remote: TestGoogleCloudStorage:rclone-test-wuzidef4wulo === RUN TestBisyncRemoteRemote/filtersfile_checks 2025/03/26 04:17:13 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po" 2025/03/26 04:17:13 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/26 04:17:13 INFO : path1: Making directory 2025/03/26 04:17:15 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1" 2025/03/26 04:17:15 INFO : path2: Making directory 2025/03/26 04:17:15 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2" 2025/03/26 04:17:16 DEBUG : Creating backend with remote "/tmp/041713po/initdir/test_filtersfile_checks-vinuwut0" 2025/03/26 04:17:16 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/26 04:17:16 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:16 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:16 DEBUG : subdir: Making directory with metadata 2025/03/26 04:17:16 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/03/26 04:17:16 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/03/26 04:17:16 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:16 DEBUG : Local file system at /tmp/041713po/initdir/test_filtersfile_checks-vinuwut0: Waiting for checks to finish 2025/03/26 04:17:16 DEBUG : Local file system at /tmp/041713po/initdir/test_filtersfile_checks-vinuwut0: Waiting for transfers to finish 2025/03/26 04:17:16 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:16 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/26 04:17:16 INFO : file1.txt: Copied (new) 2025/03/26 04:17:16 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:16 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/03/26 04:17:16 INFO : file2.txt: Copied (new) 2025/03/26 04:17:16 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:16 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/03/26 04:17:16 INFO : subdir/file20.txt: Copied (new) 2025/03/26 04:17:16 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/26 04:17:16 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/26 04:17:16 INFO : RCLONE_TEST: Copied (new) 2025/03/26 04:17:16 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/26 04:17:16 DEBUG : Creating backend with remote "/tmp/041713po/datadir/test_filtersfile_checks-cigoroj4" 2025/03/26 04:17:16 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:16 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:16 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:16 DEBUG : Local file system at /tmp/041713po/datadir/test_filtersfile_checks-cigoroj4: Waiting for checks to finish 2025/03/26 04:17:16 DEBUG : Local file system at /tmp/041713po/datadir/test_filtersfile_checks-cigoroj4: Waiting for transfers to finish 2025/03/26 04:17:16 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/03/26 04:17:16 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/03/26 04:17:16 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/03/26 04:17:16 INFO : filtersfile2.txt: Copied (new) 2025/03/26 04:17:16 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/03/26 04:17:16 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/03/26 04:17:16 INFO : hold.txt: Copied (new) 2025/03/26 04:17:16 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/03/26 04:17:16 INFO : filtersfile.txt: Copied (new) 2025/03/26 04:17:17 NOTICE: checking initFs Local file system at /tmp/041713po/initdir/test_filtersfile_checks-vinuwut0 2025/03/26 04:17:17 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/26 04:17:17 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:17 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:17 INFO : subdir: Making directory 2025/03/26 04:17:17 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:17 DEBUG : GCS bucket rclone-test-wuzidef4wulo path 041713po/filtersfile_checks/path1: Waiting for checks to finish 2025/03/26 04:17:17 DEBUG : GCS bucket rclone-test-wuzidef4wulo path 041713po/filtersfile_checks/path1: Waiting for transfers to finish 2025/03/26 04:17:17 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/26 04:17:17 INFO : RCLONE_TEST: Copied (new) 2025/03/26 04:17:17 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:17 INFO : subdir/file20.txt: Copied (new) 2025/03/26 04:17:17 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:17 INFO : file2.txt: Copied (new) 2025/03/26 04:17:17 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:17 INFO : file1.txt: Copied (new) 2025/03/26 04:17:17 NOTICE: checking Path1 GCS bucket rclone-test-wuzidef4wulo path 041713po/filtersfile_checks/path1 2025/03/26 04:17:17 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/26 04:17:17 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:17 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:17 INFO : subdir: Making directory 2025/03/26 04:17:17 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/26 04:17:17 DEBUG : GCS bucket rclone-test-wuzidef4wulo path 041713po/filtersfile_checks/path2: Waiting for checks to finish 2025/03/26 04:17:17 DEBUG : GCS bucket rclone-test-wuzidef4wulo path 041713po/filtersfile_checks/path2: Waiting for transfers to finish 2025/03/26 04:17:18 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:18 INFO : file1.txt: Copied (new) 2025/03/26 04:17:18 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:18 INFO : file2.txt: Copied (new) 2025/03/26 04:17:18 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/26 04:17:18 INFO : subdir/file20.txt: Copied (new) 2025/03/26 04:17:18 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/26 04:17:18 INFO : RCLONE_TEST: Copied (new) 2025/03/26 04:17:18 NOTICE: checking path2 GCS bucket rclone-test-wuzidef4wulo path 041713po/filtersfile_checks/path2 2025/03/26 04:17:18 NOTICE: (01) : test filtersfile-checks 2025/03/26 04:17:18 NOTICE: (02) : test initial bisync 2025/03/26 04:17:18 NOTICE: (03) : bisync resync 2025/03/26 04:17:19 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:19 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/03/26 04:17:19 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:19 INFO : Copying Path2 files to Path1 2025/03/26 04:17:19 INFO : - Path2 Resync is copying files to - Path1 2025/03/26 04:17:20 INFO : - Path1 Resync is copying files to - Path2 2025/03/26 04:17:20 INFO : Resync updating listings 2025/03/26 04:17:20 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:20 INFO : Bisync successful 2025/03/26 04:17:20 NOTICE: (04) : test 1. inject filters file in workdir. 2025/03/26 04:17:20 NOTICE: (05) : copy-file /tmp/041713po/datadir/test_filtersfile_checks-cigoroj4/filtersfile.txt /tmp/041713po/workdir/ 2025/03/26 04:17:20 INFO : filtersfile.txt: Copied (new) 2025/03/26 04:17:20 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/03/26 04:17:20 NOTICE: (07) : bisync filters-file=/tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:21 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:21 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/03/26 04:17:21 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:21 INFO : Using filters file /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:21 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:21 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:21 NOTICE: Bisync error: bisync aborted 2025/03/26 04:17:21 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/03/26 04:17:21 NOTICE: (09) : bisync 2025/03/26 04:17:23 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17: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/03/26 04:17:23 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:23 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/041713po/workdir/TestGoogleCloudStorage_rclone-test-wuzidef4wulo_041713po_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-wuzidef4wulo_041713po_filtersfile_checks_path2.path1.lst Path2: /tmp/041713po/workdir/TestGoogleCloudStorage_rclone-test-wuzidef4wulo_041713po_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-wuzidef4wulo_041713po_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/041713po/workdir" 2025/03/26 04:17:23 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:23 NOTICE: Bisync error: bisync aborted 2025/03/26 04:17:23 NOTICE: (10) : test 4. run with filters-file and resync. 2025/03/26 04:17:23 NOTICE: (11) : bisync filters-file=/tmp/041713po/workdir/filtersfile.txt resync 2025/03/26 04:17:24 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:24 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/03/26 04:17:24 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:24 INFO : Using filters file /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:24 INFO : Storing filters file hash to /tmp/041713po/workdir/filtersfile.txt.md5 2025/03/26 04:17:24 INFO : Copying Path2 files to Path1 2025/03/26 04:17:24 INFO : - Path2 Resync is copying files to - Path1 2025/03/26 04:17:24 INFO : - Path1 Resync is copying files to - Path2 2025/03/26 04:17:25 INFO : Resync updating listings 2025/03/26 04:17:25 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:25 INFO : Bisync successful 2025/03/26 04:17:25 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/03/26 04:17:25 NOTICE: (13) : bisync filters-file=/tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17: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/03/26 04:17:26 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:26 INFO : Using filters file /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:26 INFO : Building Path1 and Path2 listings 2025/03/26 04:17:27 INFO : Path1 checking for diffs 2025/03/26 04:17:27 INFO : Path2 checking for diffs 2025/03/26 04:17:27 INFO : No changes found 2025/03/26 04:17:27 INFO : Updating listings 2025/03/26 04:17:27 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:27 INFO : Bisync successful 2025/03/26 04:17:27 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/03/26 04:17:27 NOTICE: (15) : copy-as /tmp/041713po/datadir/test_filtersfile_checks-cigoroj4/filtersfile2.txt /tmp/041713po/workdir/ filtersfile.txt 2025/03/26 04:17:27 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/03/26 04:17:27 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/03/26 04:17:27 NOTICE: (17) : bisync filters-file=/tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17: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/03/26 04:17:28 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:28 INFO : Using filters file /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:28 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:28 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:28 NOTICE: Bisync error: bisync aborted 2025/03/26 04:17:28 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/03/26 04:17:28 NOTICE: (19) : bisync filters-file=/tmp/041713po/workdir/filtersfile.txt resync dry-run 2025/03/26 04:17:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17:29 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/03/26 04:17:29 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:29 INFO : Using filters file /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:29 INFO : Skipped storing filters file hash to /tmp/041713po/workdir/filtersfile.txt.md5 as --dry-run is set 2025/03/26 04:17:29 INFO : Copying Path2 files to Path1 2025/03/26 04:17:29 NOTICE: - Path2 Resync is copying files to - Path1 2025/03/26 04:17:30 NOTICE: - Path1 Resync is copying files to - Path2 2025/03/26 04:17:30 INFO : Resync updating listings 2025/03/26 04:17:30 INFO : Bisync successful 2025/03/26 04:17:30 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/03/26 04:17:30 NOTICE: (21) : bisync filters-file=/tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:31 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/26 04:17: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/03/26 04:17:31 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-wuzidef4wulo/041713po/filtersfile_checks/path2/" 2025/03/26 04:17:31 INFO : Using filters file /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:31 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041713po/workdir/filtersfile.txt 2025/03/26 04:17:31 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/26 04:17:31 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED 2025/03/26 04:17:32 DEBUG : GCS bucket rclone-test-wuzidef4wulo: Purge dir "" --- PASS: TestBisyncRemoteRemote (20.35s) --- PASS: TestBisyncRemoteRemote/filtersfile_checks (19.16s) PASS 2025/03/26 04:17:33 DEBUG : GCS bucket rclone-test-foberaj5hune: Purge dir "" 2025/03/26 04:17:34 NOTICE: purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2025/03/26 04:17:34 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Finished OK in 35.080173868s (try 5/5)