"./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncLocalRemote$/^check_filename$'" - Starting (try 3/5) 2024/05/06 06:44:43 DEBUG : Creating backend with remote "TestB2:rclone-test-mamuhuc4kavopif0sihuwuj8" 2024/05/06 06:44:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/05/06 06:44:44 DEBUG : Creating backend with remote "/tmp/rclone3942392065" === RUN TestBisyncLocalRemote 2024/05/06 06:44:44 DEBUG : Creating backend with remote "TestB2:rclone-test-payowij2namivev5xeqadaj8" 2024/05/06 06:44:44 remote: TestB2:rclone-test-payowij2namivev5xeqadaj8 === RUN TestBisyncLocalRemote/check_filename 2024/05/06 06:44:44 DEBUG : Creating backend with remote "/tmp/064444zi" 2024/05/06 06:44:44 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/05/06 06:44:44 DEBUG : Creating backend with remote "/tmp/064444zi/check_filename/path1" 2024/05/06 06:44:44 DEBUG : Creating backend with remote "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi" 2024/05/06 06:44:45 DEBUG : path2: Making directory 2024/05/06 06:44:46 DEBUG : Creating backend with remote "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2" 2024/05/06 06:44:46 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/initial" 2024/05/06 06:44:46 DEBUG : Creating backend with remote "/tmp/064444zi/initdir/test_check_filename-pasuqex2" 2024/05/06 06:44:46 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : subdir: Making directory with metadata 2024/05/06 06:44:46 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/05/06 06:44:46 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/05/06 06:44:46 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : Local file system at /tmp/064444zi/initdir/test_check_filename-pasuqex2: Waiting for checks to finish 2024/05/06 06:44:46 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:46 DEBUG : file2.txt.viraqed1.partial: renamed to: file2.txt 2024/05/06 06:44:46 DEBUG : Local file system at /tmp/064444zi/initdir/test_check_filename-pasuqex2: Waiting for transfers to finish 2024/05/06 06:44:46 INFO : file2.txt: Copied (new) 2024/05/06 06:44:46 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:46 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:46 DEBUG : file1.txt.mepohil4.partial: renamed to: file1.txt 2024/05/06 06:44:46 INFO : file1.txt: Copied (new) 2024/05/06 06:44:46 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:46 DEBUG : file3.txt.danozil3.partial: renamed to: file3.txt 2024/05/06 06:44:46 INFO : file3.txt: Copied (new) 2024/05/06 06:44:46 DEBUG : file4.txt.facisag3.partial: renamed to: file4.txt 2024/05/06 06:44:46 INFO : file4.txt: Copied (new) 2024/05/06 06:44:46 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/05/06 06:44:46 DEBUG : .chk_file.dedogof5.partial: renamed to: .chk_file 2024/05/06 06:44:46 INFO : .chk_file: Copied (new) 2024/05/06 06:44:46 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:46 DEBUG : subdir/file20.txt.busocov7.partial: renamed to: subdir/file20.txt 2024/05/06 06:44:46 INFO : subdir/file20.txt: Copied (new) 2024/05/06 06:44:46 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/05/06 06:44:46 DEBUG : subdir/.chk_file.zirajup4.partial: renamed to: subdir/.chk_file 2024/05/06 06:44:46 INFO : subdir/.chk_file: Copied (new) 2024/05/06 06:44:46 INFO : subdir: Updated directory metadata 2024/05/06 06:44:46 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/modfiles" 2024/05/06 06:44:46 DEBUG : Creating backend with remote "/tmp/064444zi/datadir/test_check_filename-wujakom9" 2024/05/06 06:44:46 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:46 DEBUG : Local file system at /tmp/064444zi/datadir/test_check_filename-wujakom9: Waiting for checks to finish 2024/05/06 06:44:46 DEBUG : Local file system at /tmp/064444zi/datadir/test_check_filename-wujakom9: Waiting for transfers to finish 2024/05/06 06:44:46 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/05/06 06:44:46 DEBUG : hold.txt.wopotuh1.partial: renamed to: hold.txt 2024/05/06 06:44:46 INFO : hold.txt: Copied (new) 2024/05/06 06:44:47 ERROR : : error listing: directory not found 2024/05/06 06:44:47 checking initFs Local file system at /tmp/064444zi/initdir/test_check_filename-pasuqex2 2024/05/06 06:44:47 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : subdir: Making directory with metadata 2024/05/06 06:44:47 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/05/06 06:44:47 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/05/06 06:44:47 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:47 DEBUG : file1.txt.gahosew8.partial: renamed to: file1.txt 2024/05/06 06:44:47 INFO : file1.txt: Copied (new) 2024/05/06 06:44:47 DEBUG : Local file system at /tmp/064444zi/check_filename/path1: Waiting for checks to finish 2024/05/06 06:44:47 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:47 DEBUG : file2.txt.waxonof7.partial: renamed to: file2.txt 2024/05/06 06:44:47 INFO : file2.txt: Copied (new) 2024/05/06 06:44:47 DEBUG : Local file system at /tmp/064444zi/check_filename/path1: Waiting for transfers to finish 2024/05/06 06:44:47 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/05/06 06:44:47 DEBUG : .chk_file.dameraz2.partial: renamed to: .chk_file 2024/05/06 06:44:47 INFO : .chk_file: Copied (new) 2024/05/06 06:44:47 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:47 DEBUG : subdir/file20.txt.guwonoc6.partial: renamed to: subdir/file20.txt 2024/05/06 06:44:47 INFO : subdir/file20.txt: Copied (new) 2024/05/06 06:44:47 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/05/06 06:44:47 DEBUG : subdir/.chk_file.pawogic5.partial: renamed to: subdir/.chk_file 2024/05/06 06:44:47 INFO : subdir/.chk_file: Copied (new) 2024/05/06 06:44:47 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:47 DEBUG : file3.txt.kevoduh4.partial: renamed to: file3.txt 2024/05/06 06:44:47 INFO : file3.txt: Copied (new) 2024/05/06 06:44:47 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/05/06 06:44:47 DEBUG : file4.txt.joqogaw2.partial: renamed to: file4.txt 2024/05/06 06:44:47 INFO : file4.txt: Copied (new) 2024/05/06 06:44:47 INFO : subdir: Updated directory metadata 2024/05/06 06:44:47 checking Path1 Local file system at /tmp/064444zi/check_filename/path1 2024/05/06 06:44:47 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : subdir: Making directory 2024/05/06 06:44:47 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/05/06 06:44:47 DEBUG : B2 bucket rclone-test-payowij2namivev5xeqadaj8 path 064444zi/check_filename/path2: Waiting for checks to finish 2024/05/06 06:44:47 DEBUG : B2 bucket rclone-test-payowij2namivev5xeqadaj8 path 064444zi/check_filename/path2: Waiting for transfers to finish 2024/05/06 06:44:48 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/05/06 06:44:48 INFO : file1.txt: Copied (new) 2024/05/06 06:44:48 DEBUG : file4.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/05/06 06:44:48 INFO : file4.txt: Copied (new) 2024/05/06 06:44:48 DEBUG : subdir/.chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/05/06 06:44:48 INFO : subdir/.chk_file: Copied (new) 2024/05/06 06:44:48 DEBUG : file3.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/05/06 06:44:48 INFO : file3.txt: Copied (new) 2024/05/06 06:44:48 DEBUG : subdir/file20.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/05/06 06:44:48 INFO : subdir/file20.txt: Copied (new) 2024/05/06 06:44:48 DEBUG : .chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/05/06 06:44:48 INFO : .chk_file: Copied (new) 2024/05/06 06:44:49 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/05/06 06:44:49 INFO : file2.txt: Copied (new) 2024/05/06 06:44:49 checking path2 B2 bucket rclone-test-payowij2namivev5xeqadaj8 path 064444zi/check_filename/path2 2024/05/06 06:44:49 (01) : test check-filename 2024/05/06 06:44:49 (02) : test initial bisync 2024/05/06 06:44:49 (03) : bisync resync 2024/05/06 06:44:50 INFO : subdir: Set directory modification time (using SetModTime) 2024/05/06 06:44:50 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/05/06 06:44:50 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/05/06 06:44:50 INFO : Synching Path1 "/tmp/064444zi/check_filename/path1/" with Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:44:50 INFO : Copying Path2 files to Path1 2024/05/06 06:44:50 INFO : - Path2 Resync is copying files to - Path1 2024/05/06 06:44:50 INFO : - Path1 Resync is copying files to - Path2 2024/05/06 06:44:50 INFO : Resync updating listings 2024/05/06 06:44:50 INFO : Validating listings for Path1 "/tmp/064444zi/check_filename/path1/" vs Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:44:50 INFO : Bisync successful 2024/05/06 06:44:50 (04) : test 1. see that check-access passes with the initial setup 2024/05/06 06:44:50 (05) : bisync check-access check-filename=.chk_file 2024/05/06 06:44:51 INFO : subdir: Set directory modification time (using SetModTime) 2024/05/06 06:44:51 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/05/06 06:44:51 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/05/06 06:44:51 INFO : Synching Path1 "/tmp/064444zi/check_filename/path1/" with Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:44:51 INFO : Building Path1 and Path2 listings 2024/05/06 06:44:52 INFO : Path1 checking for diffs 2024/05/06 06:44:52 INFO : Path2 checking for diffs 2024/05/06 06:44:52 INFO : Checking access health 2024/05/06 06:44:52 INFO : Found 2 matching ".chk_file" files on both paths 2024/05/06 06:44:52 INFO : No changes found 2024/05/06 06:44:52 INFO : Updating listings 2024/05/06 06:44:52 INFO : Validating listings for Path1 "/tmp/064444zi/check_filename/path1/" vs Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:44:52 INFO : Bisync successful 2024/05/06 06:44:52 (06) : copy-listings initial-pass 2024/05/06 06:44:52 (07) : test 2. delete the remote subdir .chk_file, run sync. should fail critical. 2024/05/06 06:44:52 (08) : delete-file TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/subdir/.chk_file 2024/05/06 06:44:53 INFO : .chk_file: Deleted 2024/05/06 06:44:53 (09) : bisync check-access check-filename=.chk_file 2024/05/06 06:44:54 INFO : subdir: Set directory modification time (using SetModTime) 2024/05/06 06:44:54 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/05/06 06:44:54 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/05/06 06:44:54 INFO : Synching Path1 "/tmp/064444zi/check_filename/path1/" with Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:44:54 INFO : Building Path1 and Path2 listings 2024/05/06 06:44:54 INFO : Path1 checking for diffs 2024/05/06 06:44:54 INFO : Path2 checking for diffs 2024/05/06 06:44:54 INFO : - Path2 File was deleted - subdir/.chk_file 2024/05/06 06:44:54 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2024/05/06 06:44:54 INFO : Checking access health 2024/05/06 06:44:54 ERROR : Access test failed: Path1 count 2, Path2 count 1 - .chk_file 2024/05/06 06:44:54 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/.chk_file 2024/05/06 06:44:54 ERROR : Bisync critical error: check file check failed 2024/05/06 06:44:54 ERROR : Bisync aborted. Must run --resync to recover. 2024/05/06 06:44:54 Bisync error: bisync aborted 2024/05/06 06:44:54 (10) : move-listings path2-missing 2024/05/06 06:44:54 (11) : test 3. put the remote subdir .chk_file back, run resync. 2024/05/06 06:44:54 (12) : copy-file /tmp/064444zi/check_filename/path1/subdir/.chk_file TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/subdir/ 2024/05/06 06:44:56 INFO : .chk_file: Copied (new) 2024/05/06 06:44:56 (13) : bisync check-access resync check-filename=.chk_file 2024/05/06 06:44:58 INFO : subdir: Set directory modification time (using SetModTime) 2024/05/06 06:44:58 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/05/06 06:44:58 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/05/06 06:44:58 INFO : Synching Path1 "/tmp/064444zi/check_filename/path1/" with Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:44:58 INFO : Copying Path2 files to Path1 2024/05/06 06:44:58 INFO : Checking access health 2024/05/06 06:44:58 INFO : Found 2 matching ".chk_file" files on both paths 2024/05/06 06:44:58 INFO : - Path2 Resync is copying files to - Path1 2024/05/06 06:44:59 INFO : - Path1 Resync is copying files to - Path2 2024/05/06 06:44:59 INFO : Resync updating listings 2024/05/06 06:44:59 INFO : Validating listings for Path1 "/tmp/064444zi/check_filename/path1/" vs Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:44:59 INFO : Bisync successful 2024/05/06 06:44:59 (14) : test 4. run sync with check-access. should pass. 2024/05/06 06:44:59 (15) : bisync check-access check-filename=.chk_file 2024/05/06 06:45:00 INFO : subdir: Set directory modification time (using SetModTime) 2024/05/06 06:45:00 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/05/06 06:45:00 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/05/06 06:45:00 INFO : Synching Path1 "/tmp/064444zi/check_filename/path1/" with Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:45:00 INFO : Building Path1 and Path2 listings 2024/05/06 06:45:01 INFO : Path1 checking for diffs 2024/05/06 06:45:01 INFO : Path2 checking for diffs 2024/05/06 06:45:01 INFO : Checking access health 2024/05/06 06:45:01 INFO : Found 2 matching ".chk_file" files on both paths 2024/05/06 06:45:01 INFO : No changes found 2024/05/06 06:45:01 INFO : Updating listings 2024/05/06 06:45:01 INFO : Validating listings for Path1 "/tmp/064444zi/check_filename/path1/" vs Path2 "TestB2:rclone-test-payowij2namivev5xeqadaj8/064444zi/check_filename/path2/" 2024/05/06 06:45:01 INFO : Bisync successful bisync_test.go:555: TEST check_filename PASSED 2024/05/06 06:45:03 DEBUG : B2 bucket rclone-test-payowij2namivev5xeqadaj8: Purge remote 2024/05/06 06:45:03 INFO : B2 bucket rclone-test-payowij2namivev5xeqadaj8: cleaning bucket "rclone-test-payowij2namivev5xeqadaj8" of all files --- PASS: TestBisyncLocalRemote (19.29s) --- PASS: TestBisyncLocalRemote/check_filename (18.30s) PASS 2024/05/06 06:45:03 DEBUG : B2 bucket rclone-test-mamuhuc4kavopif0sihuwuj8: Purge remote 2024/05/06 06:45:03 INFO : B2 bucket rclone-test-mamuhuc4kavopif0sihuwuj8: cleaning bucket "rclone-test-mamuhuc4kavopif0sihuwuj8" of all files 2024/05/06 06:45:04 purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncLocalRemote$/^check_filename$'" - Finished OK in 20.334457177s (try 3/5)