"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Starting (try 5/5) 2025/04/09 01:48:28 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-muyasos0koca" 2025/04/09 01:48:28 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/09 01:48:28 DEBUG : Creating backend with remote "/tmp/rclone1185172063" === RUN TestBisyncRemoteLocal 2025/04/09 01:48:28 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-zewubib0fomo" 2025/04/09 01:48:28 NOTICE: remote: TestGoogleCloudStorage:rclone-test-zewubib0fomo === RUN TestBisyncRemoteLocal/filtersfile_checks 2025/04/09 01:48:28 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu" 2025/04/09 01:48:28 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/09 01:48:29 INFO : path1: Making directory 2025/04/09 01:48:30 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1" 2025/04/09 01:48:31 DEBUG : Creating backend with remote "/tmp/014828fu" 2025/04/09 01:48:31 DEBUG : Creating backend with remote "/tmp/014828fu/filtersfile_checks/path2" 2025/04/09 01:48:31 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2025/04/09 01:48:31 DEBUG : Creating backend with remote "/tmp/014828fu/initdir/test_filtersfile_checks-jefidax9" 2025/04/09 01:48:31 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:31 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:31 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:31 DEBUG : subdir: Making directory with metadata 2025/04/09 01:48:31 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/04/09 01:48:31 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/04/09 01:48:31 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:31 DEBUG : Local file system at /tmp/014828fu/initdir/test_filtersfile_checks-jefidax9: Waiting for checks to finish 2025/04/09 01:48:31 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:31 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/04/09 01:48:31 INFO : file1.txt: Copied (new) 2025/04/09 01:48:31 DEBUG : Local file system at /tmp/014828fu/initdir/test_filtersfile_checks-jefidax9: Waiting for transfers to finish 2025/04/09 01:48:31 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:31 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:31 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/04/09 01:48:31 INFO : file2.txt: Copied (new) 2025/04/09 01:48:31 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/04/09 01:48:31 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:31 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:31 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/04/09 01:48:31 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:31 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:31 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2025/04/09 01:48:31 DEBUG : Creating backend with remote "/tmp/014828fu/datadir/test_filtersfile_checks-vehacew3" 2025/04/09 01:48:31 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:31 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:31 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:31 DEBUG : Local file system at /tmp/014828fu/datadir/test_filtersfile_checks-vehacew3: Waiting for checks to finish 2025/04/09 01:48:31 DEBUG : Local file system at /tmp/014828fu/datadir/test_filtersfile_checks-vehacew3: Waiting for transfers to finish 2025/04/09 01:48:31 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/04/09 01:48:31 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/04/09 01:48:31 INFO : filtersfile.txt: Copied (new) 2025/04/09 01:48:31 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/04/09 01:48:31 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/04/09 01:48:31 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/04/09 01:48:31 INFO : hold.txt: Copied (new) 2025/04/09 01:48:31 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/04/09 01:48:31 INFO : filtersfile2.txt: Copied (new) 2025/04/09 01:48:31 ERROR : : error listing: directory not found 2025/04/09 01:48:31 NOTICE: checking initFs Local file system at /tmp/014828fu/initdir/test_filtersfile_checks-jefidax9 2025/04/09 01:48:32 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:32 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:32 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:32 INFO : subdir: Making directory 2025/04/09 01:48:32 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:32 DEBUG : GCS bucket rclone-test-zewubib0fomo path 014828fu/filtersfile_checks/path1: Waiting for checks to finish 2025/04/09 01:48:32 DEBUG : GCS bucket rclone-test-zewubib0fomo path 014828fu/filtersfile_checks/path1: Waiting for transfers to finish 2025/04/09 01:48:32 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:32 INFO : file2.txt: Copied (new) 2025/04/09 01:48:32 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:32 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:32 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:32 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:32 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:32 INFO : file1.txt: Copied (new) 2025/04/09 01:48:32 NOTICE: checking Path1 GCS bucket rclone-test-zewubib0fomo path 014828fu/filtersfile_checks/path1 2025/04/09 01:48:32 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:32 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:32 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:32 DEBUG : subdir: Making directory with metadata 2025/04/09 01:48:32 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/04/09 01:48:32 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/04/09 01:48:32 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:32 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:32 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/04/09 01:48:32 INFO : file1.txt: Copied (new) 2025/04/09 01:48:32 DEBUG : Local file system at /tmp/014828fu/filtersfile_checks/path2: Waiting for checks to finish 2025/04/09 01:48:32 DEBUG : Local file system at /tmp/014828fu/filtersfile_checks/path2: Waiting for transfers to finish 2025/04/09 01:48:32 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:32 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/04/09 01:48:32 INFO : file2.txt: Copied (new) 2025/04/09 01:48:32 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:32 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/04/09 01:48:32 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:32 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:32 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/04/09 01:48:32 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:32 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:32 NOTICE: checking path2 Local file system at /tmp/014828fu/filtersfile_checks/path2 2025/04/09 01:48:32 NOTICE: (01) : test filtersfile-checks 2025/04/09 01:48:32 NOTICE: (02) : test initial bisync 2025/04/09 01:48:32 NOTICE: (03) : bisync resync 2025/04/09 01:48:33 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:33 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:33 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/09 01:48:33 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:33 INFO : Copying Path2 files to Path1 2025/04/09 01:48:33 INFO : - Path2 Resync is copying files to - Path1 2025/04/09 01:48:33 INFO : - Path1 Resync is copying files to - Path2 2025/04/09 01:48:33 INFO : Resync updating listings 2025/04/09 01:48:33 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" vs Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:33 INFO : Bisync successful 2025/04/09 01:48:33 NOTICE: (04) : test 1. inject filters file in workdir. 2025/04/09 01:48:33 NOTICE: (05) : copy-file /tmp/014828fu/datadir/test_filtersfile_checks-vehacew3/filtersfile.txt /tmp/014828fu/workdir/ 2025/04/09 01:48:33 INFO : filtersfile.txt: Copied (new) 2025/04/09 01:48:33 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/04/09 01:48:33 NOTICE: (07) : bisync filters-file=/tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:34 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:34 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48: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/04/09 01:48:34 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:34 INFO : Using filters file /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:34 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:34 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:48:34 NOTICE: Bisync error: bisync aborted 2025/04/09 01:48:34 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/04/09 01:48:34 NOTICE: (09) : bisync 2025/04/09 01:48:35 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:35 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:35 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/09 01:48:35 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:35 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/014828fu/workdir/TestGoogleCloudStorage_rclone-test-zewubib0fomo_014828fu_filtersfile_checks_path1..tmp_014828fu_filtersfile_checks_path2.path1.lst Path2: /tmp/014828fu/workdir/TestGoogleCloudStorage_rclone-test-zewubib0fomo_014828fu_filtersfile_checks_path1..tmp_014828fu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/014828fu/workdir" 2025/04/09 01:48:35 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:48:35 NOTICE: Bisync error: bisync aborted 2025/04/09 01:48:35 NOTICE: (10) : test 4. run with filters-file and resync. 2025/04/09 01:48:35 NOTICE: (11) : bisync filters-file=/tmp/014828fu/workdir/filtersfile.txt resync 2025/04/09 01:48:36 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48: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/04/09 01:48:36 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:36 INFO : Using filters file /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:36 INFO : Storing filters file hash to /tmp/014828fu/workdir/filtersfile.txt.md5 2025/04/09 01:48:36 INFO : Copying Path2 files to Path1 2025/04/09 01:48:36 INFO : - Path2 Resync is copying files to - Path1 2025/04/09 01:48:36 INFO : - Path1 Resync is copying files to - Path2 2025/04/09 01:48:36 INFO : Resync updating listings 2025/04/09 01:48:36 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" vs Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:36 INFO : Bisync successful 2025/04/09 01:48:36 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/04/09 01:48:36 NOTICE: (13) : bisync filters-file=/tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:37 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:37 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:37 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/09 01:48:37 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:37 INFO : Using filters file /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:37 INFO : Building Path1 and Path2 listings 2025/04/09 01:48:38 INFO : Path1 checking for diffs 2025/04/09 01:48:38 INFO : Path2 checking for diffs 2025/04/09 01:48:38 INFO : No changes found 2025/04/09 01:48:38 INFO : Updating listings 2025/04/09 01:48:38 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" vs Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:38 INFO : Bisync successful 2025/04/09 01:48:38 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/04/09 01:48:38 NOTICE: (15) : copy-as /tmp/014828fu/datadir/test_filtersfile_checks-vehacew3/filtersfile2.txt /tmp/014828fu/workdir/ filtersfile.txt 2025/04/09 01:48:38 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/04/09 01:48:38 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/04/09 01:48:38 NOTICE: (17) : bisync filters-file=/tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:38 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:38 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48: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/04/09 01:48:38 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:38 INFO : Using filters file /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:38 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:38 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:48:38 NOTICE: Bisync error: bisync aborted 2025/04/09 01:48: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/04/09 01:48:38 NOTICE: (19) : bisync filters-file=/tmp/014828fu/workdir/filtersfile.txt resync dry-run 2025/04/09 01:48:39 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:39 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48: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/04/09 01:48:39 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:39 INFO : Using filters file /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:39 INFO : Skipped storing filters file hash to /tmp/014828fu/workdir/filtersfile.txt.md5 as --dry-run is set 2025/04/09 01:48:39 INFO : Copying Path2 files to Path1 2025/04/09 01:48:39 NOTICE: - Path2 Resync is copying files to - Path1 2025/04/09 01:48:40 NOTICE: - Path1 Resync is copying files to - Path2 2025/04/09 01:48:40 INFO : Resync updating listings 2025/04/09 01:48:40 INFO : Bisync successful 2025/04/09 01:48:40 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/04/09 01:48:40 NOTICE: (21) : bisync filters-file=/tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:40 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:40 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:40 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/09 01:48:40 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-zewubib0fomo/014828fu/filtersfile_checks/path1/" with Path2 "/tmp/014828fu/filtersfile_checks/path2/" 2025/04/09 01:48:40 INFO : Using filters file /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:40 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/014828fu/workdir/filtersfile.txt 2025/04/09 01:48:40 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:48:40 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED 2025/04/09 01:48:41 DEBUG : GCS bucket rclone-test-zewubib0fomo: Purge dir "" --- PASS: TestBisyncRemoteLocal (13.30s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (12.27s) === RUN TestBisyncLocalRemote 2025/04/09 01:48:42 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-tewasiy7neka" 2025/04/09 01:48:42 NOTICE: remote: TestGoogleCloudStorage:rclone-test-tewasiy7neka === RUN TestBisyncLocalRemote/filtersfile_checks 2025/04/09 01:48:42 DEBUG : Creating backend with remote "/tmp/014842ke" 2025/04/09 01:48:42 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/09 01:48:42 DEBUG : Creating backend with remote "/tmp/014842ke/filtersfile_checks/path1" 2025/04/09 01:48:42 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke" 2025/04/09 01:48:42 INFO : path2: Making directory 2025/04/09 01:48:44 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2" 2025/04/09 01:48:44 DEBUG : Creating backend with remote "/tmp/014842ke/initdir/test_filtersfile_checks-xilaguq1" 2025/04/09 01:48:44 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:44 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:44 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:44 DEBUG : subdir: Making directory with metadata 2025/04/09 01:48:44 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/04/09 01:48:44 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/04/09 01:48:44 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:44 DEBUG : Local file system at /tmp/014842ke/initdir/test_filtersfile_checks-xilaguq1: Waiting for checks to finish 2025/04/09 01:48:44 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:44 DEBUG : Local file system at /tmp/014842ke/initdir/test_filtersfile_checks-xilaguq1: Waiting for transfers to finish 2025/04/09 01:48:44 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/04/09 01:48:44 INFO : file1.txt: Copied (new) 2025/04/09 01:48:44 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:44 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:44 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/04/09 01:48:44 INFO : file2.txt: Copied (new) 2025/04/09 01:48:44 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/04/09 01:48:44 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:44 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:44 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/04/09 01:48:44 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:44 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:44 DEBUG : Creating backend with remote "/tmp/014842ke/datadir/test_filtersfile_checks-naqilep5" 2025/04/09 01:48:44 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:44 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:44 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:44 DEBUG : Local file system at /tmp/014842ke/datadir/test_filtersfile_checks-naqilep5: Waiting for checks to finish 2025/04/09 01:48:44 DEBUG : Local file system at /tmp/014842ke/datadir/test_filtersfile_checks-naqilep5: Waiting for transfers to finish 2025/04/09 01:48:44 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/04/09 01:48:44 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/04/09 01:48:44 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/04/09 01:48:44 INFO : filtersfile.txt: Copied (new) 2025/04/09 01:48:44 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/04/09 01:48:44 INFO : filtersfile2.txt: Copied (new) 2025/04/09 01:48:44 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/04/09 01:48:44 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/04/09 01:48:44 INFO : hold.txt: Copied (new) 2025/04/09 01:48:45 ERROR : : error listing: directory not found 2025/04/09 01:48:45 NOTICE: checking initFs Local file system at /tmp/014842ke/initdir/test_filtersfile_checks-xilaguq1 2025/04/09 01:48:45 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:45 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:45 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:45 DEBUG : subdir: Making directory with metadata 2025/04/09 01:48:45 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/04/09 01:48:45 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/04/09 01:48:45 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:45 DEBUG : Local file system at /tmp/014842ke/filtersfile_checks/path1: Waiting for checks to finish 2025/04/09 01:48:45 DEBUG : Local file system at /tmp/014842ke/filtersfile_checks/path1: Waiting for transfers to finish 2025/04/09 01:48:45 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:45 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:45 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/04/09 01:48:45 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/04/09 01:48:45 INFO : file1.txt: Copied (new) 2025/04/09 01:48:45 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:45 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:45 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/04/09 01:48:45 INFO : file2.txt: Copied (new) 2025/04/09 01:48:45 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:45 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/04/09 01:48:45 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:45 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:45 NOTICE: checking Path1 Local file system at /tmp/014842ke/filtersfile_checks/path1 2025/04/09 01:48:45 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:45 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:45 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:45 INFO : subdir: Making directory 2025/04/09 01:48:45 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:45 DEBUG : GCS bucket rclone-test-tewasiy7neka path 014842ke/filtersfile_checks/path2: Waiting for checks to finish 2025/04/09 01:48:45 DEBUG : GCS bucket rclone-test-tewasiy7neka path 014842ke/filtersfile_checks/path2: Waiting for transfers to finish 2025/04/09 01:48:45 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:45 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:45 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:45 INFO : file1.txt: Copied (new) 2025/04/09 01:48:45 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:45 INFO : file2.txt: Copied (new) 2025/04/09 01:48:45 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:45 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:45 NOTICE: checking path2 GCS bucket rclone-test-tewasiy7neka path 014842ke/filtersfile_checks/path2 2025/04/09 01:48:45 NOTICE: (01) : test filtersfile-checks 2025/04/09 01:48:45 NOTICE: (02) : test initial bisync 2025/04/09 01:48:45 NOTICE: (03) : bisync resync 2025/04/09 01:48:46 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:46 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:46 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/09 01:48:46 INFO : Synching Path1 "/tmp/014842ke/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48:46 INFO : Copying Path2 files to Path1 2025/04/09 01:48:46 INFO : - Path2 Resync is copying files to - Path1 2025/04/09 01:48:47 INFO : - Path1 Resync is copying files to - Path2 2025/04/09 01:48:47 INFO : Resync updating listings 2025/04/09 01:48:47 INFO : Validating listings for Path1 "/tmp/014842ke/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48:47 INFO : Bisync successful 2025/04/09 01:48:47 NOTICE: (04) : test 1. inject filters file in workdir. 2025/04/09 01:48:47 NOTICE: (05) : copy-file /tmp/014842ke/datadir/test_filtersfile_checks-naqilep5/filtersfile.txt /tmp/014842ke/workdir/ 2025/04/09 01:48:47 INFO : filtersfile.txt: Copied (new) 2025/04/09 01:48:47 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/04/09 01:48:47 NOTICE: (07) : bisync filters-file=/tmp/014842ke/workdir/filtersfile.txt 2025/04/09 01:48:48 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:48 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48: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/04/09 01:48:48 INFO : Synching Path1 "/tmp/014842ke/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48:48 INFO : Using filters file /tmp/014842ke/workdir/filtersfile.txt 2025/04/09 01:48:48 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/014842ke/workdir/filtersfile.txt 2025/04/09 01:48:48 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:48:48 NOTICE: Bisync error: bisync aborted 2025/04/09 01:48:48 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/04/09 01:48:48 NOTICE: (09) : bisync 2025/04/09 01:48:48 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:48 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48: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/04/09 01:48:48 INFO : Synching Path1 "/tmp/014842ke/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48: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/014842ke/workdir/tmp_014842ke_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-tewasiy7neka_014842ke_filtersfile_checks_path2.path1.lst Path2: /tmp/014842ke/workdir/tmp_014842ke_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-tewasiy7neka_014842ke_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/014842ke/workdir" 2025/04/09 01:48:48 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:48:48 NOTICE: Bisync error: bisync aborted 2025/04/09 01:48:48 NOTICE: (10) : test 4. run with filters-file and resync. 2025/04/09 01:48:48 NOTICE: (11) : bisync filters-file=/tmp/014842ke/workdir/filtersfile.txt resync 2025/04/09 01:48:49 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:49 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:49 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/09 01:48:49 INFO : Synching Path1 "/tmp/014842ke/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48:49 INFO : Using filters file /tmp/014842ke/workdir/filtersfile.txt 2025/04/09 01:48:49 INFO : Storing filters file hash to /tmp/014842ke/workdir/filtersfile.txt.md5 2025/04/09 01:48:49 INFO : Copying Path2 files to Path1 2025/04/09 01:48:49 INFO : - Path2 Resync is copying files to - Path1 2025/04/09 01:48:50 INFO : - Path1 Resync is copying files to - Path2 2025/04/09 01:48:50 INFO : Resync updating listings 2025/04/09 01:48:50 INFO : Validating listings for Path1 "/tmp/014842ke/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48:50 INFO : Bisync successful 2025/04/09 01:48:50 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/04/09 01:48:50 NOTICE: (13) : bisync filters-file=/tmp/014842ke/workdir/filtersfile.txt 2025/04/09 01:48:51 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:51 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:51 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/09 01:48:51 INFO : Synching Path1 "/tmp/014842ke/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48:51 INFO : Using filters file /tmp/014842ke/workdir/filtersfile.txt 2025/04/09 01:48:51 INFO : Building Path1 and Path2 listings 2025/04/09 01:48:51 INFO : Path1 checking for diffs 2025/04/09 01:48:51 INFO : Path2 checking for diffs 2025/04/09 01:48:51 INFO : No changes found 2025/04/09 01:48:51 INFO : Updating listings 2025/04/09 01:48:51 INFO : Validating listings for Path1 "/tmp/014842ke/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/" 2025/04/09 01:48:51 INFO : Bisync successful 2025/04/09 01:48:51 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/04/09 01:48:51 NOTICE: (15) : copy-as /tmp/014842ke/datadir/test_filtersfile_checks-naqilep5/filtersfile2.txt /tmp/014842ke/workdir/ filtersfile.txt 2025/04/09 01:48:51 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/04/09 01:48:51 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/04/09 01:48:51 NOTICE: (17) : bisync filters-file=/tmp/014842ke/workdir/filtersfile.txt bisync_test.go:977: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:977 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:988 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:1052 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:747 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:494 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:358 Error: Received unexpected error: googleapi: Error 429: The object rclone-test-tewasiy7neka/014842ke/filtersfile_checks/path2/modtime_write_test exceeded the rate limit for object mutation operations (create, update, and delete). Please reduce your request rate. See https://cloud.google.com/storage/docs/gcs429., rateLimitExceeded Test: TestBisyncLocalRemote/filtersfile_checks 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge object "014842ke/filtersfile_checks/path2/RCLONE_TEST" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge object "014842ke/filtersfile_checks/path2/file1.txt" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge object "014842ke/filtersfile_checks/path2/file2.txt" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge object "014842ke/filtersfile_checks/path2/subdir/file20.txt" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge dir "014842ke/filtersfile_checks/path2/subdir" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge dir "014842ke/filtersfile_checks/path2" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge dir "014842ke/filtersfile_checks" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge dir "014842ke" 2025/04/09 01:48:52 DEBUG : GCS bucket rclone-test-tewasiy7neka: Purge dir "" --- FAIL: TestBisyncLocalRemote (11.05s) --- FAIL: TestBisyncLocalRemote/filtersfile_checks (9.47s) === RUN TestBisyncRemoteRemote 2025/04/09 01:48:53 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gigitaq3vewi" 2025/04/09 01:48:53 NOTICE: remote: TestGoogleCloudStorage:rclone-test-gigitaq3vewi === RUN TestBisyncRemoteRemote/filtersfile_checks 2025/04/09 01:48:53 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu" 2025/04/09 01:48:53 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/09 01:48:53 INFO : path1: Making directory 2025/04/09 01:48:55 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1" 2025/04/09 01:48:55 INFO : path2: Making directory 2025/04/09 01:48:55 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2" 2025/04/09 01:48:56 DEBUG : Creating backend with remote "/tmp/014853tu/initdir/test_filtersfile_checks-remixil1" 2025/04/09 01:48:56 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:56 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:56 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:56 DEBUG : subdir: Making directory with metadata 2025/04/09 01:48:56 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/04/09 01:48:56 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/04/09 01:48:56 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:56 DEBUG : Local file system at /tmp/014853tu/initdir/test_filtersfile_checks-remixil1: Waiting for checks to finish 2025/04/09 01:48:56 DEBUG : Local file system at /tmp/014853tu/initdir/test_filtersfile_checks-remixil1: Waiting for transfers to finish 2025/04/09 01:48:56 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:56 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/04/09 01:48:56 INFO : file1.txt: Copied (new) 2025/04/09 01:48:56 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:56 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/04/09 01:48:56 INFO : file2.txt: Copied (new) 2025/04/09 01:48:56 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:56 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/04/09 01:48:56 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:56 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:56 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/04/09 01:48:56 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:56 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/09 01:48:56 DEBUG : Creating backend with remote "/tmp/014853tu/datadir/test_filtersfile_checks-dunacax1" 2025/04/09 01:48:56 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:56 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:56 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:56 DEBUG : Local file system at /tmp/014853tu/datadir/test_filtersfile_checks-dunacax1: Waiting for checks to finish 2025/04/09 01:48:56 DEBUG : Local file system at /tmp/014853tu/datadir/test_filtersfile_checks-dunacax1: Waiting for transfers to finish 2025/04/09 01:48:56 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/04/09 01:48:56 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/04/09 01:48:56 INFO : filtersfile2.txt: Copied (new) 2025/04/09 01:48:56 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/04/09 01:48:56 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/04/09 01:48:56 INFO : hold.txt: Copied (new) 2025/04/09 01:48:56 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/04/09 01:48:56 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/04/09 01:48:56 INFO : filtersfile.txt: Copied (new) 2025/04/09 01:48:57 NOTICE: checking initFs Local file system at /tmp/014853tu/initdir/test_filtersfile_checks-remixil1 2025/04/09 01:48:57 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:57 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:57 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:57 INFO : subdir: Making directory 2025/04/09 01:48:57 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:57 DEBUG : GCS bucket rclone-test-gigitaq3vewi path 014853tu/filtersfile_checks/path1: Waiting for checks to finish 2025/04/09 01:48:57 DEBUG : GCS bucket rclone-test-gigitaq3vewi path 014853tu/filtersfile_checks/path1: Waiting for transfers to finish 2025/04/09 01:48:57 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:57 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:57 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:57 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:57 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:57 INFO : file2.txt: Copied (new) 2025/04/09 01:48:57 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:57 INFO : file1.txt: Copied (new) 2025/04/09 01:48:57 NOTICE: checking Path1 GCS bucket rclone-test-gigitaq3vewi path 014853tu/filtersfile_checks/path1 2025/04/09 01:48:57 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/09 01:48:57 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:57 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:57 INFO : subdir: Making directory 2025/04/09 01:48:57 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/09 01:48:57 DEBUG : GCS bucket rclone-test-gigitaq3vewi path 014853tu/filtersfile_checks/path2: Waiting for checks to finish 2025/04/09 01:48:57 DEBUG : GCS bucket rclone-test-gigitaq3vewi path 014853tu/filtersfile_checks/path2: Waiting for transfers to finish 2025/04/09 01:48:58 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:58 INFO : file2.txt: Copied (new) 2025/04/09 01:48:58 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/09 01:48:58 INFO : RCLONE_TEST: Copied (new) 2025/04/09 01:48:58 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:58 INFO : subdir/file20.txt: Copied (new) 2025/04/09 01:48:58 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/09 01:48:58 INFO : file1.txt: Copied (new) 2025/04/09 01:48:58 NOTICE: checking path2 GCS bucket rclone-test-gigitaq3vewi path 014853tu/filtersfile_checks/path2 2025/04/09 01:48:58 NOTICE: (01) : test filtersfile-checks 2025/04/09 01:48:58 NOTICE: (02) : test initial bisync 2025/04/09 01:48:58 NOTICE: (03) : bisync resync 2025/04/09 01:48:59 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:48:59 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:48:59 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:48:59 INFO : Copying Path2 files to Path1 2025/04/09 01:48:59 INFO : - Path2 Resync is copying files to - Path1 2025/04/09 01:48:59 INFO : - Path1 Resync is copying files to - Path2 2025/04/09 01:49:00 INFO : Resync updating listings 2025/04/09 01:49:00 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:00 INFO : Bisync successful 2025/04/09 01:49:00 NOTICE: (04) : test 1. inject filters file in workdir. 2025/04/09 01:49:00 NOTICE: (05) : copy-file /tmp/014853tu/datadir/test_filtersfile_checks-dunacax1/filtersfile.txt /tmp/014853tu/workdir/ 2025/04/09 01:49:00 INFO : filtersfile.txt: Copied (new) 2025/04/09 01:49:00 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/04/09 01:49:00 NOTICE: (07) : bisync filters-file=/tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:01 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:49:01 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:49:01 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:01 INFO : Using filters file /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:01 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:01 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:49:01 NOTICE: Bisync error: bisync aborted 2025/04/09 01:49:01 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/04/09 01:49:01 NOTICE: (09) : bisync 2025/04/09 01:49:03 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:49:03 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:49:03 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:03 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/014853tu/workdir/TestGoogleCloudStorage_rclone-test-gigitaq3vewi_014853tu_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-gigitaq3vewi_014853tu_filtersfile_checks_path2.path1.lst Path2: /tmp/014853tu/workdir/TestGoogleCloudStorage_rclone-test-gigitaq3vewi_014853tu_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-gigitaq3vewi_014853tu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/014853tu/workdir" 2025/04/09 01:49:03 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:49:03 NOTICE: Bisync error: bisync aborted 2025/04/09 01:49:03 NOTICE: (10) : test 4. run with filters-file and resync. 2025/04/09 01:49:03 NOTICE: (11) : bisync filters-file=/tmp/014853tu/workdir/filtersfile.txt resync 2025/04/09 01:49:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:49:04 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:49:04 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:04 INFO : Using filters file /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:04 INFO : Storing filters file hash to /tmp/014853tu/workdir/filtersfile.txt.md5 2025/04/09 01:49:04 INFO : Copying Path2 files to Path1 2025/04/09 01:49:04 INFO : - Path2 Resync is copying files to - Path1 2025/04/09 01:49:05 INFO : - Path1 Resync is copying files to - Path2 2025/04/09 01:49:05 INFO : Resync updating listings 2025/04/09 01:49:05 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:05 INFO : Bisync successful 2025/04/09 01:49:05 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/04/09 01:49:05 NOTICE: (13) : bisync filters-file=/tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:49:07 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:49:07 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:07 INFO : Using filters file /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:07 INFO : Building Path1 and Path2 listings 2025/04/09 01:49:07 INFO : Path1 checking for diffs 2025/04/09 01:49:07 INFO : Path2 checking for diffs 2025/04/09 01:49:07 INFO : No changes found 2025/04/09 01:49:07 INFO : Updating listings 2025/04/09 01:49:07 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:07 INFO : Bisync successful 2025/04/09 01:49:07 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/04/09 01:49:07 NOTICE: (15) : copy-as /tmp/014853tu/datadir/test_filtersfile_checks-dunacax1/filtersfile2.txt /tmp/014853tu/workdir/ filtersfile.txt 2025/04/09 01:49:07 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/04/09 01:49:07 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/04/09 01:49:07 NOTICE: (17) : bisync filters-file=/tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:49:08 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:49:08 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:08 INFO : Using filters file /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:08 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:08 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:49:08 NOTICE: Bisync error: bisync aborted 2025/04/09 01:49:08 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/04/09 01:49:08 NOTICE: (19) : bisync filters-file=/tmp/014853tu/workdir/filtersfile.txt resync dry-run 2025/04/09 01:49:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:49:10 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:49:10 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:10 INFO : Using filters file /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:10 INFO : Skipped storing filters file hash to /tmp/014853tu/workdir/filtersfile.txt.md5 as --dry-run is set 2025/04/09 01:49:10 INFO : Copying Path2 files to Path1 2025/04/09 01:49:10 NOTICE: - Path2 Resync is copying files to - Path1 2025/04/09 01:49:10 NOTICE: - Path1 Resync is copying files to - Path2 2025/04/09 01:49:10 INFO : Resync updating listings 2025/04/09 01:49:10 INFO : Bisync successful 2025/04/09 01:49:10 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/04/09 01:49:10 NOTICE: (21) : bisync filters-file=/tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:12 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/09 01:49:12 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/04/09 01:49:12 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gigitaq3vewi/014853tu/filtersfile_checks/path2/" 2025/04/09 01:49:12 INFO : Using filters file /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:12 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/014853tu/workdir/filtersfile.txt 2025/04/09 01:49:12 ERROR : Bisync aborted. Must run --resync to recover. 2025/04/09 01:49:12 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST filtersfile_checks PASSED 2025/04/09 01:49:13 DEBUG : GCS bucket rclone-test-gigitaq3vewi: Purge dir "" --- PASS: TestBisyncRemoteRemote (20.92s) --- PASS: TestBisyncRemoteRemote/filtersfile_checks (20.12s) FAIL 2025/04/09 01:49:14 DEBUG : GCS bucket rclone-test-muyasos0koca: Purge dir "" 2025/04/09 01:49:15 NOTICE: purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2025/04/09 01:49:15 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Finished ERROR in 46.135703594s (try 5/5): exit status 1: Failed [TestBisyncLocalRemote/filtersfile_checks]