"./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/01 04:18:59 NOTICE: remote: TestS3GCS:rclone-test-lazexop5fudi === RUN TestBisyncRemoteLocal/filtersfile_checks 2025/06/01 04:19:02 ERROR : error listing: directory not found 2025/06/01 04:19:02 NOTICE: checking initFs Local file system at /tmp/041859se/initdir/test_filtersfile_checks-qojurov4 2025/06/01 04:19:03 NOTICE: checking Path1 S3 bucket rclone-test-lazexop5fudi path 041859se/filtersfile_checks/path1 2025/06/01 04:19:03 NOTICE: checking path2 Local file system at /tmp/041859se/filtersfile_checks/path2 2025/06/01 04:19:03 NOTICE: (01) : test filtersfile-checks 2025/06/01 04:19:03 NOTICE: (02) : test initial bisync 2025/06/01 04:19:03 NOTICE: (03) : bisync resync 2025/06/01 04:19:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:05 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:05 INFO : Copying Path2 files to Path1 2025/06/01 04:19:05 INFO : - Path2 Resync is copying files to - Path1 2025/06/01 04:19:05 INFO : - Path1 Resync is copying files to - Path2 2025/06/01 04:19:06 INFO : Resync updating listings 2025/06/01 04:19:06 INFO : Validating listings for Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" vs Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:06 INFO : Bisync successful 2025/06/01 04:19:06 NOTICE: (04) : test 1. inject filters file in workdir. 2025/06/01 04:19:06 NOTICE: (05) : copy-file /tmp/041859se/datadir/test_filtersfile_checks-xahomep2/filtersfile.txt /tmp/041859se/workdir/ 2025/06/01 04:19:06 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/06/01 04:19:06 NOTICE: (07) : bisync filters-file=/tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:07 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:07 INFO : Using filters file /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:07 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:07 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:19:07 NOTICE: Bisync error: bisync aborted 2025/06/01 04:19:07 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/06/01 04:19:07 NOTICE: (09) : bisync 2025/06/01 04:19:09 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:09 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:09 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/041859se/workdir/TestS3GCS_rclone-test-lazexop5fudi_041859se_filtersfile_checks_path1..tmp_041859se_filtersfile_checks_path2.path1.lst Path2: /tmp/041859se/workdir/TestS3GCS_rclone-test-lazexop5fudi_041859se_filtersfile_checks_path1..tmp_041859se_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/041859se/workdir" 2025/06/01 04:19:09 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:19:09 NOTICE: Bisync error: bisync aborted 2025/06/01 04:19:09 NOTICE: (10) : test 4. run with filters-file and resync. 2025/06/01 04:19:09 NOTICE: (11) : bisync filters-file=/tmp/041859se/workdir/filtersfile.txt resync 2025/06/01 04:19:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:10 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:10 INFO : Using filters file /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:10 INFO : Storing filters file hash to /tmp/041859se/workdir/filtersfile.txt.md5 2025/06/01 04:19:10 INFO : Copying Path2 files to Path1 2025/06/01 04:19:10 INFO : - Path2 Resync is copying files to - Path1 2025/06/01 04:19:11 INFO : - Path1 Resync is copying files to - Path2 2025/06/01 04:19:11 INFO : Resync updating listings 2025/06/01 04:19:11 INFO : Validating listings for Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" vs Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:11 INFO : Bisync successful 2025/06/01 04:19:11 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/06/01 04:19:11 NOTICE: (13) : bisync filters-file=/tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:14 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19:14 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/01 04:19:14 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:14 INFO : Using filters file /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:14 INFO : Building Path1 and Path2 listings 2025/06/01 04:19:15 INFO : Path1 checking for diffs 2025/06/01 04:19:15 INFO : Path2 checking for diffs 2025/06/01 04:19:15 INFO : No changes found 2025/06/01 04:19:15 INFO : Updating listings 2025/06/01 04:19:15 INFO : Validating listings for Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" vs Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:15 INFO : Bisync successful 2025/06/01 04:19:15 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/06/01 04:19:15 NOTICE: (15) : copy-as /tmp/041859se/datadir/test_filtersfile_checks-xahomep2/filtersfile2.txt /tmp/041859se/workdir/ filtersfile.txt 2025/06/01 04:19:15 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/06/01 04:19:15 NOTICE: (17) : bisync filters-file=/tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:16 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19:16 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/01 04:19:16 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:16 INFO : Using filters file /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:16 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:16 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:19:16 NOTICE: Bisync error: bisync aborted 2025/06/01 04:19:16 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/01 04:19:16 NOTICE: (19) : bisync filters-file=/tmp/041859se/workdir/filtersfile.txt resync dry-run 2025/06/01 04:19:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/01 04:19:17 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:17 INFO : Using filters file /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:17 INFO : Skipped storing filters file hash to /tmp/041859se/workdir/filtersfile.txt.md5 as --dry-run is set 2025/06/01 04:19:17 INFO : Copying Path2 files to Path1 2025/06/01 04:19:17 NOTICE: - Path2 Resync is copying files to - Path1 2025/06/01 04:19:18 NOTICE: - Path1 Resync is copying files to - Path2 2025/06/01 04:19:18 INFO : Resync updating listings 2025/06/01 04:19:18 INFO : Bisync successful 2025/06/01 04:19:18 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/06/01 04:19:18 NOTICE: (21) : bisync filters-file=/tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:20 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/01 04:19:20 INFO : Synching Path1 "TestS3GCS:rclone-test-lazexop5fudi/041859se/filtersfile_checks/path1/" with Path2 "/tmp/041859se/filtersfile_checks/path2/" 2025/06/01 04:19:20 INFO : Using filters file /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:20 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041859se/workdir/filtersfile.txt 2025/06/01 04:19:20 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:19:20 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED --- PASS: TestBisyncRemoteLocal (22.81s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (21.38s) === RUN TestBisyncLocalRemote 2025/06/01 04:19:22 NOTICE: remote: TestS3GCS:rclone-test-gakepif1cete === RUN TestBisyncLocalRemote/check_sync 2025/06/01 04:19:25 ERROR : error listing: directory not found 2025/06/01 04:19:25 NOTICE: checking initFs Local file system at /tmp/041922gi/initdir/test_check_sync-hadibix5 2025/06/01 04:19:25 NOTICE: checking Path1 Local file system at /tmp/041922gi/check_sync/path1 2025/06/01 04:19:29 NOTICE: checking path2 S3 bucket rclone-test-gakepif1cete path 041922gi/check_sync/path2 2025/06/01 04:19:32 NOTICE: (01) : test check-sync 2025/06/01 04:19:32 NOTICE: (02) : test initial bisync 2025/06/01 04:19:32 NOTICE: (03) : bisync resync 2025/06/01 04:19:34 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/01 04:19:34 INFO : Synching Path1 "/tmp/041922gi/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:34 INFO : Copying Path2 files to Path1 2025/06/01 04:19:34 INFO : - Path2 Resync is copying files to - Path1 2025/06/01 04:19:36 INFO : - Path1 Resync is copying files to - Path2 2025/06/01 04:19:36 INFO : Resync updating listings 2025/06/01 04:19:36 INFO : Validating listings for Path1 "/tmp/041922gi/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:36 INFO : Bisync successful 2025/06/01 04:19:36 NOTICE: (04) : test 1. run check-sync-only on a clean sync 2025/06/01 04:19:36 NOTICE: (05) : bisync check-sync-only 2025/06/01 04:19:37 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19:37 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/01 04:19:37 INFO : Validating listings for Path1 "/tmp/041922gi/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:37 INFO : Bisync successful 2025/06/01 04:19:37 NOTICE: (06) : test 2. inject modified listings into the workdir 2025/06/01 04:19:37 NOTICE: (07) : copy-as /tmp/041922gi/datadir/test_check_sync-waxaxej9/_testdir_path1.._testdir_path2.path1.lst /tmp/041922gi/workdir/ tmp_041922gi_check_sync_path1..TestS3GCS_rclone-test-gakepif1cete_041922gi_check_sync_path2.path1.lst 2025/06/01 04:19:37 NOTICE: (08) : copy-as /tmp/041922gi/datadir/test_check_sync-waxaxej9/_testdir_path1.._testdir_path2.path2.lst /tmp/041922gi/workdir/ tmp_041922gi_check_sync_path1..TestS3GCS_rclone-test-gakepif1cete_041922gi_check_sync_path2.path2.lst 2025/06/01 04:19:37 NOTICE: (09) : test 3. run check-sync-only on modified listings 2025/06/01 04:19:37 NOTICE: (10) : bisync check-sync-only 2025/06/01 04:19:39 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/01 04:19:39 INFO : Validating listings for Path1 "/tmp/041922gi/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:39 ERROR : -  Path1 file not found in Path2 - file2.txt 2025/06/01 04:19:39 ERROR : -  Path2 file not found in Path1 - file1.txt 2025/06/01 04:19:39 ERROR : Bisync critical error: path1 and path2 are out of sync, run --resync to recover 2025/06/01 04:19:39 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:19:39 NOTICE: Bisync error: bisync aborted 2025/06/01 04:19:39 NOTICE: (11) : copy-listings check-sync-only 2025/06/01 04:19:39 NOTICE: (12) : test 4. run normal sync to check that it aborts 2025/06/01 04:19:39 NOTICE: (13) : bisync 2025/06/01 04:19:40 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:40 INFO : Synching Path1 "/tmp/041922gi/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19: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/041922gi/workdir/tmp_041922gi_check_sync_path1..TestS3GCS_rclone-test-gakepif1cete_041922gi_check_sync_path2.path1.lst Path2: /tmp/041922gi/workdir/tmp_041922gi_check_sync_path1..TestS3GCS_rclone-test-gakepif1cete_041922gi_check_sync_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/041922gi/workdir" 2025/06/01 04:19:40 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:19:40 NOTICE: Bisync error: bisync aborted 2025/06/01 04:19:40 NOTICE: (14) : test 5. prune failure listings after critical abort 2025/06/01 04:19:40 NOTICE: (15) : delete-glob /tmp/041922gi/workdir/ *.lst 2025/06/01 04:19:40 NOTICE: (16) : delete-glob /tmp/041922gi/workdir/ *.lst-err 2025/06/01 04:19:40 NOTICE: (17) : delete-glob /tmp/041922gi/workdir/ *.lst-new 2025/06/01 04:19:40 NOTICE: (18) : test 6. run resync 2025/06/01 04:19:40 NOTICE: (19) : bisync resync 2025/06/01 04:19:41 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:41 INFO : Synching Path1 "/tmp/041922gi/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:41 INFO : Copying Path2 files to Path1 2025/06/01 04:19:41 INFO : - Path2 Resync is copying files to - Path1 2025/06/01 04:19:42 INFO : - Path1 Resync is copying files to - Path2 2025/06/01 04:19:43 INFO : Resync updating listings 2025/06/01 04:19:43 INFO : Validating listings for Path1 "/tmp/041922gi/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:43 INFO : Bisync successful 2025/06/01 04:19:43 NOTICE: (20) : test 7. run normal sync with check-sync enabled (default) 2025/06/01 04:19:43 NOTICE: (21) : bisync 2025/06/01 04:19:44 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:44 INFO : Synching Path1 "/tmp/041922gi/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:44 INFO : Building Path1 and Path2 listings 2025/06/01 04:19:46 INFO : Path1 checking for diffs 2025/06/01 04:19:46 INFO : Path2 checking for diffs 2025/06/01 04:19:46 INFO : No changes found 2025/06/01 04:19:46 INFO : Updating listings 2025/06/01 04:19:46 INFO : Validating listings for Path1 "/tmp/041922gi/check_sync/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:46 INFO : Bisync successful 2025/06/01 04:19:46 NOTICE: (22) : test 8. run normal sync with no-check-sync 2025/06/01 04:19:46 NOTICE: (23) : bisync no-check-sync 2025/06/01 04:19:47 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/06/01 04:19:47 INFO : Synching Path1 "/tmp/041922gi/check_sync/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/check_sync/path2/" 2025/06/01 04:19:47 INFO : Building Path1 and Path2 listings 2025/06/01 04:19:48 INFO : Path1 checking for diffs 2025/06/01 04:19:48 INFO : Path2 checking for diffs 2025/06/01 04:19:48 INFO : No changes found 2025/06/01 04:19:48 INFO : Updating listings 2025/06/01 04:19:48 INFO : Bisync successful bisync_test.go:560: TEST check_sync PASSED === RUN TestBisyncLocalRemote/filtersfile_checks 2025/06/01 04:19:50 ERROR : error listing: directory not found 2025/06/01 04:19:51 NOTICE: checking initFs Local file system at /tmp/041922gi/initdir/test_filtersfile_checks-cebebuh5 2025/06/01 04:19:51 NOTICE: checking Path1 Local file system at /tmp/041922gi/filtersfile_checks/path1 2025/06/01 04:19:53 NOTICE: checking path2 S3 bucket rclone-test-gakepif1cete path 041922gi/filtersfile_checks/path2 2025/06/01 04:19:54 NOTICE: (01) : test filtersfile-checks 2025/06/01 04:19:54 NOTICE: (02) : test initial bisync 2025/06/01 04:19:54 NOTICE: (03) : bisync resync 2025/06/01 04:19:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:19: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/01 04:19:56 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:19:56 INFO : Copying Path2 files to Path1 2025/06/01 04:19:56 INFO : - Path2 Resync is copying files to - Path1 2025/06/01 04:19:58 INFO : - Path1 Resync is copying files to - Path2 2025/06/01 04:19:58 INFO : Resync updating listings 2025/06/01 04:19:58 INFO : Validating listings for Path1 "/tmp/041922gi/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:19:58 INFO : Bisync successful 2025/06/01 04:19:58 NOTICE: (04) : test 1. inject filters file in workdir. 2025/06/01 04:19:58 NOTICE: (05) : copy-file /tmp/041922gi/datadir/test_filtersfile_checks-cepixuz9/filtersfile.txt /tmp/041922gi/workdir/ 2025/06/01 04:19:58 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/06/01 04:19:58 NOTICE: (07) : bisync filters-file=/tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:00 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:20: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/01 04:20:00 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:00 INFO : Using filters file /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:00 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:00 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:20:00 NOTICE: Bisync error: bisync aborted 2025/06/01 04:20:00 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/06/01 04:20:00 NOTICE: (09) : bisync 2025/06/01 04:20:02 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:20:02 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/01 04:20:02 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:02 ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run Tip: here are the filenames we were looking for. Do they exist? Path1: /tmp/041922gi/workdir/tmp_041922gi_filtersfile_checks_path1..TestS3GCS_rclone-test-gakepif1cete_041922gi_filtersfile_checks_path2.path1.lst Path2: /tmp/041922gi/workdir/tmp_041922gi_filtersfile_checks_path1..TestS3GCS_rclone-test-gakepif1cete_041922gi_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/041922gi/workdir" 2025/06/01 04:20:02 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:20:02 NOTICE: Bisync error: bisync aborted 2025/06/01 04:20:02 NOTICE: (10) : test 4. run with filters-file and resync. 2025/06/01 04:20:02 NOTICE: (11) : bisync filters-file=/tmp/041922gi/workdir/filtersfile.txt resync 2025/06/01 04:20:03 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:20:03 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/01 04:20:03 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:03 INFO : Using filters file /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:03 INFO : Storing filters file hash to /tmp/041922gi/workdir/filtersfile.txt.md5 2025/06/01 04:20:03 INFO : Copying Path2 files to Path1 2025/06/01 04:20:03 INFO : - Path2 Resync is copying files to - Path1 2025/06/01 04:20:04 INFO : - Path1 Resync is copying files to - Path2 2025/06/01 04:20:04 INFO : Resync updating listings 2025/06/01 04:20:04 INFO : Validating listings for Path1 "/tmp/041922gi/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:04 INFO : Bisync successful 2025/06/01 04:20:04 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/06/01 04:20:04 NOTICE: (13) : bisync filters-file=/tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:06 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:20: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/06/01 04:20:06 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:06 INFO : Using filters file /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:06 INFO : Building Path1 and Path2 listings 2025/06/01 04:20:07 INFO : Path1 checking for diffs 2025/06/01 04:20:07 INFO : Path2 checking for diffs 2025/06/01 04:20:07 INFO : No changes found 2025/06/01 04:20:07 INFO : Updating listings 2025/06/01 04:20:07 INFO : Validating listings for Path1 "/tmp/041922gi/filtersfile_checks/path1/" vs Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:07 INFO : Bisync successful 2025/06/01 04:20:07 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/06/01 04:20:07 NOTICE: (15) : copy-as /tmp/041922gi/datadir/test_filtersfile_checks-cepixuz9/filtersfile2.txt /tmp/041922gi/workdir/ filtersfile.txt 2025/06/01 04:20:07 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/06/01 04:20:07 NOTICE: (17) : bisync filters-file=/tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:20: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/01 04:20:08 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:08 INFO : Using filters file /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:08 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:08 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:20:08 NOTICE: Bisync error: bisync aborted 2025/06/01 04:20:08 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/01 04:20:08 NOTICE: (19) : bisync filters-file=/tmp/041922gi/workdir/filtersfile.txt resync dry-run 2025/06/01 04:20:09 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:20: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/06/01 04:20:09 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:09 INFO : Using filters file /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:09 INFO : Skipped storing filters file hash to /tmp/041922gi/workdir/filtersfile.txt.md5 as --dry-run is set 2025/06/01 04:20:09 INFO : Copying Path2 files to Path1 2025/06/01 04:20:09 NOTICE: - Path2 Resync is copying files to - Path1 2025/06/01 04:20:10 NOTICE: - Path1 Resync is copying files to - Path2 2025/06/01 04:20:10 INFO : Resync updating listings 2025/06/01 04:20:10 INFO : Bisync successful 2025/06/01 04:20:10 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/06/01 04:20:10 NOTICE: (21) : bisync filters-file=/tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:12 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/01 04:20: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/06/01 04:20:12 INFO : Synching Path1 "/tmp/041922gi/filtersfile_checks/path1/" with Path2 "TestS3GCS:rclone-test-gakepif1cete/041922gi/filtersfile_checks/path2/" 2025/06/01 04:20:12 INFO : Using filters file /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:12 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/041922gi/workdir/filtersfile.txt 2025/06/01 04:20:12 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/01 04:20:12 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED --- PASS: TestBisyncLocalRemote (52.08s) --- PASS: TestBisyncLocalRemote/check_sync (27.59s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (22.92s) PASS 2025/06/01 04:20:14 ERROR : S3 bucket rclone-test-sebihul9liju: 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/01 04:20:15 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 1m16.499093176s (try 2/5)