"./bisync.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^TestBisyncLocalRemote$/^resync$'" - Starting (try 4/5) === RUN TestBisyncLocalRemote 2025/06/14 06:05:35 NOTICE: remote: TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo === RUN TestBisyncLocalRemote/resync 2025/06/14 06:05:37 ERROR : error listing: directory not found 2025/06/14 06:05:38 ERROR : error listing: directory not found 2025/06/14 06:05:38 NOTICE: checking initFs Local file system at /tmp/060535xu/initdir/test_resync-haxugun3 2025/06/14 06:05:38 NOTICE: checking Path1 Local file system at /tmp/060535xu/resync/path1 2025/06/14 06:05:57 NOTICE: checking path2 Chunked 'TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2' 2025/06/14 06:05:57 NOTICE: (01) : test resync 2025/06/14 06:05:57 NOTICE: (02) : test 1. resync with empty path1, resulting in copying all content from path2. 2025/06/14 06:05:57 NOTICE: (03) : purge-children /tmp/060535xu/resync/path1/ 2025/06/14 06:05:57 NOTICE: (04) : bisync resync 2025/06/14 06:06:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 06:06:10 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 06:06:10 INFO : Synching Path1 "/tmp/060535xu/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:06:10 INFO : Copying Path2 files to Path1 2025/06/14 06:06:10 INFO : - Path2 Resync is copying files to - Path1 2025/06/14 06:06:10 INFO : file2.txt: Copied (new) 2025/06/14 06:06:10 INFO : file1.txt: Copied (new) 2025/06/14 06:06:11 INFO : file3.txt: Copied (new) 2025/06/14 06:06:11 INFO : file5.txt: Copied (new) 2025/06/14 06:06:11 INFO : file6.txt: Copied (new) 2025/06/14 06:06:11 INFO : file4.txt: Copied (new) 2025/06/14 06:06:11 INFO : file7.txt: Copied (new) 2025/06/14 06:06:12 INFO : RCLONE_TEST: Copied (new) 2025/06/14 06:06:12 INFO : - Path1 Resync is copying files to - Path2 2025/06/14 06:06:12 INFO : Resync updating listings 2025/06/14 06:06:12 INFO : Validating listings for Path1 "/tmp/060535xu/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:06:12 INFO : Bisync successful 2025/06/14 06:06:12 NOTICE: (05) : move-listings empty-path1 2025/06/14 06:06:12 NOTICE: (06) : test 2. resync with empty path2, resulting in syncing all content to path2. 2025/06/14 06:06:12 NOTICE: (07) : purge-children TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/ 2025/06/14 06:07:07 NOTICE: (08) : bisync resync 2025/06/14 06:07:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 06:07:18 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 06:07:18 INFO : Synching Path1 "/tmp/060535xu/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:07:18 INFO : Copying Path2 files to Path1 2025/06/14 06:07:18 INFO : - Path2 Resync is copying files to - Path1 2025/06/14 06:07:18 INFO : - Path1 Resync is copying files to - Path2 2025/06/14 06:07:23 INFO : file1.txt.rclone_chunk.001_u6mmzw: Moved (server-side) to: file1.txt 2025/06/14 06:07:23 INFO : file1.txt: Copied (new) 2025/06/14 06:07:23 INFO : file3.txt.rclone_chunk.001_u6mmad: Moved (server-side) to: file3.txt 2025/06/14 06:07:23 INFO : file3.txt: Copied (new) 2025/06/14 06:07:24 INFO : file2.txt.rclone_chunk.001_u6mn7g: Moved (server-side) to: file2.txt 2025/06/14 06:07:24 INFO : file2.txt: Copied (new) 2025/06/14 06:07:27 INFO : RCLONE_TEST.rclone_chunk.001_u6mmdd: Moved (server-side) to: RCLONE_TEST.rclone_chunk.001 2025/06/14 06:07:28 INFO : RCLONE_TEST.rclone_chunk.002_u6mmdd: Moved (server-side) to: RCLONE_TEST.rclone_chunk.002 2025/06/14 06:07:30 INFO : file5.txt.rclone_chunk.001_u6mq56: Moved (server-side) to: file5.txt 2025/06/14 06:07:30 INFO : file5.txt: Copied (new) 2025/06/14 06:07:30 INFO : file4.txt.rclone_chunk.001_u6mq2b: Moved (server-side) to: file4.txt 2025/06/14 06:07:30 INFO : file4.txt: Copied (new) 2025/06/14 06:07:30 INFO : file6.txt.rclone_chunk.001_u6msed: Moved (server-side) to: file6.txt 2025/06/14 06:07:30 INFO : file6.txt: Copied (new) 2025/06/14 06:07:30 INFO : RCLONE_TEST.rclone_chunk.003_u6mmdd: Moved (server-side) to: RCLONE_TEST.rclone_chunk.003 2025/06/14 06:07:33 INFO : RCLONE_TEST: Copied (new) 2025/06/14 06:07:35 INFO : file7.txt.rclone_chunk.001_u6mxhl: Moved (server-side) to: file7.txt 2025/06/14 06:07:35 INFO : file7.txt: Copied (new) 2025/06/14 06:07:35 INFO : Resync updating listings 2025/06/14 06:07:35 INFO : Validating listings for Path1 "/tmp/060535xu/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:07:35 INFO : Bisync successful 2025/06/14 06:07:35 NOTICE: (09) : move-listings empty-path2 2025/06/14 06:07:35 NOTICE: (10) : test 3. exercise all of the various file difference scenarios during a resync. 2025/06/14 06:07:35 NOTICE: (11) : touch-glob 2002-02-02 /tmp/060535xu/datadir/test_resync-qopowot5/ fileA.txt 2025/06/14 06:07:35 NOTICE: (12) : touch-glob 1999-09-09 /tmp/060535xu/datadir/test_resync-qopowot5/ fileB.txt 2025/06/14 06:07:35 NOTICE: (13) : test = file - path1 - path2 - expected action - who wins 2025/06/14 06:07:35 NOTICE: (14) : test - file1.txt - exists - missing - sync path1 > path2 - path1 2025/06/14 06:07:35 NOTICE: (15) : delete-file TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/file1.txt 2025/06/14 06:07:41 NOTICE: (16) : test - file2.txt - missing - exists - copy path2 > path1 - path2 2025/06/14 06:07:41 NOTICE: (17) : delete-file /tmp/060535xu/resync/path1/file2.txt 2025/06/14 06:07:41 NOTICE: (18) : test - file3.txt - exists - newer date - sync path1 > path2 - path1 2025/06/14 06:07:41 NOTICE: (19) : copy-as /tmp/060535xu/datadir/test_resync-qopowot5/fileA.txt TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/ file3.txt 2025/06/14 06:07:53 NOTICE: (20) : test - file4.txt - missing - newer date - copy path2 > path1 - path2 2025/06/14 06:07:53 NOTICE: (21) : delete-file /tmp/060535xu/resync/path1/file4.txt 2025/06/14 06:07:53 NOTICE: (22) : copy-as /tmp/060535xu/datadir/test_resync-qopowot5/fileA.txt TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/ file4.txt 2025/06/14 06:08:03 NOTICE: (23) : test - file5.txt - exists - older date - sync path1 > path2 - path1 2025/06/14 06:08:03 NOTICE: (24) : copy-as /tmp/060535xu/datadir/test_resync-qopowot5/fileB.txt TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/ file5.txt 2025/06/14 06:08:13 NOTICE: (25) : test - file6.txt - older date - newer date - sync path1 > path2 - path1 2025/06/14 06:08:13 NOTICE: (26) : copy-as /tmp/060535xu/datadir/test_resync-qopowot5/fileB.txt /tmp/060535xu/resync/path1/ file6.txt 2025/06/14 06:08:13 NOTICE: (27) : copy-as /tmp/060535xu/datadir/test_resync-qopowot5/fileA.txt TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/ file6.txt 2025/06/14 06:08:24 NOTICE: (28) : test - file7.txt - exists - exists (same) - none - same 2025/06/14 06:08:24 NOTICE: (29) : test run bisync with resync 2025/06/14 06:08:24 NOTICE: (30) : bisync resync 2025/06/14 06:08:34 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 06: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 } 2025/06/14 06:08:34 INFO : Synching Path1 "/tmp/060535xu/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:08:34 INFO : Copying Path2 files to Path1 2025/06/14 06:08:34 INFO : - Path2 Resync is copying files to - Path1 2025/06/14 06:08:35 INFO : file2.txt: Copied (new) 2025/06/14 06:08:35 INFO : file4.txt: Copied (new) 2025/06/14 06:08:35 INFO : - Path1 Resync is copying files to - Path2 2025/06/14 06:08:36 INFO : file6.txt: Updated modification time in destination 2025/06/14 06:08:40 INFO : file1.txt.rclone_chunk.001_u6or0x: Moved (server-side) to: file1.txt 2025/06/14 06:08:40 INFO : file1.txt: Copied (new) 2025/06/14 06:08:43 INFO : file3.txt: Deleted 2025/06/14 06:08:44 INFO : file5.txt: Deleted 2025/06/14 06:08:45 INFO : file5.txt.rclone_chunk.001_u6or9l: Moved (server-side) to: file5.txt 2025/06/14 06:08:45 INFO : file5.txt: Copied (replaced existing) 2025/06/14 06:08:45 INFO : file3.txt.rclone_chunk.001_u6orav: Moved (server-side) to: file3.txt 2025/06/14 06:08:45 INFO : file3.txt: Copied (replaced existing) 2025/06/14 06:08:45 INFO : Resync updating listings 2025/06/14 06:08:45 INFO : Validating listings for Path1 "/tmp/060535xu/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:08:45 INFO : Bisync successful 2025/06/14 06:08:45 NOTICE: (31) : copy-listings mixed-diffs 2025/06/14 06:08:45 NOTICE: (32) : test run normal bisync 2025/06/14 06:08:45 NOTICE: (33) : bisync 2025/06/14 06:08:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 06:08:57 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 06:08:57 INFO : Synching Path1 "/tmp/060535xu/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:08:57 INFO : Building Path1 and Path2 listings 2025/06/14 06:08:57 INFO : Path1 checking for diffs 2025/06/14 06:08:57 INFO : Path2 checking for diffs 2025/06/14 06:08:57 INFO : No changes found 2025/06/14 06:08:57 INFO : Updating listings 2025/06/14 06:08:57 INFO : Validating listings for Path1 "/tmp/060535xu/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:08:57 INFO : Bisync successful 2025/06/14 06:08:57 NOTICE: (34) : test 4. confirm critical error on normal sync of empty path. 2025/06/14 06:08:57 NOTICE: (35) : purge-children TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/ 2025/06/14 06:09:51 NOTICE: (36) : bisync 2025/06/14 06:10:01 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/06/14 06:10:01 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 06:10:01 INFO : Synching Path1 "/tmp/060535xu/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-yogexaf0bugo/060535xu/resync/path2/" 2025/06/14 06:10:01 INFO : Building Path1 and Path2 listings 2025/06/14 06:10:01 INFO : Path1 checking for diffs 2025/06/14 06:10:01 INFO : Path2 checking for diffs 2025/06/14 06:10:01 ERROR : Empty current Path2 listing. Cannot sync to an empty directory: /tmp/060535xu/workdir/tmp_060535xu_resync_path1..TestChunkerChunk50bYandex_rclone-test-yogexaf0bugo_060535xu_resync_path2.path2.lst-new 2025/06/14 06:10:01 ERROR : Bisync critical error: empty current Path2 listing: /tmp/060535xu/workdir/tmp_060535xu_resync_path1..TestChunkerChunk50bYandex_rclone-test-yogexaf0bugo_060535xu_resync_path2.path2.lst-new 2025/06/14 06:10:01 ERROR : Bisync aborted. Must run --resync to recover. 2025/06/14 06:10:01 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST resync PASSED --- PASS: TestBisyncLocalRemote (281.72s) --- PASS: TestBisyncLocalRemote/resync (271.88s) PASS 2025/06/14 06:10:17 NOTICE: purge failed: [404 - DiskNotFoundError] Resource not found. (Не удалось найти запрошенный ресурс.) "./bisync.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^TestBisyncLocalRemote$/^resync$'" - Finished OK in 4m42.604848868s (try 4/5)