"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncRemoteLocal$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Starting (try 4/5) 2025/01/24 05:51:00 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-vilageq4bavu" 2025/01/24 05:51:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/24 05:51:00 DEBUG : Creating backend with remote "/tmp/rclone1887546646" === RUN TestBisyncRemoteLocal 2025/01/24 05:51:00 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi" 2025/01/24 05:51:00 NOTICE: remote: TestGoogleCloudStorage:rclone-test-cuyonuk3cogi === RUN TestBisyncRemoteLocal/filtersfile_checks 2025/01/24 05:51:00 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu" 2025/01/24 05:51:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/24 05:51:00 INFO : path1: Making directory 2025/01/24 05:51:01 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1" 2025/01/24 05:51:02 DEBUG : Creating backend with remote "/tmp/055100wu" 2025/01/24 05:51:02 DEBUG : Creating backend with remote "/tmp/055100wu/filtersfile_checks/path2" 2025/01/24 05:51:02 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2025/01/24 05:51:02 DEBUG : Creating backend with remote "/tmp/055100wu/initdir/test_filtersfile_checks-dexakav0" 2025/01/24 05:51:02 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : subdir: Making directory with metadata 2025/01/24 05:51:02 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/24 05:51:02 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/24 05:51:02 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:02 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/24 05:51:02 INFO : file1.txt: Copied (new) 2025/01/24 05:51:02 DEBUG : Local file system at /tmp/055100wu/initdir/test_filtersfile_checks-dexakav0: Waiting for checks to finish 2025/01/24 05:51:02 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:02 DEBUG : Local file system at /tmp/055100wu/initdir/test_filtersfile_checks-dexakav0: Waiting for transfers to finish 2025/01/24 05:51:02 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:02 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/24 05:51:02 INFO : file2.txt: Copied (new) 2025/01/24 05:51:02 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/24 05:51:02 INFO : subdir/file20.txt: Copied (new) 2025/01/24 05:51:02 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/24 05:51:02 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/24 05:51:02 INFO : RCLONE_TEST: Copied (new) 2025/01/24 05:51:02 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:02 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2025/01/24 05:51:02 DEBUG : Creating backend with remote "/tmp/055100wu/datadir/test_filtersfile_checks-gehuyop8" 2025/01/24 05:51:02 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/01/24 05:51:02 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/01/24 05:51:02 INFO : filtersfile.txt: Copied (new) 2025/01/24 05:51:02 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/24 05:51:02 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/24 05:51:02 INFO : hold.txt: Copied (new) 2025/01/24 05:51:02 DEBUG : Local file system at /tmp/055100wu/datadir/test_filtersfile_checks-gehuyop8: Waiting for checks to finish 2025/01/24 05:51:02 DEBUG : Local file system at /tmp/055100wu/datadir/test_filtersfile_checks-gehuyop8: Waiting for transfers to finish 2025/01/24 05:51:02 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/01/24 05:51:02 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/01/24 05:51:02 INFO : filtersfile2.txt: Copied (new) 2025/01/24 05:51:02 ERROR : : error listing: directory not found 2025/01/24 05:51:02 NOTICE: checking initFs Local file system at /tmp/055100wu/initdir/test_filtersfile_checks-dexakav0 2025/01/24 05:51:02 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 INFO : subdir: Making directory 2025/01/24 05:51:02 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:02 DEBUG : GCS bucket rclone-test-cuyonuk3cogi path 055100wu/filtersfile_checks/path1: Waiting for checks to finish 2025/01/24 05:51:02 DEBUG : GCS bucket rclone-test-cuyonuk3cogi path 055100wu/filtersfile_checks/path1: Waiting for transfers to finish 2025/01/24 05:51:03 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:03 INFO : subdir/file20.txt: Copied (new) 2025/01/24 05:51:03 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/24 05:51:03 INFO : RCLONE_TEST: Copied (new) 2025/01/24 05:51:03 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:03 INFO : file2.txt: Copied (new) 2025/01/24 05:51:03 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:03 INFO : file1.txt: Copied (new) 2025/01/24 05:51:03 NOTICE: checking Path1 GCS bucket rclone-test-cuyonuk3cogi path 055100wu/filtersfile_checks/path1 2025/01/24 05:51:03 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/24 05:51:03 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:03 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:03 DEBUG : subdir: Making directory with metadata 2025/01/24 05:51:03 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/24 05:51:03 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/24 05:51:03 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:03 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:03 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:03 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/24 05:51:03 INFO : file1.txt: Copied (new) 2025/01/24 05:51:03 DEBUG : Local file system at /tmp/055100wu/filtersfile_checks/path2: Waiting for checks to finish 2025/01/24 05:51:03 DEBUG : Local file system at /tmp/055100wu/filtersfile_checks/path2: Waiting for transfers to finish 2025/01/24 05:51:03 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/24 05:51:03 INFO : file2.txt: Copied (new) 2025/01/24 05:51:03 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:03 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/24 05:51:03 INFO : subdir/file20.txt: Copied (new) 2025/01/24 05:51:03 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/24 05:51:03 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/24 05:51:03 INFO : RCLONE_TEST: Copied (new) 2025/01/24 05:51:03 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:03 NOTICE: checking path2 Local file system at /tmp/055100wu/filtersfile_checks/path2 2025/01/24 05:51:03 NOTICE: (01) : test filtersfile-checks 2025/01/24 05:51:03 NOTICE: (02) : test initial bisync 2025/01/24 05:51:03 NOTICE: (03) : bisync resync 2025/01/24 05:51:04 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/24 05:51:04 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:04 INFO : Copying Path2 files to Path1 2025/01/24 05:51:04 INFO : - Path2 Resync is copying files to - Path1 2025/01/24 05:51:04 INFO : - Path1 Resync is copying files to - Path2 2025/01/24 05:51:04 INFO : Resync updating listings 2025/01/24 05:51:04 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" vs Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:04 INFO : Bisync successful 2025/01/24 05:51:04 NOTICE: (04) : test 1. inject filters file in workdir. 2025/01/24 05:51:04 NOTICE: (05) : copy-file /tmp/055100wu/datadir/test_filtersfile_checks-gehuyop8/filtersfile.txt /tmp/055100wu/workdir/ 2025/01/24 05:51:04 INFO : filtersfile.txt: Copied (new) 2025/01/24 05:51:04 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/01/24 05:51:04 NOTICE: (07) : bisync filters-file=/tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:05 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/01/24 05:51:05 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:05 INFO : Using filters file /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:05 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:05 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:05 NOTICE: Bisync error: bisync aborted 2025/01/24 05:51:05 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/01/24 05:51:05 NOTICE: (09) : bisync 2025/01/24 05:51:06 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:06 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/01/24 05:51:06 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51: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/055100wu/workdir/TestGoogleCloudStorage_rclone-test-cuyonuk3cogi_055100wu_filtersfile_checks_path1..tmp_055100wu_filtersfile_checks_path2.path1.lst Path2: /tmp/055100wu/workdir/TestGoogleCloudStorage_rclone-test-cuyonuk3cogi_055100wu_filtersfile_checks_path1..tmp_055100wu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/055100wu/workdir" 2025/01/24 05:51:06 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:06 NOTICE: Bisync error: bisync aborted 2025/01/24 05:51:06 NOTICE: (10) : test 4. run with filters-file and resync. 2025/01/24 05:51:06 NOTICE: (11) : bisync filters-file=/tmp/055100wu/workdir/filtersfile.txt resync 2025/01/24 05:51:07 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/01/24 05:51:07 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:07 INFO : Using filters file /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:07 INFO : Storing filters file hash to /tmp/055100wu/workdir/filtersfile.txt.md5 2025/01/24 05:51:07 INFO : Copying Path2 files to Path1 2025/01/24 05:51:07 INFO : - Path2 Resync is copying files to - Path1 2025/01/24 05:51:07 INFO : - Path1 Resync is copying files to - Path2 2025/01/24 05:51:07 INFO : Resync updating listings 2025/01/24 05:51:07 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" vs Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:07 INFO : Bisync successful 2025/01/24 05:51:07 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/01/24 05:51:07 NOTICE: (13) : bisync filters-file=/tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:08 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/01/24 05:51:08 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:08 INFO : Using filters file /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:08 INFO : Building Path1 and Path2 listings 2025/01/24 05:51:08 INFO : Path1 checking for diffs 2025/01/24 05:51:08 INFO : Path2 checking for diffs 2025/01/24 05:51:08 INFO : No changes found 2025/01/24 05:51:08 INFO : Updating listings 2025/01/24 05:51:08 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" vs Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:08 INFO : Bisync successful 2025/01/24 05:51:08 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/01/24 05:51:08 NOTICE: (15) : copy-as /tmp/055100wu/datadir/test_filtersfile_checks-gehuyop8/filtersfile2.txt /tmp/055100wu/workdir/ filtersfile.txt 2025/01/24 05:51:08 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/01/24 05:51:08 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/01/24 05:51:08 NOTICE: (17) : bisync filters-file=/tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:09 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:09 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/01/24 05:51:09 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:09 INFO : Using filters file /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:09 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:09 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:09 NOTICE: Bisync error: bisync aborted 2025/01/24 05:51: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/01/24 05:51:09 NOTICE: (19) : bisync filters-file=/tmp/055100wu/workdir/filtersfile.txt resync dry-run 2025/01/24 05:51:10 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/01/24 05:51:10 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:10 INFO : Using filters file /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:10 INFO : Skipped storing filters file hash to /tmp/055100wu/workdir/filtersfile.txt.md5 as --dry-run is set 2025/01/24 05:51:10 INFO : Copying Path2 files to Path1 2025/01/24 05:51:10 NOTICE: - Path2 Resync is copying files to - Path1 2025/01/24 05:51:10 NOTICE: - Path1 Resync is copying files to - Path2 2025/01/24 05:51:10 INFO : Resync updating listings 2025/01/24 05:51:10 INFO : Bisync successful 2025/01/24 05:51:10 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/01/24 05:51:10 NOTICE: (21) : bisync filters-file=/tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:11 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:11 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51:11 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/24 05:51:11 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-cuyonuk3cogi/055100wu/filtersfile_checks/path1/" with Path2 "/tmp/055100wu/filtersfile_checks/path2/" 2025/01/24 05:51:11 INFO : Using filters file /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:11 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/055100wu/workdir/filtersfile.txt 2025/01/24 05:51:11 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:11 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2025/01/24 05:51:12 DEBUG : GCS bucket rclone-test-cuyonuk3cogi: Purge dir "" --- PASS: TestBisyncRemoteLocal (12.40s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (11.72s) === RUN TestBisyncRemoteRemote 2025/01/24 05:51:12 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-qusefop5fevu" 2025/01/24 05:51:12 NOTICE: remote: TestGoogleCloudStorage:rclone-test-qusefop5fevu === RUN TestBisyncRemoteRemote/filtersfile_checks 2025/01/24 05:51:12 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no" 2025/01/24 05:51:12 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/24 05:51:12 INFO : path1: Making directory 2025/01/24 05:51:14 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1" 2025/01/24 05:51:14 INFO : path2: Making directory 2025/01/24 05:51:14 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2" 2025/01/24 05:51:15 DEBUG : Creating backend with remote "/tmp/055112no/initdir/test_filtersfile_checks-samomob6" 2025/01/24 05:51:15 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/24 05:51:15 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:15 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:15 DEBUG : subdir: Making directory with metadata 2025/01/24 05:51:15 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/24 05:51:15 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/24 05:51:15 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:15 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:15 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:15 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/24 05:51:15 INFO : file2.txt: Copied (new) 2025/01/24 05:51:15 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/24 05:51:15 INFO : file1.txt: Copied (new) 2025/01/24 05:51:15 DEBUG : Local file system at /tmp/055112no/initdir/test_filtersfile_checks-samomob6: Waiting for checks to finish 2025/01/24 05:51:15 DEBUG : Local file system at /tmp/055112no/initdir/test_filtersfile_checks-samomob6: Waiting for transfers to finish 2025/01/24 05:51:15 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:15 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/24 05:51:15 INFO : subdir/file20.txt: Copied (new) 2025/01/24 05:51:15 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/24 05:51:15 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/24 05:51:15 INFO : RCLONE_TEST: Copied (new) 2025/01/24 05:51:15 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/24 05:51:15 DEBUG : Creating backend with remote "/tmp/055112no/datadir/test_filtersfile_checks-cizegub1" 2025/01/24 05:51:15 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:15 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:15 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:15 DEBUG : Local file system at /tmp/055112no/datadir/test_filtersfile_checks-cizegub1: Waiting for checks to finish 2025/01/24 05:51:15 DEBUG : Local file system at /tmp/055112no/datadir/test_filtersfile_checks-cizegub1: Waiting for transfers to finish 2025/01/24 05:51:15 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/01/24 05:51:15 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/01/24 05:51:15 INFO : filtersfile.txt: Copied (new) 2025/01/24 05:51:15 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/01/24 05:51:15 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/24 05:51:15 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/01/24 05:51:15 INFO : filtersfile2.txt: Copied (new) 2025/01/24 05:51:15 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/24 05:51:15 INFO : hold.txt: Copied (new) 2025/01/24 05:51:16 NOTICE: checking initFs Local file system at /tmp/055112no/initdir/test_filtersfile_checks-samomob6 2025/01/24 05:51:16 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/24 05:51:16 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:16 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:16 INFO : subdir: Making directory 2025/01/24 05:51:16 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:16 DEBUG : GCS bucket rclone-test-qusefop5fevu path 055112no/filtersfile_checks/path1: Waiting for checks to finish 2025/01/24 05:51:16 DEBUG : GCS bucket rclone-test-qusefop5fevu path 055112no/filtersfile_checks/path1: Waiting for transfers to finish 2025/01/24 05:51:16 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/24 05:51:16 INFO : RCLONE_TEST: Copied (new) 2025/01/24 05:51:16 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:16 INFO : file1.txt: Copied (new) 2025/01/24 05:51:16 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:16 INFO : file2.txt: Copied (new) 2025/01/24 05:51:16 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:16 INFO : subdir/file20.txt: Copied (new) 2025/01/24 05:51:16 NOTICE: checking Path1 GCS bucket rclone-test-qusefop5fevu path 055112no/filtersfile_checks/path1 2025/01/24 05:51:16 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/24 05:51:16 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:16 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:16 INFO : subdir: Making directory 2025/01/24 05:51:16 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/24 05:51:16 DEBUG : GCS bucket rclone-test-qusefop5fevu path 055112no/filtersfile_checks/path2: Waiting for checks to finish 2025/01/24 05:51:16 DEBUG : GCS bucket rclone-test-qusefop5fevu path 055112no/filtersfile_checks/path2: Waiting for transfers to finish 2025/01/24 05:51:17 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:17 INFO : file1.txt: Copied (new) 2025/01/24 05:51:17 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:17 INFO : file2.txt: Copied (new) 2025/01/24 05:51:17 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/24 05:51:17 INFO : RCLONE_TEST: Copied (new) 2025/01/24 05:51:17 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/24 05:51:17 INFO : subdir/file20.txt: Copied (new) 2025/01/24 05:51:17 NOTICE: checking path2 GCS bucket rclone-test-qusefop5fevu path 055112no/filtersfile_checks/path2 2025/01/24 05:51:17 NOTICE: (01) : test filtersfile-checks 2025/01/24 05:51:17 NOTICE: (02) : test initial bisync 2025/01/24 05:51:17 NOTICE: (03) : bisync resync 2025/01/24 05:51:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/24 05:51:18 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:18 INFO : Copying Path2 files to Path1 2025/01/24 05:51:18 INFO : - Path2 Resync is copying files to - Path1 2025/01/24 05:51:18 INFO : - Path1 Resync is copying files to - Path2 2025/01/24 05:51:19 INFO : Resync updating listings 2025/01/24 05:51:19 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:19 INFO : Bisync successful 2025/01/24 05:51:19 NOTICE: (04) : test 1. inject filters file in workdir. 2025/01/24 05:51:19 NOTICE: (05) : copy-file /tmp/055112no/datadir/test_filtersfile_checks-cizegub1/filtersfile.txt /tmp/055112no/workdir/ 2025/01/24 05:51:19 INFO : filtersfile.txt: Copied (new) 2025/01/24 05:51:19 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/01/24 05:51:19 NOTICE: (07) : bisync filters-file=/tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:20 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51:20 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/24 05:51:20 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:20 INFO : Using filters file /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:20 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:20 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:20 NOTICE: Bisync error: bisync aborted 2025/01/24 05:51:20 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/01/24 05:51:20 NOTICE: (09) : bisync 2025/01/24 05:51:22 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51:22 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/24 05:51:22 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:22 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/055112no/workdir/TestGoogleCloudStorage_rclone-test-qusefop5fevu_055112no_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-qusefop5fevu_055112no_filtersfile_checks_path2.path1.lst Path2: /tmp/055112no/workdir/TestGoogleCloudStorage_rclone-test-qusefop5fevu_055112no_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-qusefop5fevu_055112no_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/055112no/workdir" 2025/01/24 05:51:22 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:22 NOTICE: Bisync error: bisync aborted 2025/01/24 05:51:22 NOTICE: (10) : test 4. run with filters-file and resync. 2025/01/24 05:51:22 NOTICE: (11) : bisync filters-file=/tmp/055112no/workdir/filtersfile.txt resync 2025/01/24 05:51:23 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/24 05:51:23 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:23 INFO : Using filters file /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:23 INFO : Storing filters file hash to /tmp/055112no/workdir/filtersfile.txt.md5 2025/01/24 05:51:23 INFO : Copying Path2 files to Path1 2025/01/24 05:51:23 INFO : - Path2 Resync is copying files to - Path1 2025/01/24 05:51:23 INFO : - Path1 Resync is copying files to - Path2 2025/01/24 05:51:23 INFO : Resync updating listings 2025/01/24 05:51:23 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:23 INFO : Bisync successful 2025/01/24 05:51:23 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/01/24 05:51:23 NOTICE: (13) : bisync filters-file=/tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/24 05:51:25 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:25 INFO : Using filters file /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:25 INFO : Building Path1 and Path2 listings 2025/01/24 05:51:25 INFO : Path1 checking for diffs 2025/01/24 05:51:25 INFO : Path2 checking for diffs 2025/01/24 05:51:25 INFO : No changes found 2025/01/24 05:51:25 INFO : Updating listings 2025/01/24 05:51:25 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:25 INFO : Bisync successful 2025/01/24 05:51:25 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/01/24 05:51:25 NOTICE: (15) : copy-as /tmp/055112no/datadir/test_filtersfile_checks-cizegub1/filtersfile2.txt /tmp/055112no/workdir/ filtersfile.txt 2025/01/24 05:51:25 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/01/24 05:51:25 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/01/24 05:51:25 NOTICE: (17) : bisync filters-file=/tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:27 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51:27 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/24 05:51:27 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:27 INFO : Using filters file /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:27 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:27 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:27 NOTICE: Bisync error: bisync aborted 2025/01/24 05:51:27 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/24 05:51:27 NOTICE: (19) : bisync filters-file=/tmp/055112no/workdir/filtersfile.txt resync dry-run 2025/01/24 05:51:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/24 05:51:28 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:28 INFO : Using filters file /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:28 INFO : Skipped storing filters file hash to /tmp/055112no/workdir/filtersfile.txt.md5 as --dry-run is set 2025/01/24 05:51:28 INFO : Copying Path2 files to Path1 2025/01/24 05:51:28 NOTICE: - Path2 Resync is copying files to - Path1 2025/01/24 05:51:28 NOTICE: - Path1 Resync is copying files to - Path2 2025/01/24 05:51:28 INFO : Resync updating listings 2025/01/24 05:51:28 INFO : Bisync successful 2025/01/24 05:51:28 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/01/24 05:51:28 NOTICE: (21) : bisync filters-file=/tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:30 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/24 05:51: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/24 05:51:30 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qusefop5fevu/055112no/filtersfile_checks/path2/" 2025/01/24 05:51:30 INFO : Using filters file /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:30 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/055112no/workdir/filtersfile.txt 2025/01/24 05:51:30 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/24 05:51:30 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2025/01/24 05:51:31 DEBUG : GCS bucket rclone-test-qusefop5fevu: Purge dir "" --- PASS: TestBisyncRemoteRemote (19.18s) --- PASS: TestBisyncRemoteRemote/filtersfile_checks (18.42s) PASS 2025/01/24 05:51:31 DEBUG : GCS bucket rclone-test-vilageq4bavu: Purge dir "" 2025/01/24 05:51:32 NOTICE: purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2025/01/24 05:51:32 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncRemoteLocal$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Finished OK in 32.405198753s (try 4/5)