"./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncLocalRemote$/^check_access$'" - Starting (try 4/5) === RUN TestBisyncLocalRemote 2025/06/06 01:50:48 NOTICE: remote: TestB2:rclone-test-fefehof8pucu === RUN TestBisyncLocalRemote/check_access 2025/06/06 01:50:52 ERROR : error listing: directory not found 2025/06/06 01:50:53 NOTICE: checking initFs Local file system at /tmp/015048ye/initdir/test_check_access-yemuxil7 2025/06/06 01:50:53 NOTICE: checking Path1 Local file system at /tmp/015048ye/check_access/path1 2025/06/06 01:50:55 NOTICE: checking path2 B2 bucket rclone-test-fefehof8pucu path 015048ye/check_access/path2 2025/06/06 01:50:55 NOTICE: (01) : test check-access 2025/06/06 01:50:55 NOTICE: (02) : test initial bisync 2025/06/06 01:50:55 NOTICE: (03) : bisync resync 2025/06/06 01:50:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01:50: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/06 01:50:56 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:50:56 INFO : Copying Path2 files to Path1 2025/06/06 01:50:56 INFO : - Path2 Resync is copying files to - Path1 2025/06/06 01:50:57 INFO : - Path1 Resync is copying files to - Path2 2025/06/06 01:50:57 INFO : Resync updating listings 2025/06/06 01:50:57 INFO : Validating listings for Path1 "/tmp/015048ye/check_access/path1/" vs Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:50:57 INFO : Bisync successful 2025/06/06 01:50:57 NOTICE: (04) : test 1. see that check-access passes with the initial setup 2025/06/06 01:50:57 NOTICE: (05) : bisync check-access 2025/06/06 01:50:59 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01:50:59 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/06 01:50:59 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:50:59 INFO : Building Path1 and Path2 listings 2025/06/06 01:50:59 INFO : Path1 checking for diffs 2025/06/06 01:50:59 INFO : Path2 checking for diffs 2025/06/06 01:50:59 INFO : Checking access health 2025/06/06 01:50:59 INFO : Found 2 matching "RCLONE_TEST" files on both paths 2025/06/06 01:50:59 INFO : No changes found 2025/06/06 01:50:59 INFO : Updating listings 2025/06/06 01:50:59 INFO : Validating listings for Path1 "/tmp/015048ye/check_access/path1/" vs Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:50:59 INFO : Bisync successful 2025/06/06 01:50:59 NOTICE: (06) : test 2. delete the path2 subdir RCLONE_TEST and run sync. should fail critical. 2025/06/06 01:50:59 NOTICE: (07) : delete-file TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/subdir/RCLONE_TEST 2025/06/06 01:51:01 NOTICE: (08) : bisync check-access 2025/06/06 01:51:03 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01:51: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/06 01:51:03 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:03 INFO : Building Path1 and Path2 listings 2025/06/06 01:51:03 INFO : Path1 checking for diffs 2025/06/06 01:51:03 INFO : Path2 checking for diffs 2025/06/06 01:51:03 INFO : - Path2 File was deleted - subdir/RCLONE_TEST 2025/06/06 01:51:03 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2025/06/06 01:51:03 INFO : Checking access health 2025/06/06 01:51:03 ERROR : Access test failed: Path1 count 2, Path2 count 1 - RCLONE_TEST 2025/06/06 01:51:03 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/RCLONE_TEST 2025/06/06 01:51:03 ERROR : Bisync critical error: check file check failed 2025/06/06 01:51:03 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/06 01:51:03 NOTICE: Bisync error: bisync aborted 2025/06/06 01:51:03 NOTICE: (09) : copy-listings path2-missing 2025/06/06 01:51:03 NOTICE: (10) : test 3. put the path2 subdir RCLONE_TEST back, resync. 2025/06/06 01:51:03 NOTICE: (11) : copy-file /tmp/015048ye/check_access/path1/subdir/RCLONE_TEST TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/ 2025/06/06 01:51:04 NOTICE: (12) : bisync resync 2025/06/06 01:51:06 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01: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/06/06 01:51:06 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:06 INFO : Copying Path2 files to Path1 2025/06/06 01:51:06 INFO : - Path2 Resync is copying files to - Path1 2025/06/06 01:51:07 INFO : - Path1 Resync is copying files to - Path2 2025/06/06 01:51:08 INFO : subdir/RCLONE_TEST: Copied (new) 2025/06/06 01:51:08 INFO : Resync updating listings 2025/06/06 01:51:08 INFO : Validating listings for Path1 "/tmp/015048ye/check_access/path1/" vs Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:08 INFO : Bisync successful 2025/06/06 01:51:08 NOTICE: (13) : test 4. run sync with check-access. should pass. 2025/06/06 01:51:08 NOTICE: (14) : bisync check-access 2025/06/06 01:51:09 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01: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/06/06 01:51:09 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:09 INFO : Building Path1 and Path2 listings 2025/06/06 01:51:10 INFO : Path1 checking for diffs 2025/06/06 01:51:10 INFO : Path2 checking for diffs 2025/06/06 01:51:10 INFO : Checking access health 2025/06/06 01:51:10 INFO : Found 2 matching "RCLONE_TEST" files on both paths 2025/06/06 01:51:10 INFO : No changes found 2025/06/06 01:51:10 INFO : Updating listings 2025/06/06 01:51:10 INFO : Validating listings for Path1 "/tmp/015048ye/check_access/path1/" vs Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:10 INFO : Bisync successful 2025/06/06 01:51:10 NOTICE: (15) : test 5. delete path1 top level RCLONE_TEST, run sync. should fail critical. 2025/06/06 01:51:10 NOTICE: (16) : delete-file /tmp/015048ye/check_access/path1/RCLONE_TEST 2025/06/06 01:51:10 NOTICE: (17) : bisync check-access 2025/06/06 01:51:11 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01: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/06/06 01:51:11 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:11 INFO : Building Path1 and Path2 listings 2025/06/06 01:51:11 INFO : Path1 checking for diffs 2025/06/06 01:51:11 INFO : - Path1 File was deleted - RCLONE_TEST 2025/06/06 01:51:11 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/06/06 01:51:11 INFO : Path2 checking for diffs 2025/06/06 01:51:11 INFO : Checking access health 2025/06/06 01:51:11 ERROR : Access test failed: Path1 count 1, Path2 count 2 - RCLONE_TEST 2025/06/06 01:51:11 ERROR : -  Access test failed: Path2 file not found in Path1 - RCLONE_TEST 2025/06/06 01:51:11 ERROR : Bisync critical error: check file check failed 2025/06/06 01:51:11 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/06 01:51:11 NOTICE: Bisync error: bisync aborted 2025/06/06 01:51:11 NOTICE: (18) : copy-listings path1-missing 2025/06/06 01:51:11 NOTICE: (19) : test 6. run again. should fail critical due to missing listings. 2025/06/06 01:51:11 NOTICE: (20) : bisync check-access 2025/06/06 01:51:13 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01:51:13 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/06 01:51:13 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:13 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/015048ye/workdir/tmp_015048ye_check_access_path1..TestB2_rclone-test-fefehof8pucu_015048ye_check_access_path2.path1.lst Path2: /tmp/015048ye/workdir/tmp_015048ye_check_access_path1..TestB2_rclone-test-fefehof8pucu_015048ye_check_access_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/015048ye/workdir" 2025/06/06 01:51:13 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/06 01:51:13 NOTICE: Bisync error: bisync aborted 2025/06/06 01:51:13 NOTICE: (21) : move-listings missing-listings 2025/06/06 01:51:13 NOTICE: (22) : test 7. run resync, which will copy the path2 top level back to path1. 2025/06/06 01:51:13 NOTICE: (23) : bisync resync 2025/06/06 01:51:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01:51: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/06 01:51:15 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:15 INFO : Copying Path2 files to Path1 2025/06/06 01:51:15 INFO : - Path2 Resync is copying files to - Path1 2025/06/06 01:51:15 INFO : RCLONE_TEST: Copied (new) 2025/06/06 01:51:15 INFO : - Path1 Resync is copying files to - Path2 2025/06/06 01:51:15 INFO : Resync updating listings 2025/06/06 01:51:15 INFO : Validating listings for Path1 "/tmp/015048ye/check_access/path1/" vs Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:15 INFO : Bisync successful 2025/06/06 01:51:15 NOTICE: (24) : test 8. run sync with --check-access. should pass. 2025/06/06 01:51:15 NOTICE: (25) : bisync check-access 2025/06/06 01:51:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/06 01:51: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/06 01:51:17 INFO : Synching Path1 "/tmp/015048ye/check_access/path1/" with Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:17 INFO : Building Path1 and Path2 listings 2025/06/06 01:51:17 INFO : Path1 checking for diffs 2025/06/06 01:51:17 INFO : Path2 checking for diffs 2025/06/06 01:51:17 INFO : Checking access health 2025/06/06 01:51:17 INFO : Found 2 matching "RCLONE_TEST" files on both paths 2025/06/06 01:51:17 INFO : No changes found 2025/06/06 01:51:17 INFO : Updating listings 2025/06/06 01:51:17 INFO : Validating listings for Path1 "/tmp/015048ye/check_access/path1/" vs Path2 "TestB2:rclone-test-fefehof8pucu/015048ye/check_access/path2/" 2025/06/06 01:51:17 INFO : Bisync successful bisync_test.go:560: TEST check_access PASSED --- PASS: TestBisyncLocalRemote (33.76s) --- PASS: TestBisyncLocalRemote/check_access (31.96s) PASS 2025/06/06 01:51:22 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncLocalRemote$/^check_access$'" - Finished OK in 35.12723344s (try 4/5)