"./bisync.test -test.v -test.timeout 1h0m0s -remote 'TestGoogleCloudStorage,directory_markers:' -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^(check_sync|filtersfile_checks)$'" - Starting (try 5/5) 2024/11/14 20:27:04 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-nafahud1hati" 2024/11/14 20:27:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/14 20:27:04 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:04 DEBUG : Creating backend with remote "/tmp/rclone4145877988" === RUN TestBisyncRemoteLocal 2024/11/14 20:27:04 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari" 2024/11/14 20:27:04 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:04 NOTICE: remote: TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari === RUN TestBisyncRemoteLocal/check_sync 2024/11/14 20:27:04 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari/202704ji" 2024/11/14 20:27:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/14 20:27:04 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:04 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari/202704ji" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji" 2024/11/14 20:27:04 DEBUG : path1: Making directory 2024/11/14 20:27:06 DEBUG : path1/: Creating directory marker 2024/11/14 20:27:06 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari/202704ji/check_sync/path1" 2024/11/14 20:27:06 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:07 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari/202704ji/check_sync/path1" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1" 2024/11/14 20:27:07 DEBUG : Creating backend with remote "/tmp/202704ji" 2024/11/14 20:27:07 DEBUG : Creating backend with remote "/tmp/202704ji/check_sync/path2" 2024/11/14 20:27:07 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_sync/initial" 2024/11/14 20:27:07 DEBUG : Creating backend with remote "/tmp/202704ji/initdir/test_check_sync-gumodar1" 2024/11/14 20:27:07 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file5.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file6.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file7.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file8.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/14 20:27:07 INFO : file1.txt: Copied (new) 2024/11/14 20:27:07 DEBUG : Local file system at /tmp/202704ji/initdir/test_check_sync-gumodar1: Waiting for checks to finish 2024/11/14 20:27:07 DEBUG : Local file system at /tmp/202704ji/initdir/test_check_sync-gumodar1: Waiting for transfers to finish 2024/11/14 20:27:07 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/11/14 20:27:07 INFO : file3.txt: Copied (new) 2024/11/14 20:27:07 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/11/14 20:27:07 INFO : file4.txt: Copied (new) 2024/11/14 20:27:07 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/14 20:27:07 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2024/11/14 20:27:07 INFO : file6.txt: Copied (new) 2024/11/14 20:27:07 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2024/11/14 20:27:07 INFO : file5.txt: Copied (new) 2024/11/14 20:27:07 INFO : file2.txt: Copied (new) 2024/11/14 20:27:07 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2024/11/14 20:27:07 INFO : file7.txt: Copied (new) 2024/11/14 20:27:07 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:07 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2024/11/14 20:27:07 INFO : file8.txt: Copied (new) 2024/11/14 20:27:07 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:07 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/14 20:27:07 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:07 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_check_sync/modfiles" 2024/11/14 20:27:07 DEBUG : Creating backend with remote "/tmp/202704ji/datadir/test_check_sync-vupogik7" 2024/11/14 20:27:07 DEBUG : _testdir_path1.._testdir_path2.path1.lst: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : _testdir_path1.._testdir_path2.path2.lst: Need to transfer - File not found at Destination 2024/11/14 20:27:07 DEBUG : Local file system at /tmp/202704ji/datadir/test_check_sync-vupogik7: Waiting for checks to finish 2024/11/14 20:27:07 DEBUG : Local file system at /tmp/202704ji/datadir/test_check_sync-vupogik7: Waiting for transfers to finish 2024/11/14 20:27:07 DEBUG : _testdir_path1.._testdir_path2.path1.lst: md5 = fdb18e0dff6961813e12c57227d2e854 OK 2024/11/14 20:27:07 DEBUG : _testdir_path1.._testdir_path2.path1.lst.c670fe74.partial: renamed to: _testdir_path1.._testdir_path2.path1.lst 2024/11/14 20:27:07 INFO : _testdir_path1.._testdir_path2.path1.lst: Copied (new) 2024/11/14 20:27:07 DEBUG : _testdir_path1.._testdir_path2.path2.lst: md5 = d6ce44a26af9c2110b1750fe88dc4b69 OK 2024/11/14 20:27:07 DEBUG : _testdir_path1.._testdir_path2.path2.lst.c670fe74.partial: renamed to: _testdir_path1.._testdir_path2.path2.lst 2024/11/14 20:27:07 INFO : _testdir_path1.._testdir_path2.path2.lst: Copied (new) 2024/11/14 20:27:08 ERROR : : error listing: directory not found 2024/11/14 20:27:08 NOTICE: checking initFs Local file system at /tmp/202704ji/initdir/test_check_sync-gumodar1 2024/11/14 20:27:09 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file5.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file6.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file7.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : file8.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:09 DEBUG : GCS bucket rclone-test-zidisob0gari path 202704ji/check_sync/path1: Waiting for checks to finish 2024/11/14 20:27:09 DEBUG : GCS bucket rclone-test-zidisob0gari path 202704ji/check_sync/path1: Waiting for transfers to finish 2024/11/14 20:27:09 DEBUG : /: Creating directory marker 2024/11/14 20:27:10 DEBUG : /: Creating directory marker 2024/11/14 20:27:10 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:10 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:10 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:10 INFO : file3.txt: Copied (new) 2024/11/14 20:27:10 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:10 INFO : file1.txt: Copied (new) 2024/11/14 20:27:10 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:10 INFO : file4.txt: Copied (new) 2024/11/14 20:27:10 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:10 INFO : file2.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 INFO : file5.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 INFO : file6.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 INFO : file7.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 INFO : file8.txt: Copied (new) 2024/11/14 20:27:11 NOTICE: checking Path1 GCS bucket rclone-test-zidisob0gari path 202704ji/check_sync/path1 2024/11/14 20:27:11 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file3.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file4.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file5.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file6.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file7.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : file8.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:11 DEBUG : Local file system at /tmp/202704ji/check_sync/path2: Waiting for checks to finish 2024/11/14 20:27:11 DEBUG : Local file system at /tmp/202704ji/check_sync/path2: Waiting for transfers to finish 2024/11/14 20:27:11 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/14 20:27:11 INFO : file1.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file3.txt.5028a97.partial: renamed to: file3.txt 2024/11/14 20:27:11 INFO : file3.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/14 20:27:11 INFO : file2.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file4.txt.5028a97.partial: renamed to: file4.txt 2024/11/14 20:27:11 INFO : file4.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file5.txt.5028a97.partial: renamed to: file5.txt 2024/11/14 20:27:11 INFO : file5.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file6.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file6.txt.5028a97.partial: renamed to: file6.txt 2024/11/14 20:27:11 INFO : file6.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:11 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/14 20:27:11 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:11 DEBUG : file7.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file7.txt.5028a97.partial: renamed to: file7.txt 2024/11/14 20:27:11 INFO : file7.txt: Copied (new) 2024/11/14 20:27:11 DEBUG : file8.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:11 DEBUG : file8.txt.5028a97.partial: renamed to: file8.txt 2024/11/14 20:27:11 INFO : file8.txt: Copied (new) 2024/11/14 20:27:11 NOTICE: checking path2 Local file system at /tmp/202704ji/check_sync/path2 2024/11/14 20:27:11 NOTICE: (01) : test check-sync 2024/11/14 20:27:11 NOTICE: (02) : test initial bisync 2024/11/14 20:27:11 NOTICE: (03) : bisync resync 2024/11/14 20:27:12 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:12 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/14 20:27:12 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" with Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:12 INFO : Copying Path2 files to Path1 2024/11/14 20:27:12 INFO : - Path2 Resync is copying files to - Path1 2024/11/14 20:27:12 INFO : - Path1 Resync is copying files to - Path2 2024/11/14 20:27:12 INFO : Resync updating listings 2024/11/14 20:27:12 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" vs Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:12 INFO : Bisync successful 2024/11/14 20:27:12 NOTICE: (04) : test 1. run check-sync-only on a clean sync 2024/11/14 20:27:12 NOTICE: (05) : bisync check-sync-only 2024/11/14 20:27:13 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:13 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/14 20:27:13 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" vs Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:13 INFO : Bisync successful 2024/11/14 20:27:13 NOTICE: (06) : test 2. inject modified listings into the workdir 2024/11/14 20:27:13 NOTICE: (07) : copy-as /tmp/202704ji/datadir/test_check_sync-vupogik7/_testdir_path1.._testdir_path2.path1.lst /tmp/202704ji/workdir/ TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path1.lst 2024/11/14 20:27:13 INFO : _testdir_path1.._testdir_path2.path1.lst: Copied (replaced existing) to: TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path1.lst 2024/11/14 20:27:13 NOTICE: (08) : copy-as /tmp/202704ji/datadir/test_check_sync-vupogik7/_testdir_path1.._testdir_path2.path2.lst /tmp/202704ji/workdir/ TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path2.lst 2024/11/14 20:27:13 INFO : _testdir_path1.._testdir_path2.path2.lst: Copied (replaced existing) to: TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path2.lst 2024/11/14 20:27:13 NOTICE: (09) : test 3. run check-sync-only on modified listings 2024/11/14 20:27:13 NOTICE: (10) : bisync check-sync-only 2024/11/14 20:27:14 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:14 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" vs Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:14 ERROR : -  Path1 file not found in Path2 - file2.txt 2024/11/14 20:27:14 ERROR : -  Path2 file not found in Path1 - file1.txt 2024/11/14 20:27:14 ERROR : Bisync critical error: path1 and path2 are out of sync, run --resync to recover 2024/11/14 20:27:14 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:14 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:14 NOTICE: (11) : copy-listings check-sync-only 2024/11/14 20:27:14 NOTICE: (12) : test 4. run normal sync to check that it aborts 2024/11/14 20:27:14 NOTICE: (13) : bisync 2024/11/14 20:27:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:15 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/14 20:27:15 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" with Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:15 ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run Tip: here are the filenames we were looking for. Do they exist? Path1: /tmp/202704ji/workdir/TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path1.lst Path2: /tmp/202704ji/workdir/TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/202704ji/workdir" 2024/11/14 20:27:15 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:15 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:15 NOTICE: (14) : test 5. prune failure listings after critical abort 2024/11/14 20:27:15 NOTICE: (15) : delete-glob /tmp/202704ji/workdir/ *.lst 2024/11/14 20:27:15 NOTICE: (16) : delete-glob /tmp/202704ji/workdir/ *.lst-err 2024/11/14 20:27:15 INFO : TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path1.lst-err: Deleted 2024/11/14 20:27:15 INFO : TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path2.lst-err: Deleted 2024/11/14 20:27:15 NOTICE: (17) : delete-glob /tmp/202704ji/workdir/ *.lst-new 2024/11/14 20:27:15 INFO : TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path1.lst-new: Deleted 2024/11/14 20:27:15 INFO : TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_check_sync_path1..tmp_202704ji_check_sync_path2.path2.lst-new: Deleted 2024/11/14 20:27:15 NOTICE: (18) : test 6. run resync 2024/11/14 20:27:15 NOTICE: (19) : bisync resync 2024/11/14 20:27:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:15 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/14 20:27:15 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" with Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:15 INFO : Copying Path2 files to Path1 2024/11/14 20:27:15 INFO : - Path2 Resync is copying files to - Path1 2024/11/14 20:27:15 INFO : - Path1 Resync is copying files to - Path2 2024/11/14 20:27:15 INFO : Resync updating listings 2024/11/14 20:27:15 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" vs Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:15 INFO : Bisync successful 2024/11/14 20:27:15 NOTICE: (20) : test 7. run normal sync with check-sync enabled (default) 2024/11/14 20:27:15 NOTICE: (21) : bisync 2024/11/14 20:27:16 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:16 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" with Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:16 INFO : Building Path1 and Path2 listings 2024/11/14 20:27:16 INFO : Path1 checking for diffs 2024/11/14 20:27:16 INFO : Path2 checking for diffs 2024/11/14 20:27:16 INFO : No changes found 2024/11/14 20:27:16 INFO : Updating listings 2024/11/14 20:27:16 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" vs Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:16 INFO : Bisync successful 2024/11/14 20:27:16 NOTICE: (22) : test 8. run normal sync with no-check-sync 2024/11/14 20:27:16 NOTICE: (23) : bisync no-check-sync 2024/11/14 20:27:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:17 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/check_sync/path1/" with Path2 "/tmp/202704ji/check_sync/path2/" 2024/11/14 20:27:17 INFO : Building Path1 and Path2 listings 2024/11/14 20:27:17 INFO : Path1 checking for diffs 2024/11/14 20:27:17 INFO : Path2 checking for diffs 2024/11/14 20:27:17 INFO : No changes found 2024/11/14 20:27:17 INFO : Updating listings 2024/11/14 20:27:17 INFO : Bisync successful bisync_test.go:556: TEST check_sync PASSED === RUN TestBisyncRemoteLocal/filtersfile_checks 2024/11/14 20:27:18 DEBUG : fs cache: switching user supplied name "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari/202704ji" for canonical name "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji" 2024/11/14 20:27:18 DEBUG : path1: Making directory 2024/11/14 20:27:18 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1" 2024/11/14 20:27:18 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:19 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1" 2024/11/14 20:27:19 DEBUG : Creating backend with remote "/tmp/202704ji/filtersfile_checks/path2" 2024/11/14 20:27:19 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/initial" 2024/11/14 20:27:19 DEBUG : Creating backend with remote "/tmp/202704ji/initdir/test_filtersfile_checks-mucemif9" 2024/11/14 20:27:19 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:19 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:19 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:19 DEBUG : subdir: Making directory with metadata 2024/11/14 20:27:19 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/14 20:27:19 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/14 20:27:19 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:19 DEBUG : Local file system at /tmp/202704ji/initdir/test_filtersfile_checks-mucemif9: Waiting for checks to finish 2024/11/14 20:27:19 DEBUG : Local file system at /tmp/202704ji/initdir/test_filtersfile_checks-mucemif9: Waiting for transfers to finish 2024/11/14 20:27:19 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:19 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/14 20:27:19 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:19 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/14 20:27:19 INFO : file2.txt: Copied (new) 2024/11/14 20:27:19 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:19 INFO : subdir/file20.txt: Copied (new) 2024/11/14 20:27:19 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/14 20:27:19 INFO : file1.txt: Copied (new) 2024/11/14 20:27:19 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:19 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/14 20:27:19 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:19 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:19 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_filtersfile_checks/modfiles" 2024/11/14 20:27:19 DEBUG : Creating backend with remote "/tmp/202704ji/datadir/test_filtersfile_checks-wirocer4" 2024/11/14 20:27:19 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:19 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:19 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:19 DEBUG : Local file system at /tmp/202704ji/datadir/test_filtersfile_checks-wirocer4: Waiting for checks to finish 2024/11/14 20:27:19 DEBUG : Local file system at /tmp/202704ji/datadir/test_filtersfile_checks-wirocer4: Waiting for transfers to finish 2024/11/14 20:27:19 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/11/14 20:27:19 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2024/11/14 20:27:19 INFO : filtersfile.txt: Copied (new) 2024/11/14 20:27:19 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/11/14 20:27:19 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2024/11/14 20:27:19 INFO : hold.txt: Copied (new) 2024/11/14 20:27:19 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/11/14 20:27:19 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2024/11/14 20:27:19 INFO : filtersfile2.txt: Copied (new) 2024/11/14 20:27:20 ERROR : : error listing: directory not found 2024/11/14 20:27:20 NOTICE: checking initFs Local file system at /tmp/202704ji/initdir/test_filtersfile_checks-mucemif9 2024/11/14 20:27:21 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:21 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:21 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:21 DEBUG : subdir: Making directory 2024/11/14 20:27:21 DEBUG : subdir/: Creating directory marker 2024/11/14 20:27:21 DEBUG : /: Creating directory marker 2024/11/14 20:27:21 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:21 DEBUG : GCS bucket rclone-test-zidisob0gari path 202704ji/filtersfile_checks/path1: Waiting for checks to finish 2024/11/14 20:27:21 DEBUG : GCS bucket rclone-test-zidisob0gari path 202704ji/filtersfile_checks/path1: Waiting for transfers to finish 2024/11/14 20:27:22 DEBUG : /: Creating directory marker 2024/11/14 20:27:22 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:22 INFO : subdir/file20.txt: Copied (new) 2024/11/14 20:27:22 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:22 INFO : file2.txt: Copied (new) 2024/11/14 20:27:22 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:22 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:22 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:22 INFO : file1.txt: Copied (new) 2024/11/14 20:27:22 NOTICE: checking Path1 GCS bucket rclone-test-zidisob0gari path 202704ji/filtersfile_checks/path1 2024/11/14 20:27:22 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:22 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:22 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:22 DEBUG : subdir: Making directory with metadata 2024/11/14 20:27:22 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/14 20:27:22 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/14 20:27:22 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:22 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:22 DEBUG : Local file system at /tmp/202704ji/filtersfile_checks/path2: Waiting for checks to finish 2024/11/14 20:27:22 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:22 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/14 20:27:22 INFO : file2.txt: Copied (new) 2024/11/14 20:27:22 DEBUG : Local file system at /tmp/202704ji/filtersfile_checks/path2: Waiting for transfers to finish 2024/11/14 20:27:22 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:22 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/14 20:27:22 INFO : file1.txt: Copied (new) 2024/11/14 20:27:22 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/14 20:27:22 INFO : subdir/file20.txt: Copied (new) 2024/11/14 20:27:22 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:22 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/14 20:27:22 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:22 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:22 NOTICE: checking path2 Local file system at /tmp/202704ji/filtersfile_checks/path2 2024/11/14 20:27:22 NOTICE: (01) : test filtersfile-checks 2024/11/14 20:27:22 NOTICE: (02) : test initial bisync 2024/11/14 20:27:22 NOTICE: (03) : bisync resync 2024/11/14 20:27:23 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:23 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:23 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/14 20:27:23 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:23 INFO : Copying Path2 files to Path1 2024/11/14 20:27:23 INFO : - Path2 Resync is copying files to - Path1 2024/11/14 20:27:24 INFO : - Path1 Resync is copying files to - Path2 2024/11/14 20:27:24 INFO : Resync updating listings 2024/11/14 20:27:24 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" vs Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:24 INFO : Bisync successful 2024/11/14 20:27:24 NOTICE: (04) : test 1. inject filters file in workdir. 2024/11/14 20:27:24 NOTICE: (05) : copy-file /tmp/202704ji/datadir/test_filtersfile_checks-wirocer4/filtersfile.txt /tmp/202704ji/workdir/ 2024/11/14 20:27:24 INFO : filtersfile.txt: Copied (new) 2024/11/14 20:27:24 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2024/11/14 20:27:24 NOTICE: (07) : bisync filters-file=/tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:25 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/11/14 20:27:25 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:25 INFO : Using filters file /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:25 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:25 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:25 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:25 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/11/14 20:27:25 NOTICE: (09) : bisync 2024/11/14 20:27:26 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:26 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:26 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/202704ji/workdir/TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_filtersfile_checks_path1..tmp_202704ji_filtersfile_checks_path2.path1.lst Path2: /tmp/202704ji/workdir/TestGoogleCloudStorage_rclone-test-zidisob0gari_202704ji_filtersfile_checks_path1..tmp_202704ji_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/202704ji/workdir" 2024/11/14 20:27:26 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:26 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:26 NOTICE: (10) : test 4. run with filters-file and resync. 2024/11/14 20:27:26 NOTICE: (11) : bisync filters-file=/tmp/202704ji/workdir/filtersfile.txt resync 2024/11/14 20:27:26 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:26 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:26 INFO : Using filters file /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:26 INFO : Storing filters file hash to /tmp/202704ji/workdir/filtersfile.txt.md5 2024/11/14 20:27:26 INFO : Copying Path2 files to Path1 2024/11/14 20:27:26 INFO : - Path2 Resync is copying files to - Path1 2024/11/14 20:27:26 INFO : - Path1 Resync is copying files to - Path2 2024/11/14 20:27:27 INFO : Resync updating listings 2024/11/14 20:27:27 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" vs Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:27 INFO : Bisync successful 2024/11/14 20:27:27 NOTICE: (12) : test 5. run with filters-file alone. should run. 2024/11/14 20:27:27 NOTICE: (13) : bisync filters-file=/tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:27 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:27 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:27 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/14 20:27:27 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:27 INFO : Using filters file /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:27 INFO : Building Path1 and Path2 listings 2024/11/14 20:27:27 INFO : Path1 checking for diffs 2024/11/14 20:27:27 INFO : Path2 checking for diffs 2024/11/14 20:27:27 INFO : No changes found 2024/11/14 20:27:27 INFO : Updating listings 2024/11/14 20:27:27 INFO : Validating listings for Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" vs Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:27 INFO : Bisync successful 2024/11/14 20:27:27 NOTICE: (14) : test 6. push changed filters-file to workdir. 2024/11/14 20:27:27 NOTICE: (15) : copy-as /tmp/202704ji/datadir/test_filtersfile_checks-wirocer4/filtersfile2.txt /tmp/202704ji/workdir/ filtersfile.txt 2024/11/14 20:27:27 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/11/14 20:27:27 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2024/11/14 20:27:27 NOTICE: (17) : bisync filters-file=/tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:28 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:28 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:28 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:28 INFO : Using filters file /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:28 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:28 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:28 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:28 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/14 20:27:28 NOTICE: (19) : bisync filters-file=/tmp/202704ji/workdir/filtersfile.txt resync dry-run 2024/11/14 20:27:29 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:29 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:29 INFO : Using filters file /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:29 INFO : Skipped storing filters file hash to /tmp/202704ji/workdir/filtersfile.txt.md5 as --dry-run is set 2024/11/14 20:27:29 INFO : Copying Path2 files to Path1 2024/11/14 20:27:29 NOTICE: - Path2 Resync is copying files to - Path1 2024/11/14 20:27:29 NOTICE: - Path1 Resync is copying files to - Path2 2024/11/14 20:27:30 INFO : Resync updating listings 2024/11/14 20:27:30 INFO : Bisync successful 2024/11/14 20:27:30 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2024/11/14 20:27:30 NOTICE: (21) : bisync filters-file=/tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:31 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:31 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27: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/14 20:27:31 INFO : Synching Path1 "TestGoogleCloudStorage{juk_h}:rclone-test-zidisob0gari/202704ji/filtersfile_checks/path1/" with Path2 "/tmp/202704ji/filtersfile_checks/path2/" 2024/11/14 20:27:31 INFO : Using filters file /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:31 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/202704ji/workdir/filtersfile.txt 2024/11/14 20:27:31 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:31 NOTICE: Bisync error: bisync aborted bisync_test.go:556: TEST filtersfile_checks PASSED 2024/11/14 20:27:32 DEBUG : GCS bucket rclone-test-zidisob0gari: Purge dir "202704ji/path1" 2024/11/14 20:27:32 DEBUG : 202704ji/path1/: Removing directory marker 2024/11/14 20:27:32 DEBUG : GCS bucket rclone-test-zidisob0gari: Purge dir "202704ji/filtersfile_checks/path1" 2024/11/14 20:27:32 DEBUG : 202704ji/filtersfile_checks/path1/: Removing directory marker 2024/11/14 20:27:32 DEBUG : GCS bucket rclone-test-zidisob0gari: Purge dir "202704ji/filtersfile_checks" 2024/11/14 20:27:32 DEBUG : 202704ji/filtersfile_checks/: Removing directory marker 2024/11/14 20:27:32 NOTICE: purge failed to rmdir "202704ji/filtersfile_checks": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-zidisob0gari/202704ji/filtersfile_checks/, notFound 2024/11/14 20:27:32 DEBUG : GCS bucket rclone-test-zidisob0gari: Purge dir "202704ji/check_sync/path1" 2024/11/14 20:27:32 DEBUG : 202704ji/check_sync/path1/: Removing directory marker 2024/11/14 20:27:32 DEBUG : GCS bucket rclone-test-zidisob0gari: Purge dir "202704ji/check_sync" 2024/11/14 20:27:32 DEBUG : 202704ji/check_sync/: Removing directory marker 2024/11/14 20:27:32 NOTICE: purge failed to rmdir "202704ji/check_sync": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-zidisob0gari/202704ji/check_sync/, notFound 2024/11/14 20:27:32 DEBUG : GCS bucket rclone-test-zidisob0gari: Purge dir "202704ji" 2024/11/14 20:27:32 DEBUG : 202704ji/: Removing directory marker 2024/11/14 20:27:33 NOTICE: purge failed to rmdir "202704ji": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-zidisob0gari/202704ji/, notFound 2024/11/14 20:27:33 DEBUG : GCS bucket rclone-test-zidisob0gari: Purge dir "" --- PASS: TestBisyncRemoteLocal (29.76s) --- PASS: TestBisyncRemoteLocal/check_sync (14.26s) --- PASS: TestBisyncRemoteLocal/filtersfile_checks (13.41s) === RUN TestBisyncLocalRemote 2024/11/14 20:27:34 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-lilazom0caho" 2024/11/14 20:27:34 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:34 NOTICE: remote: TestGoogleCloudStorage,directory_markers:rclone-test-lilazom0caho === RUN TestBisyncLocalRemote/filtersfile_checks 2024/11/14 20:27:34 DEBUG : Creating backend with remote "/tmp/202734zu" 2024/11/14 20:27:34 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/14 20:27:34 DEBUG : Creating backend with remote "/tmp/202734zu/filtersfile_checks/path1" 2024/11/14 20:27:34 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-lilazom0caho/202734zu" 2024/11/14 20:27:34 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:34 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-lilazom0caho/202734zu" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu" 2024/11/14 20:27:34 DEBUG : path2: Making directory 2024/11/14 20:27:36 DEBUG : path2/: Creating directory marker 2024/11/14 20:27:36 DEBUG : Creating backend with remote "TestGoogleCloudStorage,directory_markers:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2" 2024/11/14 20:27:36 DEBUG : TestGoogleCloudStorage: detected overridden config - adding "{juk_h}" suffix to name 2024/11/14 20:27:36 DEBUG : fs cache: renaming cache item "TestGoogleCloudStorage,directory_markers:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2" to be canonical "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2" 2024/11/14 20:27:36 DEBUG : Creating backend with remote "/tmp/202734zu/initdir/test_filtersfile_checks-jubadib2" 2024/11/14 20:27:36 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:36 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:36 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:36 DEBUG : subdir: Making directory with metadata 2024/11/14 20:27:36 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/14 20:27:36 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/14 20:27:36 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:36 DEBUG : Local file system at /tmp/202734zu/initdir/test_filtersfile_checks-jubadib2: Waiting for checks to finish 2024/11/14 20:27:36 DEBUG : Local file system at /tmp/202734zu/initdir/test_filtersfile_checks-jubadib2: Waiting for transfers to finish 2024/11/14 20:27:36 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:36 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/14 20:27:36 INFO : file1.txt: Copied (new) 2024/11/14 20:27:36 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:36 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:36 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/14 20:27:36 INFO : file2.txt: Copied (new) 2024/11/14 20:27:36 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/14 20:27:36 INFO : subdir/file20.txt: Copied (new) 2024/11/14 20:27:36 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:36 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/14 20:27:36 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:36 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:36 DEBUG : Creating backend with remote "/tmp/202734zu/datadir/test_filtersfile_checks-gokifob2" 2024/11/14 20:27:36 DEBUG : filtersfile.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:36 DEBUG : filtersfile2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:36 DEBUG : hold.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:36 DEBUG : Local file system at /tmp/202734zu/datadir/test_filtersfile_checks-gokifob2: Waiting for checks to finish 2024/11/14 20:27:36 DEBUG : Local file system at /tmp/202734zu/datadir/test_filtersfile_checks-gokifob2: Waiting for transfers to finish 2024/11/14 20:27:36 DEBUG : filtersfile.txt: md5 = cbf4389cb34d9e160689d1578eb5707f OK 2024/11/14 20:27:36 DEBUG : filtersfile2.txt: md5 = 95acc1e3b5beda465d9b2cb32808588c OK 2024/11/14 20:27:36 DEBUG : filtersfile.txt.f1af69b0.partial: renamed to: filtersfile.txt 2024/11/14 20:27:36 INFO : filtersfile.txt: Copied (new) 2024/11/14 20:27:36 DEBUG : filtersfile2.txt.9f8671d3.partial: renamed to: filtersfile2.txt 2024/11/14 20:27:36 INFO : filtersfile2.txt: Copied (new) 2024/11/14 20:27:36 DEBUG : hold.txt: md5 = 628c2241b6ba4e313ef08bdfcf1cd964 OK 2024/11/14 20:27:36 DEBUG : hold.txt.627e309f.partial: renamed to: hold.txt 2024/11/14 20:27:36 INFO : hold.txt: Copied (new) 2024/11/14 20:27:37 ERROR : : error listing: directory not found 2024/11/14 20:27:38 NOTICE: checking initFs Local file system at /tmp/202734zu/initdir/test_filtersfile_checks-jubadib2 2024/11/14 20:27:38 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:38 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:38 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:38 DEBUG : subdir: Making directory with metadata 2024/11/14 20:27:38 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/14 20:27:38 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/14 20:27:38 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:38 DEBUG : file2.txt.5028a97.partial: renamed to: file2.txt 2024/11/14 20:27:38 INFO : file2.txt: Copied (new) 2024/11/14 20:27:38 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:38 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:38 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/14 20:27:38 INFO : file1.txt: Copied (new) 2024/11/14 20:27:38 DEBUG : Local file system at /tmp/202734zu/filtersfile_checks/path1: Waiting for checks to finish 2024/11/14 20:27:38 DEBUG : Local file system at /tmp/202734zu/filtersfile_checks/path1: Waiting for transfers to finish 2024/11/14 20:27:38 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:38 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:38 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/14 20:27:38 INFO : subdir/file20.txt: Copied (new) 2024/11/14 20:27:38 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/14 20:27:38 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:38 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:38 NOTICE: checking Path1 Local file system at /tmp/202734zu/filtersfile_checks/path1 2024/11/14 20:27:38 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/14 20:27:38 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:38 DEBUG : file2.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:38 DEBUG : subdir: Making directory 2024/11/14 20:27:39 DEBUG : subdir/: Creating directory marker 2024/11/14 20:27:39 DEBUG : /: Creating directory marker 2024/11/14 20:27:39 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/14 20:27:39 DEBUG : GCS bucket rclone-test-lilazom0caho path 202734zu/filtersfile_checks/path2: Waiting for checks to finish 2024/11/14 20:27:39 DEBUG : GCS bucket rclone-test-lilazom0caho path 202734zu/filtersfile_checks/path2: Waiting for transfers to finish 2024/11/14 20:27:39 DEBUG : /: Creating directory marker 2024/11/14 20:27:40 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:40 INFO : subdir/file20.txt: Copied (new) 2024/11/14 20:27:40 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:40 INFO : file1.txt: Copied (new) 2024/11/14 20:27:40 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/14 20:27:40 INFO : RCLONE_TEST: Copied (new) 2024/11/14 20:27:40 DEBUG : file2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/14 20:27:40 INFO : file2.txt: Copied (new) 2024/11/14 20:27:40 NOTICE: checking path2 GCS bucket rclone-test-lilazom0caho path 202734zu/filtersfile_checks/path2 2024/11/14 20:27:40 NOTICE: (01) : test filtersfile-checks 2024/11/14 20:27:40 NOTICE: (02) : test initial bisync 2024/11/14 20:27:40 NOTICE: (03) : bisync resync 2024/11/14 20:27:41 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:41 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:41 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/14 20:27:41 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:41 INFO : Copying Path2 files to Path1 2024/11/14 20:27:41 INFO : - Path2 Resync is copying files to - Path1 2024/11/14 20:27:41 INFO : - Path1 Resync is copying files to - Path2 2024/11/14 20:27:42 INFO : Resync updating listings 2024/11/14 20:27:42 INFO : Validating listings for Path1 "/tmp/202734zu/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:42 INFO : Bisync successful 2024/11/14 20:27:42 NOTICE: (04) : test 1. inject filters file in workdir. 2024/11/14 20:27:42 NOTICE: (05) : copy-file /tmp/202734zu/datadir/test_filtersfile_checks-gokifob2/filtersfile.txt /tmp/202734zu/workdir/ 2024/11/14 20:27:42 INFO : filtersfile.txt: Copied (new) 2024/11/14 20:27:42 NOTICE: (06) : test 2. run with filters-file but without md5. should abort. 2024/11/14 20:27:42 NOTICE: (07) : bisync filters-file=/tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:43 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:43 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:43 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/14 20:27:43 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:43 INFO : Using filters file /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:43 ERROR : Bisync critical error: filters file md5 hash not found (must run --resync): /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:43 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:43 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:43 NOTICE: (08) : test 3. run without filters-file. should be blocked due to prior abort. 2024/11/14 20:27:43 NOTICE: (09) : bisync 2024/11/14 20:27:43 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:43 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:43 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/14 20:27:43 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:43 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/202734zu/workdir/tmp_202734zu_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-lilazom0caho_202734zu_filtersfile_checks_path2.path1.lst Path2: /tmp/202734zu/workdir/tmp_202734zu_filtersfile_checks_path1..TestGoogleCloudStorage_rclone-test-lilazom0caho_202734zu_filtersfile_checks_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/202734zu/workdir" 2024/11/14 20:27:43 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:43 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:43 NOTICE: (10) : test 4. run with filters-file and resync. 2024/11/14 20:27:43 NOTICE: (11) : bisync filters-file=/tmp/202734zu/workdir/filtersfile.txt resync 2024/11/14 20:27:44 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:44 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:44 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/14 20:27:44 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:44 INFO : Using filters file /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:44 INFO : Storing filters file hash to /tmp/202734zu/workdir/filtersfile.txt.md5 2024/11/14 20:27:44 INFO : Copying Path2 files to Path1 2024/11/14 20:27:44 INFO : - Path2 Resync is copying files to - Path1 2024/11/14 20:27:44 INFO : - Path1 Resync is copying files to - Path2 2024/11/14 20:27:45 INFO : Resync updating listings 2024/11/14 20:27:45 INFO : Validating listings for Path1 "/tmp/202734zu/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:45 INFO : Bisync successful 2024/11/14 20:27:45 NOTICE: (12) : test 5. run with filters-file alone. should run. 2024/11/14 20:27:45 NOTICE: (13) : bisync filters-file=/tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:45 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:45 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:45 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/14 20:27:45 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:45 INFO : Using filters file /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:45 INFO : Building Path1 and Path2 listings 2024/11/14 20:27:45 INFO : Path1 checking for diffs 2024/11/14 20:27:45 INFO : Path2 checking for diffs 2024/11/14 20:27:45 INFO : No changes found 2024/11/14 20:27:45 INFO : Updating listings 2024/11/14 20:27:45 INFO : Validating listings for Path1 "/tmp/202734zu/filtersfile_checks/path1/" vs Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:45 INFO : Bisync successful 2024/11/14 20:27:45 NOTICE: (14) : test 6. push changed filters-file to workdir. 2024/11/14 20:27:45 NOTICE: (15) : copy-as /tmp/202734zu/datadir/test_filtersfile_checks-gokifob2/filtersfile2.txt /tmp/202734zu/workdir/ filtersfile.txt 2024/11/14 20:27:45 INFO : filtersfile2.txt: Copied (replaced existing) to: filtersfile.txt 2024/11/14 20:27:45 NOTICE: (16) : test 7. run with filters-file alone. should abort. 2024/11/14 20:27:45 NOTICE: (17) : bisync filters-file=/tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:46 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:46 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:46 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/14 20:27:46 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:46 INFO : Using filters file /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:46 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:46 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:46 NOTICE: Bisync error: bisync aborted 2024/11/14 20:27:46 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/14 20:27:46 NOTICE: (19) : bisync filters-file=/tmp/202734zu/workdir/filtersfile.txt resync dry-run 2024/11/14 20:27:47 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:47 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:47 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/14 20:27:47 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:47 INFO : Using filters file /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:47 INFO : Skipped storing filters file hash to /tmp/202734zu/workdir/filtersfile.txt.md5 as --dry-run is set 2024/11/14 20:27:47 INFO : Copying Path2 files to Path1 2024/11/14 20:27:47 NOTICE: - Path2 Resync is copying files to - Path1 2024/11/14 20:27:48 NOTICE: - Path1 Resync is copying files to - Path2 2024/11/14 20:27:48 INFO : Resync updating listings 2024/11/14 20:27:48 INFO : Bisync successful 2024/11/14 20:27:48 NOTICE: (20) : test 9. run with filters-file alone. should abort. 2024/11/14 20:27:48 NOTICE: (21) : bisync filters-file=/tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:49 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/14 20:27:49 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/14 20:27:49 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/14 20:27:49 INFO : Synching Path1 "/tmp/202734zu/filtersfile_checks/path1/" with Path2 "TestGoogleCloudStorage{juk_h}:rclone-test-lilazom0caho/202734zu/filtersfile_checks/path2/" 2024/11/14 20:27:49 INFO : Using filters file /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:49 ERROR : Bisync critical error: filters file has changed (must run --resync): /tmp/202734zu/workdir/filtersfile.txt 2024/11/14 20:27:49 ERROR : Bisync aborted. Must run --resync to recover. 2024/11/14 20:27:49 NOTICE: Bisync error: bisync aborted bisync_test.go:556: TEST filtersfile_checks PASSED 2024/11/14 20:27:50 DEBUG : GCS bucket rclone-test-lilazom0caho: Purge dir "202734zu/path2" 2024/11/14 20:27:50 DEBUG : 202734zu/path2/: Removing directory marker 2024/11/14 20:27:50 DEBUG : GCS bucket rclone-test-lilazom0caho: Purge dir "202734zu/filtersfile_checks/path2" 2024/11/14 20:27:50 DEBUG : 202734zu/filtersfile_checks/path2/: Removing directory marker 2024/11/14 20:27:50 DEBUG : GCS bucket rclone-test-lilazom0caho: Purge dir "202734zu/filtersfile_checks" 2024/11/14 20:27:50 DEBUG : 202734zu/filtersfile_checks/: Removing directory marker 2024/11/14 20:27:50 NOTICE: purge failed to rmdir "202734zu/filtersfile_checks": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-lilazom0caho/202734zu/filtersfile_checks/, notFound 2024/11/14 20:27:50 DEBUG : GCS bucket rclone-test-lilazom0caho: Purge dir "202734zu" 2024/11/14 20:27:50 DEBUG : 202734zu/: Removing directory marker 2024/11/14 20:27:51 NOTICE: purge failed to rmdir "202734zu": removing directory marker failed: googleapi: Error 404: No such object: rclone-test-lilazom0caho/202734zu/, notFound 2024/11/14 20:27:51 DEBUG : GCS bucket rclone-test-lilazom0caho: Purge dir "" --- PASS: TestBisyncLocalRemote (18.04s) --- PASS: TestBisyncLocalRemote/filtersfile_checks (16.21s) PASS 2024/11/14 20:27:52 DEBUG : GCS bucket rclone-test-nafahud1hati: Purge dir "" 2024/11/14 20:27:52 NOTICE: purge failed to rmdir "": googleapi: Error 404: The specified bucket does not exist., notFound 2024/11/14 20:27:52 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote 'TestGoogleCloudStorage,directory_markers:' -verbose -test.run '^TestBisyncLocalRemote$/^filtersfile_checks$|^TestBisyncRemoteLocal$/^(check_sync|filtersfile_checks)$'" - Finished OK in 48.552287854s (try 5/5)