"./bisync.test -test.v -test.timeout 1h0m0s -remote 'TestGoogleCloudStorage,directory_markers:' -verbose -test.run '^TestBisyncLocalRemote$/^(check_sync|filtersfile_checks)$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Starting (try 4/5) 2024/11/02 02:08:05 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-vaguvoz9geqe" 2024/11/02 02:08:05 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/02 02:08:05 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:05 DEBUG : Creating backend with remote "/tmp/rclone3098930317" === RUN TestBisyncLocalRemote 2024/11/02 02:08:05 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu" 2024/11/02 02:08:05 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:05 NOTICE: remote: TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu === RUN TestBisyncLocalRemote/check_sync 2024/11/02 02:08:05 DEBUG : Creating backend with remote "/tmp/020805za" 2024/11/02 02:08:05 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/02 02:08:05 DEBUG : Creating backend with remote "/tmp/020805za/check_sync/path1" 2024/11/02 02:08:05 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu/020805za" 2024/11/02 02:08:05 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:05 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu/020805za" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za" 2024/11/02 02:08:05 DEBUG : path2: Making directory 2024/11/02 02:08:08 DEBUG : path2/: Creating directory marker 2024/11/02 02:08:08 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu/020805za/check_sync/path2" 2024/11/02 02:08:08 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:09 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu/020805za/check_sync/path2" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2" 2024/11/02 02:08:09 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_sync/initial" 2024/11/02 02:08:09 DEBUG : Creating backend with remote "/tmp/020805za/initdir/test_check_sync-vufuxul8" 2024/11/02 02:08:09 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file5.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file6.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file7.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : file8.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : Local file system at /tmp/020805za/initdir/test_check_sync-vufuxul8: Waiting for checks to finish 2024/11/02 02:08:09 DEBUG : Local file system at /tmp/020805za/initdir/test_check_sync-vufuxul8: Waiting for transfers to finish 2024/11/02 02:08:09 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/02 02:08:09 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 INFO : file1.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/02 02:08:09 INFO : file2.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/11/02 02:08:09 INFO : file3.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:09 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/02 02:08:09 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:09 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/11/02 02:08:09 INFO : file4.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2024/11/02 02:08:09 INFO : file5.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2024/11/02 02:08:09 INFO : file6.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2024/11/02 02:08:09 INFO : file8.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:09 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2024/11/02 02:08:09 INFO : file7.txt: Copied (new) 2024/11/02 02:08:09 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_sync/modfiles" 2024/11/02 02:08:09 DEBUG : Creating backend with remote "/tmp/020805za/datadir/test_check_sync-jofamib5" 2024/11/02 02:08:09 DEBUG : _testdir_path1.._testdir_path2.path1.lst: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : _testdir_path1.._testdir_path2.path2.lst: Need to transfer - File not found at Destination 2024/11/02 02:08:09 DEBUG : Local file system at /tmp/020805za/datadir/test_check_sync-jofamib5: Waiting for checks to finish 2024/11/02 02:08:09 DEBUG : Local file system at /tmp/020805za/datadir/test_check_sync-jofamib5: Waiting for transfers to finish 2024/11/02 02:08:09 DEBUG : _testdir_path1.._testdir_path2.path1.lst: md5 = fdb18e0dff6961813e12c57227d2e854 OK 2024/11/02 02:08:09 DEBUG : _testdir_path1.._testdir_path2.path2.lst: md5 = d6ce44a26af9c2110b1750fe88dc4b69 OK 2024/11/02 02:08:09 DEBUG : _testdir_path1.._testdir_path2.path1.lst.c670fe74.partial: renamed to: _testdir_path1.._testdir_path2.path1.lst 2024/11/02 02:08:09 INFO : _testdir_path1.._testdir_path2.path1.lst: Copied (new) 2024/11/02 02:08:09 DEBUG : _testdir_path1.._testdir_path2.path2.lst.c670fe74.partial: renamed to: _testdir_path1.._testdir_path2.path2.lst 2024/11/02 02:08:09 INFO : _testdir_path1.._testdir_path2.path2.lst: Copied (new) 2024/11/02 02:08:10 ERROR : : error listing: directory not found 2024/11/02 02:08:11 NOTICE: checking initFs Local file system at /tmp/020805za/initdir/test_check_sync-vufuxul8 2024/11/02 02:08:11 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file5.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file6.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file7.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/02 02:08:11 INFO : file1.txt: Copied (new) 2024/11/02 02:08:11 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/02 02:08:11 INFO : file2.txt: Copied (new) 2024/11/02 02:08:11 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:11 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/02 02:08:11 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:11 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/11/02 02:08:11 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2024/11/02 02:08:11 INFO : file5.txt: Copied (new) 2024/11/02 02:08:11 INFO : file3.txt: Copied (new) 2024/11/02 02:08:11 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2024/11/02 02:08:11 INFO : file6.txt: Copied (new) 2024/11/02 02:08:11 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/11/02 02:08:11 INFO : file4.txt: Copied (new) 2024/11/02 02:08:11 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : file8.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2024/11/02 02:08:11 INFO : file7.txt: Copied (new) 2024/11/02 02:08:11 DEBUG : Local file system at /tmp/020805za/check_sync/path1: Waiting for checks to finish 2024/11/02 02:08:11 DEBUG : Local file system at /tmp/020805za/check_sync/path1: Waiting for transfers to finish 2024/11/02 02:08:11 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:11 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2024/11/02 02:08:11 INFO : file8.txt: Copied (new) 2024/11/02 02:08:11 NOTICE: checking Path1 Local file system at /tmp/020805za/check_sync/path1 2024/11/02 02:08:11 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file5.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file6.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file7.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : file8.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:11 DEBUG : GCS bucket rclone-test-jezopak2yipu path 020805za/check_sync/path2: Waiting for checks to finish 2024/11/02 02:08:11 DEBUG : GCS bucket rclone-test-jezopak2yipu path 020805za/check_sync/path2: Waiting for transfers to finish 2024/11/02 02:08:12 DEBUG : /: Creating directory marker 2024/11/02 02:08:12 DEBUG : /: Creating directory marker 2024/11/02 02:08:12 DEBUG : /: Creating directory marker 2024/11/02 02:08:12 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:12 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:12 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:12 INFO : file3.txt: Copied (new) 2024/11/02 02:08:13 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:13 INFO : file1.txt: Copied (new) 2024/11/02 02:08:13 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:13 INFO : file4.txt: Copied (new) 2024/11/02 02:08:13 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:13 INFO : file2.txt: Copied (new) 2024/11/02 02:08:13 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:13 INFO : file5.txt: Copied (new) 2024/11/02 02:08:13 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:13 INFO : file6.txt: Copied (new) 2024/11/02 02:08:13 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:13 INFO : file7.txt: Copied (new) 2024/11/02 02:08:13 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:13 INFO : file8.txt: Copied (new) 2024/11/02 02:08:13 NOTICE: checking path2 GCS bucket rclone-test-jezopak2yipu path 020805za/check_sync/path2 2024/11/02 02:08:13 NOTICE: (01) : test check-sync 2024/11/02 02:08:13 NOTICE: (02) : test initial bisync 2024/11/02 02:08:13 NOTICE: (03) : bisync resync 2024/11/02 02:08:14 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:14 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:14 INFO : Synching Path1 "/tmp/020805za/check_sync/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:14 INFO : Copying Path2 files to Path1 2024/11/02 02:08:14 INFO : - Path2 Resync is copying files to - Path1 2024/11/02 02:08:15 INFO : - Path1 Resync is copying files to - Path2 2024/11/02 02:08:15 INFO : Resync updating listings 2024/11/02 02:08:15 INFO : Validating listings for Path1 "/tmp/020805za/check_sync/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:15 INFO : Bisync successful 2024/11/02 02:08:15 NOTICE: (04) : test 1. run check-sync-only on a clean sync 2024/11/02 02:08:15 NOTICE: (05) : bisync check-sync-only 2024/11/02 02:08:16 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08: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/11/02 02:08:16 INFO : Validating listings for Path1 "/tmp/020805za/check_sync/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:16 INFO : Bisync successful 2024/11/02 02:08:16 NOTICE: (06) : test 2. inject modified listings into the workdir 2024/11/02 02:08:16 NOTICE: (07) : copy-as /tmp/020805za/datadir/test_check_sync-jofamib5/_testdir_path1.._testdir_path2.path1.lst /tmp/020805za/workdir/ tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path1.lst 2024/11/02 02:08:16 INFO : _testdir_path1.._testdir_path2.path1.lst: Copied (replaced existing) to: tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path1.lst 2024/11/02 02:08:16 NOTICE: (08) : copy-as /tmp/020805za/datadir/test_check_sync-jofamib5/_testdir_path1.._testdir_path2.path2.lst /tmp/020805za/workdir/ tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path2.lst 2024/11/02 02:08:16 INFO : _testdir_path1.._testdir_path2.path2.lst: Copied (replaced existing) to: tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path2.lst 2024/11/02 02:08:16 NOTICE: (09) : test 3. run check-sync-only on modified listings 2024/11/02 02:08:16 NOTICE: (10) : bisync check-sync-only 2024/11/02 02:08:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:17 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:17 INFO : Validating listings for Path1 "/tmp/020805za/check_sync/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:17 ERROR : -  Path1 file not found in Path2 - file2.txt 2024/11/02 02:08:17 ERROR : -  Path2 file not found in Path1 - file1.txt 2024/11/02 02:08:17 ERROR : Bisync critical error: path1 and path2 are out of sync, run --resync to recover 2024/11/02 02:08:17 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:17 NOTICE: Bisync error: bisync aborted 2024/11/02 02:08:17 NOTICE: (11) : copy-listings check-sync-only 2024/11/02 02:08:17 NOTICE: (12) : test 4. run normal sync to check that it aborts 2024/11/02 02:08:17 NOTICE: (13) : bisync 2024/11/02 02:08:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:17 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:17 INFO : Synching Path1 "/tmp/020805za/check_sync/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:17 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/020805za/workdir/tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path1.lst Path2: /tmp/020805za/workdir/tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/020805za/workdir" 2024/11/02 02:08:17 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:17 NOTICE: Bisync error: bisync aborted 2024/11/02 02:08:17 NOTICE: (14) : test 5. prune failure listings after critical abort 2024/11/02 02:08:17 NOTICE: (15) : delete-glob /tmp/020805za/workdir/ *.lst 2024/11/02 02:08:17 NOTICE: (16) : delete-glob /tmp/020805za/workdir/ *.lst-err 2024/11/02 02:08:17 INFO : tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path1.lst-err: Deleted 2024/11/02 02:08:17 INFO : tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path2.lst-err: Deleted 2024/11/02 02:08:17 NOTICE: (17) : delete-glob /tmp/020805za/workdir/ *.lst-new 2024/11/02 02:08:17 INFO : tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path1.lst-new: Deleted 2024/11/02 02:08:17 INFO : tmp_020805za_check_sync_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_check_sync_path2.path2.lst-new: Deleted 2024/11/02 02:08:17 NOTICE: (18) : test 6. run resync 2024/11/02 02:08:17 NOTICE: (19) : bisync resync 2024/11/02 02:08:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08: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/11/02 02:08:18 INFO : Synching Path1 "/tmp/020805za/check_sync/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:18 INFO : Copying Path2 files to Path1 2024/11/02 02:08:18 INFO : - Path2 Resync is copying files to - Path1 2024/11/02 02:08:18 INFO : - Path1 Resync is copying files to - Path2 2024/11/02 02:08:18 INFO : Resync updating listings 2024/11/02 02:08:18 INFO : Validating listings for Path1 "/tmp/020805za/check_sync/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:18 INFO : Bisync successful 2024/11/02 02:08:18 NOTICE: (20) : test 7. run normal sync with check-sync enabled (default) 2024/11/02 02:08:18 NOTICE: (21) : bisync 2024/11/02 02:08:19 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08: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/11/02 02:08:19 INFO : Synching Path1 "/tmp/020805za/check_sync/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:19 INFO : Building Path1 and Path2 listings 2024/11/02 02:08:19 INFO : Path1 checking for diffs 2024/11/02 02:08:19 INFO : Path2 checking for diffs 2024/11/02 02:08:19 INFO : No changes found 2024/11/02 02:08:19 INFO : Updating listings 2024/11/02 02:08:19 INFO : Validating listings for Path1 "/tmp/020805za/check_sync/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:19 INFO : Bisync successful 2024/11/02 02:08:19 NOTICE: (22) : test 8. run normal sync with no-check-sync 2024/11/02 02:08:19 NOTICE: (23) : bisync no-check-sync 2024/11/02 02:08:20 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08: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/11/02 02:08:20 INFO : Synching Path1 "/tmp/020805za/check_sync/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/check_sync/path2/" 2024/11/02 02:08:20 INFO : Building Path1 and Path2 listings 2024/11/02 02:08:20 INFO : Path1 checking for diffs 2024/11/02 02:08:20 INFO : Path2 checking for diffs 2024/11/02 02:08:20 INFO : No changes found 2024/11/02 02:08:20 INFO : Updating listings 2024/11/02 02:08:20 INFO : Bisync successful bisync_test.go:558: TEST check_sync PASSED === RUN TestBisyncLocalRemote/filtersfile_checks 2024/11/02 02:08:21 DEBUG : Creating backend with remote "/tmp/020805za/filtersfile_checks/path1" 2024/11/02 02:08:21 DEBUG : fs cache: switching user supplied name "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu/020805za" for canonical name "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za" 2024/11/02 02:08:21 DEBUG : path2: Making directory 2024/11/02 02:08:21 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2" 2024/11/02 02:08:21 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:22 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2" 2024/11/02 02:08:22 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2024/11/02 02:08:22 DEBUG : Creating backend with remote "/tmp/020805za/initdir/test_filtersfile_checks-sunafeb9" 2024/11/02 02:08:22 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:22 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:22 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:22 DEBUG : subdir: Making directory with metadata 2024/11/02 02:08:22 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/02 02:08:22 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/02 02:08:22 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:22 DEBUG : Local file system at /tmp/020805za/initdir/test_filtersfile_checks-sunafeb9: Waiting for checks to finish 2024/11/02 02:08:22 DEBUG : Local file system at /tmp/020805za/initdir/test_filtersfile_checks-sunafeb9: Waiting for transfers to finish 2024/11/02 02:08:22 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:22 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/02 02:08:22 INFO : file1.txt: Copied (new) 2024/11/02 02:08:22 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:22 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:22 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/02 02:08:22 INFO : subdir/file20.txt: Copied (new) 2024/11/02 02:08:22 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/02 02:08:22 INFO : file2.txt: Copied (new) 2024/11/02 02:08:22 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:22 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/02 02:08:22 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:22 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:22 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2024/11/02 02:08:22 DEBUG : Creating backend with remote "/tmp/020805za/datadir/test_filtersfile_checks-kopefic6" 2024/11/02 02:08:22 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:22 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:22 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:22 DEBUG : Local file system at /tmp/020805za/datadir/test_filtersfile_checks-kopefic6: Waiting for checks to finish 2024/11/02 02:08:22 DEBUG : Local file system at /tmp/020805za/datadir/test_filtersfile_checks-kopefic6: Waiting for transfers to finish 2024/11/02 02:08:22 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/11/02 02:08:22 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2024/11/02 02:08:22 INFO : filtersfile.txt: Copied (new) 2024/11/02 02:08:22 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/11/02 02:08:22 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2024/11/02 02:08:22 INFO : filtersfile2.txt: Copied (new) 2024/11/02 02:08:22 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/11/02 02:08:22 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2024/11/02 02:08:22 INFO : hold.txt: Copied (new) 2024/11/02 02:08:23 ERROR : : error listing: directory not found 2024/11/02 02:08:23 NOTICE: checking initFs Local file system at /tmp/020805za/initdir/test_filtersfile_checks-sunafeb9 2024/11/02 02:08:23 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:23 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:23 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:23 DEBUG : subdir: Making directory with metadata 2024/11/02 02:08:23 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/02 02:08:23 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/02 02:08:23 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:23 DEBUG : Local file system at /tmp/020805za/filtersfile_checks/path1: Waiting for checks to finish 2024/11/02 02:08:23 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:23 DEBUG : Local file system at /tmp/020805za/filtersfile_checks/path1: Waiting for transfers to finish 2024/11/02 02:08:23 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/02 02:08:23 INFO : file1.txt: Copied (new) 2024/11/02 02:08:23 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:23 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/02 02:08:23 INFO : file2.txt: Copied (new) 2024/11/02 02:08:23 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:23 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/02 02:08:23 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:23 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:23 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/02 02:08:23 INFO : subdir/file20.txt: Copied (new) 2024/11/02 02:08:23 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:23 NOTICE: checking Path1 Local file system at /tmp/020805za/filtersfile_checks/path1 2024/11/02 02:08:24 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:24 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:24 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:24 DEBUG : subdir: Making directory 2024/11/02 02:08:24 DEBUG : subdir/: Creating directory marker 2024/11/02 02:08:24 DEBUG : /: Creating directory marker 2024/11/02 02:08:24 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:24 DEBUG : GCS bucket rclone-test-jezopak2yipu path 020805za/filtersfile_checks/path2: Waiting for checks to finish 2024/11/02 02:08:24 DEBUG : GCS bucket rclone-test-jezopak2yipu path 020805za/filtersfile_checks/path2: Waiting for transfers to finish 2024/11/02 02:08:25 DEBUG : /: Creating directory marker 2024/11/02 02:08:25 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:25 INFO : subdir/file20.txt: Copied (new) 2024/11/02 02:08:25 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:25 INFO : file1.txt: Copied (new) 2024/11/02 02:08:25 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:25 INFO : file2.txt: Copied (new) 2024/11/02 02:08:25 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:25 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:25 NOTICE: checking path2 GCS bucket rclone-test-jezopak2yipu path 020805za/filtersfile_checks/path2 2024/11/02 02:08:25 NOTICE: (01) : test filtersfile-checks 2024/11/02 02:08:25 NOTICE: (02) : test initial bisync 2024/11/02 02:08:25 NOTICE: (03) : bisync resync 2024/11/02 02:08:26 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08: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/11/02 02:08:26 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:26 INFO : Copying Path2 files to Path1 2024/11/02 02:08:26 INFO : - Path2 Resync is copying files to - Path1 2024/11/02 02:08:26 INFO : - Path1 Resync is copying files to - Path2 2024/11/02 02:08:27 INFO : Resync updating listings 2024/11/02 02:08:27 INFO : Validating listings for Path1 "/tmp/020805za/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:27 INFO : Bisync successful 2024/11/02 02:08:27 NOTICE: (04) : test 1. inject filters file in workdir. 2024/11/02 02:08:27 NOTICE: (05) : copy-file /tmp/020805za/datadir/test_filtersfile_checks-kopefic6/filtersfile.txt /tmp/020805za/workdir/ 2024/11/02 02:08:27 INFO : filtersfile.txt: Copied (new) 2024/11/02 02:08:27 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2024/11/02 02:08:27 NOTICE: (07) : bisync filters-file=/tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:28 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08: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/11/02 02:08:28 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:28 INFO : Using filters file /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:28 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:28 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:28 NOTICE: Bisync error: bisync aborted 2024/11/02 02:08:28 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/11/02 02:08:28 NOTICE: (09) : bisync 2024/11/02 02:08:28 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08: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/11/02 02:08:28 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:28 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/020805za/workdir/tmp_020805za_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_filtersfile_checks_path2.path1.lst Path2: /tmp/020805za/workdir/tmp_020805za_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-jezopak2yipu_020805za_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/020805za/workdir" 2024/11/02 02:08:28 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:28 NOTICE: Bisync error: bisync aborted 2024/11/02 02:08:28 NOTICE: (10) : test 4. run with filters-file and resync. 2024/11/02 02:08:28 NOTICE: (11) : bisync filters-file=/tmp/020805za/workdir/filtersfile.txt resync 2024/11/02 02:08:29 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:29 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:29 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:29 INFO : Using filters file /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:29 INFO : Storing filters file hash to /tmp/020805za/workdir/filtersfile.txt.md5 2024/11/02 02:08:29 INFO : Copying Path2 files to Path1 2024/11/02 02:08:29 INFO : - Path2 Resync is copying files to - Path1 2024/11/02 02:08:29 INFO : - Path1 Resync is copying files to - Path2 2024/11/02 02:08:30 INFO : Resync updating listings 2024/11/02 02:08:30 INFO : Validating listings for Path1 "/tmp/020805za/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:30 INFO : Bisync successful 2024/11/02 02:08:30 NOTICE: (12) : test 5. run with filters-file alone. should run. 2024/11/02 02:08:30 NOTICE: (13) : bisync filters-file=/tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:30 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:30 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:30 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:30 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:30 INFO : Using filters file /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:30 INFO : Building Path1 and Path2 listings 2024/11/02 02:08:31 INFO : Path1 checking for diffs 2024/11/02 02:08:31 INFO : Path2 checking for diffs 2024/11/02 02:08:31 INFO : No changes found 2024/11/02 02:08:31 INFO : Updating listings 2024/11/02 02:08:31 INFO : Validating listings for Path1 "/tmp/020805za/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:31 INFO : Bisync successful 2024/11/02 02:08:31 NOTICE: (14) : test 6. push changed filters-file to workdir. 2024/11/02 02:08:31 NOTICE: (15) : copy-as /tmp/020805za/datadir/test_filtersfile_checks-kopefic6/filtersfile2.txt /tmp/020805za/workdir/ filtersfile.txt 2024/11/02 02:08:31 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/11/02 02:08:31 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2024/11/02 02:08:31 NOTICE: (17) : bisync filters-file=/tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:31 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:31 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:31 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:31 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:31 INFO : Using filters file /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:31 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:31 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:31 NOTICE: Bisync error: bisync aborted 2024/11/02 02:08:31 NOTICE: (18) : test 8. run with filters-file and resync and dry-run. should do the dry-run but still cause next non-resync run to abort. 2024/11/02 02:08:31 NOTICE: (19) : bisync filters-file=/tmp/020805za/workdir/filtersfile.txt resync dry-run 2024/11/02 02:08:32 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:32 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:32 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:32 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:32 INFO : Using filters file /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:32 INFO : Skipped storing filters file hash to /tmp/020805za/workdir/filtersfile.txt.md5 as --dry-run is set 2024/11/02 02:08:32 INFO : Copying Path2 files to Path1 2024/11/02 02:08:32 NOTICE: - Path2 Resync is copying files to - Path1 2024/11/02 02:08:32 NOTICE: - Path1 Resync is copying files to - Path2 2024/11/02 02:08:33 INFO : Resync updating listings 2024/11/02 02:08:33 INFO : Bisync successful 2024/11/02 02:08:33 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2024/11/02 02:08:33 NOTICE: (21) : bisync filters-file=/tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:34 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:34 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:34 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/11/02 02:08:34 INFO : Synching Path1 "/tmp/020805za/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-jezopak2yipu/020805za/filtersfile_checks/path2/" 2024/11/02 02:08:34 INFO : Using filters file /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:34 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/020805za/workdir/filtersfile.txt 2024/11/02 02:08:34 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:34 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2024/11/02 02:08:35 DEBUG : GCS bucket rclone-test-jezopak2yipu: Purge dir "020805za/path2" 2024/11/02 02:08:35 DEBUG : 020805za/path2/: Removing directory marker 2024/11/02 02:08:35 DEBUG : GCS bucket rclone-test-jezopak2yipu: Purge dir "020805za/filtersfile_checks/path2" 2024/11/02 02:08:35 DEBUG : 020805za/filtersfile_checks/path2/: Removing directory marker 2024/11/02 02:08:36 DEBUG : GCS bucket rclone-test-jezopak2yipu: Purge dir "020805za/filtersfile_checks" 2024/11/02 02:08:36 DEBUG : 020805za/filtersfile_checks/: Removing directory marker 2024/11/02 02:08:36 NOTICE: purge failed to rmdir "020805za/filtersfile_checks": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-jezopak2yipu/020805za/filtersfile_checks/, notFound 2024/11/02 02:08:36 DEBUG : GCS bucket rclone-test-jezopak2yipu: Purge dir "020805za/check_sync/path2" 2024/11/02 02:08:36 DEBUG : 020805za/check_sync/path2/: Removing directory marker 2024/11/02 02:08:36 DEBUG : GCS bucket rclone-test-jezopak2yipu: Purge dir "020805za/check_sync" 2024/11/02 02:08:36 DEBUG : 020805za/check_sync/: Removing directory marker 2024/11/02 02:08:36 NOTICE: purge failed to rmdir "020805za/check_sync": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-jezopak2yipu/020805za/check_sync/, notFound 2024/11/02 02:08:36 DEBUG : GCS bucket rclone-test-jezopak2yipu: Purge dir "020805za" 2024/11/02 02:08:36 DEBUG : 020805za/: Removing directory marker 2024/11/02 02:08:36 NOTICE: purge failed to rmdir "020805za": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-jezopak2yipu/020805za/, notFound 2024/11/02 02:08:36 DEBUG : GCS bucket rclone-test-jezopak2yipu: Purge dir "" --- PASS: TestBisyncLocalRemote (32.73s) --- PASS: TestBisyncLocalRemote/check_sync (15.90s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (14.21s) === RUN TestBisyncRemoteRemote 2024/11/02 02:08:38 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza" 2024/11/02 02:08:38 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:38 NOTICE: remote: TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza === RUN TestBisyncRemoteRemote/filtersfile_checks 2024/11/02 02:08:38 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza/020838fa" 2024/11/02 02:08:38 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/02 02:08:38 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:38 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza/020838fa" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa" 2024/11/02 02:08:38 DEBUG : path1: Making directory 2024/11/02 02:08:39 DEBUG : path1/: Creating directory marker 2024/11/02 02:08:40 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1" 2024/11/02 02:08:40 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:40 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1" 2024/11/02 02:08:40 DEBUG : fs cache: switching user supplied name "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza/020838fa" for canonical name "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa" 2024/11/02 02:08:40 DEBUG : path2: Making directory 2024/11/02 02:08:41 DEBUG : path2/: Creating directory marker 2024/11/02 02:08:41 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2" 2024/11/02 02:08:41 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/02 02:08:41 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2" 2024/11/02 02:08:41 DEBUG : Creating backend with remote "/tmp/020838fa/initdir/test_filtersfile_checks-musayus3" 2024/11/02 02:08:41 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:41 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:41 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:41 DEBUG : subdir: Making directory with metadata 2024/11/02 02:08:41 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/02 02:08:41 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/02 02:08:41 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:41 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:41 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:41 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:41 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/02 02:08:41 INFO : file1.txt: Copied (new) 2024/11/02 02:08:41 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/02 02:08:41 INFO : subdir/file20.txt: Copied (new) 2024/11/02 02:08:41 DEBUG : Local file system at /tmp/020838fa/initdir/test_filtersfile_checks-musayus3: Waiting for checks to finish 2024/11/02 02:08:41 DEBUG : Local file system at /tmp/020838fa/initdir/test_filtersfile_checks-musayus3: Waiting for transfers to finish 2024/11/02 02:08:41 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/02 02:08:41 INFO : file2.txt: Copied (new) 2024/11/02 02:08:41 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:41 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/02 02:08:41 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:41 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/02 02:08:41 DEBUG : Creating backend with remote "/tmp/020838fa/datadir/test_filtersfile_checks-cifedeb2" 2024/11/02 02:08:41 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:41 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:41 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:41 DEBUG : Local file system at /tmp/020838fa/datadir/test_filtersfile_checks-cifedeb2: Waiting for checks to finish 2024/11/02 02:08:41 DEBUG : Local file system at /tmp/020838fa/datadir/test_filtersfile_checks-cifedeb2: Waiting for transfers to finish 2024/11/02 02:08:41 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/11/02 02:08:41 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2024/11/02 02:08:41 INFO : filtersfile2.txt: Copied (new) 2024/11/02 02:08:41 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/11/02 02:08:41 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2024/11/02 02:08:41 INFO : filtersfile.txt: Copied (new) 2024/11/02 02:08:41 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/11/02 02:08:41 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2024/11/02 02:08:41 INFO : hold.txt: Copied (new) 2024/11/02 02:08:44 NOTICE: checking initFs Local file system at /tmp/020838fa/initdir/test_filtersfile_checks-musayus3 2024/11/02 02:08:45 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:45 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:45 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:45 DEBUG : subdir: Making directory 2024/11/02 02:08:45 DEBUG : subdir/: Creating directory marker 2024/11/02 02:08:45 DEBUG : /: Creating directory marker 2024/11/02 02:08:45 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:45 DEBUG : GCS bucket rclone-test-fomoyex0kaza path 020838fa/filtersfile_checks/path1: Waiting for checks to finish 2024/11/02 02:08:45 DEBUG : GCS bucket rclone-test-fomoyex0kaza path 020838fa/filtersfile_checks/path1: Waiting for transfers to finish 2024/11/02 02:08:46 DEBUG : /: Creating directory marker 2024/11/02 02:08:46 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:46 INFO : subdir/file20.txt: Copied (new) 2024/11/02 02:08:46 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:46 INFO : file2.txt: Copied (new) 2024/11/02 02:08:46 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:46 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:46 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:46 INFO : file1.txt: Copied (new) 2024/11/02 02:08:46 NOTICE: checking Path1 GCS bucket rclone-test-fomoyex0kaza path 020838fa/filtersfile_checks/path1 2024/11/02 02:08:47 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/02 02:08:47 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:47 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:47 DEBUG : subdir: Making directory 2024/11/02 02:08:47 DEBUG : subdir/: Creating directory marker 2024/11/02 02:08:48 DEBUG : /: Creating directory marker 2024/11/02 02:08:48 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/02 02:08:48 DEBUG : GCS bucket rclone-test-fomoyex0kaza path 020838fa/filtersfile_checks/path2: Waiting for checks to finish 2024/11/02 02:08:48 DEBUG : GCS bucket rclone-test-fomoyex0kaza path 020838fa/filtersfile_checks/path2: Waiting for transfers to finish 2024/11/02 02:08:48 DEBUG : /: Creating directory marker 2024/11/02 02:08:48 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:48 INFO : subdir/file20.txt: Copied (new) 2024/11/02 02:08:48 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/02 02:08:48 INFO : RCLONE_TEST: Copied (new) 2024/11/02 02:08:48 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:48 INFO : file1.txt: Copied (new) 2024/11/02 02:08:49 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/02 02:08:49 INFO : file2.txt: Copied (new) 2024/11/02 02:08:49 NOTICE: checking path2 GCS bucket rclone-test-fomoyex0kaza path 020838fa/filtersfile_checks/path2 2024/11/02 02:08:49 NOTICE: (01) : test filtersfile-checks 2024/11/02 02:08:49 NOTICE: (02) : test initial bisync 2024/11/02 02:08:49 NOTICE: (03) : bisync resync 2024/11/02 02:08:50 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:50 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:08:50 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:50 INFO : Copying Path2 files to Path1 2024/11/02 02:08:50 INFO : - Path2 Resync is copying files to - Path1 2024/11/02 02:08:51 INFO : - Path1 Resync is copying files to - Path2 2024/11/02 02:08:51 INFO : Resync updating listings 2024/11/02 02:08:51 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:51 INFO : Bisync successful 2024/11/02 02:08:51 NOTICE: (04) : test 1. inject filters file in workdir. 2024/11/02 02:08:51 NOTICE: (05) : copy-file /tmp/020838fa/datadir/test_filtersfile_checks-cifedeb2/filtersfile.txt /tmp/020838fa/workdir/ 2024/11/02 02:08:51 INFO : filtersfile.txt: Copied (new) 2024/11/02 02:08:51 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2024/11/02 02:08:51 NOTICE: (07) : bisync filters-file=/tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:08:53 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:53 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:08:53 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:53 INFO : Using filters file /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:08:53 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:08:53 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:53 NOTICE: Bisync error: bisync aborted 2024/11/02 02:08:53 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/11/02 02:08:53 NOTICE: (09) : bisync 2024/11/02 02:08:55 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:55 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:08:55 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:55 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/020838fa/workdir/TestGoogleCloudStorage_rclone-test-fomoyex0kaza_020838fa_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-fomoyex0kaza_020838fa_filtersfile_checks_path2.path1.lst Path2: /tmp/020838fa/workdir/TestGoogleCloudStorage_rclone-test-fomoyex0kaza_020838fa_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-fomoyex0kaza_020838fa_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/020838fa/workdir" 2024/11/02 02:08:55 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:08:55 NOTICE: Bisync error: bisync aborted 2024/11/02 02:08:55 NOTICE: (10) : test 4. run with filters-file and resync. 2024/11/02 02:08:55 NOTICE: (11) : bisync filters-file=/tmp/020838fa/workdir/filtersfile.txt resync 2024/11/02 02:08:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:56 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:08:56 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:56 INFO : Using filters file /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:08:56 INFO : Storing filters file hash to /tmp/020838fa/workdir/filtersfile.txt.md5 2024/11/02 02:08:56 INFO : Copying Path2 files to Path1 2024/11/02 02:08:56 INFO : - Path2 Resync is copying files to - Path1 2024/11/02 02:08:56 INFO : - Path1 Resync is copying files to - Path2 2024/11/02 02:08:57 INFO : Resync updating listings 2024/11/02 02:08:57 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:57 INFO : Bisync successful 2024/11/02 02:08:57 NOTICE: (12) : test 5. run with filters-file alone. should run. 2024/11/02 02:08:57 NOTICE: (13) : bisync filters-file=/tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:08:58 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:08:58 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:08:58 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:58 INFO : Using filters file /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:08:58 INFO : Building Path1 and Path2 listings 2024/11/02 02:08:59 INFO : Path1 checking for diffs 2024/11/02 02:08:59 INFO : Path2 checking for diffs 2024/11/02 02:08:59 INFO : No changes found 2024/11/02 02:08:59 INFO : Updating listings 2024/11/02 02:08:59 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:08:59 INFO : Bisync successful 2024/11/02 02:08:59 NOTICE: (14) : test 6. push changed filters-file to workdir. 2024/11/02 02:08:59 NOTICE: (15) : copy-as /tmp/020838fa/datadir/test_filtersfile_checks-cifedeb2/filtersfile2.txt /tmp/020838fa/workdir/ filtersfile.txt 2024/11/02 02:08:59 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/11/02 02:08:59 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2024/11/02 02:08:59 NOTICE: (17) : bisync filters-file=/tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:09:00 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:09:00 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:09:00 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:09:00 INFO : Using filters file /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:09:00 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:09:00 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:09:00 NOTICE: Bisync error: bisync aborted 2024/11/02 02:09:00 NOTICE: (18) : test 8. run with filters-file and resync and dry-run. should do the dry-run but still cause next non-resync run to abort. 2024/11/02 02:09:00 NOTICE: (19) : bisync filters-file=/tmp/020838fa/workdir/filtersfile.txt resync dry-run 2024/11/02 02:09:02 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:09:02 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:09:02 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:09:02 INFO : Using filters file /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:09:02 INFO : Skipped storing filters file hash to /tmp/020838fa/workdir/filtersfile.txt.md5 as --dry-run is set 2024/11/02 02:09:02 INFO : Copying Path2 files to Path1 2024/11/02 02:09:02 NOTICE: - Path2 Resync is copying files to - Path1 2024/11/02 02:09:02 NOTICE: - Path1 Resync is copying files to - Path2 2024/11/02 02:09:03 INFO : Resync updating listings 2024/11/02 02:09:03 INFO : Bisync successful 2024/11/02 02:09:03 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2024/11/02 02:09:03 NOTICE: (21) : bisync filters-file=/tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:09:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/02 02:09:04 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/02 02:09:04 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/path2/" 2024/11/02 02:09:04 INFO : Using filters file /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:09:04 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/020838fa/workdir/filtersfile.txt 2024/11/02 02:09:04 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/02 02:09:04 NOTICE: Bisync error: bisync aborted bisync_test.go:558: TEST filtersfile_checks PASSED 2024/11/02 02:09:06 DEBUG : GCS bucket rclone-test-fomoyex0kaza: Purge dir "020838fa/path2" 2024/11/02 02:09:06 DEBUG : 020838fa/path2/: Removing directory marker 2024/11/02 02:09:06 DEBUG : GCS bucket rclone-test-fomoyex0kaza: Purge dir "020838fa/path1" 2024/11/02 02:09:06 DEBUG : 020838fa/path1/: Removing directory marker 2024/11/02 02:09:07 DEBUG : GCS bucket rclone-test-fomoyex0kaza: Purge dir "020838fa/filtersfile_checks/path2" 2024/11/02 02:09:07 DEBUG : 020838fa/filtersfile_checks/path2/: Removing directory marker 2024/11/02 02:09:07 DEBUG : GCS bucket rclone-test-fomoyex0kaza: Purge dir "020838fa/filtersfile_checks/path1" 2024/11/02 02:09:07 DEBUG : 020838fa/filtersfile_checks/path1/: Removing directory marker 2024/11/02 02:09:07 DEBUG : GCS bucket rclone-test-fomoyex0kaza: Purge dir "020838fa/filtersfile_checks" 2024/11/02 02:09:07 DEBUG : 020838fa/filtersfile_checks/: Removing directory marker 2024/11/02 02:09:07 NOTICE: purge failed to rmdir "020838fa/filtersfile_checks": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-fomoyex0kaza/020838fa/filtersfile_checks/, notFound 2024/11/02 02:09:07 DEBUG : GCS bucket rclone-test-fomoyex0kaza: Purge dir "020838fa" 2024/11/02 02:09:07 DEBUG : 020838fa/: Removing directory marker 2024/11/02 02:09:07 NOTICE: purge failed to rmdir "020838fa": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-fomoyex0kaza/020838fa/, notFound 2024/11/02 02:09:07 DEBUG : GCS bucket rclone-test-fomoyex0kaza: Purge dir "" --- PASS: TestBisyncRemoteRemote (30.55s) --- PASS: TestBisyncRemoteRemote/filtersfile_checks (28.28s) PASS 2024/11/02 02:09:09 DEBUG : GCS bucket rclone-test-vaguvoz9geqe: Purge dir "" 2024/11/02 02:09:09 NOTICE: purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2024/11/02 02:09:09 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote 'TestGoogleCloudStorage,directory_markers:' -verbose -test.run '^TestBisyncLocalRemote$/^(check_sync|filtersfile_checks)$|^TestBisyncRemoteRemote$/^filtersfile_checks$'" - Finished OK in 1m4.1391482s (try 4/5)