"./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncRemoteLocal$/^check_filename$'" - Starting (try 3/5) 2024/11/03 04:12:20 DEBUG : Creating backend with remote "TestB2:rclone-test-qopogep0vuje" 2024/11/03 04:12:20 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/03 04:12:20 DEBUG : Creating backend with remote "/tmp/rclone2201246607" === RUN TestBisyncRemoteLocal 2024/11/03 04:12:20 DEBUG : Creating backend with remote "TestB2:rclone-test-nuxuzip3five" 2024/11/03 04:12:21 NOTICE: remote: TestB2:rclone-test-nuxuzip3five === RUN TestBisyncRemoteLocal/check_filename 2024/11/03 04:12:21 DEBUG : Creating backend with remote "TestB2:rclone-test-nuxuzip3five/041221ha" 2024/11/03 04:12:21 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/03 04:12:22 DEBUG : path1: Making directory 2024/11/03 04:12:23 DEBUG : Creating backend with remote "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1" 2024/11/03 04:12:24 DEBUG : Creating backend with remote "/tmp/041221ha" 2024/11/03 04:12:24 DEBUG : Creating backend with remote "/tmp/041221ha/check_filename/path2" 2024/11/03 04:12:24 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/initial" 2024/11/03 04:12:24 DEBUG : Creating backend with remote "/tmp/041221ha/initdir/test_check_filename-bisenas2" 2024/11/03 04:12:24 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : subdir: Making directory with metadata 2024/11/03 04:12:24 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/03 04:12:24 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/03 04:12:24 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : Local file system at /tmp/041221ha/initdir/test_check_filename-bisenas2: Waiting for checks to finish 2024/11/03 04:12:24 DEBUG : Local file system at /tmp/041221ha/initdir/test_check_filename-bisenas2: Waiting for transfers to finish 2024/11/03 04:12:24 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:24 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/03 04:12:24 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:24 INFO : file1.txt: Copied (new) 2024/11/03 04:12:24 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/03 04:12:24 INFO : file2.txt: Copied (new) 2024/11/03 04:12:24 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:24 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/11/03 04:12:24 INFO : file3.txt: Copied (new) 2024/11/03 04:12:24 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:24 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/11/03 04:12:24 INFO : file4.txt: Copied (new) 2024/11/03 04:12:24 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:24 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/03 04:12:24 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/03 04:12:24 INFO : subdir/file20.txt: Copied (new) 2024/11/03 04:12:24 DEBUG : .chk_file.cf9a93ac.partial: renamed to: .chk_file 2024/11/03 04:12:24 INFO : .chk_file: Copied (new) 2024/11/03 04:12:24 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/03 04:12:24 DEBUG : subdir/.chk_file.cf9a93ac.partial: renamed to: subdir/.chk_file 2024/11/03 04:12:24 INFO : subdir/.chk_file: Copied (new) 2024/11/03 04:12:24 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/03 04:12:24 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/modfiles" 2024/11/03 04:12:24 DEBUG : Creating backend with remote "/tmp/041221ha/datadir/test_check_filename-qiwowez1" 2024/11/03 04:12:24 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:24 DEBUG : Local file system at /tmp/041221ha/datadir/test_check_filename-qiwowez1: Waiting for checks to finish 2024/11/03 04:12:24 DEBUG : Local file system at /tmp/041221ha/datadir/test_check_filename-qiwowez1: Waiting for transfers to finish 2024/11/03 04:12:24 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/11/03 04:12:24 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2024/11/03 04:12:24 INFO : hold.txt: Copied (new) 2024/11/03 04:12:25 ERROR : : error listing: directory not found 2024/11/03 04:12:25 NOTICE: checking initFs Local file system at /tmp/041221ha/initdir/test_check_filename-bisenas2 2024/11/03 04:12:25 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/11/03 04:12:25 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:25 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:25 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:25 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:25 DEBUG : subdir: Making directory 2024/11/03 04:12:25 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/11/03 04:12:25 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:25 DEBUG : B2 bucket rclone-test-nuxuzip3five path 041221ha/check_filename/path1: Waiting for checks to finish 2024/11/03 04:12:25 DEBUG : B2 bucket rclone-test-nuxuzip3five path 041221ha/check_filename/path1: Waiting for transfers to finish 2024/11/03 04:12:26 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/11/03 04:12:26 INFO : file1.txt: Copied (new) 2024/11/03 04:12:27 DEBUG : file4.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/11/03 04:12:27 INFO : file4.txt: Copied (new) 2024/11/03 04:12:27 DEBUG : file3.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/11/03 04:12:27 INFO : file3.txt: Copied (new) 2024/11/03 04:12:27 DEBUG : subdir/.chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/11/03 04:12:27 INFO : subdir/.chk_file: Copied (new) 2024/11/03 04:12:27 DEBUG : .chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/11/03 04:12:27 INFO : .chk_file: Copied (new) 2024/11/03 04:12:27 DEBUG : subdir/file20.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/11/03 04:12:27 INFO : subdir/file20.txt: Copied (new) 2024/11/03 04:12:28 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/11/03 04:12:28 INFO : file2.txt: Copied (new) 2024/11/03 04:12:28 NOTICE: checking Path1 B2 bucket rclone-test-nuxuzip3five path 041221ha/check_filename/path1 2024/11/03 04:12:28 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/11/03 04:12:28 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:28 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:28 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:28 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:28 DEBUG : subdir: Making directory with metadata 2024/11/03 04:12:28 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/03 04:12:28 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/03 04:12:28 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/11/03 04:12:28 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/03 04:12:28 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:28 DEBUG : Local file system at /tmp/041221ha/check_filename/path2: Waiting for checks to finish 2024/11/03 04:12:28 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/03 04:12:28 INFO : file1.txt: Copied (new) 2024/11/03 04:12:28 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:28 DEBUG : Local file system at /tmp/041221ha/check_filename/path2: Waiting for transfers to finish 2024/11/03 04:12:28 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/03 04:12:28 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:28 INFO : file2.txt: Copied (new) 2024/11/03 04:12:28 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/11/03 04:12:28 INFO : file3.txt: Copied (new) 2024/11/03 04:12:28 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:28 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/11/03 04:12:28 INFO : file4.txt: Copied (new) 2024/11/03 04:12:28 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/03 04:12:28 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/03 04:12:28 DEBUG : .chk_file.cf9a93ac.partial: renamed to: .chk_file 2024/11/03 04:12:28 INFO : .chk_file: Copied (new) 2024/11/03 04:12:28 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/03 04:12:28 INFO : subdir/file20.txt: Copied (new) 2024/11/03 04:12:28 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/03 04:12:28 DEBUG : subdir/.chk_file.cf9a93ac.partial: renamed to: subdir/.chk_file 2024/11/03 04:12:28 INFO : subdir/.chk_file: Copied (new) 2024/11/03 04:12:28 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/03 04:12:28 NOTICE: checking path2 Local file system at /tmp/041221ha/check_filename/path2 2024/11/03 04:12:28 NOTICE: (01) : test check-filename 2024/11/03 04:12:28 NOTICE: (02) : test initial bisync 2024/11/03 04:12:28 NOTICE: (03) : bisync resync 2024/11/03 04:12:29 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/03 04:12:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/03 04:12:29 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/03 04:12:29 INFO : Synching Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" with Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:29 INFO : Copying Path2 files to Path1 2024/11/03 04:12:29 INFO : - Path2 Resync is copying files to - Path1 2024/11/03 04:12:30 INFO : - Path1 Resync is copying files to - Path2 2024/11/03 04:12:30 INFO : Resync updating listings 2024/11/03 04:12:30 INFO : Validating listings for Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" vs Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:30 INFO : Bisync successful 2024/11/03 04:12:30 NOTICE: (04) : test 1. see that check-access passes with the initial setup 2024/11/03 04:12:30 NOTICE: (05) : bisync check-access check-filename=.chk_file 2024/11/03 04:12:32 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/03 04:12:32 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/03 04:12:32 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/03 04:12:32 INFO : Synching Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" with Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:32 INFO : Building Path1 and Path2 listings 2024/11/03 04:12:33 INFO : Path1 checking for diffs 2024/11/03 04:12:33 INFO : Path2 checking for diffs 2024/11/03 04:12:33 INFO : Checking access health 2024/11/03 04:12:33 INFO : Found 2 matching ".chk_file" files on both paths 2024/11/03 04:12:33 INFO : No changes found 2024/11/03 04:12:33 INFO : Updating listings 2024/11/03 04:12:33 INFO : Validating listings for Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" vs Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:33 INFO : Bisync successful 2024/11/03 04:12:33 NOTICE: (06) : copy-listings initial-pass 2024/11/03 04:12:33 NOTICE: (07) : test 2. delete the remote subdir .chk_file, run sync. should fail critical. 2024/11/03 04:12:33 NOTICE: (08) : delete-file /tmp/041221ha/check_filename/path2/subdir/.chk_file 2024/11/03 04:12:33 INFO : .chk_file: Deleted 2024/11/03 04:12:33 NOTICE: (09) : bisync check-access check-filename=.chk_file 2024/11/03 04:12:35 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/03 04:12:35 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/03 04:12:35 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/03 04:12:35 INFO : Synching Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" with Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:35 INFO : Building Path1 and Path2 listings 2024/11/03 04:12:36 INFO : Path1 checking for diffs 2024/11/03 04:12:36 INFO : Path2 checking for diffs 2024/11/03 04:12:36 INFO : - Path2 File was deleted - subdir/.chk_file 2024/11/03 04:12:36 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2024/11/03 04:12:36 INFO : Checking access health 2024/11/03 04:12:36 ERROR : Access test failed: Path1 count 2, Path2 count 1 - .chk_file 2024/11/03 04:12:36 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/.chk_file 2024/11/03 04:12:36 ERROR : Bisync critical error: check file check failed 2024/11/03 04:12:36 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/03 04:12:36 NOTICE: Bisync error: bisync aborted 2024/11/03 04:12:36 NOTICE: (10) : move-listings path2-missing 2024/11/03 04:12:36 NOTICE: (11) : test 3. put the remote subdir .chk_file back, run resync. 2024/11/03 04:12:36 NOTICE: (12) : copy-file TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/subdir/.chk_file /tmp/041221ha/check_filename/path2/subdir/ 2024/11/03 04:12:37 INFO : .chk_file: Copied (new) 2024/11/03 04:12:37 NOTICE: (13) : bisync check-access resync check-filename=.chk_file 2024/11/03 04:12:39 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/03 04:12:39 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/03 04:12:39 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/03 04:12:39 INFO : Synching Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" with Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:39 INFO : Copying Path2 files to Path1 2024/11/03 04:12:39 INFO : Checking access health 2024/11/03 04:12:39 INFO : Found 2 matching ".chk_file" files on both paths 2024/11/03 04:12:39 INFO : - Path2 Resync is copying files to - Path1 2024/11/03 04:12:40 INFO : - Path1 Resync is copying files to - Path2 2024/11/03 04:12:40 INFO : Resync updating listings 2024/11/03 04:12:40 INFO : Validating listings for Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" vs Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:40 INFO : Bisync successful 2024/11/03 04:12:40 NOTICE: (14) : test 4. run sync with check-access. should pass. 2024/11/03 04:12:40 NOTICE: (15) : bisync check-access check-filename=.chk_file 2024/11/03 04:12:42 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/03 04:12:42 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/03 04:12:42 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/03 04:12:42 INFO : Synching Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" with Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:42 INFO : Building Path1 and Path2 listings 2024/11/03 04:12:42 INFO : Path1 checking for diffs 2024/11/03 04:12:42 INFO : Path2 checking for diffs 2024/11/03 04:12:42 INFO : Checking access health 2024/11/03 04:12:42 INFO : Found 2 matching ".chk_file" files on both paths 2024/11/03 04:12:42 INFO : No changes found 2024/11/03 04:12:42 INFO : Updating listings 2024/11/03 04:12:42 INFO : Validating listings for Path1 "TestB2:rclone-test-nuxuzip3five/041221ha/check_filename/path1/" vs Path2 "/tmp/041221ha/check_filename/path2/" 2024/11/03 04:12:42 INFO : Bisync successful bisync_test.go:558: TEST check_filename PASSED 2024/11/03 04:12:44 DEBUG : B2 bucket rclone-test-nuxuzip3five: Purge remote 2024/11/03 04:12:44 INFO : B2 bucket rclone-test-nuxuzip3five: cleaning bucket "rclone-test-nuxuzip3five" of all files --- PASS: TestBisyncRemoteLocal (24.77s) --- PASS: TestBisyncRemoteLocal/check_filename (22.92s) PASS 2024/11/03 04:12:45 DEBUG : B2 bucket rclone-test-qopogep0vuje: Purge remote 2024/11/03 04:12:45 INFO : B2 bucket rclone-test-qopogep0vuje: cleaning bucket "rclone-test-qopogep0vuje" of all files 2024/11/03 04:12:46 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncRemoteLocal$/^check_filename$'" - Finished OK in 26.15927227s (try 3/5)