"./bisync.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$'" - Starting (try 2/5) === RUN TestBisyncLocalRemote 2025/06/08 01:19:51 NOTICE: remote: TestPcloud:rclone-test-yimalor8qeki === RUN TestBisyncLocalRemote/filtersfile_checks 2025/06/08 01:19:54 ERROR : error listing: directory not found 2025/06/08 01:19:54 NOTICE: checking initFs Local file system at /tmp/011951ca/initdir/test_filtersfile_checks-butowiy9 2025/06/08 01:19:54 NOTICE: checking Path1 Local file system at /tmp/011951ca/filtersfile_checks/path1 2025/06/08 01:19:55 NOTICE: checking path2 pcloud root 'rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2' 2025/06/08 01:19:55 NOTICE: (01) : test filtersfile-checks 2025/06/08 01:19:55 NOTICE: (02) : test initial bisync 2025/06/08 01:19:55 NOTICE: (03) : bisync resync 2025/06/08 01:19:55 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01:19:55 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/08 01:19:55 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:55 INFO : Copying Path2 files to Path1 2025/06/08 01:19:55 INFO : - Path2 Resync is copying files to - Path1 2025/06/08 01:19:55 INFO : - Path1 Resync is copying files to - Path2 2025/06/08 01:19:56 INFO : Resync updating listings 2025/06/08 01:19:56 INFO : Validating listings for Path1 "/tmp/011951ca/filtersfile_checks/path1/" vs Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:56 INFO : Bisync successful 2025/06/08 01:19:56 NOTICE: (04) : test 1. inject filters file in workdir. 2025/06/08 01:19:56 NOTICE: (05) : copy-file /tmp/011951ca/datadir/test_filtersfile_checks-relineq8/filtersfile.txt /tmp/011951ca/workdir/ 2025/06/08 01:19:56 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/06/08 01:19:56 NOTICE: (07) : bisync filters-file=/tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01: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/08 01:19:56 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:56 INFO : Using filters file /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:56 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:56 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/08 01:19:56 NOTICE: Bisync error: bisync aborted 2025/06/08 01:19:56 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/06/08 01:19:56 NOTICE: (09) : bisync 2025/06/08 01:19:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01: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/08 01:19:56 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:56 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/011951ca/workdir/tmp_011951ca_filtersfile_checks_path1..TestPcloud_rclone-test-yimalor8qeki_011951ca_filtersfile_checks_path2.path1.lst Path2: /tmp/011951ca/workdir/tmp_011951ca_filtersfile_checks_path1..TestPcloud_rclone-test-yimalor8qeki_011951ca_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/011951ca/workdir" 2025/06/08 01:19:56 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/08 01:19:56 NOTICE: Bisync error: bisync aborted 2025/06/08 01:19:56 NOTICE: (10) : test 4. run with filters-file and resync. 2025/06/08 01:19:56 NOTICE: (11) : bisync filters-file=/tmp/011951ca/workdir/filtersfile.txt resync 2025/06/08 01:19:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01: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/08 01:19:56 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:56 INFO : Using filters file /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:56 INFO : Storing filters file hash to /tmp/011951ca/workdir/filtersfile.txt.md5 2025/06/08 01:19:56 INFO : Copying Path2 files to Path1 2025/06/08 01:19:56 INFO : - Path2 Resync is copying files to - Path1 2025/06/08 01:19:56 INFO : - Path1 Resync is copying files to - Path2 2025/06/08 01:19:57 INFO : Resync updating listings 2025/06/08 01:19:57 INFO : Validating listings for Path1 "/tmp/011951ca/filtersfile_checks/path1/" vs Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:57 INFO : Bisync successful 2025/06/08 01:19:57 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/06/08 01:19:57 NOTICE: (13) : bisync filters-file=/tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01:19: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/08 01:19:57 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:57 INFO : Using filters file /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:57 INFO : Building Path1 and Path2 listings 2025/06/08 01:19:57 INFO : Path1 checking for diffs 2025/06/08 01:19:57 INFO : Path2 checking for diffs 2025/06/08 01:19:57 INFO : No changes found 2025/06/08 01:19:57 INFO : Updating listings 2025/06/08 01:19:57 INFO : Validating listings for Path1 "/tmp/011951ca/filtersfile_checks/path1/" vs Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:57 INFO : Bisync successful 2025/06/08 01:19:57 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/06/08 01:19:57 NOTICE: (15) : copy-as /tmp/011951ca/datadir/test_filtersfile_checks-relineq8/filtersfile2.txt /tmp/011951ca/workdir/ filtersfile.txt 2025/06/08 01:19:57 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/06/08 01:19:57 NOTICE: (17) : bisync filters-file=/tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01:19: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/08 01:19:57 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:57 INFO : Using filters file /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:57 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:57 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/08 01:19:57 NOTICE: Bisync error: bisync aborted 2025/06/08 01:19:57 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/08 01:19:57 NOTICE: (19) : bisync filters-file=/tmp/011951ca/workdir/filtersfile.txt resync dry-run 2025/06/08 01:19:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01:19: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/08 01:19:57 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:57 INFO : Using filters file /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:57 INFO : Skipped storing filters file hash to /tmp/011951ca/workdir/filtersfile.txt.md5 as --dry-run is set 2025/06/08 01:19:57 INFO : Copying Path2 files to Path1 2025/06/08 01:19:57 NOTICE: - Path2 Resync is copying files to - Path1 2025/06/08 01:19:58 NOTICE: - Path1 Resync is copying files to - Path2 2025/06/08 01:19:58 INFO : Resync updating listings 2025/06/08 01:19:58 INFO : Bisync successful 2025/06/08 01:19:58 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/06/08 01:19:58 NOTICE: (21) : bisync filters-file=/tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:58 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/08 01:19: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/08 01:19:58 INFO : Synching Path1 "/tmp/011951ca/filtersfile_checks/path1/" with Path2 "TestPcloud:rclone-test-yimalor8qeki/011951ca/filtersfile_checks/path2/" 2025/06/08 01:19:58 INFO : Using filters file /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:58 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/011951ca/workdir/filtersfile.txt 2025/06/08 01:19:58 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/08 01:19:58 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED --- PASS: TestBisyncLocalRemote (8.00s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (6.88s) PASS 2025/06/08 01:19:59 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$'" - Finished OK in 8.967684454s (try 2/5)