"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Starting (try 3/5) 2024/04/18 02:42:17 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-muximag7lewibak4paqebal6" 2024/04/18 02:42:17 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/18 02:42:17 DEBUG : Creating backend with remote "/tmp/rclone2557646052" === RUN TestBisyncLocalRemote 2024/04/18 02:42:17 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9" 2024/04/18 02:42:17 remote: TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9 === RUN TestBisyncLocalRemote/filtersfile_checks 2024/04/18 02:42:17 DEBUG : Creating backend with remote "/tmp/024217yo" 2024/04/18 02:42:17 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/18 02:42:17 DEBUG : Creating backend with remote "/tmp/024217yo/filtersfile_checks/path1" 2024/04/18 02:42:17 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo" 2024/04/18 02:42:18 DEBUG : path2: Making directory 2024/04/18 02:42:19 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2" 2024/04/18 02:42:19 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2024/04/18 02:42:19 DEBUG : Creating backend with remote "/tmp/024217yo/initdir/test_filtersfile_checks-qemisot0" 2024/04/18 02:42:19 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/18 02:42:19 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:19 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:19 DEBUG : subdir: Making directory with metadata 2024/04/18 02:42:19 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/18 02:42:19 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/18 02:42:19 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:19 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/18 02:42:19 DEBUG : RCLONE_TEST.soxajin7.partial: renamed to: RCLONE_TEST 2024/04/18 02:42:19 INFO : RCLONE_TEST: Copied (new) 2024/04/18 02:42:19 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:19 DEBUG : Local file system at /tmp/024217yo/initdir/test_filtersfile_checks-qemisot0: Waiting for checks to finish 2024/04/18 02:42:19 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:19 DEBUG : file1.txt.wopetag7.partial: renamed to: file1.txt 2024/04/18 02:42:19 DEBUG : file2.txt.dukecen9.partial: renamed to: file2.txt 2024/04/18 02:42:19 INFO : file1.txt: Copied (new) 2024/04/18 02:42:19 INFO : file2.txt: Copied (new) 2024/04/18 02:42:19 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:19 DEBUG : Local file system at /tmp/024217yo/initdir/test_filtersfile_checks-qemisot0: Waiting for transfers to finish 2024/04/18 02:42:19 DEBUG : subdir/file20.txt.luzusut5.partial: renamed to: subdir/file20.txt 2024/04/18 02:42:19 INFO : subdir/file20.txt: Copied (new) 2024/04/18 02:42:19 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:19 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2024/04/18 02:42:19 DEBUG : Creating backend with remote "/tmp/024217yo/datadir/test_filtersfile_checks-suwolif0" 2024/04/18 02:42:19 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:19 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:19 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:19 DEBUG : Local file system at /tmp/024217yo/datadir/test_filtersfile_checks-suwolif0: Waiting for checks to finish 2024/04/18 02:42:19 DEBUG : Local file system at /tmp/024217yo/datadir/test_filtersfile_checks-suwolif0: Waiting for transfers to finish 2024/04/18 02:42:19 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/04/18 02:42:19 DEBUG : filtersfile.txt.musevew2.partial: renamed to: filtersfile.txt 2024/04/18 02:42:19 INFO : filtersfile.txt: Copied (new) 2024/04/18 02:42:19 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/04/18 02:42:19 DEBUG : hold.txt.nicequc4.partial: renamed to: hold.txt 2024/04/18 02:42:19 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/04/18 02:42:19 INFO : hold.txt: Copied (new) 2024/04/18 02:42:19 DEBUG : filtersfile2.txt.fedulil3.partial: renamed to: filtersfile2.txt 2024/04/18 02:42:19 INFO : filtersfile2.txt: Copied (new) 2024/04/18 02:42:20 ERROR : : error listing: directory not found 2024/04/18 02:42:20 checking initFs Local file system at /tmp/024217yo/initdir/test_filtersfile_checks-qemisot0 2024/04/18 02:42:20 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : subdir: Making directory with metadata 2024/04/18 02:42:20 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/18 02:42:20 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/18 02:42:20 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:20 DEBUG : file1.txt.yowehek7.partial: renamed to: file1.txt 2024/04/18 02:42:20 INFO : file1.txt: Copied (new) 2024/04/18 02:42:20 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:20 DEBUG : file2.txt.tamemiz5.partial: renamed to: file2.txt 2024/04/18 02:42:20 INFO : file2.txt: Copied (new) 2024/04/18 02:42:20 DEBUG : Local file system at /tmp/024217yo/filtersfile_checks/path1: Waiting for checks to finish 2024/04/18 02:42:20 DEBUG : Local file system at /tmp/024217yo/filtersfile_checks/path1: Waiting for transfers to finish 2024/04/18 02:42:20 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:20 DEBUG : subdir/file20.txt.kavapam2.partial: renamed to: subdir/file20.txt 2024/04/18 02:42:20 INFO : subdir/file20.txt: Copied (new) 2024/04/18 02:42:20 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/18 02:42:20 DEBUG : RCLONE_TEST.munehic5.partial: renamed to: RCLONE_TEST 2024/04/18 02:42:20 INFO : RCLONE_TEST: Copied (new) 2024/04/18 02:42:20 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:20 checking Path1 Local file system at /tmp/024217yo/filtersfile_checks/path1 2024/04/18 02:42:20 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : subdir: Making directory 2024/04/18 02:42:20 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:20 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9 path 024217yo/filtersfile_checks/path2: Waiting for checks to finish 2024/04/18 02:42:20 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9 path 024217yo/filtersfile_checks/path2: Waiting for transfers to finish 2024/04/18 02:42:20 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:20 INFO : file2.txt: Copied (new) 2024/04/18 02:42:20 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:20 INFO : subdir/file20.txt: Copied (new) 2024/04/18 02:42:20 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:20 INFO : file1.txt: Copied (new) 2024/04/18 02:42:20 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/18 02:42:20 INFO : RCLONE_TEST: Copied (new) 2024/04/18 02:42:20 checking path2 GCS bucket rclone-test-gecebog6yumuquj1xadoxec9 path 024217yo/filtersfile_checks/path2 2024/04/18 02:42:21 (01) : test filtersfile-checks 2024/04/18 02:42:21 (02) : test initial bisync 2024/04/18 02:42:21 (03) : bisync resync 2024/04/18 02:42:22 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:22 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42: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/18 02:42:22 INFO : Synching Path1 "/tmp/024217yo/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:22 INFO : Copying Path2 files to Path1 2024/04/18 02:42:22 INFO : - Path2 Resync is copying files to - Path1 2024/04/18 02:42:22 INFO : - Path1 Resync is copying files to - Path2 2024/04/18 02:42:23 INFO : Resync updating listings 2024/04/18 02:42:23 INFO : Validating listings for Path1 "/tmp/024217yo/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:23 INFO : Bisync successful 2024/04/18 02:42:23 (04) : test 1. inject filters file in workdir. 2024/04/18 02:42:23 (05) : copy-file /tmp/024217yo/datadir/test_filtersfile_checks-suwolif0/filtersfile.txt /tmp/024217yo/workdir/ 2024/04/18 02:42:23 INFO : filtersfile.txt: Copied (new) 2024/04/18 02:42:23 (06) : test 2. run with filters-file but without md5. should abort. 2024/04/18 02:42:23 (07) : bisync filters-file=/tmp/024217yo/workdir/filtersfile.txt 2024/04/18 02:42:24 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:24 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:24 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/18 02:42:24 INFO : Synching Path1 "/tmp/024217yo/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:24 INFO : Using filters file /tmp/024217yo/workdir/filtersfile.txt 2024/04/18 02:42:24 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/024217yo/workdir/filtersfile.txt 2024/04/18 02:42:24 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/18 02:42:24 Bisync error: bisync aborted 2024/04/18 02:42:24 (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/04/18 02:42:24 (09) : bisync 2024/04/18 02:42:25 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:25 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/18 02:42:25 INFO : Synching Path1 "/tmp/024217yo/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:25 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/024217yo/workdir/tmp_024217yo_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-gecebog6yumuquj1xadoxec9_024217yo_filtersfile_checks_path2.path1.lst Path2: /tmp/024217yo/workdir/tmp_024217yo_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-gecebog6yumuquj1xadoxec9_024217yo_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024217yo/workdir" 2024/04/18 02:42:25 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/18 02:42:25 Bisync error: bisync aborted 2024/04/18 02:42:25 (10) : test 4. run with filters-file and resync. 2024/04/18 02:42:25 (11) : bisync filters-file=/tmp/024217yo/workdir/filtersfile.txt resync 2024/04/18 02:42:26 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:26 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/18 02:42:26 INFO : Synching Path1 "/tmp/024217yo/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:26 INFO : Using filters file /tmp/024217yo/workdir/filtersfile.txt 2024/04/18 02:42:26 INFO : Storing filters file hash to /tmp/024217yo/workdir/filtersfile.txt.md5 2024/04/18 02:42:26 INFO : Copying Path2 files to Path1 2024/04/18 02:42:26 INFO : - Path2 Resync is copying files to - Path1 2024/04/18 02:42:26 INFO : - Path1 Resync is copying files to - Path2 2024/04/18 02:42:27 INFO : Resync updating listings 2024/04/18 02:42:27 INFO : Validating listings for Path1 "/tmp/024217yo/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:27 INFO : Bisync successful 2024/04/18 02:42:27 (12) : test 5. run with filters-file alone. should run. 2024/04/18 02:42:27 (13) : bisync filters-file=/tmp/024217yo/workdir/filtersfile.txt 2024/04/18 02:42:28 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:28 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/18 02:42:28 INFO : Synching Path1 "/tmp/024217yo/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:28 INFO : Using filters file /tmp/024217yo/workdir/filtersfile.txt 2024/04/18 02:42:28 INFO : Building Path1 and Path2 listings 2024/04/18 02:42:28 INFO : Path1 checking for diffs 2024/04/18 02:42:28 INFO : Path2 checking for diffs 2024/04/18 02:42:28 INFO : No changes found 2024/04/18 02:42:28 INFO : Updating listings 2024/04/18 02:42:28 INFO : Validating listings for Path1 "/tmp/024217yo/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-gecebog6yumuquj1xadoxec9/024217yo/filtersfile_checks/path2/" 2024/04/18 02:42:28 INFO : Bisync successful 2024/04/18 02:42:28 (14) : test 6. push changed filters-file to workdir. 2024/04/18 02:42:28 (15) : copy-as /tmp/024217yo/datadir/test_filtersfile_checks-suwolif0/filtersfile2.txt /tmp/024217yo/workdir/ filtersfile.txt 2024/04/18 02:42:28 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/04/18 02:42:28 (16) : test 7. run with filters-file alone. should abort. 2024/04/18 02:42:28 (17) : bisync filters-file=/tmp/024217yo/workdir/filtersfile.txt bisync_test.go:940: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:940 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:951 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:1015 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:726 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:473 /home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bisync_test.go:344 Error: Received unexpected error: googleapi: Error 429: The object rclone-test-gecebog6yumuquj1xadoxec9/024217yo/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/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge object "024217yo/filtersfile_checks/path2/RCLONE_TEST" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge object "024217yo/filtersfile_checks/path2/file1.txt" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge object "024217yo/filtersfile_checks/path2/file2.txt" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge object "024217yo/filtersfile_checks/path2/subdir/file20.txt" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge dir "024217yo/filtersfile_checks/path2/subdir" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge dir "024217yo/filtersfile_checks/path2" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge dir "024217yo/filtersfile_checks" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge dir "024217yo" 2024/04/18 02:42:29 DEBUG : GCS bucket rclone-test-gecebog6yumuquj1xadoxec9: Purge dir "" --- FAIL: TestBisyncLocalRemote (13.23s) --- FAIL: TestBisyncLocalRemote/filtersfile_checks (11.17s) === RUN TestBisyncRemoteRemote 2024/04/18 02:42:30 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3" 2024/04/18 02:42:30 remote: TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3 === RUN TestBisyncRemoteRemote/filtersfile_checks 2024/04/18 02:42:30 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze" 2024/04/18 02:42:30 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/18 02:42:31 DEBUG : path1: Making directory 2024/04/18 02:42:32 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1" 2024/04/18 02:42:32 DEBUG : path2: Making directory 2024/04/18 02:42:32 DEBUG : Creating backend with remote "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2" 2024/04/18 02:42:33 DEBUG : Creating backend with remote "/tmp/024230ze/initdir/test_filtersfile_checks-mamiyuk9" 2024/04/18 02:42:33 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/18 02:42:33 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:33 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:33 DEBUG : subdir: Making directory with metadata 2024/04/18 02:42:33 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/04/18 02:42:33 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/04/18 02:42:33 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:33 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:33 DEBUG : file1.txt.nobihot5.partial: renamed to: file1.txt 2024/04/18 02:42:33 INFO : file1.txt: Copied (new) 2024/04/18 02:42:33 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:33 DEBUG : Local file system at /tmp/024230ze/initdir/test_filtersfile_checks-mamiyuk9: Waiting for checks to finish 2024/04/18 02:42:33 DEBUG : Local file system at /tmp/024230ze/initdir/test_filtersfile_checks-mamiyuk9: Waiting for transfers to finish 2024/04/18 02:42:33 DEBUG : file2.txt.jerubob6.partial: renamed to: file2.txt 2024/04/18 02:42:33 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/18 02:42:33 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:33 INFO : file2.txt: Copied (new) 2024/04/18 02:42:33 DEBUG : RCLONE_TEST.cigajoq8.partial: renamed to: RCLONE_TEST 2024/04/18 02:42:33 INFO : RCLONE_TEST: Copied (new) 2024/04/18 02:42:33 DEBUG : subdir/file20.txt.hequcur1.partial: renamed to: subdir/file20.txt 2024/04/18 02:42:33 INFO : subdir/file20.txt: Copied (new) 2024/04/18 02:42:33 INFO : subdir: Set directory modification time (using SetModTime) 2024/04/18 02:42:33 DEBUG : Creating backend with remote "/tmp/024230ze/datadir/test_filtersfile_checks-vidoqer3" 2024/04/18 02:42:33 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:33 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:33 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:33 DEBUG : Local file system at /tmp/024230ze/datadir/test_filtersfile_checks-vidoqer3: Waiting for checks to finish 2024/04/18 02:42:33 DEBUG : Local file system at /tmp/024230ze/datadir/test_filtersfile_checks-vidoqer3: Waiting for transfers to finish 2024/04/18 02:42:33 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/04/18 02:42:33 DEBUG : filtersfile.txt.mubaket0.partial: renamed to: filtersfile.txt 2024/04/18 02:42:33 INFO : filtersfile.txt: Copied (new) 2024/04/18 02:42:33 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/04/18 02:42:33 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/04/18 02:42:33 DEBUG : filtersfile2.txt.wevilid0.partial: renamed to: filtersfile2.txt 2024/04/18 02:42:33 INFO : filtersfile2.txt: Copied (new) 2024/04/18 02:42:33 DEBUG : hold.txt.tirenik9.partial: renamed to: hold.txt 2024/04/18 02:42:33 INFO : hold.txt: Copied (new) 2024/04/18 02:42:34 checking initFs Local file system at /tmp/024230ze/initdir/test_filtersfile_checks-mamiyuk9 2024/04/18 02:42:34 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/18 02:42:34 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:34 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:34 DEBUG : subdir: Making directory 2024/04/18 02:42:34 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:34 DEBUG : GCS bucket rclone-test-selavez8veyowir3raqipev3 path 024230ze/filtersfile_checks/path1: Waiting for checks to finish 2024/04/18 02:42:34 DEBUG : GCS bucket rclone-test-selavez8veyowir3raqipev3 path 024230ze/filtersfile_checks/path1: Waiting for transfers to finish 2024/04/18 02:42:34 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:34 INFO : file2.txt: Copied (new) 2024/04/18 02:42:34 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/18 02:42:34 INFO : RCLONE_TEST: Copied (new) 2024/04/18 02:42:34 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:34 INFO : subdir/file20.txt: Copied (new) 2024/04/18 02:42:34 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:34 INFO : file1.txt: Copied (new) 2024/04/18 02:42:34 checking Path1 GCS bucket rclone-test-selavez8veyowir3raqipev3 path 024230ze/filtersfile_checks/path1 2024/04/18 02:42:35 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/04/18 02:42:35 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:35 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:35 DEBUG : subdir: Making directory 2024/04/18 02:42:35 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/04/18 02:42:35 DEBUG : GCS bucket rclone-test-selavez8veyowir3raqipev3 path 024230ze/filtersfile_checks/path2: Waiting for checks to finish 2024/04/18 02:42:35 DEBUG : GCS bucket rclone-test-selavez8veyowir3raqipev3 path 024230ze/filtersfile_checks/path2: Waiting for transfers to finish 2024/04/18 02:42:35 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:35 INFO : subdir/file20.txt: Copied (new) 2024/04/18 02:42:35 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:35 INFO : file1.txt: Copied (new) 2024/04/18 02:42:35 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/04/18 02:42:35 INFO : file2.txt: Copied (new) 2024/04/18 02:42:35 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/04/18 02:42:35 INFO : RCLONE_TEST: Copied (new) 2024/04/18 02:42:35 checking path2 GCS bucket rclone-test-selavez8veyowir3raqipev3 path 024230ze/filtersfile_checks/path2 2024/04/18 02:42:35 (01) : test filtersfile-checks 2024/04/18 02:42:35 (02) : test initial bisync 2024/04/18 02:42:35 (03) : bisync resync 2024/04/18 02:42:38 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:38 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:38 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:38 INFO : Copying Path2 files to Path1 2024/04/18 02:42:38 INFO : - Path2 Resync is copying files to - Path1 2024/04/18 02:42:39 INFO : - Path1 Resync is copying files to - Path2 2024/04/18 02:42:39 INFO : Resync updating listings 2024/04/18 02:42:39 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:39 INFO : Bisync successful 2024/04/18 02:42:39 (04) : test 1. inject filters file in workdir. 2024/04/18 02:42:39 (05) : copy-file /tmp/024230ze/datadir/test_filtersfile_checks-vidoqer3/filtersfile.txt /tmp/024230ze/workdir/ 2024/04/18 02:42:39 INFO : filtersfile.txt: Copied (new) 2024/04/18 02:42:39 (06) : test 2. run with filters-file but without md5. should abort. 2024/04/18 02:42:39 (07) : bisync filters-file=/tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:41 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:41 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:41 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:41 INFO : Using filters file /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:41 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:41 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/18 02:42:41 Bisync error: bisync aborted 2024/04/18 02:42:41 (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/04/18 02:42:41 (09) : bisync 2024/04/18 02:42:44 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:44 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:44 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:44 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/024230ze/workdir/TestGoogleCloudStorage_rclone-test-selavez8veyowir3raqipev3_024230ze_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-selavez8veyowir3raqipev3_024230ze_filtersfile_checks_path2.path1.lst Path2: /tmp/024230ze/workdir/TestGoogleCloudStorage_rclone-test-selavez8veyowir3raqipev3_024230ze_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-selavez8veyowir3raqipev3_024230ze_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024230ze/workdir" 2024/04/18 02:42:44 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/18 02:42:44 Bisync error: bisync aborted 2024/04/18 02:42:44 (10) : test 4. run with filters-file and resync. 2024/04/18 02:42:44 (11) : bisync filters-file=/tmp/024230ze/workdir/filtersfile.txt resync 2024/04/18 02:42:46 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:46 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:46 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:46 INFO : Using filters file /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:46 INFO : Storing filters file hash to /tmp/024230ze/workdir/filtersfile.txt.md5 2024/04/18 02:42:46 INFO : Copying Path2 files to Path1 2024/04/18 02:42:46 INFO : - Path2 Resync is copying files to - Path1 2024/04/18 02:42:46 INFO : - Path1 Resync is copying files to - Path2 2024/04/18 02:42:47 INFO : Resync updating listings 2024/04/18 02:42:47 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:47 INFO : Bisync successful 2024/04/18 02:42:47 (12) : test 5. run with filters-file alone. should run. 2024/04/18 02:42:47 (13) : bisync filters-file=/tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:49 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:49 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:49 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:49 INFO : Using filters file /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:49 INFO : Building Path1 and Path2 listings 2024/04/18 02:42:49 INFO : Path1 checking for diffs 2024/04/18 02:42:49 INFO : Path2 checking for diffs 2024/04/18 02:42:49 INFO : No changes found 2024/04/18 02:42:49 INFO : Updating listings 2024/04/18 02:42:49 INFO : Validating listings for Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:49 INFO : Bisync successful 2024/04/18 02:42:49 (14) : test 6. push changed filters-file to workdir. 2024/04/18 02:42:49 (15) : copy-as /tmp/024230ze/datadir/test_filtersfile_checks-vidoqer3/filtersfile2.txt /tmp/024230ze/workdir/ filtersfile.txt 2024/04/18 02:42:49 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/04/18 02:42:49 (16) : test 7. run with filters-file alone. should abort. 2024/04/18 02:42:49 (17) : bisync filters-file=/tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:51 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:51 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:51 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:51 INFO : Using filters file /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:51 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:51 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/18 02:42:51 Bisync error: bisync aborted 2024/04/18 02:42:51 (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/18 02:42:51 (19) : bisync filters-file=/tmp/024230ze/workdir/filtersfile.txt resync dry-run 2024/04/18 02:42:54 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:54 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:54 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:54 INFO : Using filters file /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:54 INFO : Skipped storing filters file hash to /tmp/024230ze/workdir/filtersfile.txt.md5 as --dry-run is set 2024/04/18 02:42:54 INFO : Copying Path2 files to Path1 2024/04/18 02:42:54 NOTICE: - Path2 Resync is copying files to - Path1 2024/04/18 02:42:54 NOTICE: - Path1 Resync is copying files to - Path2 2024/04/18 02:42:54 INFO : Resync updating listings 2024/04/18 02:42:54 INFO : Bisync successful 2024/04/18 02:42:54 (20) : test 9. run with filters-file alone. should abort. 2024/04/18 02:42:54 (21) : bisync filters-file=/tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/04/18 02:42:56 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/04/18 02:42:56 INFO : Synching Path1 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage:rclone-test-selavez8veyowir3raqipev3/024230ze/filtersfile_checks/path2/" 2024/04/18 02:42:56 INFO : Using filters file /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:56 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/024230ze/workdir/filtersfile.txt 2024/04/18 02:42:56 ERROR : Bisync aborted. Must run --resync to recover. 2024/04/18 02:42:56 Bisync error: bisync aborted bisync_test.go:539: TEST filtersfile_checks PASSED 2024/04/18 02:42:58 DEBUG : GCS bucket rclone-test-selavez8veyowir3raqipev3: Purge dir "" --- PASS: TestBisyncRemoteRemote (27.92s) --- PASS: TestBisyncRemoteRemote/filtersfile_checks (27.04s) FAIL 2024/04/18 02:42:59 DEBUG : GCS bucket rclone-test-muximag7lewibak4paqebal6: Purge dir "" 2024/04/18 02:42:59 purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2024/04/18 02:42:59 purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Finished ERROR in 41.722966984s (try 3/5): exit status 1: Failed [TestBisyncLocalRemote/filtersfile_checks]