"./bisync.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Starting (try 4/5) 2024/11/09 03:33:06 DEBUG : Creating backend with remote "TestYandex:rclone-test-yonufuw7bige" 2024/11/09 03:33:06 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/09 03:33:06 DEBUG : Creating backend with remote "/tmp/rclone1202591403" === RUN TestBisyncRemoteRemote 2024/11/09 03:33:06 DEBUG : Creating backend with remote "TestYandex:rclone-test-luhukap2lore" 2024/11/09 03:33:07 NOTICE: remote: TestYandex:rclone-test-luhukap2lore === RUN TestBisyncRemoteRemote/filtersfile_checks 2024/11/09 03:33:07 DEBUG : Creating backend with remote "TestYandex:rclone-test-luhukap2lore/033307qu" 2024/11/09 03:33:07 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/09 03:33:07 DEBUG : path1: Making directory 2024/11/09 03:33:09 DEBUG : Creating backend with remote "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1" 2024/11/09 03:33:09 DEBUG : path2: Making directory 2024/11/09 03:33:10 DEBUG : Creating backend with remote "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2" 2024/11/09 03:33:10 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2024/11/09 03:33:10 DEBUG : Creating backend with remote "/tmp/033307qu/initdir/test_filtersfile_checks-tegenix1" 2024/11/09 03:33:10 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/09 03:33:10 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:10 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:10 DEBUG : subdir: Making directory with metadata 2024/11/09 03:33:10 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/09 03:33:10 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/09 03:33:10 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:10 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:10 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/09 03:33:10 INFO : file2.txt: Copied (new) 2024/11/09 03:33:10 DEBUG : Local file system at /tmp/033307qu/initdir/test_filtersfile_checks-tegenix1: Waiting for checks to finish 2024/11/09 03:33:10 DEBUG : Local file system at /tmp/033307qu/initdir/test_filtersfile_checks-tegenix1: Waiting for transfers to finish 2024/11/09 03:33:10 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:10 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/09 03:33:10 INFO : file1.txt: Copied (new) 2024/11/09 03:33:10 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:10 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/09 03:33:10 INFO : subdir/file20.txt: Copied (new) 2024/11/09 03:33:10 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/09 03:33:10 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/09 03:33:10 INFO : RCLONE_TEST: Copied (new) 2024/11/09 03:33:10 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/09 03:33:10 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2024/11/09 03:33:10 DEBUG : Creating backend with remote "/tmp/033307qu/datadir/test_filtersfile_checks-wowacej3" 2024/11/09 03:33:10 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:10 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:10 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:10 DEBUG : Local file system at /tmp/033307qu/datadir/test_filtersfile_checks-wowacej3: Waiting for checks to finish 2024/11/09 03:33:10 DEBUG : Local file system at /tmp/033307qu/datadir/test_filtersfile_checks-wowacej3: Waiting for transfers to finish 2024/11/09 03:33:10 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/11/09 03:33:10 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/11/09 03:33:10 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2024/11/09 03:33:10 INFO : filtersfile.txt: Copied (new) 2024/11/09 03:33:10 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2024/11/09 03:33:10 INFO : filtersfile2.txt: Copied (new) 2024/11/09 03:33:10 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/11/09 03:33:10 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2024/11/09 03:33:10 INFO : hold.txt: Copied (new) 2024/11/09 03:33:11 ERROR : : error listing: directory not found 2024/11/09 03:33:11 ERROR : : error listing: directory not found 2024/11/09 03:33:11 NOTICE: checking initFs Local file system at /tmp/033307qu/initdir/test_filtersfile_checks-tegenix1 2024/11/09 03:33:12 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/09 03:33:12 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:12 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:12 DEBUG : subdir: Making directory 2024/11/09 03:33:14 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:14 DEBUG : Yandex rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1: Waiting for checks to finish 2024/11/09 03:33:14 DEBUG : Yandex rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1: Waiting for transfers to finish 2024/11/09 03:33:15 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:15 INFO : file1.txt: Copied (new) 2024/11/09 03:33:16 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/09 03:33:16 INFO : RCLONE_TEST: Copied (new) 2024/11/09 03:33:16 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:16 INFO : subdir/file20.txt: Copied (new) 2024/11/09 03:33:17 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:17 INFO : file2.txt: Copied (new) 2024/11/09 03:33:17 NOTICE: checking Path1 Yandex rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1 2024/11/09 03:33:18 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/09 03:33:18 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:18 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:18 DEBUG : subdir: Making directory 2024/11/09 03:33:20 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/09 03:33:20 DEBUG : Yandex rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2: Waiting for checks to finish 2024/11/09 03:33:20 DEBUG : Yandex rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2: Waiting for transfers to finish 2024/11/09 03:33:20 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/09 03:33:20 INFO : RCLONE_TEST: Copied (new) 2024/11/09 03:33:20 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:20 INFO : file1.txt: Copied (new) 2024/11/09 03:33:20 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:20 INFO : file2.txt: Copied (new) 2024/11/09 03:33:22 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/09 03:33:22 INFO : subdir/file20.txt: Copied (new) 2024/11/09 03:33:22 NOTICE: checking path2 Yandex rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2 2024/11/09 03:33:22 NOTICE: (01) : test filtersfile-checks 2024/11/09 03:33:22 NOTICE: (02) : test initial bisync 2024/11/09 03:33:22 NOTICE: (03) : bisync resync 2024/11/09 03:33:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:33:29 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:33:29 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:33:29 INFO : Copying Path2 files to Path1 2024/11/09 03:33:29 INFO : - Path2 Resync is copying files to - Path1 2024/11/09 03:33:31 INFO : - Path1 Resync is copying files to - Path2 2024/11/09 03:33:32 INFO : Resync updating listings 2024/11/09 03:33:32 INFO : Validating listings for Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" vs Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:33:32 INFO : Bisync successful 2024/11/09 03:33:32 NOTICE: (04) : test 1. inject filters file in workdir. 2024/11/09 03:33:32 NOTICE: (05) : copy-file /tmp/033307qu/datadir/test_filtersfile_checks-wowacej3/filtersfile.txt /tmp/033307qu/workdir/ 2024/11/09 03:33:32 INFO : filtersfile.txt: Copied (new) 2024/11/09 03:33:32 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2024/11/09 03:33:32 NOTICE: (07) : bisync filters-file=/tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:33:39 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:33:39 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:33:39 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:33:39 INFO : Using filters file /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:33:39 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:33:39 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/09 03:33:39 NOTICE: Bisync error: bisync aborted 2024/11/09 03:33:39 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/11/09 03:33:39 NOTICE: (09) : bisync 2024/11/09 03:33:48 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:33:48 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:33:48 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:33:48 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/033307qu/workdir/TestYandex_rclone-test-luhukap2lore_033307qu_filtersfile_checks_path1..TestYandex_rclone-test-luhukap2lore_033307qu_filtersfile_checks_path2.path1.lst Path2: /tmp/033307qu/workdir/TestYandex_rclone-test-luhukap2lore_033307qu_filtersfile_checks_path1..TestYandex_rclone-test-luhukap2lore_033307qu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/033307qu/workdir" 2024/11/09 03:33:48 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/09 03:33:48 NOTICE: Bisync error: bisync aborted 2024/11/09 03:33:48 NOTICE: (10) : test 4. run with filters-file and resync. 2024/11/09 03:33:48 NOTICE: (11) : bisync filters-file=/tmp/033307qu/workdir/filtersfile.txt resync 2024/11/09 03:33:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:33:56 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:33:56 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:33:56 INFO : Using filters file /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:33:56 INFO : Storing filters file hash to /tmp/033307qu/workdir/filtersfile.txt.md5 2024/11/09 03:33:56 INFO : Copying Path2 files to Path1 2024/11/09 03:33:56 INFO : - Path2 Resync is copying files to - Path1 2024/11/09 03:33:57 INFO : - Path1 Resync is copying files to - Path2 2024/11/09 03:33:58 INFO : Resync updating listings 2024/11/09 03:33:58 INFO : Validating listings for Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" vs Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:33:58 INFO : Bisync successful 2024/11/09 03:33:58 NOTICE: (12) : test 5. run with filters-file alone. should run. 2024/11/09 03:33:58 NOTICE: (13) : bisync filters-file=/tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:13 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:34:13 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:34:13 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:34:13 INFO : Using filters file /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:13 INFO : Building Path1 and Path2 listings 2024/11/09 03:34:13 INFO : Path1 checking for diffs 2024/11/09 03:34:13 INFO : Path2 checking for diffs 2024/11/09 03:34:13 INFO : No changes found 2024/11/09 03:34:13 INFO : Updating listings 2024/11/09 03:34:13 INFO : Validating listings for Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" vs Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:34:13 INFO : Bisync successful 2024/11/09 03:34:13 NOTICE: (14) : test 6. push changed filters-file to workdir. 2024/11/09 03:34:13 NOTICE: (15) : copy-as /tmp/033307qu/datadir/test_filtersfile_checks-wowacej3/filtersfile2.txt /tmp/033307qu/workdir/ filtersfile.txt 2024/11/09 03:34:13 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/11/09 03:34:13 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2024/11/09 03:34:13 NOTICE: (17) : bisync filters-file=/tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:21 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:34:21 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:34:21 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:34:21 INFO : Using filters file /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:21 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:21 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/09 03:34:21 NOTICE: Bisync error: bisync aborted 2024/11/09 03:34:21 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. 2024/11/09 03:34:21 NOTICE: (19) : bisync filters-file=/tmp/033307qu/workdir/filtersfile.txt resync dry-run 2024/11/09 03:34:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:34:28 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:34:28 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:34:28 INFO : Using filters file /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:28 INFO : Skipped storing filters file hash to /tmp/033307qu/workdir/filtersfile.txt.md5 as --dry-run is set 2024/11/09 03:34:28 INFO : Copying Path2 files to Path1 2024/11/09 03:34:28 NOTICE: - Path2 Resync is copying files to - Path1 2024/11/09 03:34:31 NOTICE: - Path1 Resync is copying files to - Path2 2024/11/09 03:34:32 INFO : Resync updating listings 2024/11/09 03:34:32 INFO : Bisync successful 2024/11/09 03:34:32 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2024/11/09 03:34:32 NOTICE: (21) : bisync filters-file=/tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:40 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/09 03:34:40 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/09 03:34:40 INFO : Synching Path1 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path1/" with Path2 "TestYandex:rclone-test-luhukap2lore/033307qu/filtersfile_checks/path2/" 2024/11/09 03:34:40 INFO : Using filters file /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:40 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/033307qu/workdir/filtersfile.txt 2024/11/09 03:34:40 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/09 03:34:40 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2024/11/09 03:34:48 DEBUG : Yandex rclone-test-luhukap2lore: Purge remote --- PASS: TestBisyncRemoteRemote (105.21s) --- PASS: TestBisyncRemoteRemote/filtersfile_checks (101.24s) PASS 2024/11/09 03:34:52 DEBUG : Yandex rclone-test-yonufuw7bige: Purge remote 2024/11/09 03:34:52 NOTICE: purge failed: [404 - DiskNotFoundError] Resource not found. (Не удалось найти запрошенный ресурс.) "./bisync.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Finished OK in 1m45.952451016s (try 4/5)