"./bisync.test -test.v -test.timeout 1h0m0s -remote TestS3GCS: -verbose -test.run '^TestBisyncLocalRemote$/^(check_sync|filtersfile_checks)$|^TestBisyncRemoteLocal$/^filtersfile_checks$'" - Starting (try 2/5) === RUN TestBisyncRemoteLocal 2025/06/13 05:21:17 NOTICE: remote: TestS3GCS:rclone-test-redamap3bume === RUN TestBisyncRemoteLocal/filtersfile_checks 2025/06/13 05:21:20 ERROR : error listing: directory not found 2025/06/13 05:21:20 NOTICE: checking initFs Local file system at /tmp/052117wu/initdir/test_filtersfile_checks-duriwas3 2025/06/13 05:21:22 NOTICE: checking Path1 S3 bucket rclone-test-redamap3bume path 052117wu/filtersfile_checks/path1 2025/06/13 05:21:22 NOTICE: checking path2 Local file system at /tmp/052117wu/filtersfile_checks/path2 2025/06/13 05:21:22 NOTICE: (01) : test filtersfile-checks 2025/06/13 05:21:22 NOTICE: (02) : test initial bisync 2025/06/13 05:21:22 NOTICE: (03) : bisync resync 2025/06/13 05:21:24 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21:24 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:21:24 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:24 INFO : Copying Path2 files to Path1 2025/06/13 05:21:24 INFO : - Path2 Resync is copying files to - Path1 2025/06/13 05:21:25 INFO : - Path1 Resync is copying files to - Path2 2025/06/13 05:21:25 INFO : Resync updating listings 2025/06/13 05:21:25 INFO : Validating listings for Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" vs Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:25 INFO : Bisync successful 2025/06/13 05:21:25 NOTICE: (04) : test 1. inject filters file in workdir. 2025/06/13 05:21:25 NOTICE: (05) : copy-file /tmp/052117wu/datadir/test_filtersfile_checks-cuvurep1/filtersfile.txt /tmp/052117wu/workdir/ 2025/06/13 05:21:25 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/06/13 05:21:25 NOTICE: (07) : bisync filters-file=/tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:27 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21:27 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:21:27 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:27 INFO : Using filters file /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:27 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:27 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:21:27 NOTICE: Bisync error: bisync aborted 2025/06/13 05:21:27 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/06/13 05:21:27 NOTICE: (09) : bisync 2025/06/13 05:21:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21:28 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:21:28 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:28 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/052117wu/workdir/TestS3GCS_rclone-test-redamap3bume_052117wu_filtersfile_checks_path1..tmp_052117wu_filtersfile_checks_path2.path1.lst Path2: /tmp/052117wu/workdir/TestS3GCS_rclone-test-redamap3bume_052117wu_filtersfile_checks_path1..tmp_052117wu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/052117wu/workdir" 2025/06/13 05:21:28 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:21:28 NOTICE: Bisync error: bisync aborted 2025/06/13 05:21:28 NOTICE: (10) : test 4. run with filters-file and resync. 2025/06/13 05:21:28 NOTICE: (11) : bisync filters-file=/tmp/052117wu/workdir/filtersfile.txt resync 2025/06/13 05:21:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21:29 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:21:29 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:29 INFO : Using filters file /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:29 INFO : Storing filters file hash to /tmp/052117wu/workdir/filtersfile.txt.md5 2025/06/13 05:21:29 INFO : Copying Path2 files to Path1 2025/06/13 05:21:29 INFO : - Path2 Resync is copying files to - Path1 2025/06/13 05:21:30 INFO : - Path1 Resync is copying files to - Path2 2025/06/13 05:21:30 INFO : Resync updating listings 2025/06/13 05:21:30 INFO : Validating listings for Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" vs Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:30 INFO : Bisync successful 2025/06/13 05:21:30 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/06/13 05:21:30 NOTICE: (13) : bisync filters-file=/tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:32 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21:32 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:21:32 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:32 INFO : Using filters file /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:32 INFO : Building Path1 and Path2 listings 2025/06/13 05:21:33 INFO : Path1 checking for diffs 2025/06/13 05:21:33 INFO : Path2 checking for diffs 2025/06/13 05:21:33 INFO : No changes found 2025/06/13 05:21:33 INFO : Updating listings 2025/06/13 05:21:33 INFO : Validating listings for Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" vs Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:33 INFO : Bisync successful 2025/06/13 05:21:33 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/06/13 05:21:33 NOTICE: (15) : copy-as /tmp/052117wu/datadir/test_filtersfile_checks-cuvurep1/filtersfile2.txt /tmp/052117wu/workdir/ filtersfile.txt 2025/06/13 05:21:33 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/06/13 05:21:33 NOTICE: (17) : bisync filters-file=/tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:34 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21:34 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:21:34 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:34 INFO : Using filters file /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:34 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:34 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:21:34 NOTICE: Bisync error: bisync aborted 2025/06/13 05:21:34 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/06/13 05:21:34 NOTICE: (19) : bisync filters-file=/tmp/052117wu/workdir/filtersfile.txt resync dry-run 2025/06/13 05:21:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21: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/06/13 05:21:36 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:36 INFO : Using filters file /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:36 INFO : Skipped storing filters file hash to /tmp/052117wu/workdir/filtersfile.txt.md5 as --dry-run is set 2025/06/13 05:21:36 INFO : Copying Path2 files to Path1 2025/06/13 05:21:36 NOTICE: - Path2 Resync is copying files to - Path1 2025/06/13 05:21:36 NOTICE: - Path1 Resync is copying files to - Path2 2025/06/13 05:21:37 INFO : Resync updating listings 2025/06/13 05:21:37 INFO : Bisync successful 2025/06/13 05:21:37 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/06/13 05:21:37 NOTICE: (21) : bisync filters-file=/tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:39 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21: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/06/13 05:21:39 INFO : Synching Path1 "TestS3GCS:rclone-test-redamap3bume/052117wu/filtersfile_checks/path1/" with Path2 "/tmp/052117wu/filtersfile_checks/path2/" 2025/06/13 05:21:39 INFO : Using filters file /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:39 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/052117wu/workdir/filtersfile.txt 2025/06/13 05:21:39 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:21:39 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED --- PASS: TestBisyncRemoteLocal (23.26s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (22.07s) === RUN TestBisyncLocalRemote 2025/06/13 05:21:41 NOTICE: remote: TestS3GCS:rclone-test-teciyag5hoyu === RUN TestBisyncLocalRemote/check_sync 2025/06/13 05:21:44 ERROR : error listing: directory not found 2025/06/13 05:21:44 NOTICE: checking initFs Local file system at /tmp/052141ma/initdir/test_check_sync-sefeboj5 2025/06/13 05:21:44 NOTICE: checking Path1 Local file system at /tmp/052141ma/check_sync/path1 2025/06/13 05:21:47 NOTICE: checking path2 S3 bucket rclone-test-teciyag5hoyu path 052141ma/check_sync/path2 2025/06/13 05:21:50 NOTICE: (01) : test check-sync 2025/06/13 05:21:50 NOTICE: (02) : test initial bisync 2025/06/13 05:21:50 NOTICE: (03) : bisync resync 2025/06/13 05:21:52 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21: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/06/13 05:21:52 INFO : Synching Path1 "/tmp/052141ma/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:21:52 INFO : Copying Path2 files to Path1 2025/06/13 05:21:52 INFO : - Path2 Resync is copying files to - Path1 2025/06/13 05:21:54 INFO : - Path1 Resync is copying files to - Path2 2025/06/13 05:21:54 INFO : Resync updating listings 2025/06/13 05:21:54 INFO : Validating listings for Path1 "/tmp/052141ma/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:21:54 INFO : Bisync successful 2025/06/13 05:21:54 NOTICE: (04) : test 1. run check-sync-only on a clean sync 2025/06/13 05:21:54 NOTICE: (05) : bisync check-sync-only 2025/06/13 05:21:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21: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/06/13 05:21:56 INFO : Validating listings for Path1 "/tmp/052141ma/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:21:56 INFO : Bisync successful 2025/06/13 05:21:56 NOTICE: (06) : test 2. inject modified listings into the workdir 2025/06/13 05:21:56 NOTICE: (07) : copy-as /tmp/052141ma/datadir/test_check_sync-dowikoq0/_testdir_path1.._testdir_path2.path1.lst /tmp/052141ma/workdir/ tmp_052141ma_check_sync_path1..TestS3GCS_rclone-test-teciyag5hoyu_052141ma_check_sync_path2.path1.lst 2025/06/13 05:21:56 NOTICE: (08) : copy-as /tmp/052141ma/datadir/test_check_sync-dowikoq0/_testdir_path1.._testdir_path2.path2.lst /tmp/052141ma/workdir/ tmp_052141ma_check_sync_path1..TestS3GCS_rclone-test-teciyag5hoyu_052141ma_check_sync_path2.path2.lst 2025/06/13 05:21:56 NOTICE: (09) : test 3. run check-sync-only on modified listings 2025/06/13 05:21:56 NOTICE: (10) : bisync check-sync-only 2025/06/13 05:21:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21: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/06/13 05:21:57 INFO : Validating listings for Path1 "/tmp/052141ma/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:21:57 ERROR : -  Path1 file not found in Path2 - file2.txt 2025/06/13 05:21:57 ERROR : -  Path2 file not found in Path1 - file1.txt 2025/06/13 05:21:57 ERROR : Bisync critical error: path1 and path2 are out of sync, run --resync to recover 2025/06/13 05:21:57 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:21:57 NOTICE: Bisync error: bisync aborted 2025/06/13 05:21:57 NOTICE: (11) : copy-listings check-sync-only 2025/06/13 05:21:57 NOTICE: (12) : test 4. run normal sync to check that it aborts 2025/06/13 05:21:57 NOTICE: (13) : bisync 2025/06/13 05:21:58 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:21:58 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:21:58 INFO : Synching Path1 "/tmp/052141ma/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:21:58 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/052141ma/workdir/tmp_052141ma_check_sync_path1..TestS3GCS_rclone-test-teciyag5hoyu_052141ma_check_sync_path2.path1.lst Path2: /tmp/052141ma/workdir/tmp_052141ma_check_sync_path1..TestS3GCS_rclone-test-teciyag5hoyu_052141ma_check_sync_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/052141ma/workdir" 2025/06/13 05:21:58 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:21:58 NOTICE: Bisync error: bisync aborted 2025/06/13 05:21:58 NOTICE: (14) : test 5. prune failure listings after critical abort 2025/06/13 05:21:58 NOTICE: (15) : delete-glob /tmp/052141ma/workdir/ *.lst 2025/06/13 05:21:58 NOTICE: (16) : delete-glob /tmp/052141ma/workdir/ *.lst-err 2025/06/13 05:21:58 NOTICE: (17) : delete-glob /tmp/052141ma/workdir/ *.lst-new 2025/06/13 05:21:58 NOTICE: (18) : test 6. run resync 2025/06/13 05:21:58 NOTICE: (19) : bisync resync 2025/06/13 05:22:00 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:00 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:00 INFO : Synching Path1 "/tmp/052141ma/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:22:00 INFO : Copying Path2 files to Path1 2025/06/13 05:22:00 INFO : - Path2 Resync is copying files to - Path1 2025/06/13 05:22:02 INFO : - Path1 Resync is copying files to - Path2 2025/06/13 05:22:03 INFO : Resync updating listings 2025/06/13 05:22:03 INFO : Validating listings for Path1 "/tmp/052141ma/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:22:03 INFO : Bisync successful 2025/06/13 05:22:03 NOTICE: (20) : test 7. run normal sync with check-sync enabled (default) 2025/06/13 05:22:03 NOTICE: (21) : bisync 2025/06/13 05:22:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22: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/06/13 05:22:04 INFO : Synching Path1 "/tmp/052141ma/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:22:04 INFO : Building Path1 and Path2 listings 2025/06/13 05:22:07 INFO : Path1 checking for diffs 2025/06/13 05:22:07 INFO : Path2 checking for diffs 2025/06/13 05:22:07 INFO : No changes found 2025/06/13 05:22:07 INFO : Updating listings 2025/06/13 05:22:07 INFO : Validating listings for Path1 "/tmp/052141ma/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:22:07 INFO : Bisync successful 2025/06/13 05:22:07 NOTICE: (22) : test 8. run normal sync with no-check-sync 2025/06/13 05:22:07 NOTICE: (23) : bisync no-check-sync 2025/06/13 05:22:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22: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/06/13 05:22:08 INFO : Synching Path1 "/tmp/052141ma/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/check_sync/path2/" 2025/06/13 05:22:08 INFO : Building Path1 and Path2 listings 2025/06/13 05:22:10 INFO : Path1 checking for diffs 2025/06/13 05:22:10 INFO : Path2 checking for diffs 2025/06/13 05:22:10 INFO : No changes found 2025/06/13 05:22:10 INFO : Updating listings 2025/06/13 05:22:10 INFO : Bisync successful bisync_test.go:560: TEST check_sync PASSED === RUN TestBisyncLocalRemote/filtersfile_checks 2025/06/13 05:22:12 ERROR : error listing: directory not found 2025/06/13 05:22:12 NOTICE: checking initFs Local file system at /tmp/052141ma/initdir/test_filtersfile_checks-jipawag1 2025/06/13 05:22:12 NOTICE: checking Path1 Local file system at /tmp/052141ma/filtersfile_checks/path1 2025/06/13 05:22:13 NOTICE: checking path2 S3 bucket rclone-test-teciyag5hoyu path 052141ma/filtersfile_checks/path2 2025/06/13 05:22:13 NOTICE: (01) : test filtersfile-checks 2025/06/13 05:22:13 NOTICE: (02) : test initial bisync 2025/06/13 05:22:13 NOTICE: (03) : bisync resync 2025/06/13 05:22:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:15 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:15 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:15 INFO : Copying Path2 files to Path1 2025/06/13 05:22:15 INFO : - Path2 Resync is copying files to - Path1 2025/06/13 05:22:15 INFO : - Path1 Resync is copying files to - Path2 2025/06/13 05:22:16 INFO : Resync updating listings 2025/06/13 05:22:16 INFO : Validating listings for Path1 "/tmp/052141ma/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:16 INFO : Bisync successful 2025/06/13 05:22:16 NOTICE: (04) : test 1. inject filters file in workdir. 2025/06/13 05:22:16 NOTICE: (05) : copy-file /tmp/052141ma/datadir/test_filtersfile_checks-hodubiq0/filtersfile.txt /tmp/052141ma/workdir/ 2025/06/13 05:22:16 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/06/13 05:22:16 NOTICE: (07) : bisync filters-file=/tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:17 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:17 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:17 INFO : Using filters file /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:17 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:17 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:22:17 NOTICE: Bisync error: bisync aborted 2025/06/13 05:22:17 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/06/13 05:22:17 NOTICE: (09) : bisync 2025/06/13 05:22:19 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:19 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:19 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:19 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/052141ma/workdir/tmp_052141ma_filtersfile_checks_path1..TestS3GCS_rclone-test-teciyag5hoyu_052141ma_filtersfile_checks_path2.path1.lst Path2: /tmp/052141ma/workdir/tmp_052141ma_filtersfile_checks_path1..TestS3GCS_rclone-test-teciyag5hoyu_052141ma_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/052141ma/workdir" 2025/06/13 05:22:19 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:22:19 NOTICE: Bisync error: bisync aborted 2025/06/13 05:22:19 NOTICE: (10) : test 4. run with filters-file and resync. 2025/06/13 05:22:19 NOTICE: (11) : bisync filters-file=/tmp/052141ma/workdir/filtersfile.txt resync 2025/06/13 05:22:20 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:20 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:20 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:20 INFO : Using filters file /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:20 INFO : Storing filters file hash to /tmp/052141ma/workdir/filtersfile.txt.md5 2025/06/13 05:22:20 INFO : Copying Path2 files to Path1 2025/06/13 05:22:20 INFO : - Path2 Resync is copying files to - Path1 2025/06/13 05:22:21 INFO : - Path1 Resync is copying files to - Path2 2025/06/13 05:22:21 INFO : Resync updating listings 2025/06/13 05:22:21 INFO : Validating listings for Path1 "/tmp/052141ma/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:21 INFO : Bisync successful 2025/06/13 05:22:21 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/06/13 05:22:21 NOTICE: (13) : bisync filters-file=/tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:23 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:23 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:23 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:23 INFO : Using filters file /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:23 INFO : Building Path1 and Path2 listings 2025/06/13 05:22:24 INFO : Path1 checking for diffs 2025/06/13 05:22:24 INFO : Path2 checking for diffs 2025/06/13 05:22:24 INFO : No changes found 2025/06/13 05:22:24 INFO : Updating listings 2025/06/13 05:22:24 INFO : Validating listings for Path1 "/tmp/052141ma/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:24 INFO : Bisync successful 2025/06/13 05:22:24 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/06/13 05:22:24 NOTICE: (15) : copy-as /tmp/052141ma/datadir/test_filtersfile_checks-hodubiq0/filtersfile2.txt /tmp/052141ma/workdir/ filtersfile.txt 2025/06/13 05:22:24 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/06/13 05:22:24 NOTICE: (17) : bisync filters-file=/tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:25 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:25 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:25 INFO : Using filters file /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:25 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:25 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:22:25 NOTICE: Bisync error: bisync aborted 2025/06/13 05:22:25 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/06/13 05:22:25 NOTICE: (19) : bisync filters-file=/tmp/052141ma/workdir/filtersfile.txt resync dry-run 2025/06/13 05:22:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:26 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:26 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:26 INFO : Using filters file /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:26 INFO : Skipped storing filters file hash to /tmp/052141ma/workdir/filtersfile.txt.md5 as --dry-run is set 2025/06/13 05:22:26 INFO : Copying Path2 files to Path1 2025/06/13 05:22:26 NOTICE: - Path2 Resync is copying files to - Path1 2025/06/13 05:22:27 NOTICE: - Path1 Resync is copying files to - Path2 2025/06/13 05:22:28 INFO : Resync updating listings 2025/06/13 05:22:28 INFO : Bisync successful 2025/06/13 05:22:28 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/06/13 05:22:28 NOTICE: (21) : bisync filters-file=/tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/13 05:22:29 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/13 05:22:29 INFO : Synching Path1 "/tmp/052141ma/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-teciyag5hoyu/052141ma/filtersfile_checks/path2/" 2025/06/13 05:22:29 INFO : Using filters file /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:29 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/052141ma/workdir/filtersfile.txt 2025/06/13 05:22:29 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/13 05:22:29 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED --- PASS: TestBisyncLocalRemote (50.36s) --- PASS: TestBisyncLocalRemote/check_sync (30.22s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (19.01s) PASS 2025/06/13 05:22:31 ERROR : S3 bucket rclone-test-zixuwuv6juso: 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/06/13 05:22:32 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestS3GCS: -verbose -test.run '^TestBisyncLocalRemote$/^(check_sync|filtersfile_checks)$|^TestBisyncRemoteLocal$/^filtersfile_checks$'" - Finished OK in 1m14.933553131s (try 2/5)