"./bisync.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^TestBisyncRemoteLocal$/^resync$'" - Starting (try 3/5) === RUN TestBisyncRemoteLocal 2025/05/26 05:43:13 NOTICE: remote: TestYandex:rclone-test-nogafim3reba === RUN TestBisyncRemoteLocal/resync 2025/05/26 05:43:15 ERROR : error listing: directory not found 2025/05/26 05:43:15 ERROR : error listing: directory not found 2025/05/26 05:43:15 NOTICE: checking initFs Local file system at /tmp/054313wa/initdir/test_resync-rosepos7 2025/05/26 05:43:23 NOTICE: checking Path1 Yandex rclone-test-nogafim3reba/054313wa/resync/path1 2025/05/26 05:43:23 NOTICE: checking path2 Local file system at /tmp/054313wa/resync/path2 2025/05/26 05:43:23 NOTICE: (01) : test resync 2025/05/26 05:43:23 NOTICE: (02) : test 1. resync with empty path1, resulting in copying all content from path2. 2025/05/26 05:43:23 NOTICE: (03) : purge-children TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/ 2025/05/26 05:44:02 NOTICE: (04) : bisync resync 2025/05/26 05:44:12 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 05:44:12 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/26 05:44:12 INFO : Synching Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" with Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:44:12 INFO : Copying Path2 files to Path1 2025/05/26 05:44:12 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 05:44:14 INFO : file1.txt: Copied (new) 2025/05/26 05:44:14 INFO : RCLONE_TEST: Copied (new) 2025/05/26 05:44:15 INFO : file3.txt: Copied (new) 2025/05/26 05:44:16 INFO : file5.txt: Copied (new) 2025/05/26 05:44:17 INFO : file4.txt: Copied (new) 2025/05/26 05:44:17 INFO : file2.txt: Copied (new) 2025/05/26 05:44:17 INFO : file6.txt: Copied (new) 2025/05/26 05:44:18 INFO : file7.txt: Copied (new) 2025/05/26 05:44:18 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 05:44:19 INFO : Resync updating listings 2025/05/26 05:44:19 INFO : Validating listings for Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" vs Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:44:19 INFO : Bisync successful 2025/05/26 05:44:19 NOTICE: (05) : move-listings empty-path1 2025/05/26 05:44:19 NOTICE: (06) : test 2. resync with empty path2, resulting in syncing all content to path2. 2025/05/26 05:44:19 NOTICE: (07) : purge-children /tmp/054313wa/resync/path2/ 2025/05/26 05:44:19 NOTICE: (08) : bisync resync 2025/05/26 05:44:26 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 05:44:26 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/26 05:44:26 INFO : Synching Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" with Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:44:26 INFO : Copying Path2 files to Path1 2025/05/26 05:44:26 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 05:44:27 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 05:44:28 INFO : file3.txt: Copied (new) 2025/05/26 05:44:28 INFO : file2.txt: Copied (new) 2025/05/26 05:44:28 INFO : RCLONE_TEST: Copied (new) 2025/05/26 05:44:28 INFO : file4.txt: Copied (new) 2025/05/26 05:44:28 INFO : file5.txt: Copied (new) 2025/05/26 05:44:28 INFO : file7.txt: Copied (new) 2025/05/26 05:44:29 INFO : file1.txt: Copied (new) 2025/05/26 05:44:29 INFO : file6.txt: Copied (new) 2025/05/26 05:44:29 INFO : Resync updating listings 2025/05/26 05:44:29 INFO : Validating listings for Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" vs Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:44:29 INFO : Bisync successful 2025/05/26 05:44:29 NOTICE: (09) : move-listings empty-path2 2025/05/26 05:44:29 NOTICE: (10) : test 3. exercise all of the various file difference scenarios during a resync. 2025/05/26 05:44:29 NOTICE: (11) : touch-glob 2002-02-02 /tmp/054313wa/datadir/test_resync-tufajeh6/ fileA.txt 2025/05/26 05:44:29 NOTICE: (12) : touch-glob 1999-09-09 /tmp/054313wa/datadir/test_resync-tufajeh6/ fileB.txt 2025/05/26 05:44:29 NOTICE: (13) : test = file - path1 - path2 - expected action - who wins 2025/05/26 05:44:29 NOTICE: (14) : test - file1.txt - exists - missing - sync path1 > path2 - path1 2025/05/26 05:44:29 NOTICE: (15) : delete-file /tmp/054313wa/resync/path2/file1.txt 2025/05/26 05:44:29 NOTICE: (16) : test - file2.txt - missing - exists - copy path2 > path1 - path2 2025/05/26 05:44:29 NOTICE: (17) : delete-file TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/file2.txt 2025/05/26 05:44:35 NOTICE: (18) : test - file3.txt - exists - newer date - sync path1 > path2 - path1 2025/05/26 05:44:35 NOTICE: (19) : copy-as /tmp/054313wa/datadir/test_resync-tufajeh6/fileA.txt /tmp/054313wa/resync/path2/ file3.txt 2025/05/26 05:44:35 NOTICE: (20) : test - file4.txt - missing - newer date - copy path2 > path1 - path2 2025/05/26 05:44:35 NOTICE: (21) : delete-file TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/file4.txt 2025/05/26 05:44:40 NOTICE: (22) : copy-as /tmp/054313wa/datadir/test_resync-tufajeh6/fileA.txt /tmp/054313wa/resync/path2/ file4.txt 2025/05/26 05:44:40 NOTICE: (23) : test - file5.txt - exists - older date - sync path1 > path2 - path1 2025/05/26 05:44:40 NOTICE: (24) : copy-as /tmp/054313wa/datadir/test_resync-tufajeh6/fileB.txt /tmp/054313wa/resync/path2/ file5.txt 2025/05/26 05:44:40 NOTICE: (25) : test - file6.txt - older date - newer date - sync path1 > path2 - path1 2025/05/26 05:44:40 NOTICE: (26) : copy-as /tmp/054313wa/datadir/test_resync-tufajeh6/fileB.txt TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/ file6.txt 2025/05/26 05:44:43 NOTICE: (27) : copy-as /tmp/054313wa/datadir/test_resync-tufajeh6/fileA.txt /tmp/054313wa/resync/path2/ file6.txt 2025/05/26 05:44:43 NOTICE: (28) : test - file7.txt - exists - exists (same) - none - same 2025/05/26 05:44:43 NOTICE: (29) : test run bisync with resync 2025/05/26 05:44:43 NOTICE: (30) : bisync resync 2025/05/26 05:44:51 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 05:44:51 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/26 05:44:51 INFO : Synching Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" with Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:44:51 INFO : Copying Path2 files to Path1 2025/05/26 05:44:51 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 05:44:53 INFO : file4.txt: Copied (new) 2025/05/26 05:44:54 INFO : file2.txt: Copied (new) 2025/05/26 05:44:54 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 05:44:55 INFO : file6.txt: Updated modification time in destination 2025/05/26 05:44:55 INFO : file1.txt: Copied (new) 2025/05/26 05:44:55 INFO : file5.txt: Copied (replaced existing) 2025/05/26 05:44:56 INFO : file3.txt: Copied (replaced existing) 2025/05/26 05:44:56 INFO : Resync updating listings 2025/05/26 05:44:56 INFO : Validating listings for Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" vs Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:44:56 INFO : Bisync successful 2025/05/26 05:44:56 NOTICE: (31) : copy-listings mixed-diffs 2025/05/26 05:44:56 NOTICE: (32) : test run normal bisync 2025/05/26 05:44:56 NOTICE: (33) : bisync 2025/05/26 05:45:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 05:45:04 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/26 05:45:04 INFO : Synching Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" with Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:45:04 INFO : Building Path1 and Path2 listings 2025/05/26 05:45:05 INFO : Path1 checking for diffs 2025/05/26 05:45:05 INFO : Path2 checking for diffs 2025/05/26 05:45:05 INFO : No changes found 2025/05/26 05:45:05 INFO : Updating listings 2025/05/26 05:45:05 INFO : Validating listings for Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" vs Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:45:05 INFO : Bisync successful 2025/05/26 05:45:05 NOTICE: (34) : test 4. confirm critical error on normal sync of empty path. 2025/05/26 05:45:05 NOTICE: (35) : purge-children /tmp/054313wa/resync/path2/ 2025/05/26 05:45:05 NOTICE: (36) : bisync 2025/05/26 05:45:13 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 05:45:13 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/26 05:45:13 INFO : Synching Path1 "TestYandex:rclone-test-nogafim3reba/054313wa/resync/path1/" with Path2 "/tmp/054313wa/resync/path2/" 2025/05/26 05:45:13 INFO : Building Path1 and Path2 listings 2025/05/26 05:45:13 INFO : Path1 checking for diffs 2025/05/26 05:45:13 INFO : Path2 checking for diffs 2025/05/26 05:45:13 ERROR : Empty current Path2 listing. Cannot sync to an empty directory: /tmp/054313wa/workdir/TestYandex_rclone-test-nogafim3reba_054313wa_resync_path1..tmp_054313wa_resync_path2.path2.lst-new 2025/05/26 05:45:13 ERROR : Bisync critical error: empty current Path2 listing: /tmp/054313wa/workdir/TestYandex_rclone-test-nogafim3reba_054313wa_resync_path1..tmp_054313wa_resync_path2.path2.lst-new 2025/05/26 05:45:13 ERROR : Bisync aborted. Must run --resync to recover. 2025/05/26 05:45:13 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST resync PASSED --- PASS: TestBisyncRemoteLocal (144.91s) --- PASS: TestBisyncRemoteLocal/resync (135.47s) PASS 2025/05/26 05:45:38 NOTICE: purge failed: [404 - DiskNotFoundError] Resource not found. (Не удалось найти запрошенный ресурс.) "./bisync.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^TestBisyncRemoteLocal$/^resync$'" - Finished OK in 2m26.096000839s (try 3/5)