"./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncRemoteLocal$/^(filtersfile_checks|max_delete_path1)$'" - Starting (try 3/5) 2025/01/29 03:12:15 DEBUG : Creating backend with remote "TestB2:rclone-test-pusosiv5nule" 2025/01/29 03:12:15 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/29 03:12:15 DEBUG : Creating backend with remote "/tmp/rclone1567033975" === RUN TestBisyncRemoteLocal 2025/01/29 03:12:15 DEBUG : Creating backend with remote "TestB2:rclone-test-mugihop2lere" 2025/01/29 03:12:16 NOTICE: remote: TestB2:rclone-test-mugihop2lere === RUN TestBisyncRemoteLocal/filtersfile_checks 2025/01/29 03:12:16 DEBUG : Creating backend with remote "TestB2:rclone-test-mugihop2lere/031216ne" 2025/01/29 03:12:16 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/29 03:12:17 INFO : path1: Making directory 2025/01/29 03:12:20 DEBUG : Creating backend with remote "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1" 2025/01/29 03:12:21 DEBUG : Creating backend with remote "/tmp/031216ne" 2025/01/29 03:12:21 DEBUG : Creating backend with remote "/tmp/031216ne/filtersfile_checks/path2" 2025/01/29 03:12:21 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2025/01/29 03:12:21 DEBUG : Creating backend with remote "/tmp/031216ne/initdir/test_filtersfile_checks-hasoroc4" 2025/01/29 03:12:21 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/29 03:12:21 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:21 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:21 DEBUG : subdir: Making directory with metadata 2025/01/29 03:12:21 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/29 03:12:21 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/29 03:12:21 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:21 DEBUG : Local file system at /tmp/031216ne/initdir/test_filtersfile_checks-hasoroc4: Waiting for checks to finish 2025/01/29 03:12:21 DEBUG : Local file system at /tmp/031216ne/initdir/test_filtersfile_checks-hasoroc4: Waiting for transfers to finish 2025/01/29 03:12:21 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:21 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/29 03:12:21 INFO : file2.txt: Copied (new) 2025/01/29 03:12:21 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:21 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:21 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/29 03:12:21 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/29 03:12:21 INFO : subdir/file20.txt: Copied (new) 2025/01/29 03:12:21 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/29 03:12:21 INFO : file1.txt: Copied (new) 2025/01/29 03:12:21 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/29 03:12:21 INFO : RCLONE_TEST: Copied (new) 2025/01/29 03:12:21 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:21 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2025/01/29 03:12:21 DEBUG : Creating backend with remote "/tmp/031216ne/datadir/test_filtersfile_checks-cuqupov6" 2025/01/29 03:12:21 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:21 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:21 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:21 DEBUG : Local file system at /tmp/031216ne/datadir/test_filtersfile_checks-cuqupov6: Waiting for checks to finish 2025/01/29 03:12:21 DEBUG : Local file system at /tmp/031216ne/datadir/test_filtersfile_checks-cuqupov6: Waiting for transfers to finish 2025/01/29 03:12:21 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/01/29 03:12:21 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/01/29 03:12:21 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/01/29 03:12:21 INFO : filtersfile2.txt: Copied (new) 2025/01/29 03:12:21 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/29 03:12:21 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/01/29 03:12:21 INFO : filtersfile.txt: Copied (new) 2025/01/29 03:12:21 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/29 03:12:21 INFO : hold.txt: Copied (new) 2025/01/29 03:12:22 ERROR : : error listing: directory not found 2025/01/29 03:12:22 NOTICE: checking initFs Local file system at /tmp/031216ne/initdir/test_filtersfile_checks-hasoroc4 2025/01/29 03:12:22 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/29 03:12:22 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:22 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:22 INFO : subdir: Making directory 2025/01/29 03:12:22 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:22 DEBUG : B2 bucket rclone-test-mugihop2lere path 031216ne/filtersfile_checks/path1: Waiting for checks to finish 2025/01/29 03:12:22 DEBUG : B2 bucket rclone-test-mugihop2lere path 031216ne/filtersfile_checks/path1: Waiting for transfers to finish 2025/01/29 03:12:23 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:23 INFO : file2.txt: Copied (new) 2025/01/29 03:12:23 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:23 INFO : file1.txt: Copied (new) 2025/01/29 03:12:23 DEBUG : subdir/file20.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:23 INFO : subdir/file20.txt: Copied (new) 2025/01/29 03:12:24 DEBUG : RCLONE_TEST: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2025/01/29 03:12:24 INFO : RCLONE_TEST: Copied (new) 2025/01/29 03:12:24 NOTICE: checking Path1 B2 bucket rclone-test-mugihop2lere path 031216ne/filtersfile_checks/path1 2025/01/29 03:12:24 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/29 03:12:24 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:24 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:24 DEBUG : subdir: Making directory with metadata 2025/01/29 03:12:24 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/29 03:12:24 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/29 03:12:24 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:24 DEBUG : Local file system at /tmp/031216ne/filtersfile_checks/path2: Waiting for checks to finish 2025/01/29 03:12:24 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:24 DEBUG : Local file system at /tmp/031216ne/filtersfile_checks/path2: Waiting for transfers to finish 2025/01/29 03:12:24 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:24 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/29 03:12:24 INFO : file2.txt: Copied (new) 2025/01/29 03:12:24 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/29 03:12:24 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:24 INFO : file1.txt: Copied (new) 2025/01/29 03:12:24 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/29 03:12:24 INFO : subdir/file20.txt: Copied (new) 2025/01/29 03:12:24 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/29 03:12:24 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/29 03:12:24 INFO : RCLONE_TEST: Copied (new) 2025/01/29 03:12:24 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:24 NOTICE: checking path2 Local file system at /tmp/031216ne/filtersfile_checks/path2 2025/01/29 03:12:24 NOTICE: (01) : test filtersfile-checks 2025/01/29 03:12:24 NOTICE: (02) : test initial bisync 2025/01/29 03:12:24 NOTICE: (03) : bisync resync 2025/01/29 03:12:25 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:25 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:25 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:25 INFO : Copying Path2 files to Path1 2025/01/29 03:12:25 INFO : - Path2 Resync is copying files to - Path1 2025/01/29 03:12:25 INFO : - Path1 Resync is copying files to - Path2 2025/01/29 03:12:25 INFO : Resync updating listings 2025/01/29 03:12:25 INFO : Validating listings for Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" vs Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:25 INFO : Bisync successful 2025/01/29 03:12:25 NOTICE: (04) : test 1. inject filters file in workdir. 2025/01/29 03:12:25 NOTICE: (05) : copy-file /tmp/031216ne/datadir/test_filtersfile_checks-cuqupov6/filtersfile.txt /tmp/031216ne/workdir/ 2025/01/29 03:12:25 INFO : filtersfile.txt: Copied (new) 2025/01/29 03:12:25 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/01/29 03:12:25 NOTICE: (07) : bisync filters-file=/tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:29 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03: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 } 2025/01/29 03:12:29 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:29 INFO : Using filters file /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:29 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:29 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/29 03:12:29 NOTICE: Bisync error: bisync aborted 2025/01/29 03:12:29 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/01/29 03:12:29 NOTICE: (09) : bisync 2025/01/29 03:12:30 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:30 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:30 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:30 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:30 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/031216ne/workdir/TestB2_rclone-test-mugihop2lere_031216ne_filtersfile_checks_path1..tmp_031216ne_filtersfile_checks_path2.path1.lst Path2: /tmp/031216ne/workdir/TestB2_rclone-test-mugihop2lere_031216ne_filtersfile_checks_path1..tmp_031216ne_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/031216ne/workdir" 2025/01/29 03:12:30 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/29 03:12:30 NOTICE: Bisync error: bisync aborted 2025/01/29 03:12:30 NOTICE: (10) : test 4. run with filters-file and resync. 2025/01/29 03:12:30 NOTICE: (11) : bisync filters-file=/tmp/031216ne/workdir/filtersfile.txt resync 2025/01/29 03:12:34 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:34 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:34 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:34 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:34 INFO : Using filters file /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:34 INFO : Storing filters file hash to /tmp/031216ne/workdir/filtersfile.txt.md5 2025/01/29 03:12:34 INFO : Copying Path2 files to Path1 2025/01/29 03:12:34 INFO : - Path2 Resync is copying files to - Path1 2025/01/29 03:12:34 INFO : - Path1 Resync is copying files to - Path2 2025/01/29 03:12:35 INFO : Resync updating listings 2025/01/29 03:12:35 INFO : Validating listings for Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" vs Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:35 INFO : Bisync successful 2025/01/29 03:12:35 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/01/29 03:12:35 NOTICE: (13) : bisync filters-file=/tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:36 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:36 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:36 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:36 INFO : Using filters file /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:36 INFO : Building Path1 and Path2 listings 2025/01/29 03:12:36 INFO : Path1 checking for diffs 2025/01/29 03:12:36 INFO : Path2 checking for diffs 2025/01/29 03:12:36 INFO : No changes found 2025/01/29 03:12:36 INFO : Updating listings 2025/01/29 03:12:36 INFO : Validating listings for Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" vs Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:36 INFO : Bisync successful 2025/01/29 03:12:36 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/01/29 03:12:36 NOTICE: (15) : copy-as /tmp/031216ne/datadir/test_filtersfile_checks-cuqupov6/filtersfile2.txt /tmp/031216ne/workdir/ filtersfile.txt 2025/01/29 03:12:36 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/01/29 03:12:36 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/01/29 03:12:36 NOTICE: (17) : bisync filters-file=/tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:38 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:38 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:38 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:38 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:38 INFO : Using filters file /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:38 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:38 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/29 03:12:38 NOTICE: Bisync error: bisync aborted 2025/01/29 03:12:38 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/01/29 03:12:38 NOTICE: (19) : bisync filters-file=/tmp/031216ne/workdir/filtersfile.txt resync dry-run 2025/01/29 03:12:39 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:39 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03: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 } 2025/01/29 03:12:39 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:39 INFO : Using filters file /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:39 INFO : Skipped storing filters file hash to /tmp/031216ne/workdir/filtersfile.txt.md5 as --dry-run is set 2025/01/29 03:12:39 INFO : Copying Path2 files to Path1 2025/01/29 03:12:39 NOTICE: - Path2 Resync is copying files to - Path1 2025/01/29 03:12:40 NOTICE: - Path1 Resync is copying files to - Path2 2025/01/29 03:12:40 INFO : Resync updating listings 2025/01/29 03:12:40 INFO : Bisync successful 2025/01/29 03:12:40 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/01/29 03:12:40 NOTICE: (21) : bisync filters-file=/tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:41 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/29 03:12:41 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:41 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:41 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/filtersfile_checks/path1/" with Path2 "/tmp/031216ne/filtersfile_checks/path2/" 2025/01/29 03:12:41 INFO : Using filters file /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:41 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/031216ne/workdir/filtersfile.txt 2025/01/29 03:12:41 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/29 03:12:41 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED === RUN TestBisyncRemoteLocal/max_delete_path1 2025/01/29 03:12:43 INFO : path1: Making directory 2025/01/29 03:12:43 DEBUG : Creating backend with remote "TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1" 2025/01/29 03:12:44 DEBUG : Creating backend with remote "/tmp/031216ne/max_delete_path1/path2" 2025/01/29 03:12:44 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_max_delete_path1/initial" 2025/01/29 03:12:44 DEBUG : Creating backend with remote "/tmp/031216ne/initdir/test_max_delete_path1-rusoroz4" 2025/01/29 03:12:44 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : file9.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : Local file system at /tmp/031216ne/initdir/test_max_delete_path1-rusoroz4: Waiting for checks to finish 2025/01/29 03:12:44 DEBUG : Local file system at /tmp/031216ne/initdir/test_max_delete_path1-rusoroz4: Waiting for transfers to finish 2025/01/29 03:12:44 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/29 03:12:44 INFO : file1.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/29 03:12:44 INFO : file2.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/01/29 03:12:44 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 INFO : file4.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2025/01/29 03:12:44 INFO : file5.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/01/29 03:12:44 INFO : file3.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2025/01/29 03:12:44 INFO : file6.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2025/01/29 03:12:44 INFO : file7.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:44 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2025/01/29 03:12:44 INFO : file8.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : file9.txt: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/29 03:12:44 DEBUG : file9.txt.cf9a93ac.partial: renamed to: file9.txt 2025/01/29 03:12:44 INFO : file9.txt: Copied (new) 2025/01/29 03:12:44 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_max_delete_path1/modfiles" 2025/01/29 03:12:44 DEBUG : Creating backend with remote "/tmp/031216ne/datadir/test_max_delete_path1-zuyoxel8" 2025/01/29 03:12:44 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:44 DEBUG : Local file system at /tmp/031216ne/datadir/test_max_delete_path1-zuyoxel8: Waiting for checks to finish 2025/01/29 03:12:44 DEBUG : Local file system at /tmp/031216ne/datadir/test_max_delete_path1-zuyoxel8: Waiting for transfers to finish 2025/01/29 03:12:44 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/29 03:12:44 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/29 03:12:44 INFO : hold.txt: Copied (new) 2025/01/29 03:12:45 ERROR : : error listing: directory not found 2025/01/29 03:12:45 NOTICE: checking initFs Local file system at /tmp/031216ne/initdir/test_max_delete_path1-rusoroz4 2025/01/29 03:12:46 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : file9.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:46 DEBUG : B2 bucket rclone-test-mugihop2lere path 031216ne/max_delete_path1/path1: Waiting for checks to finish 2025/01/29 03:12:46 DEBUG : B2 bucket rclone-test-mugihop2lere path 031216ne/max_delete_path1/path1: Waiting for transfers to finish 2025/01/29 03:12:46 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:46 INFO : file1.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file3.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:47 INFO : file3.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file4.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:47 INFO : file4.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file5.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:47 INFO : file5.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:47 INFO : file2.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file6.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:47 INFO : file6.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file7.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:47 INFO : file7.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file9.txt: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2025/01/29 03:12:47 INFO : file9.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file8.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/01/29 03:12:47 INFO : file8.txt: Copied (new) 2025/01/29 03:12:47 NOTICE: checking Path1 B2 bucket rclone-test-mugihop2lere path 031216ne/max_delete_path1/path1 2025/01/29 03:12:47 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file5.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file6.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file7.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file8.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file9.txt: Need to transfer - File not found at Destination 2025/01/29 03:12:47 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : Local file system at /tmp/031216ne/max_delete_path1/path2: Waiting for checks to finish 2025/01/29 03:12:47 DEBUG : Local file system at /tmp/031216ne/max_delete_path1/path2: Waiting for transfers to finish 2025/01/29 03:12:47 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/29 03:12:47 INFO : file1.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2025/01/29 03:12:47 INFO : file5.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2025/01/29 03:12:47 INFO : file6.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2025/01/29 03:12:47 INFO : file7.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2025/01/29 03:12:47 INFO : file8.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/29 03:12:47 INFO : file2.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/29 03:12:47 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/01/29 03:12:47 INFO : file4.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/01/29 03:12:47 INFO : file3.txt: Copied (new) 2025/01/29 03:12:47 DEBUG : file9.txt: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/29 03:12:47 DEBUG : file9.txt.cf9a93ac.partial: renamed to: file9.txt 2025/01/29 03:12:47 INFO : file9.txt: Copied (new) 2025/01/29 03:12:47 NOTICE: checking path2 Local file system at /tmp/031216ne/max_delete_path1/path2 2025/01/29 03:12:47 NOTICE: (01) : test max-delete-path1 2025/01/29 03:12:47 NOTICE: (02) : test initial bisync 2025/01/29 03:12:47 NOTICE: (03) : bisync resync 2025/01/29 03:12:48 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:48 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:48 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/" with Path2 "/tmp/031216ne/max_delete_path1/path2/" 2025/01/29 03:12:48 INFO : Copying Path2 files to Path1 2025/01/29 03:12:48 INFO : - Path2 Resync is copying files to - Path1 2025/01/29 03:12:48 INFO : - Path1 Resync is copying files to - Path2 2025/01/29 03:12:49 INFO : Resync updating listings 2025/01/29 03:12:49 INFO : Validating listings for Path1 "TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/" vs Path2 "/tmp/031216ne/max_delete_path1/path2/" 2025/01/29 03:12:49 INFO : Bisync successful 2025/01/29 03:12:49 NOTICE: (04) : test delete >50% of local files 2025/01/29 03:12:49 NOTICE: (05) : delete-file TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/file1.txt 2025/01/29 03:12:50 INFO : file1.txt: Deleted 2025/01/29 03:12:50 NOTICE: (06) : delete-file TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/file2.txt 2025/01/29 03:12:51 INFO : file2.txt: Deleted 2025/01/29 03:12:51 NOTICE: (07) : delete-file TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/file3.txt 2025/01/29 03:12:51 INFO : file3.txt: Deleted 2025/01/29 03:12:51 NOTICE: (08) : delete-file TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/file4.txt 2025/01/29 03:12:51 INFO : file4.txt: Deleted 2025/01/29 03:12:51 NOTICE: (09) : delete-file TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/file5.txt 2025/01/29 03:12:52 INFO : file5.txt: Deleted 2025/01/29 03:12:52 NOTICE: (10) : test sync should fail due to too many local deletes 2025/01/29 03:12:52 NOTICE: (11) : bisync 2025/01/29 03:12:53 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:53 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:53 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/" with Path2 "/tmp/031216ne/max_delete_path1/path2/" 2025/01/29 03:12:53 INFO : Building Path1 and Path2 listings 2025/01/29 03:12:53 INFO : Path1 checking for diffs 2025/01/29 03:12:53 INFO : - Path1 File was deleted - file1.txt 2025/01/29 03:12:53 INFO : - Path1 File was deleted - file2.txt 2025/01/29 03:12:53 INFO : - Path1 File was deleted - file3.txt 2025/01/29 03:12:53 INFO : - Path1 File was deleted - file4.txt 2025/01/29 03:12:53 INFO : - Path1 File was deleted - file5.txt 2025/01/29 03:12:53 INFO : Path1: 5 changes:  0 new,  0 modified,  5 deleted 2025/01/29 03:12:53 INFO : Path2 checking for diffs 2025/01/29 03:12:53 ERROR : Safety abort: too many deletes (>50%, 5 of 9) on Path1 "TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/". Run with --force if desired. 2025/01/29 03:12:53 NOTICE: Bisync aborted. Please try again. 2025/01/29 03:12:53 NOTICE: Bisync error: too many deletes 2025/01/29 03:12:53 NOTICE: (12) : copy-listings initial-fail 2025/01/29 03:12:53 NOTICE: (13) : test change max-delete limit to 60%. sync should run. 2025/01/29 03:12:53 NOTICE: (14) : bisync max-delete=60 2025/01/29 03:12:55 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/29 03:12:55 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/29 03:12:55 INFO : Synching Path1 "TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/" with Path2 "/tmp/031216ne/max_delete_path1/path2/" 2025/01/29 03:12:55 INFO : Building Path1 and Path2 listings 2025/01/29 03:12:55 INFO : Path1 checking for diffs 2025/01/29 03:12:55 INFO : - Path1 File was deleted - file1.txt 2025/01/29 03:12:55 INFO : - Path1 File was deleted - file2.txt 2025/01/29 03:12:55 INFO : - Path1 File was deleted - file3.txt 2025/01/29 03:12:55 INFO : - Path1 File was deleted - file4.txt 2025/01/29 03:12:55 INFO : - Path1 File was deleted - file5.txt 2025/01/29 03:12:55 INFO : Path1: 5 changes:  0 new,  0 modified,  5 deleted 2025/01/29 03:12:55 INFO : Path2 checking for diffs 2025/01/29 03:12:55 INFO : Applying changes 2025/01/29 03:12:55 INFO : - Path2 Queue delete - /tmp/031216ne/max_delete_path1/path2/file1.txt 2025/01/29 03:12:55 INFO : - Path2 Queue delete - /tmp/031216ne/max_delete_path1/path2/file2.txt 2025/01/29 03:12:55 INFO : - Path2 Queue delete - /tmp/031216ne/max_delete_path1/path2/file3.txt 2025/01/29 03:12:55 INFO : - Path2 Queue delete - /tmp/031216ne/max_delete_path1/path2/file4.txt 2025/01/29 03:12:55 INFO : - Path2 Queue delete - /tmp/031216ne/max_delete_path1/path2/file5.txt 2025/01/29 03:12:55 INFO : - Path1 Do queued copies to - Path2 2025/01/29 03:12:55 INFO : file2.txt: Deleted 2025/01/29 03:12:55 INFO : file4.txt: Deleted 2025/01/29 03:12:55 INFO : file3.txt: Deleted 2025/01/29 03:12:55 INFO : file5.txt: Deleted 2025/01/29 03:12:55 INFO : file1.txt: Deleted 2025/01/29 03:12:55 INFO : Updating listings 2025/01/29 03:12:55 INFO : Validating listings for Path1 "TestB2:rclone-test-mugihop2lere/031216ne/max_delete_path1/path1/" vs Path2 "/tmp/031216ne/max_delete_path1/path2/" 2025/01/29 03:12:55 INFO : Bisync successful bisync_test.go:558: TEST max_delete_path1 PASSED 2025/01/29 03:12:57 DEBUG : B2 bucket rclone-test-mugihop2lere: Purge remote 2025/01/29 03:12:57 INFO : B2 bucket rclone-test-mugihop2lere: cleaning bucket "rclone-test-mugihop2lere" of all files --- PASS: TestBisyncRemoteLocal (45.92s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (27.26s) --- PASS: TestBisyncRemoteLocal/max_delete_path1 (13.73s) PASS 2025/01/29 03:13:01 DEBUG : B2 bucket rclone-test-pusosiv5nule: Purge remote 2025/01/29 03:13:01 INFO : B2 bucket rclone-test-pusosiv5nule: cleaning bucket "rclone-test-pusosiv5nule" of all files 2025/01/29 03:13:02 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestB2: -list-retries 5 -verbose -test.run '^TestBisyncRemoteLocal$/^(filtersfile_checks|max_delete_path1)$'" - Finished OK in 47.331178542s (try 3/5)