"./bisync.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestBisyncRemoteLocal$/^check_filename$'" - Starting (try 3/5) 2024/10/04 03:24:49 DEBUG : Creating backend with remote "TestPcloud:rclone-test-dorisis8vuvi" 2024/10/04 03:24:49 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/04 03:24:50 DEBUG : Creating backend with remote "/tmp/rclone2175113503" === RUN TestBisyncRemoteLocal 2024/10/04 03:24:50 DEBUG : Creating backend with remote "TestPcloud:rclone-test-japevon2kaco" 2024/10/04 03:24:50 NOTICE: remote: TestPcloud:rclone-test-japevon2kaco === RUN TestBisyncRemoteLocal/check_filename 2024/10/04 03:24:50 DEBUG : Creating backend with remote "TestPcloud:rclone-test-japevon2kaco/032450fo" 2024/10/04 03:24:50 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/04 03:24:50 DEBUG : path1: Making directory 2024/10/04 03:24:51 DEBUG : Creating backend with remote "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1" 2024/10/04 03:24:52 DEBUG : Creating backend with remote "/tmp/032450fo" 2024/10/04 03:24:52 DEBUG : Config file has changed externally - reloading 2024/10/04 03:24:52 DEBUG : Creating backend with remote "/tmp/032450fo/check_filename/path2" 2024/10/04 03:24:52 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/initial" 2024/10/04 03:24:52 DEBUG : Creating backend with remote "/tmp/032450fo/initdir/test_check_filename-nakicip5" 2024/10/04 03:24:52 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : subdir: Making directory with metadata 2024/10/04 03:24:52 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/10/04 03:24:52 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/10/04 03:24:52 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : Local file system at /tmp/032450fo/initdir/test_check_filename-nakicip5: Waiting for checks to finish 2024/10/04 03:24:52 DEBUG : Local file system at /tmp/032450fo/initdir/test_check_filename-nakicip5: Waiting for transfers to finish 2024/10/04 03:24:52 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:52 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/10/04 03:24:52 INFO : file1.txt: Copied (new) 2024/10/04 03:24:52 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:52 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:52 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/10/04 03:24:52 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/10/04 03:24:52 INFO : file2.txt: Copied (new) 2024/10/04 03:24:52 INFO : file4.txt: Copied (new) 2024/10/04 03:24:52 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/10/04 03:24:52 DEBUG : .chk_file.cf9a93ac.partial: renamed to: .chk_file 2024/10/04 03:24:52 INFO : .chk_file: Copied (new) 2024/10/04 03:24:52 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:52 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:52 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/10/04 03:24:52 INFO : file3.txt: Copied (new) 2024/10/04 03:24:52 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/10/04 03:24:52 INFO : subdir/file20.txt: Copied (new) 2024/10/04 03:24:52 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/10/04 03:24:52 DEBUG : subdir/.chk_file.cf9a93ac.partial: renamed to: subdir/.chk_file 2024/10/04 03:24:52 INFO : subdir/.chk_file: Copied (new) 2024/10/04 03:24:52 INFO : subdir: Set directory modification time (using SetModTime) 2024/10/04 03:24:52 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_filename/modfiles" 2024/10/04 03:24:52 DEBUG : Creating backend with remote "/tmp/032450fo/datadir/test_check_filename-tivekim1" 2024/10/04 03:24:52 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : Local file system at /tmp/032450fo/datadir/test_check_filename-tivekim1: Waiting for checks to finish 2024/10/04 03:24:52 DEBUG : Local file system at /tmp/032450fo/datadir/test_check_filename-tivekim1: Waiting for transfers to finish 2024/10/04 03:24:52 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/10/04 03:24:52 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2024/10/04 03:24:52 INFO : hold.txt: Copied (new) 2024/10/04 03:24:52 ERROR : : error listing: directory not found 2024/10/04 03:24:52 NOTICE: checking initFs Local file system at /tmp/032450fo/initdir/test_check_filename-nakicip5 2024/10/04 03:24:52 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : subdir: Making directory 2024/10/04 03:24:52 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:52 DEBUG : pcloud root 'rclone-test-japevon2kaco/032450fo/check_filename/path1': Waiting for checks to finish 2024/10/04 03:24:52 DEBUG : pcloud root 'rclone-test-japevon2kaco/032450fo/check_filename/path1': Waiting for transfers to finish 2024/10/04 03:24:53 DEBUG : .chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/10/04 03:24:53 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/04 03:24:53 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/04 03:24:53 DEBUG : file3.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/04 03:24:53 DEBUG : .chk_file.cf9a93ac.partial: renamed to: .chk_file 2024/10/04 03:24:53 INFO : .chk_file: Copied (new) 2024/10/04 03:24:53 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/10/04 03:24:53 INFO : file1.txt: Copied (new) 2024/10/04 03:24:53 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/10/04 03:24:53 INFO : file2.txt: Copied (new) 2024/10/04 03:24:53 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/10/04 03:24:53 INFO : file3.txt: Copied (new) 2024/10/04 03:24:53 DEBUG : file4.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/04 03:24:53 DEBUG : subdir/file20.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/04 03:24:53 DEBUG : subdir/.chk_file: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/10/04 03:24:53 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/10/04 03:24:53 INFO : file4.txt: Copied (new) 2024/10/04 03:24:53 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/10/04 03:24:53 INFO : subdir/file20.txt: Copied (new) 2024/10/04 03:24:53 DEBUG : subdir/.chk_file.cf9a93ac.partial: renamed to: subdir/.chk_file 2024/10/04 03:24:53 INFO : subdir/.chk_file: Copied (new) 2024/10/04 03:24:53 NOTICE: checking Path1 pcloud root 'rclone-test-japevon2kaco/032450fo/check_filename/path1' 2024/10/04 03:24:54 DEBUG : .chk_file: Need to transfer - File not found at Destination 2024/10/04 03:24:54 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:54 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:54 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:54 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:54 DEBUG : subdir: Making directory with metadata 2024/10/04 03:24:54 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/10/04 03:24:54 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/10/04 03:24:54 DEBUG : subdir/.chk_file: Need to transfer - File not found at Destination 2024/10/04 03:24:54 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:54 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:54 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:54 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/10/04 03:24:54 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/10/04 03:24:54 INFO : file3.txt: Copied (new) 2024/10/04 03:24:54 INFO : file2.txt: Copied (new) 2024/10/04 03:24:54 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/10/04 03:24:54 INFO : file1.txt: Copied (new) 2024/10/04 03:24:54 DEBUG : .chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/10/04 03:24:54 DEBUG : .chk_file.cf9a93ac.partial: renamed to: .chk_file 2024/10/04 03:24:54 INFO : .chk_file: Copied (new) 2024/10/04 03:24:54 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:54 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/10/04 03:24:54 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/10/04 03:24:54 INFO : file4.txt: Copied (new) 2024/10/04 03:24:54 DEBUG : Local file system at /tmp/032450fo/check_filename/path2: Waiting for checks to finish 2024/10/04 03:24:54 DEBUG : Local file system at /tmp/032450fo/check_filename/path2: Waiting for transfers to finish 2024/10/04 03:24:54 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/04 03:24:54 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/10/04 03:24:54 INFO : subdir/file20.txt: Copied (new) 2024/10/04 03:24:54 DEBUG : subdir/.chk_file: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/10/04 03:24:54 DEBUG : subdir/.chk_file.cf9a93ac.partial: renamed to: subdir/.chk_file 2024/10/04 03:24:54 INFO : subdir/.chk_file: Copied (new) 2024/10/04 03:24:54 INFO : subdir: Set directory modification time (using SetModTime) 2024/10/04 03:24:54 NOTICE: checking path2 Local file system at /tmp/032450fo/check_filename/path2 2024/10/04 03:24:54 NOTICE: (01) : test check-filename 2024/10/04 03:24:54 NOTICE: (02) : test initial bisync 2024/10/04 03:24:54 NOTICE: (03) : bisync resync 2024/10/04 03:24:54 INFO : subdir: Set directory modification time (using SetModTime) 2024/10/04 03:24:54 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/10/04 03:24: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/10/04 03:24:54 INFO : Synching Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" with Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:54 INFO : Copying Path2 files to Path1 2024/10/04 03:24:54 INFO : - Path2 Resync is copying files to - Path1 2024/10/04 03:24:54 INFO : - Path1 Resync is copying files to - Path2 2024/10/04 03:24:54 INFO : Resync updating listings 2024/10/04 03:24:54 INFO : Validating listings for Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" vs Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:54 INFO : Bisync successful 2024/10/04 03:24:54 NOTICE: (04) : test 1. see that check-access passes with the initial setup 2024/10/04 03:24:54 NOTICE: (05) : bisync check-access check-filename=.chk_file 2024/10/04 03:24:54 INFO : subdir: Set directory modification time (using SetModTime) 2024/10/04 03:24:54 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/10/04 03:24: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/10/04 03:24:54 INFO : Synching Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" with Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:54 INFO : Building Path1 and Path2 listings 2024/10/04 03:24:55 INFO : Path1 checking for diffs 2024/10/04 03:24:55 INFO : Path2 checking for diffs 2024/10/04 03:24:55 INFO : Checking access health 2024/10/04 03:24:55 INFO : Found 2 matching ".chk_file" files on both paths 2024/10/04 03:24:55 INFO : No changes found 2024/10/04 03:24:55 INFO : Updating listings 2024/10/04 03:24:55 INFO : Validating listings for Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" vs Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:55 INFO : Bisync successful 2024/10/04 03:24:55 NOTICE: (06) : copy-listings initial-pass 2024/10/04 03:24:55 NOTICE: (07) : test 2. delete the remote subdir .chk_file, run sync. should fail critical. 2024/10/04 03:24:55 NOTICE: (08) : delete-file /tmp/032450fo/check_filename/path2/subdir/.chk_file 2024/10/04 03:24:55 INFO : .chk_file: Deleted 2024/10/04 03:24:55 NOTICE: (09) : bisync check-access check-filename=.chk_file 2024/10/04 03:24:55 INFO : subdir: Set directory modification time (using SetModTime) 2024/10/04 03:24:55 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/10/04 03:24:55 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/10/04 03:24:55 INFO : Synching Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" with Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:55 INFO : Building Path1 and Path2 listings 2024/10/04 03:24:55 INFO : Path1 checking for diffs 2024/10/04 03:24:55 INFO : Path2 checking for diffs 2024/10/04 03:24:55 INFO : - Path2 File was deleted - subdir/.chk_file 2024/10/04 03:24:55 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2024/10/04 03:24:55 INFO : Checking access health 2024/10/04 03:24:55 ERROR : Access test failed: Path1 count 2, Path2 count 1 - .chk_file 2024/10/04 03:24:55 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/.chk_file 2024/10/04 03:24:55 ERROR : Bisync critical error: check file check failed 2024/10/04 03:24:55 ERROR : Bisync aborted. Must run --resync to recover. 2024/10/04 03:24:55 NOTICE: Bisync error: bisync aborted 2024/10/04 03:24:55 NOTICE: (10) : move-listings path2-missing 2024/10/04 03:24:55 NOTICE: (11) : test 3. put the remote subdir .chk_file back, run resync. 2024/10/04 03:24:55 NOTICE: (12) : copy-file TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/subdir/.chk_file /tmp/032450fo/check_filename/path2/subdir/ 2024/10/04 03:24:57 INFO : .chk_file: Copied (new) 2024/10/04 03:24:57 NOTICE: (13) : bisync check-access resync check-filename=.chk_file 2024/10/04 03:24:57 INFO : subdir: Set directory modification time (using SetModTime) 2024/10/04 03:24:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/10/04 03:24:57 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/10/04 03:24:57 INFO : Synching Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" with Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:57 INFO : Copying Path2 files to Path1 2024/10/04 03:24:57 INFO : Checking access health 2024/10/04 03:24:57 INFO : Found 2 matching ".chk_file" files on both paths 2024/10/04 03:24:57 INFO : - Path2 Resync is copying files to - Path1 2024/10/04 03:24:57 INFO : - Path1 Resync is copying files to - Path2 2024/10/04 03:24:57 INFO : Resync updating listings 2024/10/04 03:24:57 INFO : Validating listings for Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" vs Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:57 INFO : Bisync successful 2024/10/04 03:24:57 NOTICE: (14) : test 4. run sync with check-access. should pass. 2024/10/04 03:24:57 NOTICE: (15) : bisync check-access check-filename=.chk_file 2024/10/04 03:24:57 INFO : subdir: Set directory modification time (using SetModTime) 2024/10/04 03:24:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/10/04 03:24:57 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/10/04 03:24:57 INFO : Synching Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" with Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:57 INFO : Building Path1 and Path2 listings 2024/10/04 03:24:58 INFO : Path1 checking for diffs 2024/10/04 03:24:58 INFO : Path2 checking for diffs 2024/10/04 03:24:58 INFO : Checking access health 2024/10/04 03:24:58 INFO : Found 2 matching ".chk_file" files on both paths 2024/10/04 03:24:58 INFO : No changes found 2024/10/04 03:24:58 INFO : Updating listings 2024/10/04 03:24:58 INFO : Validating listings for Path1 "TestPcloud:rclone-test-japevon2kaco/032450fo/check_filename/path1/" vs Path2 "/tmp/032450fo/check_filename/path2/" 2024/10/04 03:24:58 INFO : Bisync successful bisync_test.go:558: TEST check_filename PASSED 2024/10/04 03:24:58 DEBUG : pcloud root 'rclone-test-japevon2kaco': Purge remote --- PASS: TestBisyncRemoteLocal (8.51s) --- PASS: TestBisyncRemoteLocal/check_filename (7.86s) PASS 2024/10/04 03:24:58 DEBUG : pcloud root 'rclone-test-dorisis8vuvi': Purge remote 2024/10/04 03:24:58 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestBisyncRemoteLocal$/^check_filename$'" - Finished OK in 9.124836294s (try 3/5)