"./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^max_delete_path1$'" - Starting (try 5/5) 2025/02/14 01:00:32 DEBUG : Creating backend with remote "TestB2:rclone-test-lobowur9disi" 2025/02/14 01:00:32 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/02/14 01:00:33 DEBUG : Creating backend with remote "/tmp/rclone1837541854" === RUN TestBisyncRemoteLocal 2025/02/14 01:00:33 DEBUG : Creating backend with remote "TestB2:rclone-test-fagarom7suxi" 2025/02/14 01:00:33 NOTICE: remote: TestB2:rclone-test-fagarom7suxi === RUN TestBisyncRemoteLocal/max_delete_path1 2025/02/14 01:00:33 DEBUG : Creating backend with remote "TestB2:rclone-test-fagarom7suxi/010033gi" 2025/02/14 01:00:33 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/02/14 01:00:35 INFO : path1: Making directory 2025/02/14 01:00:53 DEBUG : Creating backend with remote "TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1" 2025/02/14 01:00:53 DEBUG : Config file has changed externally - reloading 2025/02/14 01:00:54 DEBUG : Creating backend with remote "/tmp/010033gi" 2025/02/14 01:00:54 DEBUG : Creating backend with remote "/tmp/010033gi/max_delete_path1/path2" 2025/02/14 01:00:54 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_max_delete_path1/initial" 2025/02/14 01:00:54 DEBUG : Creating backend with remote "/tmp/010033gi/initdir/test_max_delete_path1-mazivok2" 2025/02/14 01:00:54 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file9.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/02/14 01:00:54 INFO : file2.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : Local file system at /tmp/010033gi/initdir/test_max_delete_path1-mazivok2: Waiting for checks to finish 2025/02/14 01:00:54 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/02/14 01:00:54 INFO : file1.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : Local file system at /tmp/010033gi/initdir/test_max_delete_path1-mazivok2: Waiting for transfers to finish 2025/02/14 01:00:54 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2025/02/14 01:00:54 INFO : file5.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2025/02/14 01:00:54 INFO : file6.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2025/02/14 01:00:54 INFO : file7.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2025/02/14 01:00:54 INFO : file8.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/02/14 01:00:54 INFO : file3.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:54 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/02/14 01:00:54 INFO : file4.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : file9.txt: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/14 01:00:54 DEBUG : file9.txt.cf9a93ac.partial: renamed to: file9.txt 2025/02/14 01:00:54 INFO : file9.txt: Copied (new) 2025/02/14 01:00:54 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_max_delete_path1/modfiles" 2025/02/14 01:00:54 DEBUG : Creating backend with remote "/tmp/010033gi/datadir/test_max_delete_path1-navokaf4" 2025/02/14 01:00:54 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:54 DEBUG : Local file system at /tmp/010033gi/datadir/test_max_delete_path1-navokaf4: Waiting for checks to finish 2025/02/14 01:00:54 DEBUG : Local file system at /tmp/010033gi/datadir/test_max_delete_path1-navokaf4: Waiting for transfers to finish 2025/02/14 01:00:54 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/02/14 01:00:54 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/02/14 01:00:54 INFO : hold.txt: Copied (new) 2025/02/14 01:00:55 ERROR : : error listing: directory not found 2025/02/14 01:00:55 NOTICE: checking initFs Local file system at /tmp/010033gi/initdir/test_max_delete_path1-mazivok2 2025/02/14 01:00:55 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : file9.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:55 DEBUG : B2 bucket rclone-test-fagarom7suxi path 010033gi/max_delete_path1/path1: Waiting for checks to finish 2025/02/14 01:00:55 DEBUG : B2 bucket rclone-test-fagarom7suxi path 010033gi/max_delete_path1/path1: Waiting for transfers to finish 2025/02/14 01:00:56 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:56 INFO : file2.txt: Copied (new) 2025/02/14 01:00:56 DEBUG : file5.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:56 INFO : file5.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file6.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:57 INFO : file6.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file3.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:57 INFO : file3.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:57 INFO : file1.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file7.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:57 INFO : file7.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file8.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:57 INFO : file8.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file9.txt: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2025/02/14 01:00:57 INFO : file9.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file4.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:00:57 INFO : file4.txt: Copied (new) 2025/02/14 01:00:57 NOTICE: checking Path1 B2 bucket rclone-test-fagarom7suxi path 010033gi/max_delete_path1/path1 2025/02/14 01:00:57 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : file9.txt: Need to transfer - File not found at Destination 2025/02/14 01:00:57 DEBUG : Local file system at /tmp/010033gi/max_delete_path1/path2: Waiting for checks to finish 2025/02/14 01:00:57 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/02/14 01:00:57 INFO : file1.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/02/14 01:00:57 INFO : file2.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/02/14 01:00:57 INFO : file3.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : Local file system at /tmp/010033gi/max_delete_path1/path2: Waiting for transfers to finish 2025/02/14 01:00:57 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/02/14 01:00:57 INFO : file4.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2025/02/14 01:00:57 INFO : file5.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2025/02/14 01:00:57 INFO : file6.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:00:57 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2025/02/14 01:00:57 INFO : file7.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file9.txt: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/14 01:00:57 DEBUG : file9.txt.cf9a93ac.partial: renamed to: file9.txt 2025/02/14 01:00:57 INFO : file9.txt: Copied (new) 2025/02/14 01:00:57 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2025/02/14 01:00:57 INFO : file8.txt: Copied (new) 2025/02/14 01:00:57 NOTICE: checking path2 Local file system at /tmp/010033gi/max_delete_path1/path2 2025/02/14 01:00:57 NOTICE: (01) : test max-delete-path1 2025/02/14 01:00:57 NOTICE: (02) : test initial bisync 2025/02/14 01:00:57 NOTICE: (03) : bisync resync 2025/02/14 01:00:59 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:00:59 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/14 01:00:59 INFO : Synching Path1 "TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/" with Path2 "/tmp/010033gi/max_delete_path1/path2/" 2025/02/14 01:00:59 INFO : Copying Path2 files to Path1 2025/02/14 01:00:59 INFO : - Path2 Resync is copying files to - Path1 2025/02/14 01:00:59 INFO : - Path1 Resync is copying files to - Path2 2025/02/14 01:00:59 INFO : Resync updating listings 2025/02/14 01:00:59 INFO : Validating listings for Path1 "TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/" vs Path2 "/tmp/010033gi/max_delete_path1/path2/" 2025/02/14 01:00:59 INFO : Bisync successful 2025/02/14 01:00:59 NOTICE: (04) : test delete >50% of local files 2025/02/14 01:00:59 NOTICE: (05) : delete-file TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/file1.txt 2025/02/14 01:01:00 INFO : file1.txt: Deleted 2025/02/14 01:01:00 NOTICE: (06) : delete-file TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/file2.txt 2025/02/14 01:01:01 INFO : file2.txt: Deleted 2025/02/14 01:01:01 NOTICE: (07) : delete-file TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/file3.txt 2025/02/14 01:01:01 INFO : file3.txt: Deleted 2025/02/14 01:01:01 NOTICE: (08) : delete-file TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/file4.txt 2025/02/14 01:01:01 INFO : file4.txt: Deleted 2025/02/14 01:01:01 NOTICE: (09) : delete-file TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/file5.txt 2025/02/14 01:01:02 INFO : file5.txt: Deleted 2025/02/14 01:01:02 NOTICE: (10) : test sync should fail due to too many local deletes 2025/02/14 01:01:02 NOTICE: (11) : bisync 2025/02/14 01:01:03 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:01:03 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/14 01:01:03 INFO : Synching Path1 "TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/" with Path2 "/tmp/010033gi/max_delete_path1/path2/" 2025/02/14 01:01:03 INFO : Building Path1 and Path2 listings 2025/02/14 01:01:03 INFO : Path1 checking for diffs 2025/02/14 01:01:03 INFO : - Path1 File was deleted - file1.txt 2025/02/14 01:01:03 INFO : - Path1 File was deleted - file2.txt 2025/02/14 01:01:03 INFO : - Path1 File was deleted - file3.txt 2025/02/14 01:01:03 INFO : - Path1 File was deleted - file4.txt 2025/02/14 01:01:03 INFO : - Path1 File was deleted - file5.txt 2025/02/14 01:01:03 INFO : Path1: 5 changes:  0 new,  0 modified,  5 deleted 2025/02/14 01:01:03 INFO : Path2 checking for diffs 2025/02/14 01:01:03 ERROR : Safety abort: too many deletes (>50%, 5 of 9) on Path1 "TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/". Run with --force if desired. 2025/02/14 01:01:03 NOTICE: Bisync aborted. Please try again. 2025/02/14 01:01:03 NOTICE: Bisync error: too many deletes 2025/02/14 01:01:03 NOTICE: (12) : copy-listings initial-fail 2025/02/14 01:01:03 NOTICE: (13) : test change max-delete limit to 60%. sync should run. 2025/02/14 01:01:03 NOTICE: (14) : bisync max-delete=60 2025/02/14 01:01:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:01:05 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/14 01:01:05 INFO : Synching Path1 "TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/" with Path2 "/tmp/010033gi/max_delete_path1/path2/" 2025/02/14 01:01:05 INFO : Building Path1 and Path2 listings 2025/02/14 01:01:05 INFO : Path1 checking for diffs 2025/02/14 01:01:05 INFO : - Path1 File was deleted - file1.txt 2025/02/14 01:01:05 INFO : - Path1 File was deleted - file2.txt 2025/02/14 01:01:05 INFO : - Path1 File was deleted - file3.txt 2025/02/14 01:01:05 INFO : - Path1 File was deleted - file4.txt 2025/02/14 01:01:05 INFO : - Path1 File was deleted - file5.txt 2025/02/14 01:01:05 INFO : Path1: 5 changes:  0 new,  0 modified,  5 deleted 2025/02/14 01:01:05 INFO : Path2 checking for diffs 2025/02/14 01:01:05 INFO : Applying changes 2025/02/14 01:01:05 INFO : - Path2 Queue delete - /tmp/010033gi/max_delete_path1/path2/file1.txt 2025/02/14 01:01:05 INFO : - Path2 Queue delete - /tmp/010033gi/max_delete_path1/path2/file2.txt 2025/02/14 01:01:05 INFO : - Path2 Queue delete - /tmp/010033gi/max_delete_path1/path2/file3.txt 2025/02/14 01:01:05 INFO : - Path2 Queue delete - /tmp/010033gi/max_delete_path1/path2/file4.txt 2025/02/14 01:01:05 INFO : - Path2 Queue delete - /tmp/010033gi/max_delete_path1/path2/file5.txt 2025/02/14 01:01:05 INFO : - Path1 Do queued copies to - Path2 2025/02/14 01:01:05 INFO : file4.txt: Deleted 2025/02/14 01:01:05 INFO : file1.txt: Deleted 2025/02/14 01:01:05 INFO : file2.txt: Deleted 2025/02/14 01:01:05 INFO : file3.txt: Deleted 2025/02/14 01:01:05 INFO : file5.txt: Deleted 2025/02/14 01:01:05 INFO : Updating listings 2025/02/14 01:01:05 INFO : Validating listings for Path1 "TestB2:rclone-test-fagarom7suxi/010033gi/max_delete_path1/path1/" vs Path2 "/tmp/010033gi/max_delete_path1/path2/" 2025/02/14 01:01:05 INFO : Bisync successful bisync_test.go:560: TEST max_delete_path1 PASSED 2025/02/14 01:01:07 DEBUG : B2 bucket rclone-test-fagarom7suxi: Purge remote 2025/02/14 01:01:07 INFO : B2 bucket rclone-test-fagarom7suxi: cleaning bucket "rclone-test-fagarom7suxi" of all files --- PASS: TestBisyncRemoteLocal (55.07s) --- PASS: TestBisyncRemoteLocal/max_delete_path1 (33.41s) === RUN TestBisyncLocalRemote 2025/02/14 01:01:28 DEBUG : Creating backend with remote "TestB2:rclone-test-zimuguc3tibe" 2025/02/14 01:01:28 NOTICE: remote: TestB2:rclone-test-zimuguc3tibe === RUN TestBisyncLocalRemote/filtersfile_checks 2025/02/14 01:01:29 DEBUG : Creating backend with remote "/tmp/010128zu" 2025/02/14 01:01:29 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/02/14 01:01:29 DEBUG : Creating backend with remote "/tmp/010128zu/filtersfile_checks/path1" 2025/02/14 01:01:29 DEBUG : Creating backend with remote "TestB2:rclone-test-zimuguc3tibe/010128zu" 2025/02/14 01:01:30 INFO : path2: Making directory 2025/02/14 01:01:58 DEBUG : Creating backend with remote "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2" 2025/02/14 01:02:00 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2025/02/14 01:02:00 DEBUG : Creating backend with remote "/tmp/010128zu/initdir/test_filtersfile_checks-goyodic6" 2025/02/14 01:02:00 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : subdir: Making directory with metadata 2025/02/14 01:02:00 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/02/14 01:02:00 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/02/14 01:02:00 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:02:00 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/02/14 01:02:00 INFO : file1.txt: Copied (new) 2025/02/14 01:02:00 DEBUG : Local file system at /tmp/010128zu/initdir/test_filtersfile_checks-goyodic6: Waiting for checks to finish 2025/02/14 01:02:00 DEBUG : Local file system at /tmp/010128zu/initdir/test_filtersfile_checks-goyodic6: Waiting for transfers to finish 2025/02/14 01:02:00 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/14 01:02:00 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/02/14 01:02:00 INFO : RCLONE_TEST: Copied (new) 2025/02/14 01:02:00 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:02:00 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/02/14 01:02:00 INFO : subdir/file20.txt: Copied (new) 2025/02/14 01:02:00 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:02:00 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/02/14 01:02:00 INFO : file2.txt: Copied (new) 2025/02/14 01:02:00 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:00 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2025/02/14 01:02:00 DEBUG : Creating backend with remote "/tmp/010128zu/datadir/test_filtersfile_checks-kurayeg1" 2025/02/14 01:02:00 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : Local file system at /tmp/010128zu/datadir/test_filtersfile_checks-kurayeg1: Waiting for checks to finish 2025/02/14 01:02:00 DEBUG : Local file system at /tmp/010128zu/datadir/test_filtersfile_checks-kurayeg1: Waiting for transfers to finish 2025/02/14 01:02:00 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/02/14 01:02:00 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/02/14 01:02:00 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/02/14 01:02:00 INFO : filtersfile.txt: Copied (new) 2025/02/14 01:02:00 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/02/14 01:02:00 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/02/14 01:02:00 INFO : filtersfile2.txt: Copied (new) 2025/02/14 01:02:00 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/02/14 01:02:00 INFO : hold.txt: Copied (new) 2025/02/14 01:02:00 ERROR : : error listing: directory not found 2025/02/14 01:02:00 NOTICE: checking initFs Local file system at /tmp/010128zu/initdir/test_filtersfile_checks-goyodic6 2025/02/14 01:02:00 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : subdir: Making directory with metadata 2025/02/14 01:02:00 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/02/14 01:02:00 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/02/14 01:02:00 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:00 DEBUG : Local file system at /tmp/010128zu/filtersfile_checks/path1: Waiting for checks to finish 2025/02/14 01:02:00 DEBUG : Local file system at /tmp/010128zu/filtersfile_checks/path1: Waiting for transfers to finish 2025/02/14 01:02:00 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:02:00 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/02/14 01:02:00 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:02:00 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/02/14 01:02:00 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/02/14 01:02:00 INFO : RCLONE_TEST: Copied (new) 2025/02/14 01:02:00 INFO : subdir/file20.txt: Copied (new) 2025/02/14 01:02:00 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/02/14 01:02:00 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/02/14 01:02:00 INFO : file1.txt: Copied (new) 2025/02/14 01:02:00 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/02/14 01:02:00 INFO : file2.txt: Copied (new) 2025/02/14 01:02:00 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:00 NOTICE: checking Path1 Local file system at /tmp/010128zu/filtersfile_checks/path1 2025/02/14 01:02:01 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/02/14 01:02:01 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:01 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:01 INFO : subdir: Making directory 2025/02/14 01:02:01 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/02/14 01:02:01 DEBUG : B2 bucket rclone-test-zimuguc3tibe path 010128zu/filtersfile_checks/path2: Waiting for checks to finish 2025/02/14 01:02:01 DEBUG : B2 bucket rclone-test-zimuguc3tibe path 010128zu/filtersfile_checks/path2: Waiting for transfers to finish 2025/02/14 01:02:01 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:02:01 INFO : file1.txt: Copied (new) 2025/02/14 01:02:02 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:02:02 INFO : file2.txt: Copied (new) 2025/02/14 01:02:02 DEBUG : RCLONE_TEST: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2025/02/14 01:02:02 INFO : RCLONE_TEST: Copied (new) 2025/02/14 01:02:02 DEBUG : subdir/file20.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/02/14 01:02:02 INFO : subdir/file20.txt: Copied (new) 2025/02/14 01:02:02 NOTICE: checking path2 B2 bucket rclone-test-zimuguc3tibe path 010128zu/filtersfile_checks/path2 2025/02/14 01:02:02 NOTICE: (01) : test filtersfile-checks 2025/02/14 01:02:02 NOTICE: (02) : test initial bisync 2025/02/14 01:02:02 NOTICE: (03) : bisync resync 2025/02/14 01:02:03 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:03 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:03 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/14 01:02:03 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:03 INFO : Copying Path2 files to Path1 2025/02/14 01:02:03 INFO : - Path2 Resync is copying files to - Path1 2025/02/14 01:02:04 INFO : - Path1 Resync is copying files to - Path2 2025/02/14 01:02:04 INFO : Resync updating listings 2025/02/14 01:02:04 INFO : Validating listings for Path1 "/tmp/010128zu/filtersfile_checks/path1/" vs Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:04 INFO : Bisync successful 2025/02/14 01:02:04 NOTICE: (04) : test 1. inject filters file in workdir. 2025/02/14 01:02:04 NOTICE: (05) : copy-file /tmp/010128zu/datadir/test_filtersfile_checks-kurayeg1/filtersfile.txt /tmp/010128zu/workdir/ 2025/02/14 01:02:04 INFO : filtersfile.txt: Copied (new) 2025/02/14 01:02:04 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/02/14 01:02:04 NOTICE: (07) : bisync filters-file=/tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:05 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:05 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/14 01:02:05 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:05 INFO : Using filters file /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:05 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:05 ERROR : Bisync aborted. Must run --resync to recover. 2025/02/14 01:02:05 NOTICE: Bisync error: bisync aborted 2025/02/14 01:02:05 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/02/14 01:02:05 NOTICE: (09) : bisync 2025/02/14 01:02:06 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:06 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:06 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/14 01:02:06 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:06 ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run Tip: here are the filenames we were looking for. Do they exist? Path1: /tmp/010128zu/workdir/tmp_010128zu_filtersfile_checks_path1..TestB2_rclone-test-zimuguc3tibe_010128zu_filtersfile_checks_path2.path1.lst Path2: /tmp/010128zu/workdir/tmp_010128zu_filtersfile_checks_path1..TestB2_rclone-test-zimuguc3tibe_010128zu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/010128zu/workdir" 2025/02/14 01:02:06 ERROR : Bisync aborted. Must run --resync to recover. 2025/02/14 01:02:06 NOTICE: Bisync error: bisync aborted 2025/02/14 01:02:06 NOTICE: (10) : test 4. run with filters-file and resync. 2025/02/14 01:02:06 NOTICE: (11) : bisync filters-file=/tmp/010128zu/workdir/filtersfile.txt resync 2025/02/14 01:02:08 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:08 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/14 01:02:08 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:08 INFO : Using filters file /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:08 INFO : Storing filters file hash to /tmp/010128zu/workdir/filtersfile.txt.md5 2025/02/14 01:02:08 INFO : Copying Path2 files to Path1 2025/02/14 01:02:08 INFO : - Path2 Resync is copying files to - Path1 2025/02/14 01:02:08 INFO : - Path1 Resync is copying files to - Path2 2025/02/14 01:02:09 INFO : Resync updating listings 2025/02/14 01:02:09 INFO : Validating listings for Path1 "/tmp/010128zu/filtersfile_checks/path1/" vs Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:09 INFO : Bisync successful 2025/02/14 01:02:09 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/02/14 01:02:09 NOTICE: (13) : bisync filters-file=/tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:10 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:10 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/14 01:02:10 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:10 INFO : Using filters file /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:10 INFO : Building Path1 and Path2 listings 2025/02/14 01:02:10 INFO : Path1 checking for diffs 2025/02/14 01:02:10 INFO : Path2 checking for diffs 2025/02/14 01:02:10 INFO : No changes found 2025/02/14 01:02:10 INFO : Updating listings 2025/02/14 01:02:10 INFO : Validating listings for Path1 "/tmp/010128zu/filtersfile_checks/path1/" vs Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:10 INFO : Bisync successful 2025/02/14 01:02:10 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/02/14 01:02:10 NOTICE: (15) : copy-as /tmp/010128zu/datadir/test_filtersfile_checks-kurayeg1/filtersfile2.txt /tmp/010128zu/workdir/ filtersfile.txt 2025/02/14 01:02:10 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/02/14 01:02:10 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/02/14 01:02:10 NOTICE: (17) : bisync filters-file=/tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:11 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:11 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:11 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/14 01:02:11 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:11 INFO : Using filters file /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:11 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:11 ERROR : Bisync aborted. Must run --resync to recover. 2025/02/14 01:02:11 NOTICE: Bisync error: bisync aborted 2025/02/14 01:02:11 NOTICE: (18) : test 8. run with filters-file and resync and dry-run. should do the dry-run but still cause next non-resync run to abort. 2025/02/14 01:02:11 NOTICE: (19) : bisync filters-file=/tmp/010128zu/workdir/filtersfile.txt resync dry-run 2025/02/14 01:02:13 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:13 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:13 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/14 01:02:13 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:13 INFO : Using filters file /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:13 INFO : Skipped storing filters file hash to /tmp/010128zu/workdir/filtersfile.txt.md5 as --dry-run is set 2025/02/14 01:02:13 INFO : Copying Path2 files to Path1 2025/02/14 01:02:13 NOTICE: - Path2 Resync is copying files to - Path1 2025/02/14 01:02:13 NOTICE: - Path1 Resync is copying files to - Path2 2025/02/14 01:02:14 INFO : Resync updating listings 2025/02/14 01:02:14 INFO : Bisync successful 2025/02/14 01:02:14 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/02/14 01:02:14 NOTICE: (21) : bisync filters-file=/tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:15 INFO : subdir: Set directory modification time (using SetModTime) 2025/02/14 01:02:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/02/14 01:02:15 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/14 01:02:15 INFO : Synching Path1 "/tmp/010128zu/filtersfile_checks/path1/" with Path2 "TestB2:rclone-test-zimuguc3tibe/010128zu/filtersfile_checks/path2/" 2025/02/14 01:02:15 INFO : Using filters file /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:15 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/010128zu/workdir/filtersfile.txt 2025/02/14 01:02:15 ERROR : Bisync aborted. Must run --resync to recover. 2025/02/14 01:02:15 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED 2025/02/14 01:02:17 DEBUG : B2 bucket rclone-test-zimuguc3tibe: Purge remote 2025/02/14 01:02:17 INFO : B2 bucket rclone-test-zimuguc3tibe: cleaning bucket "rclone-test-zimuguc3tibe" of all files --- PASS: TestBisyncLocalRemote (71.28s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (48.98s) PASS 2025/02/14 01:02:39 DEBUG : B2 bucket rclone-test-lobowur9disi: Purge remote 2025/02/14 01:02:39 INFO : B2 bucket rclone-test-lobowur9disi: cleaning bucket "rclone-test-lobowur9disi" of all files 2025/02/14 01:02:40 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^max_delete_path1$'" - Finished OK in 2m7.795678778s (try 5/5)