"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^check_access$|^TestBisyncRemoteLocal$/^filtersfile_checks$'" - Starting (try 5/5) 2025/01/26 05:34:09 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-xaxekoh0haka" 2025/01/26 05:34:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/26 05:34:09 DEBUG : Creating backend with remote "/tmp/rclone262873651" === RUN TestBisyncRemoteLocal 2025/01/26 05:34:09 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-tecafuv4hara" 2025/01/26 05:34:09 NOTICE: remote: TestGoogleCloudStorage:rclone-test-tecafuv4hara === RUN TestBisyncRemoteLocal/filtersfile_checks 2025/01/26 05:34:09 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu" 2025/01/26 05:34:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/26 05:34:09 INFO : path1: Making directory 2025/01/26 05:34:10 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1" 2025/01/26 05:34:11 DEBUG : Creating backend with remote "/tmp/053409gu" 2025/01/26 05:34:11 DEBUG : Creating backend with remote "/tmp/053409gu/filtersfile_checks/path2" 2025/01/26 05:34:11 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2025/01/26 05:34:11 DEBUG : Creating backend with remote "/tmp/053409gu/initdir/test_filtersfile_checks-winolav4" 2025/01/26 05:34:11 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : subdir: Making directory with metadata 2025/01/26 05:34:11 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/26 05:34:11 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/26 05:34:11 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:11 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/26 05:34:11 INFO : file1.txt: Copied (new) 2025/01/26 05:34:11 DEBUG : Local file system at /tmp/053409gu/initdir/test_filtersfile_checks-winolav4: Waiting for checks to finish 2025/01/26 05:34:11 DEBUG : Local file system at /tmp/053409gu/initdir/test_filtersfile_checks-winolav4: Waiting for transfers to finish 2025/01/26 05:34:11 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:11 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/26 05:34:11 INFO : file2.txt: Copied (new) 2025/01/26 05:34:11 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:11 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/26 05:34:11 INFO : subdir/file20.txt: Copied (new) 2025/01/26 05:34:11 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:11 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/26 05:34:11 INFO : RCLONE_TEST: Copied (new) 2025/01/26 05:34:11 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:11 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2025/01/26 05:34:11 DEBUG : Creating backend with remote "/tmp/053409gu/datadir/test_filtersfile_checks-qewaseg7" 2025/01/26 05:34:11 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : Local file system at /tmp/053409gu/datadir/test_filtersfile_checks-qewaseg7: Waiting for checks to finish 2025/01/26 05:34:11 DEBUG : Local file system at /tmp/053409gu/datadir/test_filtersfile_checks-qewaseg7: Waiting for transfers to finish 2025/01/26 05:34:11 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2025/01/26 05:34:11 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2025/01/26 05:34:11 INFO : filtersfile.txt: Copied (new) 2025/01/26 05:34:11 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/26 05:34:11 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/26 05:34:11 INFO : hold.txt: Copied (new) 2025/01/26 05:34:11 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2025/01/26 05:34:11 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2025/01/26 05:34:11 INFO : filtersfile2.txt: Copied (new) 2025/01/26 05:34:11 ERROR : : error listing: directory not found 2025/01/26 05:34:11 NOTICE: checking initFs Local file system at /tmp/053409gu/initdir/test_filtersfile_checks-winolav4 2025/01/26 05:34:11 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 INFO : subdir: Making directory 2025/01/26 05:34:11 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:11 DEBUG : GCS bucket rclone-test-tecafuv4hara path 053409gu/filtersfile_checks/path1: Waiting for checks to finish 2025/01/26 05:34:11 DEBUG : GCS bucket rclone-test-tecafuv4hara path 053409gu/filtersfile_checks/path1: Waiting for transfers to finish 2025/01/26 05:34:12 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:12 INFO : RCLONE_TEST: Copied (new) 2025/01/26 05:34:12 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:12 INFO : file2.txt: Copied (new) 2025/01/26 05:34:12 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:12 INFO : subdir/file20.txt: Copied (new) 2025/01/26 05:34:12 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:12 INFO : file1.txt: Copied (new) 2025/01/26 05:34:12 NOTICE: checking Path1 GCS bucket rclone-test-tecafuv4hara path 053409gu/filtersfile_checks/path1 2025/01/26 05:34:12 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:12 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:12 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:12 DEBUG : subdir: Making directory with metadata 2025/01/26 05:34:12 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/26 05:34:12 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/26 05:34:12 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:12 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:12 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/26 05:34:12 INFO : file1.txt: Copied (new) 2025/01/26 05:34:12 DEBUG : Local file system at /tmp/053409gu/filtersfile_checks/path2: Waiting for checks to finish 2025/01/26 05:34:12 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:12 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:12 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/26 05:34:12 INFO : file2.txt: Copied (new) 2025/01/26 05:34:12 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/26 05:34:12 DEBUG : Local file system at /tmp/053409gu/filtersfile_checks/path2: Waiting for transfers to finish 2025/01/26 05:34:12 INFO : subdir/file20.txt: Copied (new) 2025/01/26 05:34:12 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:12 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/26 05:34:12 INFO : RCLONE_TEST: Copied (new) 2025/01/26 05:34:12 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:12 NOTICE: checking path2 Local file system at /tmp/053409gu/filtersfile_checks/path2 2025/01/26 05:34:12 NOTICE: (01) : test filtersfile-checks 2025/01/26 05:34:12 NOTICE: (02) : test initial bisync 2025/01/26 05:34:12 NOTICE: (03) : bisync resync 2025/01/26 05:34:13 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:13 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:13 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/26 05:34:13 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:13 INFO : Copying Path2 files to Path1 2025/01/26 05:34:13 INFO : - Path2 Resync is copying files to - Path1 2025/01/26 05:34:13 INFO : - Path1 Resync is copying files to - Path2 2025/01/26 05:34:13 INFO : Resync updating listings 2025/01/26 05:34:13 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" vs Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:13 INFO : Bisync successful 2025/01/26 05:34:13 NOTICE: (04) : test 1. inject filters file in workdir. 2025/01/26 05:34:13 NOTICE: (05) : copy-file /tmp/053409gu/datadir/test_filtersfile_checks-qewaseg7/filtersfile.txt /tmp/053409gu/workdir/ 2025/01/26 05:34:13 INFO : filtersfile.txt: Copied (new) 2025/01/26 05:34:13 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2025/01/26 05:34:13 NOTICE: (07) : bisync filters-file=/tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:14 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:14 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:14 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/26 05:34:14 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:14 INFO : Using filters file /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:14 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:14 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/26 05:34:14 NOTICE: Bisync error: bisync aborted 2025/01/26 05:34:14 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2025/01/26 05:34:14 NOTICE: (09) : bisync 2025/01/26 05:34:15 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:15 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/26 05:34:15 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:15 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/053409gu/workdir/TestGoogleCloudStorage_rclone-test-tecafuv4hara_053409gu_filtersfile_checks_path1..tmp_053409gu_filtersfile_checks_path2.path1.lst Path2: /tmp/053409gu/workdir/TestGoogleCloudStorage_rclone-test-tecafuv4hara_053409gu_filtersfile_checks_path1..tmp_053409gu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/053409gu/workdir" 2025/01/26 05:34:15 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/26 05:34:15 NOTICE: Bisync error: bisync aborted 2025/01/26 05:34:15 NOTICE: (10) : test 4. run with filters-file and resync. 2025/01/26 05:34:15 NOTICE: (11) : bisync filters-file=/tmp/053409gu/workdir/filtersfile.txt resync 2025/01/26 05:34:16 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:16 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:16 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/26 05:34:16 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:16 INFO : Using filters file /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:16 INFO : Storing filters file hash to /tmp/053409gu/workdir/filtersfile.txt.md5 2025/01/26 05:34:16 INFO : Copying Path2 files to Path1 2025/01/26 05:34:16 INFO : - Path2 Resync is copying files to - Path1 2025/01/26 05:34:16 INFO : - Path1 Resync is copying files to - Path2 2025/01/26 05:34:16 INFO : Resync updating listings 2025/01/26 05:34:16 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" vs Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:16 INFO : Bisync successful 2025/01/26 05:34:16 NOTICE: (12) : test 5. run with filters-file alone. should run. 2025/01/26 05:34:16 NOTICE: (13) : bisync filters-file=/tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:17 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:17 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/26 05:34:17 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:17 INFO : Using filters file /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:17 INFO : Building Path1 and Path2 listings 2025/01/26 05:34:17 INFO : Path1 checking for diffs 2025/01/26 05:34:17 INFO : Path2 checking for diffs 2025/01/26 05:34:17 INFO : No changes found 2025/01/26 05:34:17 INFO : Updating listings 2025/01/26 05:34:17 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" vs Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:17 INFO : Bisync successful 2025/01/26 05:34:17 NOTICE: (14) : test 6. push changed filters-file to workdir. 2025/01/26 05:34:17 NOTICE: (15) : copy-as /tmp/053409gu/datadir/test_filtersfile_checks-qewaseg7/filtersfile2.txt /tmp/053409gu/workdir/ filtersfile.txt 2025/01/26 05:34:17 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2025/01/26 05:34:17 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2025/01/26 05:34:17 NOTICE: (17) : bisync filters-file=/tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:18 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:18 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/26 05:34:18 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:18 INFO : Using filters file /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:18 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:18 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/26 05:34:18 NOTICE: Bisync error: bisync aborted 2025/01/26 05:34:18 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/26 05:34:18 NOTICE: (19) : bisync filters-file=/tmp/053409gu/workdir/filtersfile.txt resync dry-run 2025/01/26 05:34:18 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:18 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/26 05:34:18 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:18 INFO : Using filters file /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:18 INFO : Skipped storing filters file hash to /tmp/053409gu/workdir/filtersfile.txt.md5 as --dry-run is set 2025/01/26 05:34:18 INFO : Copying Path2 files to Path1 2025/01/26 05:34:18 NOTICE: - Path2 Resync is copying files to - Path1 2025/01/26 05:34:19 NOTICE: - Path1 Resync is copying files to - Path2 2025/01/26 05:34:19 INFO : Resync updating listings 2025/01/26 05:34:19 INFO : Bisync successful 2025/01/26 05:34:19 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2025/01/26 05:34:19 NOTICE: (21) : bisync filters-file=/tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:19 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:19 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:19 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/26 05:34:19 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-tecafuv4hara/053409gu/filtersfile_checks/path1/" with Path2 "/tmp/053409gu/filtersfile_checks/path2/" 2025/01/26 05:34:19 INFO : Using filters file /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:19 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/053409gu/workdir/filtersfile.txt 2025/01/26 05:34:19 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/26 05:34:19 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2025/01/26 05:34:20 DEBUG : GCS bucket rclone-test-tecafuv4hara: Purge dir "" --- PASS: TestBisyncRemoteLocal (12.06s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (11.39s) === RUN TestBisyncLocalRemote 2025/01/26 05:34:21 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-zabakov1waxi" 2025/01/26 05:34:21 NOTICE: remote: TestGoogleCloudStorage:rclone-test-zabakov1waxi === RUN TestBisyncLocalRemote/check_access 2025/01/26 05:34:21 DEBUG : Creating backend with remote "/tmp/053421sa" 2025/01/26 05:34:21 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/26 05:34:21 DEBUG : Creating backend with remote "/tmp/053421sa/check_access/path1" 2025/01/26 05:34:21 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa" 2025/01/26 05:34:21 INFO : path2: Making directory 2025/01/26 05:34:22 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2" 2025/01/26 05:34:23 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_access/initial" 2025/01/26 05:34:23 DEBUG : Creating backend with remote "/tmp/053421sa/initdir/test_check_access-ramilur6" 2025/01/26 05:34:23 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : subdir: Making directory with metadata 2025/01/26 05:34:23 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/26 05:34:23 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/26 05:34:23 DEBUG : subdir/RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/26 05:34:23 INFO : file1.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : Local file system at /tmp/053421sa/initdir/test_check_access-ramilur6: Waiting for checks to finish 2025/01/26 05:34:23 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/26 05:34:23 INFO : file2.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : Local file system at /tmp/053421sa/initdir/test_check_access-ramilur6: Waiting for transfers to finish 2025/01/26 05:34:23 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/01/26 05:34:23 INFO : file3.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/01/26 05:34:23 INFO : file4.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:23 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/26 05:34:23 INFO : RCLONE_TEST: Copied (new) 2025/01/26 05:34:23 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/26 05:34:23 INFO : subdir/file20.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : subdir/RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:23 DEBUG : subdir/RCLONE_TEST.cf9a93ac.partial: renamed to: subdir/RCLONE_TEST 2025/01/26 05:34:23 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/26 05:34:23 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:23 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_access/modfiles" 2025/01/26 05:34:23 DEBUG : Creating backend with remote "/tmp/053421sa/datadir/test_check_access-yerejop6" 2025/01/26 05:34:23 DEBUG : hold.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : Local file system at /tmp/053421sa/datadir/test_check_access-yerejop6: Waiting for checks to finish 2025/01/26 05:34:23 DEBUG : Local file system at /tmp/053421sa/datadir/test_check_access-yerejop6: Waiting for transfers to finish 2025/01/26 05:34:23 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2025/01/26 05:34:23 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2025/01/26 05:34:23 INFO : hold.txt: Copied (new) 2025/01/26 05:34:23 ERROR : : error listing: directory not found 2025/01/26 05:34:23 NOTICE: checking initFs Local file system at /tmp/053421sa/initdir/test_check_access-ramilur6 2025/01/26 05:34:23 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : subdir: Making directory with metadata 2025/01/26 05:34:23 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/01/26 05:34:23 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/01/26 05:34:23 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/26 05:34:23 INFO : file1.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2025/01/26 05:34:23 INFO : file2.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : subdir/RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2025/01/26 05:34:23 INFO : file3.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2025/01/26 05:34:23 DEBUG : Local file system at /tmp/053421sa/check_access/path1: Waiting for checks to finish 2025/01/26 05:34:23 INFO : file4.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : Local file system at /tmp/053421sa/check_access/path1: Waiting for transfers to finish 2025/01/26 05:34:23 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:23 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/26 05:34:23 INFO : RCLONE_TEST: Copied (new) 2025/01/26 05:34:23 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:23 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/01/26 05:34:23 INFO : subdir/file20.txt: Copied (new) 2025/01/26 05:34:23 DEBUG : subdir/RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:23 DEBUG : subdir/RCLONE_TEST.cf9a93ac.partial: renamed to: subdir/RCLONE_TEST 2025/01/26 05:34:23 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/26 05:34:23 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:23 NOTICE: checking Path1 Local file system at /tmp/053421sa/check_access/path1 2025/01/26 05:34:23 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file2.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file3.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : file4.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 INFO : subdir: Making directory 2025/01/26 05:34:23 DEBUG : subdir/RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/01/26 05:34:23 DEBUG : GCS bucket rclone-test-zabakov1waxi path 053421sa/check_access/path2: Waiting for checks to finish 2025/01/26 05:34:23 DEBUG : GCS bucket rclone-test-zabakov1waxi path 053421sa/check_access/path2: Waiting for transfers to finish 2025/01/26 05:34:23 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:23 INFO : RCLONE_TEST: Copied (new) 2025/01/26 05:34:24 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:24 INFO : file3.txt: Copied (new) 2025/01/26 05:34:24 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:24 INFO : file4.txt: Copied (new) 2025/01/26 05:34:24 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:24 INFO : file1.txt: Copied (new) 2025/01/26 05:34:24 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:24 INFO : file2.txt: Copied (new) 2025/01/26 05:34:24 DEBUG : subdir/RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/26 05:34:24 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/26 05:34:24 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/26 05:34:24 INFO : subdir/file20.txt: Copied (new) 2025/01/26 05:34:24 NOTICE: checking path2 GCS bucket rclone-test-zabakov1waxi path 053421sa/check_access/path2 2025/01/26 05:34:24 NOTICE: (01) : test check-access 2025/01/26 05:34:24 NOTICE: (02) : test initial bisync 2025/01/26 05:34:24 NOTICE: (03) : bisync resync 2025/01/26 05:34:25 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34: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/26 05:34:25 INFO : Synching Path1 "/tmp/053421sa/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/" 2025/01/26 05:34:25 INFO : Copying Path2 files to Path1 2025/01/26 05:34:25 INFO : - Path2 Resync is copying files to - Path1 2025/01/26 05:34:25 INFO : - Path1 Resync is copying files to - Path2 2025/01/26 05:34:26 INFO : Resync updating listings 2025/01/26 05:34:26 INFO : Validating listings for Path1 "/tmp/053421sa/check_access/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/" 2025/01/26 05:34:26 INFO : Bisync successful 2025/01/26 05:34:26 NOTICE: (04) : test 1. see that check-access passes with the initial setup 2025/01/26 05:34:26 NOTICE: (05) : bisync check-access 2025/01/26 05:34:26 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:26 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/26 05:34:26 INFO : Synching Path1 "/tmp/053421sa/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/" 2025/01/26 05:34:26 INFO : Building Path1 and Path2 listings 2025/01/26 05:34:27 INFO : Path1 checking for diffs 2025/01/26 05:34:27 INFO : Path2 checking for diffs 2025/01/26 05:34:27 INFO : Checking access health 2025/01/26 05:34:27 INFO : Found 2 matching "RCLONE_TEST" files on both paths 2025/01/26 05:34:27 INFO : No changes found 2025/01/26 05:34:27 INFO : Updating listings 2025/01/26 05:34:27 INFO : Validating listings for Path1 "/tmp/053421sa/check_access/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/" 2025/01/26 05:34:27 INFO : Bisync successful 2025/01/26 05:34:27 NOTICE: (06) : test 2. delete the path2 subdir RCLONE_TEST and run sync. should fail critical. 2025/01/26 05:34:27 NOTICE: (07) : delete-file TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/subdir/RCLONE_TEST 2025/01/26 05:34:27 INFO : RCLONE_TEST: Deleted 2025/01/26 05:34:27 NOTICE: (08) : bisync check-access 2025/01/26 05:34:28 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34:28 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/26 05:34:28 INFO : Synching Path1 "/tmp/053421sa/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/" 2025/01/26 05:34:28 INFO : Building Path1 and Path2 listings 2025/01/26 05:34:28 INFO : Path1 checking for diffs 2025/01/26 05:34:28 INFO : Path2 checking for diffs 2025/01/26 05:34:28 INFO : - Path2 File was deleted - subdir/RCLONE_TEST 2025/01/26 05:34:28 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2025/01/26 05:34:28 INFO : Checking access health 2025/01/26 05:34:28 ERROR : Access test failed: Path1 count 2, Path2 count 1 - RCLONE_TEST 2025/01/26 05:34:28 ERROR : -  Access test failed: Path1 file not found in Path2 - subdir/RCLONE_TEST 2025/01/26 05:34:28 ERROR : Bisync critical error: check file check failed 2025/01/26 05:34:28 ERROR : Bisync aborted. Must run --resync to recover. 2025/01/26 05:34:28 NOTICE: Bisync error: bisync aborted 2025/01/26 05:34:28 NOTICE: (09) : copy-listings path2-missing 2025/01/26 05:34:28 NOTICE: (10) : test 3. put the path2 subdir RCLONE_TEST back, resync. 2025/01/26 05:34:28 NOTICE: (11) : copy-file /tmp/053421sa/check_access/path1/subdir/RCLONE_TEST TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/ 2025/01/26 05:34:29 NOTICE: (12) : bisync resync 2025/01/26 05:34:30 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/26 05:34:30 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/26 05:34: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/26 05:34:30 INFO : Synching Path1 "/tmp/053421sa/check_access/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/" 2025/01/26 05:34:30 INFO : Copying Path2 files to Path1 2025/01/26 05:34:30 INFO : - Path2 Resync is copying files to - Path1 2025/01/26 05:34:30 INFO : - Path1 Resync is copying files to - Path2 2025/01/26 05:34:30 INFO : subdir/RCLONE_TEST: Copied (new) 2025/01/26 05:34:30 INFO : Resync updating listings 2025/01/26 05:34:30 INFO : Validating listings for Path1 "/tmp/053421sa/check_access/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-zabakov1waxi/053421sa/check_access/path2/" 2025/01/26 05:34:30 INFO : Bisync successful 2025/01/26 05:34:30 NOTICE: (13) : test 4. run sync with check-access. should pass. 2025/01/26 05:34:30 NOTICE: (14) : bisync check-access bisync_test.go:966: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:966 /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:1041 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:745 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:492 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:356 Error: Received unexpected error: googleapi: Error 429: The object rclone-test-zabakov1waxi/053421sa/check_access/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/check_access 2025/01/26 05:34:31 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge object "053421sa/check_access/path2/RCLONE_TEST" 2025/01/26 05:34:31 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge object "053421sa/check_access/path2/file1.txt" 2025/01/26 05:34:31 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge object "053421sa/check_access/path2/file2.txt" 2025/01/26 05:34:31 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge object "053421sa/check_access/path2/file3.txt" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge object "053421sa/check_access/path2/file4.txt" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge object "053421sa/check_access/path2/subdir/RCLONE_TEST" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge object "053421sa/check_access/path2/subdir/file20.txt" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge dir "053421sa/check_access/path2/subdir" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge dir "053421sa/check_access/path2" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge dir "053421sa/check_access" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge dir "053421sa" 2025/01/26 05:34:32 DEBUG : GCS bucket rclone-test-zabakov1waxi: Purge dir "" --- FAIL: TestBisyncLocalRemote (12.09s) --- FAIL: TestBisyncLocalRemote/check_access (10.03s) FAIL 2025/01/26 05:34:33 DEBUG : GCS bucket rclone-test-xaxekoh0haka: Purge dir "" 2025/01/26 05:34:33 NOTICE: purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2025/01/26 05:34:33 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^check_access$|^TestBisyncRemoteLocal$/^filtersfile_checks$'" - Finished ERROR in 24.970866367s (try 5/5): exit status 1: Failed [TestBisyncLocalRemote/check_access]