"./bisync.test -test.v -test.timeout 1h0m0s -remote TestBox: -verbose -test.run '^TestBisyncRemoteLocal$/^check_filename$'" - Starting (try 2/5) 2024/04/16 02:00:22 DEBUG : Creating backend with remote "TestBox:rclone-test-pecidix1xufivav5fevajim4" 2024/04/16 02:00:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/16 02:00:22 DEBUG : box root 'rclone-test-pecidix1xufivav5fevajim4': Ignoring "Shared folder — ForNick" - unknown type "web_link" 2024/04/16 02:00:23 DEBUG : Creating backend with remote "/tmp/rclone3661735064" === RUN TestBisyncRemoteLocal 2024/04/16 02:00:23 DEBUG : Creating backend with remote "TestBox:rclone-test-kivocog9sejisex5mecimaw4" 2024/04/16 02:00:23 DEBUG : box root 'rclone-test-kivocog9sejisex5mecimaw4': Ignoring "Shared folder — ForNick" - unknown type "web_link" 2024/04/16 02:00:24 remote: TestBox:rclone-test-kivocog9sejisex5mecimaw4 === RUN TestBisyncRemoteLocal/check_filename 2024/04/16 02:00:24 DEBUG : Creating backend with remote "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya" 2024/04/16 02:00:24 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/16 02:00:24 DEBUG : box root 'rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya': Ignoring "Shared folder — ForNick" - unknown type "web_link" 2024/04/16 02:00:25 DEBUG : box root 'rclone-test-kivocog9sejisex5mecimaw4': Ignoring "Shared folder — ForNick" - unknown type "web_link" 2024/04/16 02:00:25 DEBUG : path1: Making directory 2024/04/16 02:00:26 DEBUG : box root 'rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya': Ignoring "Shared folder — ForNick" - unknown type "web_link" 2024/04/16 02:00:29 DEBUG : Creating backend with remote "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1" 2024/04/16 02:00:31 DEBUG : Creating backend with remote "/tmp/bs-020024-ya" 2024/04/16 02:00:31 DEBUG : Creating backend with remote "/tmp/bs-020024-ya/check_filename/path2" 2024/04/16 02:00:31 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/initial" 2024/04/16 02:00:31 DEBUG : Creating backend with remote "/tmp/bs-020024-ya/initdir/test_check_filename-telojov6" 2024/04/16 02:00:31 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : subdir: Making directory with metadata 2024/04/16 02:00:31 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/16 02:00:31 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/16 02:00:31 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:31 DEBUG : file1.txt.susalug7.partial: renamed to: file1.txt 2024/04/16 02:00:31 INFO : file1.txt: Copied (new) 2024/04/16 02:00:31 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:31 DEBUG : file2.txt.rivumak1.partial: renamed to: file2.txt 2024/04/16 02:00:31 INFO : file2.txt: Copied (new) 2024/04/16 02:00:31 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:31 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:31 DEBUG : file4.txt.fohebut0.partial: renamed to: file4.txt 2024/04/16 02:00:31 INFO : file4.txt: Copied (new) 2024/04/16 02:00:31 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:31 DEBUG : subdir/file20.txt.bimolus0.partial: renamed to: subdir/file20.txt 2024/04/16 02:00:31 INFO : subdir/file20.txt: Copied (new) 2024/04/16 02:00:31 DEBUG : Local file system at /tmp/bs-020024-ya/initdir/test_check_filename-telojov6: Waiting for checks to finish 2024/04/16 02:00:31 DEBUG : Local file system at /tmp/bs-020024-ya/initdir/test_check_filename-telojov6: Waiting for transfers to finish 2024/04/16 02:00:31 DEBUG : file3.txt.viqupuh4.partial: renamed to: file3.txt 2024/04/16 02:00:31 INFO : file3.txt: Copied (new) 2024/04/16 02:00:31 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/16 02:00:31 DEBUG : subdir/.chk_file.wusatiz8.partial: renamed to: subdir/.chk_file 2024/04/16 02:00:31 INFO : subdir/.chk_file: Copied (new) 2024/04/16 02:00:31 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/16 02:00:31 DEBUG : .chk_file.pigenoc4.partial: renamed to: .chk_file 2024/04/16 02:00:31 INFO : .chk_file: Copied (new) 2024/04/16 02:00:31 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:00:31 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/modfiles" 2024/04/16 02:00:31 DEBUG : Creating backend with remote "/tmp/bs-020024-ya/datadir/test_check_filename-xayotel0" 2024/04/16 02:00:31 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:31 DEBUG : Local file system at /tmp/bs-020024-ya/datadir/test_check_filename-xayotel0: Waiting for checks to finish 2024/04/16 02:00:31 DEBUG : Local file system at /tmp/bs-020024-ya/datadir/test_check_filename-xayotel0: Waiting for transfers to finish 2024/04/16 02:00:31 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/04/16 02:00:31 DEBUG : hold.txt.gugezuq8.partial: renamed to: hold.txt 2024/04/16 02:00:31 INFO : hold.txt: Copied (new) 2024/04/16 02:00:32 ERROR : : error listing: directory not found 2024/04/16 02:00:32 ERROR : : error listing: directory not found 2024/04/16 02:00:32 checking initFs Local file system at /tmp/bs-020024-ya/initdir/test_check_filename-telojov6 2024/04/16 02:00:32 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/04/16 02:00:32 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:32 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:32 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:32 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:32 DEBUG : subdir: Making directory 2024/04/16 02:00:36 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/04/16 02:00:36 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:36 DEBUG : box root 'rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1': Waiting for checks to finish 2024/04/16 02:00:36 DEBUG : box root 'rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1': Waiting for transfers to finish 2024/04/16 02:00:37 DEBUG : file3.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/04/16 02:00:37 INFO : file3.txt: Copied (new) 2024/04/16 02:00:38 DEBUG : .chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/04/16 02:00:38 INFO : .chk_file: Copied (new) 2024/04/16 02:00:38 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/04/16 02:00:38 INFO : file2.txt: Copied (new) 2024/04/16 02:00:38 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/04/16 02:00:38 INFO : file1.txt: Copied (new) 2024/04/16 02:00:39 DEBUG : file4.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/04/16 02:00:39 INFO : file4.txt: Copied (new) 2024/04/16 02:00:39 DEBUG : subdir/.chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/04/16 02:00:39 INFO : subdir/.chk_file: Copied (new) 2024/04/16 02:00:39 DEBUG : subdir/file20.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/04/16 02:00:39 INFO : subdir/file20.txt: Copied (new) 2024/04/16 02:00:39 checking Path1 box root 'rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1' 2024/04/16 02:00:40 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/04/16 02:00:40 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:40 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:40 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:40 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:40 DEBUG : subdir: Making directory with metadata 2024/04/16 02:00:40 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/16 02:00:40 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/16 02:00:40 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/04/16 02:00:40 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/16 02:00:40 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:40 DEBUG : file1.txt.gevuwej9.partial: renamed to: file1.txt 2024/04/16 02:00:40 INFO : file1.txt: Copied (new) 2024/04/16 02:00:40 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:40 DEBUG : file2.txt.koduver7.partial: renamed to: file2.txt 2024/04/16 02:00:40 INFO : file2.txt: Copied (new) 2024/04/16 02:00:40 DEBUG : Local file system at /tmp/bs-020024-ya/check_filename/path2: Waiting for checks to finish 2024/04/16 02:00:40 DEBUG : Local file system at /tmp/bs-020024-ya/check_filename/path2: Waiting for transfers to finish 2024/04/16 02:00:40 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:40 DEBUG : file3.txt.zupenar4.partial: renamed to: file3.txt 2024/04/16 02:00:40 INFO : file3.txt: Copied (new) 2024/04/16 02:00:40 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:40 DEBUG : file4.txt.nugages3.partial: renamed to: file4.txt 2024/04/16 02:00:40 INFO : file4.txt: Copied (new) 2024/04/16 02:00:40 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/16 02:00:40 DEBUG : subdir/file20.txt.fisipec3.partial: renamed to: subdir/file20.txt 2024/04/16 02:00:40 INFO : subdir/file20.txt: Copied (new) 2024/04/16 02:00:40 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/16 02:00:40 DEBUG : subdir/.chk_file.meyuwex0.partial: renamed to: subdir/.chk_file 2024/04/16 02:00:40 INFO : subdir/.chk_file: Copied (new) 2024/04/16 02:00:40 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/16 02:00:40 DEBUG : .chk_file.rahiqex9.partial: renamed to: .chk_file 2024/04/16 02:00:40 INFO : .chk_file: Copied (new) 2024/04/16 02:00:40 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:00:40 checking path2 Local file system at /tmp/bs-020024-ya/check_filename/path2 2024/04/16 02:00:40 (01) : test check-filename 2024/04/16 02:00:40 (02) : test initial bisync 2024/04/16 02:00:40 (03) : bisync resync 2024/04/16 02:00:43 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:00:43 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/16 02:00:43 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/16 02:00:43 INFO : Synching Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" with Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:00:43 INFO : Copying Path2 files to Path1 2024/04/16 02:00:43 INFO : - Path2 Resync is copying files to - Path1 2024/04/16 02:00:44 INFO : - Path1 Resync is copying files to - Path2 2024/04/16 02:00:44 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:00:45 INFO : Resync updating listings 2024/04/16 02:00:45 INFO : Validating listings for Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" vs Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:00:45 INFO : Bisync successful 2024/04/16 02:00:45 (04) : test 1. see that check-access passes with the initial setup 2024/04/16 02:00:45 (05) : bisync check-access check-filename=.chk_file 2024/04/16 02:00:48 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:00:48 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/16 02:00:48 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/16 02:00:48 INFO : Synching Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" with Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:00:48 INFO : Building Path1 and Path2 listings 2024/04/16 02:00:48 INFO : Path1 checking for diffs 2024/04/16 02:00:48 INFO : Path2 checking for diffs 2024/04/16 02:00:48 INFO : Checking access health 2024/04/16 02:00:48 INFO : Found 2 matching ".chk_file" files on both paths 2024/04/16 02:00:48 INFO : No changes found 2024/04/16 02:00:48 INFO : Updating listings 2024/04/16 02:00:48 INFO : Validating listings for Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" vs Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:00:48 INFO : Bisync successful 2024/04/16 02:00:48 (06) : copy-listings initial-pass 2024/04/16 02:00:48 (07) : test 2. delete the remote subdir .chk_file, run sync. should fail critical. 2024/04/16 02:00:48 (08) : delete-file /tmp/bs-020024-ya/check_filename/path2/subdir/.chk_file 2024/04/16 02:00:49 INFO : .chk_file: Deleted 2024/04/16 02:00:49 (09) : bisync check-access check-filename=.chk_file 2024/04/16 02:00:51 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:00:51 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/16 02:00: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/04/16 02:00:51 INFO : Synching Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" with Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:00:51 INFO : Building Path1 and Path2 listings 2024/04/16 02:00:52 INFO : Path1 checking for diffs 2024/04/16 02:00:52 INFO : Path2 checking for diffs 2024/04/16 02:00:52 INFO : - Path2 File was deleted - subdir/.chk_file 2024/04/16 02:00:52 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2024/04/16 02:00:52 INFO : Checking access health 2024/04/16 02:00:52 ERROR : Access test failed: Path1 count 2, Path2 count 1 - .chk_file 2024/04/16 02:00:52 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/.chk_file 2024/04/16 02:00:52 ERROR : Bisync critical error: check file check failed 2024/04/16 02:00:52 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/16 02:00:52 Bisync error: bisync aborted 2024/04/16 02:00:52 (10) : move-listings path2-missing 2024/04/16 02:00:52 (11) : test 3. put the remote subdir .chk_file back, run resync. 2024/04/16 02:00:52 (12) : copy-file TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/subdir/.chk_file /tmp/bs-020024-ya/check_filename/path2/subdir/ 2024/04/16 02:01:00 INFO : .chk_file: Copied (new) 2024/04/16 02:01:00 (13) : bisync check-access resync check-filename=.chk_file 2024/04/16 02:01:02 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:01:02 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/16 02:01:02 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/16 02:01:02 INFO : Synching Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" with Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:01:02 INFO : Copying Path2 files to Path1 2024/04/16 02:01:02 INFO : Checking access health 2024/04/16 02:01:03 INFO : Found 2 matching ".chk_file" files on both paths 2024/04/16 02:01:03 INFO : - Path2 Resync is copying files to - Path1 2024/04/16 02:01:04 INFO : - Path1 Resync is copying files to - Path2 2024/04/16 02:01:05 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:01:05 INFO : Resync updating listings 2024/04/16 02:01:05 INFO : Validating listings for Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" vs Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:01:05 INFO : Bisync successful 2024/04/16 02:01:05 (14) : test 4. run sync with check-access. should pass. 2024/04/16 02:01:05 (15) : bisync check-access check-filename=.chk_file 2024/04/16 02:01:08 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/16 02:01:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/16 02:01:08 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/16 02:01:08 INFO : Synching Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" with Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:01:08 INFO : Building Path1 and Path2 listings 2024/04/16 02:01:09 INFO : Path1 checking for diffs 2024/04/16 02:01:09 INFO : Path2 checking for diffs 2024/04/16 02:01:09 INFO : Checking access health 2024/04/16 02:01:09 INFO : Found 2 matching ".chk_file" files on both paths 2024/04/16 02:01:09 INFO : No changes found 2024/04/16 02:01:09 INFO : Updating listings 2024/04/16 02:01:09 INFO : Validating listings for Path1 "TestBox:rclone-test-kivocog9sejisex5mecimaw4/bs-020024-ya/check_filename/path1/" vs Path2 "/tmp/bs-020024-ya/check_filename/path2/" 2024/04/16 02:01:09 INFO : Bisync successful bisync_test.go:539: TEST check_filename PASSED 2024/04/16 02:01:13 DEBUG : box root 'rclone-test-kivocog9sejisex5mecimaw4': Purge remote --- PASS: TestBisyncRemoteLocal (51.67s) --- PASS: TestBisyncRemoteLocal/check_filename (48.80s) PASS 2024/04/16 02:01:14 DEBUG : box root 'rclone-test-pecidix1xufivav5fevajim4': Purge remote 2024/04/16 02:01:15 DEBUG : box root 'rclone-test-pecidix1xufivav5fevajim4': Ignoring "Shared folder — ForNick" - unknown type "web_link" 2024/04/16 02:01:15 purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestBox: -verbose -test.run '^TestBisyncRemoteLocal$/^check_filename$'" - Finished OK in 53.325110731s (try 2/5)