"./bisync.test -test.v -test.timeout 1h0m0s -remote TestKoofr: -verbose -test.run '^TestBisyncLocalRemote$/^check_filename$'" - Starting (try 2/5) 2025/02/21 02:12:12 DEBUG : Creating backend with remote "TestKoofr:rclone-test-mipelex9jefi" 2025/02/21 02:12:12 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/02/21 02:12:13 DEBUG : Creating backend with remote "/tmp/rclone1831289835" === RUN TestBisyncLocalRemote 2025/02/21 02:12:13 DEBUG : Creating backend with remote "TestKoofr:rclone-test-kiyiwax7jase" 2025/02/21 02:12:13 NOTICE: remote: TestKoofr:rclone-test-kiyiwax7jase === RUN TestBisyncLocalRemote/check_filename 2025/02/21 02:12:13 DEBUG : Creating backend with remote "/tmp/021213pe" 2025/02/21 02:12:13 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/02/21 02:12:13 DEBUG : Creating backend with remote "/tmp/021213pe/check_filename/path1" 2025/02/21 02:12:13 DEBUG : Creating backend with remote "TestKoofr:rclone-test-kiyiwax7jase/021213pe" 2025/02/21 02:12:13 INFO : path2: Making directory 2025/02/21 02:12:14 DEBUG : Creating backend with remote "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2" 2025/02/21 02:12:14 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/initial" 2025/02/21 02:12:14 DEBUG : Creating backend with remote "/tmp/021213pe/initdir/test_check_filename-runiyob3" 2025/02/21 02:12:14 DEBUG : .chk_file: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : subdir: Making directory with metadata 2025/02/21 02:12:14 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/02/21 02:12:14 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/02/21 02:12:14 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : Local file system at /tmp/021213pe/initdir/test_check_filename-runiyob3: Waiting for checks to finish 2025/02/21 02:12:14 DEBUG : Local file system at /tmp/021213pe/initdir/test_check_filename-runiyob3: Waiting for transfers to finish 2025/02/21 02:12:14 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:14 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/02/21 02:12:14 INFO : file1.txt: Copied (new) 2025/02/21 02:12:14 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/21 02:12:14 DEBUG : .chk_file.cf9a93ac.partial: renamed to: .chk_file 2025/02/21 02:12:14 INFO : .chk_file: Copied (new) 2025/02/21 02:12:14 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:14 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/02/21 02:12:14 INFO : file2.txt: Copied (new) 2025/02/21 02:12:14 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:14 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/02/21 02:12:14 INFO : file4.txt: Copied (new) 2025/02/21 02:12:14 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:14 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/02/21 02:12:14 INFO : subdir/file20.txt: Copied (new) 2025/02/21 02:12:14 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:14 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/02/21 02:12:14 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/21 02:12:14 INFO : file3.txt: Copied (new) 2025/02/21 02:12:14 DEBUG : subdir/.chk_file.cf9a93ac.partial: renamed to: subdir/.chk_file 2025/02/21 02:12:14 INFO : subdir/.chk_file: Copied (new) 2025/02/21 02:12:14 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/21 02:12:14 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/modfiles" 2025/02/21 02:12:14 DEBUG : Creating backend with remote "/tmp/021213pe/datadir/test_check_filename-dicorax7" 2025/02/21 02:12:14 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:14 DEBUG : Local file system at /tmp/021213pe/datadir/test_check_filename-dicorax7: Waiting for checks to finish 2025/02/21 02:12:14 DEBUG : Local file system at /tmp/021213pe/datadir/test_check_filename-dicorax7: Waiting for transfers to finish 2025/02/21 02:12:14 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/02/21 02:12:14 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/02/21 02:12:14 INFO : hold.txt: Copied (new) 2025/02/21 02:12:15 ERROR : : error listing: directory not found 2025/02/21 02:12:15 ERROR : : error listing: directory not found 2025/02/21 02:12:15 NOTICE: checking initFs Local file system at /tmp/021213pe/initdir/test_check_filename-runiyob3 2025/02/21 02:12:15 DEBUG : .chk_file: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : subdir: Making directory with metadata 2025/02/21 02:12:15 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/02/21 02:12:15 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/02/21 02:12:15 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:15 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/02/21 02:12:15 INFO : file1.txt: Copied (new) 2025/02/21 02:12:15 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:15 DEBUG : Local file system at /tmp/021213pe/check_filename/path1: Waiting for checks to finish 2025/02/21 02:12:15 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/02/21 02:12:15 INFO : file2.txt: Copied (new) 2025/02/21 02:12:15 DEBUG : Local file system at /tmp/021213pe/check_filename/path1: Waiting for transfers to finish 2025/02/21 02:12:15 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:15 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/02/21 02:12:15 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:15 INFO : file3.txt: Copied (new) 2025/02/21 02:12:15 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/02/21 02:12:15 INFO : file4.txt: Copied (new) 2025/02/21 02:12:15 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/21 02:12:15 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:15 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/02/21 02:12:15 INFO : subdir/file20.txt: Copied (new) 2025/02/21 02:12:15 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/21 02:12:15 DEBUG : subdir/.chk_file.cf9a93ac.partial: renamed to: subdir/.chk_file 2025/02/21 02:12:15 INFO : subdir/.chk_file: Copied (new) 2025/02/21 02:12:15 DEBUG : .chk_file.cf9a93ac.partial: renamed to: .chk_file 2025/02/21 02:12:15 INFO : .chk_file: Copied (new) 2025/02/21 02:12:15 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/21 02:12:15 NOTICE: checking Path1 Local file system at /tmp/021213pe/check_filename/path1 2025/02/21 02:12:15 DEBUG : .chk_file: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:15 INFO : subdir: Making directory 2025/02/21 02:12:16 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2025/02/21 02:12:16 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/02/21 02:12:16 DEBUG : koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-kiyiwax7jase/021213pe/check_filename/path2: Waiting for checks to finish 2025/02/21 02:12:16 DEBUG : koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-kiyiwax7jase/021213pe/check_filename/path2: Waiting for transfers to finish 2025/02/21 02:12:16 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:16 INFO : file1.txt: Copied (new) 2025/02/21 02:12:16 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:16 INFO : file3.txt: Copied (new) 2025/02/21 02:12:16 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:16 INFO : file2.txt: Copied (new) 2025/02/21 02:12:16 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/21 02:12:16 INFO : .chk_file: Copied (new) 2025/02/21 02:12:16 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:16 INFO : file4.txt: Copied (new) 2025/02/21 02:12:16 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/21 02:12:16 INFO : subdir/file20.txt: Copied (new) 2025/02/21 02:12:16 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/21 02:12:16 INFO : subdir/.chk_file: Copied (new) 2025/02/21 02:12:16 NOTICE: checking path2 koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-kiyiwax7jase/021213pe/check_filename/path2 2025/02/21 02:12:17 NOTICE: (01) : test check-filename 2025/02/21 02:12:17 NOTICE: (02) : test initial bisync 2025/02/21 02:12:17 NOTICE: (03) : bisync resync 2025/02/21 02:12:17 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/21 02:12:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/21 02:12: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/02/21 02:12:17 INFO : Synching Path1 "/tmp/021213pe/check_filename/path1/" with Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:17 INFO : Copying Path2 files to Path1 2025/02/21 02:12:17 INFO : - Path2 Resync is copying files to - Path1 2025/02/21 02:12:18 INFO : - Path1 Resync is copying files to - Path2 2025/02/21 02:12:18 INFO : Resync updating listings 2025/02/21 02:12:18 INFO : Validating listings for Path1 "/tmp/021213pe/check_filename/path1/" vs Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:18 INFO : Bisync successful 2025/02/21 02:12:18 NOTICE: (04) : test 1. see that check-access passes with the initial setup 2025/02/21 02:12:18 NOTICE: (05) : bisync check-access check-filename=.chk_file 2025/02/21 02:12:18 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/21 02:12:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/21 02:12:18 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/02/21 02:12:18 INFO : Synching Path1 "/tmp/021213pe/check_filename/path1/" with Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:18 INFO : Building Path1 and Path2 listings 2025/02/21 02:12:19 INFO : Path1 checking for diffs 2025/02/21 02:12:19 INFO : Path2 checking for diffs 2025/02/21 02:12:19 INFO : Checking access health 2025/02/21 02:12:19 INFO : Found 2 matching ".chk_file" files on both paths 2025/02/21 02:12:19 INFO : No changes found 2025/02/21 02:12:19 INFO : Updating listings 2025/02/21 02:12:19 INFO : Validating listings for Path1 "/tmp/021213pe/check_filename/path1/" vs Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:19 INFO : Bisync successful 2025/02/21 02:12:19 NOTICE: (06) : copy-listings initial-pass 2025/02/21 02:12:19 NOTICE: (07) : test 2. delete the remote subdir .chk_file, run sync. should fail critical. 2025/02/21 02:12:19 NOTICE: (08) : delete-file TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/subdir/.chk_file 2025/02/21 02:12:19 INFO : .chk_file: Deleted 2025/02/21 02:12:19 NOTICE: (09) : bisync check-access check-filename=.chk_file 2025/02/21 02:12:20 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/21 02:12:20 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/21 02:12: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/02/21 02:12:20 INFO : Synching Path1 "/tmp/021213pe/check_filename/path1/" with Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:20 INFO : Building Path1 and Path2 listings 2025/02/21 02:12:20 INFO : Path1 checking for diffs 2025/02/21 02:12:20 INFO : Path2 checking for diffs 2025/02/21 02:12:20 INFO : - Path2 File was deleted - subdir/.chk_file 2025/02/21 02:12:20 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2025/02/21 02:12:20 INFO : Checking access health 2025/02/21 02:12:20 ERROR : Access test failed: Path1 count 2, Path2 count 1 - .chk_file 2025/02/21 02:12:20 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/.chk_file 2025/02/21 02:12:20 ERROR : Bisync critical error: check file check failed 2025/02/21 02:12:20 ERROR : Bisync aborted. Must run --resync to recover. 2025/02/21 02:12:20 NOTICE: Bisync error: bisync aborted 2025/02/21 02:12:20 NOTICE: (10) : move-listings path2-missing 2025/02/21 02:12:20 NOTICE: (11) : test 3. put the remote subdir .chk_file back, run resync. 2025/02/21 02:12:20 NOTICE: (12) : copy-file /tmp/021213pe/check_filename/path1/subdir/.chk_file TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/subdir/ 2025/02/21 02:12:21 INFO : .chk_file: Copied (new) 2025/02/21 02:12:21 NOTICE: (13) : bisync check-access resync check-filename=.chk_file 2025/02/21 02:12:22 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/21 02:12:22 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/21 02:12:22 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/02/21 02:12:22 INFO : Synching Path1 "/tmp/021213pe/check_filename/path1/" with Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:22 INFO : Copying Path2 files to Path1 2025/02/21 02:12:22 INFO : Checking access health 2025/02/21 02:12:22 INFO : Found 2 matching ".chk_file" files on both paths 2025/02/21 02:12:22 INFO : - Path2 Resync is copying files to - Path1 2025/02/21 02:12:22 INFO : - Path1 Resync is copying files to - Path2 2025/02/21 02:12:22 INFO : Resync updating listings 2025/02/21 02:12:22 INFO : Validating listings for Path1 "/tmp/021213pe/check_filename/path1/" vs Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:22 INFO : Bisync successful 2025/02/21 02:12:22 NOTICE: (14) : test 4. run sync with check-access. should pass. 2025/02/21 02:12:22 NOTICE: (15) : bisync check-access check-filename=.chk_file 2025/02/21 02:12:23 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/21 02:12:23 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/21 02:12: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/02/21 02:12:23 INFO : Synching Path1 "/tmp/021213pe/check_filename/path1/" with Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:23 INFO : Building Path1 and Path2 listings 2025/02/21 02:12:23 INFO : Path1 checking for diffs 2025/02/21 02:12:23 INFO : Path2 checking for diffs 2025/02/21 02:12:23 INFO : Checking access health 2025/02/21 02:12:23 INFO : Found 2 matching ".chk_file" files on both paths 2025/02/21 02:12:23 INFO : No changes found 2025/02/21 02:12:23 INFO : Updating listings 2025/02/21 02:12:23 INFO : Validating listings for Path1 "/tmp/021213pe/check_filename/path1/" vs Path2 "TestKoofr:rclone-test-kiyiwax7jase/021213pe/check_filename/path2/" 2025/02/21 02:12:23 INFO : Bisync successful bisync_test.go:560: TEST check_filename PASSED 2025/02/21 02:12:25 DEBUG : koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-kiyiwax7jase: Purge dir "021213pe/path2" 2025/02/21 02:12:25 DEBUG : koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-kiyiwax7jase: Purge dir "021213pe/check_filename" 2025/02/21 02:12:25 DEBUG : koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-kiyiwax7jase: Purge dir "021213pe" 2025/02/21 02:12:25 DEBUG : koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-kiyiwax7jase: Purge dir "" --- PASS: TestBisyncLocalRemote (12.49s) --- PASS: TestBisyncLocalRemote/check_filename (11.66s) PASS 2025/02/21 02:12:25 ERROR : : error listing: directory not found 2025/02/21 02:12:25 DEBUG : koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-mipelex9jefi: Purge dir "" 2025/02/21 02:12:25 NOTICE: purge failed to rmdir "": directory not found 2025/02/21 02:12:25 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestKoofr: -verbose -test.run '^TestBisyncLocalRemote$/^check_filename$'" - Finished OK in 12.969015266s (try 2/5)