"./bisync.test -test.v -test.timeout 1h0m0s -remote TestKoofr: -verbose -test.run '^TestBisyncLocalRemote$/^resync$'" - Starting (try 2/5) === RUN TestBisyncLocalRemote 2025/06/14 03:12:29 NOTICE: remote: TestKoofr:rclone-test-raverat9zini === RUN TestBisyncLocalRemote/resync 2025/06/14 03:12:31 ERROR : error listing: directory not found 2025/06/14 03:12:31 ERROR : error listing: directory not found 2025/06/14 03:12:31 NOTICE: checking initFs Local file system at /tmp/031229go/initdir/test_resync-wuzejot6 2025/06/14 03:12:31 NOTICE: checking Path1 Local file system at /tmp/031229go/resync/path1 2025/06/14 03:12:33 NOTICE: checking path2 koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-raverat9zini/031229go/resync/path2 2025/06/14 03:12:33 NOTICE: (01) : test resync 2025/06/14 03:12:33 NOTICE: (02) : test 1. resync with empty path1, resulting in copying all content from path2. 2025/06/14 03:12:33 NOTICE: (03) : purge-children /tmp/031229go/resync/path1/ 2025/06/14 03:12:33 NOTICE: (04) : bisync resync 2025/06/14 03:12:34 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 03:12:34 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/14 03:12:34 INFO : Synching Path1 "/tmp/031229go/resync/path1/" with Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:34 INFO : Copying Path2 files to Path1 2025/06/14 03:12:34 INFO : - Path2 Resync is copying files to - Path1 2025/06/14 03:12:34 INFO : file2.txt: Copied (new) 2025/06/14 03:12:34 INFO : file3.txt: Copied (new) 2025/06/14 03:12:34 INFO : RCLONE_TEST: Copied (new) 2025/06/14 03:12:34 INFO : file4.txt: Copied (new) 2025/06/14 03:12:34 INFO : file5.txt: Copied (new) 2025/06/14 03:12:34 INFO : file6.txt: Copied (new) 2025/06/14 03:12:34 INFO : file1.txt: Copied (new) 2025/06/14 03:12:34 INFO : file7.txt: Copied (new) 2025/06/14 03:12:34 INFO : - Path1 Resync is copying files to - Path2 2025/06/14 03:12:34 INFO : Resync updating listings 2025/06/14 03:12:34 INFO : Validating listings for Path1 "/tmp/031229go/resync/path1/" vs Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:34 INFO : Bisync successful 2025/06/14 03:12:34 NOTICE: (05) : move-listings empty-path1 2025/06/14 03:12:34 NOTICE: (06) : test 2. resync with empty path2, resulting in syncing all content to path2. 2025/06/14 03:12:34 NOTICE: (07) : purge-children TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/ 2025/06/14 03:12:36 NOTICE: (08) : bisync resync 2025/06/14 03:12:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 03:12:36 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/14 03:12:36 INFO : Synching Path1 "/tmp/031229go/resync/path1/" with Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:36 INFO : Copying Path2 files to Path1 2025/06/14 03:12:36 INFO : - Path2 Resync is copying files to - Path1 2025/06/14 03:12:37 INFO : - Path1 Resync is copying files to - Path2 2025/06/14 03:12:37 INFO : file4.txt: Copied (new) 2025/06/14 03:12:37 INFO : file1.txt: Copied (new) 2025/06/14 03:12:37 INFO : file2.txt: Copied (new) 2025/06/14 03:12:37 INFO : file3.txt: Copied (new) 2025/06/14 03:12:37 INFO : file6.txt: Copied (new) 2025/06/14 03:12:37 INFO : file7.txt: Copied (new) 2025/06/14 03:12:37 INFO : file5.txt: Copied (new) 2025/06/14 03:12:37 INFO : RCLONE_TEST: Copied (new) 2025/06/14 03:12:37 INFO : Resync updating listings 2025/06/14 03:12:37 INFO : Validating listings for Path1 "/tmp/031229go/resync/path1/" vs Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:37 INFO : Bisync successful 2025/06/14 03:12:37 NOTICE: (09) : move-listings empty-path2 2025/06/14 03:12:37 NOTICE: (10) : test 3. exercise all of the various file difference scenarios during a resync. 2025/06/14 03:12:37 NOTICE: (11) : touch-glob 2002-02-02 /tmp/031229go/datadir/test_resync-liquxov6/ fileA.txt 2025/06/14 03:12:37 NOTICE: (12) : touch-glob 1999-09-09 /tmp/031229go/datadir/test_resync-liquxov6/ fileB.txt 2025/06/14 03:12:37 NOTICE: (13) : test = file - path1 - path2 - expected action - who wins 2025/06/14 03:12:37 NOTICE: (14) : test - file1.txt - exists - missing - sync path1 > path2 - path1 2025/06/14 03:12:37 NOTICE: (15) : delete-file TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/file1.txt 2025/06/14 03:12:38 NOTICE: (16) : test - file2.txt - missing - exists - copy path2 > path1 - path2 2025/06/14 03:12:38 NOTICE: (17) : delete-file /tmp/031229go/resync/path1/file2.txt 2025/06/14 03:12:38 NOTICE: (18) : test - file3.txt - exists - newer date - sync path1 > path2 - path1 2025/06/14 03:12:38 NOTICE: (19) : copy-as /tmp/031229go/datadir/test_resync-liquxov6/fileA.txt TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/ file3.txt 2025/06/14 03:12:40 NOTICE: (20) : test - file4.txt - missing - newer date - copy path2 > path1 - path2 2025/06/14 03:12:40 NOTICE: (21) : delete-file /tmp/031229go/resync/path1/file4.txt 2025/06/14 03:12:40 NOTICE: (22) : copy-as /tmp/031229go/datadir/test_resync-liquxov6/fileA.txt TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/ file4.txt 2025/06/14 03:12:41 NOTICE: (23) : test - file5.txt - exists - older date - sync path1 > path2 - path1 2025/06/14 03:12:41 NOTICE: (24) : copy-as /tmp/031229go/datadir/test_resync-liquxov6/fileB.txt TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/ file5.txt 2025/06/14 03:12:42 NOTICE: (25) : test - file6.txt - older date - newer date - sync path1 > path2 - path1 2025/06/14 03:12:42 NOTICE: (26) : copy-as /tmp/031229go/datadir/test_resync-liquxov6/fileB.txt /tmp/031229go/resync/path1/ file6.txt 2025/06/14 03:12:42 NOTICE: (27) : copy-as /tmp/031229go/datadir/test_resync-liquxov6/fileA.txt TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/ file6.txt 2025/06/14 03:12:43 NOTICE: (28) : test - file7.txt - exists - exists (same) - none - same 2025/06/14 03:12:43 NOTICE: (29) : test run bisync with resync 2025/06/14 03:12:43 NOTICE: (30) : bisync resync 2025/06/14 03:12:43 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 03:12:43 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/14 03:12:43 INFO : Synching Path1 "/tmp/031229go/resync/path1/" with Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:43 INFO : Copying Path2 files to Path1 2025/06/14 03:12:43 INFO : - Path2 Resync is copying files to - Path1 2025/06/14 03:12:43 INFO : file2.txt: Copied (new) 2025/06/14 03:12:43 INFO : file4.txt: Copied (new) 2025/06/14 03:12:43 INFO : - Path1 Resync is copying files to - Path2 2025/06/14 03:12:44 NOTICE: koofr:4266cdc3-3d29-4a88-ac94-738914c162b4:rclone-test-raverat9zini/031229go/resync/path2: Forced to upload files to set modification times on this backend. 2025/06/14 03:12:44 INFO : file6.txt: src and dst identical but can't set mod time without deleting and re-uploading 2025/06/14 03:12:44 INFO : file1.txt: Copied (new) 2025/06/14 03:12:44 INFO : file5.txt: Copied (replaced existing) 2025/06/14 03:12:44 INFO : file3.txt: Copied (replaced existing) 2025/06/14 03:12:44 INFO : file6.txt: Copied (replaced existing) 2025/06/14 03:12:44 INFO : Resync updating listings 2025/06/14 03:12:44 INFO : Validating listings for Path1 "/tmp/031229go/resync/path1/" vs Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:44 INFO : Bisync successful 2025/06/14 03:12:44 NOTICE: (31) : copy-listings mixed-diffs 2025/06/14 03:12:44 NOTICE: (32) : test run normal bisync 2025/06/14 03:12:44 NOTICE: (33) : bisync 2025/06/14 03:12:45 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 03:12:45 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/14 03:12:45 INFO : Synching Path1 "/tmp/031229go/resync/path1/" with Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:45 INFO : Building Path1 and Path2 listings 2025/06/14 03:12:45 INFO : Path1 checking for diffs 2025/06/14 03:12:45 INFO : Path2 checking for diffs 2025/06/14 03:12:45 INFO : No changes found 2025/06/14 03:12:45 INFO : Updating listings 2025/06/14 03:12:45 INFO : Validating listings for Path1 "/tmp/031229go/resync/path1/" vs Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:45 INFO : Bisync successful 2025/06/14 03:12:45 NOTICE: (34) : test 4. confirm critical error on normal sync of empty path. 2025/06/14 03:12:45 NOTICE: (35) : purge-children TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/ 2025/06/14 03:12:46 NOTICE: (36) : bisync 2025/06/14 03:12:47 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 03:12:47 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/06/14 03:12:47 INFO : Synching Path1 "/tmp/031229go/resync/path1/" with Path2 "TestKoofr:rclone-test-raverat9zini/031229go/resync/path2/" 2025/06/14 03:12:47 INFO : Building Path1 and Path2 listings 2025/06/14 03:12:47 INFO : Path1 checking for diffs 2025/06/14 03:12:47 INFO : Path2 checking for diffs 2025/06/14 03:12:47 ERROR : Empty current Path2 listing. Cannot sync to an empty directory: /tmp/031229go/workdir/tmp_031229go_resync_path1..TestKoofr_rclone-test-raverat9zini_031229go_resync_path2.path2.lst-new 2025/06/14 03:12:47 ERROR : Bisync critical error: empty current Path2 listing: /tmp/031229go/workdir/tmp_031229go_resync_path1..TestKoofr_rclone-test-raverat9zini_031229go_resync_path2.path2.lst-new 2025/06/14 03:12:47 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/14 03:12:47 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST resync PASSED --- PASS: TestBisyncLocalRemote (18.38s) --- PASS: TestBisyncLocalRemote/resync (17.62s) PASS 2025/06/14 03:12:48 ERROR : error listing: directory not found 2025/06/14 03:12:48 NOTICE: purge failed to rmdir "": directory not found 2025/06/14 03:12:48 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestKoofr: -verbose -test.run '^TestBisyncLocalRemote$/^resync$'" - Finished OK in 18.741588671s (try 2/5)