"./bisync.test -test.v -test.timeout 1h0m0s -remote TestS3GCS: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$'" - Starting (try 3/5) === RUN TestBisyncLocalRemote 2025/05/27 05:47:30 NOTICE: remote: TestS3GCS:rclone-test-ceqefap7kohu === RUN TestBisyncLocalRemote/filtersfile_checks 2025/05/27 05:47:33 ERROR : error listing: directory not found 2025/05/27 05:47:33 NOTICE: checking initFs Local file system at /tmp/054730re/initdir/test_filtersfile_checks-cogoqiv4 2025/05/27 05:47:33 NOTICE: checking Path1 Local file system at /tmp/054730re/filtersfile_checks/path1 2025/05/27 05:47:34 NOTICE: checking path2 S3 bucket rclone-test-ceqefap7kohu path 054730re/filtersfile_checks/path2 2025/05/27 05:47:34 NOTICE: (01) : test filtersfile-checks 2025/05/27 05:47:34 NOTICE: (02) : test initial bisync 2025/05/27 05:47:34 NOTICE: (03) : bisync resync 2025/05/27 05:47:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47: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/05/27 05:47:36 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:36 INFO : Copying Path2 files to Path1 2025/05/27 05:47:36 INFO : - Path2 Resync is copying files to - Path1 2025/05/27 05:47:37 INFO : - Path1 Resync is copying files to - Path2 2025/05/27 05:47:37 INFO : Resync updating listings 2025/05/27 05:47:37 INFO : Validating listings for Path1 "/tmp/054730re/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:37 INFO : Bisync successful 2025/05/27 05:47:37 NOTICE: (04) : test 1. inject filters file in workdir. 2025/05/27 05:47:37 NOTICE: (05) : copy-file /tmp/054730re/datadir/test_filtersfile_checks-pipikaj4/filtersfile.txt /tmp/054730re/workdir/ 2025/05/27 05:47:37 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/05/27 05:47:37 NOTICE: (07) : bisync filters-file=/tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:38 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47: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/05/27 05:47:38 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:38 INFO : Using filters file /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:38 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:38 ERROR : Bisync aborted. Must run --resync to recover. 2025/05/27 05:47:38 NOTICE: Bisync error: bisync aborted 2025/05/27 05:47:38 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/05/27 05:47:38 NOTICE: (09) : bisync 2025/05/27 05:47:40 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47:40 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/27 05:47:40 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:40 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/054730re/workdir/tmp_054730re_filtersfile_checks_path1..TestS3GCS_rclone-test-ceqefap7kohu_054730re_filtersfile_checks_path2.path1.lst Path2: /tmp/054730re/workdir/tmp_054730re_filtersfile_checks_path1..TestS3GCS_rclone-test-ceqefap7kohu_054730re_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/054730re/workdir" 2025/05/27 05:47:40 ERROR : Bisync aborted. Must run --resync to recover. 2025/05/27 05:47:40 NOTICE: Bisync error: bisync aborted 2025/05/27 05:47:40 NOTICE: (10) : test 4. run with filters-file and resync. 2025/05/27 05:47:40 NOTICE: (11) : bisync filters-file=/tmp/054730re/workdir/filtersfile.txt resync 2025/05/27 05:47:41 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47: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/05/27 05:47:41 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:41 INFO : Using filters file /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:41 INFO : Storing filters file hash to /tmp/054730re/workdir/filtersfile.txt.md5 2025/05/27 05:47:41 INFO : Copying Path2 files to Path1 2025/05/27 05:47:41 INFO : - Path2 Resync is copying files to - Path1 2025/05/27 05:47:42 INFO : - Path1 Resync is copying files to - Path2 2025/05/27 05:47:42 INFO : Resync updating listings 2025/05/27 05:47:42 INFO : Validating listings for Path1 "/tmp/054730re/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:42 INFO : Bisync successful 2025/05/27 05:47:42 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/05/27 05:47:42 NOTICE: (13) : bisync filters-file=/tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:44 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47:44 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/27 05:47:44 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:44 INFO : Using filters file /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:44 INFO : Building Path1 and Path2 listings 2025/05/27 05:47:45 INFO : Path1 checking for diffs 2025/05/27 05:47:45 INFO : Path2 checking for diffs 2025/05/27 05:47:45 INFO : No changes found 2025/05/27 05:47:45 INFO : Updating listings 2025/05/27 05:47:45 INFO : Validating listings for Path1 "/tmp/054730re/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:45 INFO : Bisync successful 2025/05/27 05:47:45 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/05/27 05:47:45 NOTICE: (15) : copy-as /tmp/054730re/datadir/test_filtersfile_checks-pipikaj4/filtersfile2.txt /tmp/054730re/workdir/ filtersfile.txt 2025/05/27 05:47:45 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/05/27 05:47:45 NOTICE: (17) : bisync filters-file=/tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:46 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47:46 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/27 05:47:46 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:46 INFO : Using filters file /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:46 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:46 ERROR : Bisync aborted. Must run --resync to recover. 2025/05/27 05:47:46 NOTICE: Bisync error: bisync aborted 2025/05/27 05:47:46 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/05/27 05:47:46 NOTICE: (19) : bisync filters-file=/tmp/054730re/workdir/filtersfile.txt resync dry-run 2025/05/27 05:47:47 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47:47 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/27 05:47:47 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:47 INFO : Using filters file /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:47 INFO : Skipped storing filters file hash to /tmp/054730re/workdir/filtersfile.txt.md5 as --dry-run is set 2025/05/27 05:47:47 INFO : Copying Path2 files to Path1 2025/05/27 05:47:47 NOTICE: - Path2 Resync is copying files to - Path1 2025/05/27 05:47:48 NOTICE: - Path1 Resync is copying files to - Path2 2025/05/27 05:47:48 INFO : Resync updating listings 2025/05/27 05:47:48 INFO : Bisync successful 2025/05/27 05:47:48 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/05/27 05:47:48 NOTICE: (21) : bisync filters-file=/tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:50 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/27 05:47:50 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/27 05:47:50 INFO : Synching Path1 "/tmp/054730re/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-ceqefap7kohu/054730re/filtersfile_checks/path2/" 2025/05/27 05:47:50 INFO : Using filters file /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:50 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/054730re/workdir/filtersfile.txt 2025/05/27 05:47:50 ERROR : Bisync aborted. Must run --resync to recover. 2025/05/27 05:47:50 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED --- PASS: TestBisyncLocalRemote (21.30s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (20.25s) PASS 2025/05/27 05:47:52 ERROR : S3 bucket rclone-test-ticebup7duze: Failed to read versioning status, assuming unversioned: operation error S3: GetBucketVersioning, https response error StatusCode: 404, RequestID: , HostID: , api error NoSuchBucket: The specified bucket does not exist. 2025/05/27 05:47:52 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestS3GCS: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$'" - Finished OK in 22.599661409s (try 3/5)