"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^filtersfile_checks$'" - Starting (try 4/5) 2024/04/26 02:12:57 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-rucanuh1xexopud4ninaled6" 2024/04/26 02:12:57 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/26 02:12:57 DEBUG : Creating backend with remote "/tmp/rclone1529571812" === RUN TestBisyncRemoteLocal 2024/04/26 02:12:57 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8" 2024/04/26 02:12:57 remote: TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8 === RUN TestBisyncRemoteLocal/filtersfile_checks 2024/04/26 02:12:57 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka" 2024/04/26 02:12:57 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/26 02:12:58 DEBUG : path1: Making directory 2024/04/26 02:12:59 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1" 2024/04/26 02:12:59 DEBUG : Creating backend with remote "/tmp/021257ka" 2024/04/26 02:12:59 DEBUG : Creating backend with remote "/tmp/021257ka/filtersfile_checks/path2" 2024/04/26 02:12:59 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2024/04/26 02:12:59 DEBUG : Creating backend with remote "/tmp/021257ka/initdir/test_filtersfile_checks-fijubak6" 2024/04/26 02:12:59 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/26 02:12:59 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/26 02:12:59 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/26 02:12:59 DEBUG : subdir: Making directory with metadata 2024/04/26 02:12:59 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/26 02:12:59 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/26 02:12:59 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/26 02:12:59 DEBUG : Local file system at /tmp/021257ka/initdir/test_filtersfile_checks-fijubak6: Waiting for checks to finish 2024/04/26 02:12:59 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:12:59 DEBUG : Local file system at /tmp/021257ka/initdir/test_filtersfile_checks-fijubak6: Waiting for transfers to finish 2024/04/26 02:12:59 DEBUG : file1.txt.junidis7.partial: renamed to: file1.txt 2024/04/26 02:12:59 INFO : file1.txt: Copied (new) 2024/04/26 02:12:59 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:12:59 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:12:59 DEBUG : file2.txt.muhodiz9.partial: renamed to: file2.txt 2024/04/26 02:12:59 INFO : file2.txt: Copied (new) 2024/04/26 02:12:59 DEBUG : subdir/file20.txt.bekizoy7.partial: renamed to: subdir/file20.txt 2024/04/26 02:12:59 INFO : subdir/file20.txt: Copied (new) 2024/04/26 02:12:59 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/26 02:12:59 DEBUG : RCLONE_TEST.pisaqal4.partial: renamed to: RCLONE_TEST 2024/04/26 02:12:59 INFO : RCLONE_TEST: Copied (new) 2024/04/26 02:12:59 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:12:59 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2024/04/26 02:12:59 DEBUG : Creating backend with remote "/tmp/021257ka/datadir/test_filtersfile_checks-sodemoh5" 2024/04/26 02:12:59 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/04/26 02:12:59 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/04/26 02:12:59 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/04/26 02:12:59 DEBUG : Local file system at /tmp/021257ka/datadir/test_filtersfile_checks-sodemoh5: Waiting for checks to finish 2024/04/26 02:12:59 DEBUG : Local file system at /tmp/021257ka/datadir/test_filtersfile_checks-sodemoh5: Waiting for transfers to finish 2024/04/26 02:12:59 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/04/26 02:12:59 DEBUG : hold.txt.mubunal8.partial: renamed to: hold.txt 2024/04/26 02:12:59 INFO : hold.txt: Copied (new) 2024/04/26 02:12:59 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/04/26 02:12:59 DEBUG : filtersfile.txt.lulahid0.partial: renamed to: filtersfile.txt 2024/04/26 02:12:59 INFO : filtersfile.txt: Copied (new) 2024/04/26 02:12:59 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/04/26 02:12:59 DEBUG : filtersfile2.txt.muqelif4.partial: renamed to: filtersfile2.txt 2024/04/26 02:12:59 INFO : filtersfile2.txt: Copied (new) 2024/04/26 02:13:00 ERROR : : error listing: directory not found 2024/04/26 02:13:00 checking initFs Local file system at /tmp/021257ka/initdir/test_filtersfile_checks-fijubak6 2024/04/26 02:13:00 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : subdir: Making directory 2024/04/26 02:13:00 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : GCS bucket rclone-test-huzowiz4rulavij4gotipuf8 path 021257ka/filtersfile_checks/path1: Waiting for checks to finish 2024/04/26 02:13:00 DEBUG : GCS bucket rclone-test-huzowiz4rulavij4gotipuf8 path 021257ka/filtersfile_checks/path1: Waiting for transfers to finish 2024/04/26 02:13:00 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:00 INFO : file2.txt: Copied (new) 2024/04/26 02:13:00 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:00 INFO : subdir/file20.txt: Copied (new) 2024/04/26 02:13:00 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:00 INFO : file1.txt: Copied (new) 2024/04/26 02:13:00 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/26 02:13:00 INFO : RCLONE_TEST: Copied (new) 2024/04/26 02:13:00 checking Path1 GCS bucket rclone-test-huzowiz4rulavij4gotipuf8 path 021257ka/filtersfile_checks/path1 2024/04/26 02:13:00 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : subdir: Making directory with metadata 2024/04/26 02:13:00 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/26 02:13:00 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/26 02:13:00 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:00 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:00 DEBUG : file1.txt.vaxozed1.partial: renamed to: file1.txt 2024/04/26 02:13:00 INFO : file1.txt: Copied (new) 2024/04/26 02:13:00 DEBUG : Local file system at /tmp/021257ka/filtersfile_checks/path2: Waiting for checks to finish 2024/04/26 02:13:00 DEBUG : Local file system at /tmp/021257ka/filtersfile_checks/path2: Waiting for transfers to finish 2024/04/26 02:13:00 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:00 DEBUG : file2.txt.jotufix0.partial: renamed to: file2.txt 2024/04/26 02:13:00 INFO : file2.txt: Copied (new) 2024/04/26 02:13:00 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:00 DEBUG : subdir/file20.txt.higefux8.partial: renamed to: subdir/file20.txt 2024/04/26 02:13:00 INFO : subdir/file20.txt: Copied (new) 2024/04/26 02:13:00 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/26 02:13:00 DEBUG : RCLONE_TEST.bolocek6.partial: renamed to: RCLONE_TEST 2024/04/26 02:13:00 INFO : RCLONE_TEST: Copied (new) 2024/04/26 02:13:00 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:00 checking path2 Local file system at /tmp/021257ka/filtersfile_checks/path2 2024/04/26 02:13:00 (01) : test filtersfile-checks 2024/04/26 02:13:00 (02) : test initial bisync 2024/04/26 02:13:00 (03) : bisync resync 2024/04/26 02:13:01 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:01 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:01 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:01 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:01 INFO : Copying Path2 files to Path1 2024/04/26 02:13:01 INFO : - Path2 Resync is copying files to - Path1 2024/04/26 02:13:02 INFO : - Path1 Resync is copying files to - Path2 2024/04/26 02:13:02 INFO : Resync updating listings 2024/04/26 02:13:02 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" vs Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:02 INFO : Bisync successful 2024/04/26 02:13:02 (04) : test 1. inject filters file in workdir. 2024/04/26 02:13:02 (05) : copy-file /tmp/021257ka/datadir/test_filtersfile_checks-sodemoh5/filtersfile.txt /tmp/021257ka/workdir/ 2024/04/26 02:13:02 INFO : filtersfile.txt: Copied (new) 2024/04/26 02:13:02 (06) : test 2. run with filters-file but without md5. should abort. 2024/04/26 02:13:02 (07) : bisync filters-file=/tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:03 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:03 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:03 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:03 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:03 INFO : Using filters file /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:03 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:03 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/26 02:13:03 Bisync error: bisync aborted 2024/04/26 02:13:03 (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/04/26 02:13:03 (09) : bisync 2024/04/26 02:13:04 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:04 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:04 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:04 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/021257ka/workdir/TestGoogleCloudStorage_rclone-test-huzowiz4rulavij4gotipuf8_021257ka_filtersfile_checks_path1..tmp_021257ka_filtersfile_checks_path2.path1.lst Path2: /tmp/021257ka/workdir/TestGoogleCloudStorage_rclone-test-huzowiz4rulavij4gotipuf8_021257ka_filtersfile_checks_path1..tmp_021257ka_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/021257ka/workdir" 2024/04/26 02:13:04 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/26 02:13:04 Bisync error: bisync aborted 2024/04/26 02:13:04 (10) : test 4. run with filters-file and resync. 2024/04/26 02:13:04 (11) : bisync filters-file=/tmp/021257ka/workdir/filtersfile.txt resync 2024/04/26 02:13:05 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:05 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:05 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:05 INFO : Using filters file /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:05 INFO : Storing filters file hash to /tmp/021257ka/workdir/filtersfile.txt.md5 2024/04/26 02:13:05 INFO : Copying Path2 files to Path1 2024/04/26 02:13:05 INFO : - Path2 Resync is copying files to - Path1 2024/04/26 02:13:05 INFO : - Path1 Resync is copying files to - Path2 2024/04/26 02:13:06 INFO : Resync updating listings 2024/04/26 02:13:06 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" vs Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:06 INFO : Bisync successful 2024/04/26 02:13:06 (12) : test 5. run with filters-file alone. should run. 2024/04/26 02:13:06 (13) : bisync filters-file=/tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:07 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:07 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:07 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:07 INFO : Using filters file /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:07 INFO : Building Path1 and Path2 listings 2024/04/26 02:13:07 INFO : Path1 checking for diffs 2024/04/26 02:13:07 INFO : Path2 checking for diffs 2024/04/26 02:13:07 INFO : No changes found 2024/04/26 02:13:07 INFO : Updating listings 2024/04/26 02:13:07 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" vs Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:07 INFO : Bisync successful 2024/04/26 02:13:07 (14) : test 6. push changed filters-file to workdir. 2024/04/26 02:13:07 (15) : copy-as /tmp/021257ka/datadir/test_filtersfile_checks-sodemoh5/filtersfile2.txt /tmp/021257ka/workdir/ filtersfile.txt 2024/04/26 02:13:07 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/04/26 02:13:07 (16) : test 7. run with filters-file alone. should abort. 2024/04/26 02:13:07 (17) : bisync filters-file=/tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:08 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:08 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:08 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:08 INFO : Using filters file /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:08 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:08 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/26 02:13:08 Bisync error: bisync aborted 2024/04/26 02:13:08 (18) : test 8. run with filters-file and resync and dry-run. should do the dry-run but still cause next non-resync run to abort. 2024/04/26 02:13:08 (19) : bisync filters-file=/tmp/021257ka/workdir/filtersfile.txt resync dry-run 2024/04/26 02:13:09 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:09 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:09 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:09 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:09 INFO : Using filters file /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:09 INFO : Skipped storing filters file hash to /tmp/021257ka/workdir/filtersfile.txt.md5 as --dry-run is set 2024/04/26 02:13:09 INFO : Copying Path2 files to Path1 2024/04/26 02:13:09 NOTICE: - Path2 Resync is copying files to - Path1 2024/04/26 02:13:10 NOTICE: - Path1 Resync is copying files to - Path2 2024/04/26 02:13:10 INFO : Resync updating listings 2024/04/26 02:13:10 INFO : Bisync successful 2024/04/26 02:13:10 (20) : test 9. run with filters-file alone. should abort. 2024/04/26 02:13:10 (21) : bisync filters-file=/tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:11 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:11 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:11 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:11 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-huzowiz4rulavij4gotipuf8/021257ka/filtersfile_checks/path1/" with Path2 "/tmp/021257ka/filtersfile_checks/path2/" 2024/04/26 02:13:11 INFO : Using filters file /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:11 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/021257ka/workdir/filtersfile.txt 2024/04/26 02:13:11 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/26 02:13:11 Bisync error: bisync aborted bisync_test.go:553: TEST filtersfile_checks PASSED 2024/04/26 02:13:12 DEBUG : GCS bucket rclone-test-huzowiz4rulavij4gotipuf8: Purge dir "" --- PASS: TestBisyncRemoteLocal (15.24s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (14.52s) === RUN TestBisyncLocalRemote 2024/04/26 02:13:12 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8" 2024/04/26 02:13:12 remote: TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8 === RUN TestBisyncLocalRemote/filtersfile_checks 2024/04/26 02:13:12 DEBUG : Creating backend with remote "/tmp/021312le" 2024/04/26 02:13:12 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/26 02:13:12 DEBUG : Creating backend with remote "/tmp/021312le/filtersfile_checks/path1" 2024/04/26 02:13:12 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le" 2024/04/26 02:13:13 DEBUG : path2: Making directory 2024/04/26 02:13:14 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2" 2024/04/26 02:13:14 DEBUG : Creating backend with remote "/tmp/021312le/initdir/test_filtersfile_checks-tajuges8" 2024/04/26 02:13:14 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/26 02:13:14 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:14 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:14 DEBUG : subdir: Making directory with metadata 2024/04/26 02:13:14 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/26 02:13:14 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/26 02:13:14 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:14 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:14 DEBUG : file1.txt.nahemec0.partial: renamed to: file1.txt 2024/04/26 02:13:14 INFO : file1.txt: Copied (new) 2024/04/26 02:13:14 DEBUG : Local file system at /tmp/021312le/initdir/test_filtersfile_checks-tajuges8: Waiting for checks to finish 2024/04/26 02:13:14 DEBUG : Local file system at /tmp/021312le/initdir/test_filtersfile_checks-tajuges8: Waiting for transfers to finish 2024/04/26 02:13:14 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:14 DEBUG : file2.txt.luqawot0.partial: renamed to: file2.txt 2024/04/26 02:13:14 INFO : file2.txt: Copied (new) 2024/04/26 02:13:14 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:14 DEBUG : subdir/file20.txt.qekavox9.partial: renamed to: subdir/file20.txt 2024/04/26 02:13:14 INFO : subdir/file20.txt: Copied (new) 2024/04/26 02:13:14 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/26 02:13:14 DEBUG : RCLONE_TEST.tusuyuv5.partial: renamed to: RCLONE_TEST 2024/04/26 02:13:14 INFO : RCLONE_TEST: Copied (new) 2024/04/26 02:13:14 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:14 DEBUG : Creating backend with remote "/tmp/021312le/datadir/test_filtersfile_checks-laxuhim8" 2024/04/26 02:13:14 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:14 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:14 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:14 DEBUG : Local file system at /tmp/021312le/datadir/test_filtersfile_checks-laxuhim8: Waiting for checks to finish 2024/04/26 02:13:14 DEBUG : Local file system at /tmp/021312le/datadir/test_filtersfile_checks-laxuhim8: Waiting for transfers to finish 2024/04/26 02:13:14 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/04/26 02:13:14 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/04/26 02:13:14 DEBUG : filtersfile2.txt.xuyaxec4.partial: renamed to: filtersfile2.txt 2024/04/26 02:13:14 INFO : filtersfile2.txt: Copied (new) 2024/04/26 02:13:14 DEBUG : filtersfile.txt.codumar1.partial: renamed to: filtersfile.txt 2024/04/26 02:13:14 INFO : filtersfile.txt: Copied (new) 2024/04/26 02:13:14 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/04/26 02:13:14 DEBUG : hold.txt.vicexeq1.partial: renamed to: hold.txt 2024/04/26 02:13:14 INFO : hold.txt: Copied (new) 2024/04/26 02:13:15 ERROR : : error listing: directory not found 2024/04/26 02:13:15 checking initFs Local file system at /tmp/021312le/initdir/test_filtersfile_checks-tajuges8 2024/04/26 02:13:15 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : subdir: Making directory with metadata 2024/04/26 02:13:15 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/26 02:13:15 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/26 02:13:15 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:15 DEBUG : file2.txt.sesutes1.partial: renamed to: file2.txt 2024/04/26 02:13:15 INFO : file2.txt: Copied (new) 2024/04/26 02:13:15 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:15 DEBUG : Local file system at /tmp/021312le/filtersfile_checks/path1: Waiting for checks to finish 2024/04/26 02:13:15 DEBUG : file1.txt.xopequf1.partial: renamed to: file1.txt 2024/04/26 02:13:15 INFO : file1.txt: Copied (new) 2024/04/26 02:13:15 DEBUG : Local file system at /tmp/021312le/filtersfile_checks/path1: Waiting for transfers to finish 2024/04/26 02:13:15 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:15 DEBUG : subdir/file20.txt.darajeh9.partial: renamed to: subdir/file20.txt 2024/04/26 02:13:15 INFO : subdir/file20.txt: Copied (new) 2024/04/26 02:13:15 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/26 02:13:15 DEBUG : RCLONE_TEST.rezadoh4.partial: renamed to: RCLONE_TEST 2024/04/26 02:13:15 INFO : RCLONE_TEST: Copied (new) 2024/04/26 02:13:15 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:15 checking Path1 Local file system at /tmp/021312le/filtersfile_checks/path1 2024/04/26 02:13:15 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : subdir: Making directory 2024/04/26 02:13:15 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/26 02:13:15 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8 path 021312le/filtersfile_checks/path2: Waiting for checks to finish 2024/04/26 02:13:15 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8 path 021312le/filtersfile_checks/path2: Waiting for transfers to finish 2024/04/26 02:13:15 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:15 INFO : subdir/file20.txt: Copied (new) 2024/04/26 02:13:15 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:15 INFO : file2.txt: Copied (new) 2024/04/26 02:13:15 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/26 02:13:15 INFO : RCLONE_TEST: Copied (new) 2024/04/26 02:13:15 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/26 02:13:15 INFO : file1.txt: Copied (new) 2024/04/26 02:13:15 checking path2 GCS bucket rclone-test-qiyujey3ketanas6kupacuk8 path 021312le/filtersfile_checks/path2 2024/04/26 02:13:15 (01) : test filtersfile-checks 2024/04/26 02:13:15 (02) : test initial bisync 2024/04/26 02:13:15 (03) : bisync resync 2024/04/26 02:13:16 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:16 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:16 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:16 INFO : Synching Path1 "/tmp/021312le/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:16 INFO : Copying Path2 files to Path1 2024/04/26 02:13:16 INFO : - Path2 Resync is copying files to - Path1 2024/04/26 02:13:17 INFO : - Path1 Resync is copying files to - Path2 2024/04/26 02:13:17 INFO : Resync updating listings 2024/04/26 02:13:17 INFO : Validating listings for Path1 "/tmp/021312le/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:17 INFO : Bisync successful 2024/04/26 02:13:17 (04) : test 1. inject filters file in workdir. 2024/04/26 02:13:17 (05) : copy-file /tmp/021312le/datadir/test_filtersfile_checks-laxuhim8/filtersfile.txt /tmp/021312le/workdir/ 2024/04/26 02:13:17 INFO : filtersfile.txt: Copied (new) 2024/04/26 02:13:17 (06) : test 2. run with filters-file but without md5. should abort. 2024/04/26 02:13:17 (07) : bisync filters-file=/tmp/021312le/workdir/filtersfile.txt 2024/04/26 02:13:18 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:18 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:18 INFO : Synching Path1 "/tmp/021312le/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:18 INFO : Using filters file /tmp/021312le/workdir/filtersfile.txt 2024/04/26 02:13:18 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/021312le/workdir/filtersfile.txt 2024/04/26 02:13:18 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/26 02:13:18 Bisync error: bisync aborted 2024/04/26 02:13:18 (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/04/26 02:13:18 (09) : bisync 2024/04/26 02:13:19 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:19 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:19 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:19 INFO : Synching Path1 "/tmp/021312le/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:19 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/021312le/workdir/tmp_021312le_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-qiyujey3ketanas6kupacuk8_021312le_filtersfile_checks_path2.path1.lst Path2: /tmp/021312le/workdir/tmp_021312le_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-qiyujey3ketanas6kupacuk8_021312le_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/021312le/workdir" 2024/04/26 02:13:19 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/26 02:13:19 Bisync error: bisync aborted 2024/04/26 02:13:19 (10) : test 4. run with filters-file and resync. 2024/04/26 02:13:19 (11) : bisync filters-file=/tmp/021312le/workdir/filtersfile.txt resync 2024/04/26 02:13:20 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:20 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:20 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:20 INFO : Synching Path1 "/tmp/021312le/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:20 INFO : Using filters file /tmp/021312le/workdir/filtersfile.txt 2024/04/26 02:13:20 INFO : Storing filters file hash to /tmp/021312le/workdir/filtersfile.txt.md5 2024/04/26 02:13:20 INFO : Copying Path2 files to Path1 2024/04/26 02:13:20 INFO : - Path2 Resync is copying files to - Path1 2024/04/26 02:13:20 INFO : - Path1 Resync is copying files to - Path2 2024/04/26 02:13:21 INFO : Resync updating listings 2024/04/26 02:13:21 INFO : Validating listings for Path1 "/tmp/021312le/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:21 INFO : Bisync successful 2024/04/26 02:13:21 (12) : test 5. run with filters-file alone. should run. 2024/04/26 02:13:21 (13) : bisync filters-file=/tmp/021312le/workdir/filtersfile.txt 2024/04/26 02:13:22 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/26 02:13:22 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/26 02:13:22 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/04/26 02:13:22 INFO : Synching Path1 "/tmp/021312le/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:22 INFO : Using filters file /tmp/021312le/workdir/filtersfile.txt 2024/04/26 02:13:22 INFO : Building Path1 and Path2 listings 2024/04/26 02:13:22 INFO : Path1 checking for diffs 2024/04/26 02:13:22 INFO : Path2 checking for diffs 2024/04/26 02:13:22 INFO : No changes found 2024/04/26 02:13:22 INFO : Updating listings 2024/04/26 02:13:22 INFO : Validating listings for Path1 "/tmp/021312le/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-qiyujey3ketanas6kupacuk8/021312le/filtersfile_checks/path2/" 2024/04/26 02:13:22 INFO : Bisync successful 2024/04/26 02:13:22 (14) : test 6. push changed filters-file to workdir. 2024/04/26 02:13:22 (15) : copy-as /tmp/021312le/datadir/test_filtersfile_checks-laxuhim8/filtersfile2.txt /tmp/021312le/workdir/ filtersfile.txt 2024/04/26 02:13:22 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/04/26 02:13:22 (16) : test 7. run with filters-file alone. should abort. 2024/04/26 02:13:22 (17) : bisync filters-file=/tmp/021312le/workdir/filtersfile.txt bisync_test.go:954: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:954 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:965 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:1029 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:740 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:487 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:351 Error: Received unexpected error: googleapi: Error 429: The object rclone-test-qiyujey3ketanas6kupacuk8/021312le/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 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge object "021312le/filtersfile_checks/path2/RCLONE_TEST" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge object "021312le/filtersfile_checks/path2/file1.txt" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge object "021312le/filtersfile_checks/path2/file2.txt" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge object "021312le/filtersfile_checks/path2/subdir/file20.txt" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge dir "021312le/filtersfile_checks/path2/subdir" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge dir "021312le/filtersfile_checks/path2" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge dir "021312le/filtersfile_checks" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge dir "021312le" 2024/04/26 02:13:23 DEBUG : GCS bucket rclone-test-qiyujey3ketanas6kupacuk8: Purge dir "" --- FAIL: TestBisyncLocalRemote (11.86s) --- FAIL: TestBisyncLocalRemote/filtersfile_checks (10.08s) FAIL 2024/04/26 02:13:25 DEBUG : GCS bucket rclone-test-rucanuh1xexopud4ninaled6: Purge dir "" 2024/04/26 02:13:25 purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2024/04/26 02:13:25 purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^filtersfile_checks$'" - Finished ERROR in 27.644662786s (try 4/5): exit status 1: Failed [TestBisyncLocalRemote/filtersfile_checks]