"./bisync.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^TestBisyncLocalRemote$/^(resync|resync_modes|rmdirs|volatile)$'" - Starting (try 3/5) === RUN TestBisyncLocalRemote 2025/05/26 03:15:06 NOTICE: remote: TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi === RUN TestBisyncLocalRemote/resync 2025/05/26 03:15:09 ERROR : error listing: directory not found 2025/05/26 03:15:10 ERROR : error listing: directory not found 2025/05/26 03:15:10 NOTICE: checking initFs Local file system at /tmp/031506si/initdir/test_resync-mutafet7 2025/05/26 03:15:10 NOTICE: checking Path1 Local file system at /tmp/031506si/resync/path1 2025/05/26 03:15:28 NOTICE: checking path2 Chunked 'TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2' 2025/05/26 03:15:29 NOTICE: (01) : test resync 2025/05/26 03:15:29 NOTICE: (02) : test 1. resync with empty path1, resulting in copying all content from path2. 2025/05/26 03:15:29 NOTICE: (03) : purge-children /tmp/031506si/resync/path1/ 2025/05/26 03:15:29 NOTICE: (04) : bisync resync 2025/05/26 03:15:40 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:15:40 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 03:15:40 INFO : Synching Path1 "/tmp/031506si/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:15:40 INFO : Copying Path2 files to Path1 2025/05/26 03:15:40 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:15:40 INFO : file1.txt: Copied (new) 2025/05/26 03:15:40 INFO : file2.txt: Copied (new) 2025/05/26 03:15:41 INFO : file3.txt: Copied (new) 2025/05/26 03:15:41 INFO : file4.txt: Copied (new) 2025/05/26 03:15:41 INFO : file5.txt: Copied (new) 2025/05/26 03:15:41 INFO : file6.txt: Copied (new) 2025/05/26 03:15:41 INFO : file7.txt: Copied (new) 2025/05/26 03:15:42 INFO : RCLONE_TEST: Copied (new) 2025/05/26 03:15:42 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:15:43 INFO : Resync updating listings 2025/05/26 03:15:43 INFO : Validating listings for Path1 "/tmp/031506si/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:15:43 INFO : Bisync successful 2025/05/26 03:15:43 NOTICE: (05) : move-listings empty-path1 2025/05/26 03:15:43 NOTICE: (06) : test 2. resync with empty path2, resulting in syncing all content to path2. 2025/05/26 03:15:43 NOTICE: (07) : purge-children TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/ 2025/05/26 03:16:35 NOTICE: (08) : bisync resync 2025/05/26 03:16:45 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:16: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/05/26 03:16:45 INFO : Synching Path1 "/tmp/031506si/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:16:45 INFO : Copying Path2 files to Path1 2025/05/26 03:16:45 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:16:45 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:16:50 INFO : file2.txt.rclone_chunk.001_us26ep: Moved (server-side) to: file2.txt 2025/05/26 03:16:50 INFO : file2.txt: Copied (new) 2025/05/26 03:16:51 INFO : file3.txt.rclone_chunk.001_us26il: Moved (server-side) to: file3.txt 2025/05/26 03:16:51 INFO : file3.txt: Copied (new) 2025/05/26 03:16:52 INFO : file1.txt.rclone_chunk.001_us267n: Moved (server-side) to: file1.txt 2025/05/26 03:16:52 INFO : file1.txt: Copied (new) 2025/05/26 03:16:54 INFO : file4.txt.rclone_chunk.001_us2axn: Moved (server-side) to: file4.txt 2025/05/26 03:16:54 INFO : file4.txt: Copied (new) 2025/05/26 03:16:54 INFO : RCLONE_TEST.rclone_chunk.001_us26py: Moved (server-side) to: RCLONE_TEST.rclone_chunk.001 2025/05/26 03:16:56 INFO : RCLONE_TEST.rclone_chunk.002_us26py: Moved (server-side) to: RCLONE_TEST.rclone_chunk.002 2025/05/26 03:16:56 INFO : file5.txt.rclone_chunk.001_us2bxy: Moved (server-side) to: file5.txt 2025/05/26 03:16:56 INFO : file5.txt: Copied (new) 2025/05/26 03:16:57 INFO : file6.txt.rclone_chunk.001_us2c6j: Moved (server-side) to: file6.txt 2025/05/26 03:16:57 INFO : file6.txt: Copied (new) 2025/05/26 03:16:57 INFO : RCLONE_TEST.rclone_chunk.003_us26py: Moved (server-side) to: RCLONE_TEST.rclone_chunk.003 2025/05/26 03:17:01 INFO : file7.txt.rclone_chunk.001_us2e4k: Moved (server-side) to: file7.txt 2025/05/26 03:17:01 INFO : file7.txt: Copied (new) 2025/05/26 03:17:01 INFO : RCLONE_TEST: Copied (new) 2025/05/26 03:17:01 INFO : Resync updating listings 2025/05/26 03:17:01 INFO : Validating listings for Path1 "/tmp/031506si/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:17:01 INFO : Bisync successful 2025/05/26 03:17:01 NOTICE: (09) : move-listings empty-path2 2025/05/26 03:17:01 NOTICE: (10) : test 3. exercise all of the various file difference scenarios during a resync. 2025/05/26 03:17:01 NOTICE: (11) : touch-glob 2002-02-02 /tmp/031506si/datadir/test_resync-zibexin0/ fileA.txt 2025/05/26 03:17:01 NOTICE: (12) : touch-glob 1999-09-09 /tmp/031506si/datadir/test_resync-zibexin0/ fileB.txt 2025/05/26 03:17:01 NOTICE: (13) : test = file - path1 - path2 - expected action - who wins 2025/05/26 03:17:01 NOTICE: (14) : test - file1.txt - exists - missing - sync path1 > path2 - path1 2025/05/26 03:17:01 NOTICE: (15) : delete-file TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/file1.txt 2025/05/26 03:17:07 NOTICE: (16) : test - file2.txt - missing - exists - copy path2 > path1 - path2 2025/05/26 03:17:07 NOTICE: (17) : delete-file /tmp/031506si/resync/path1/file2.txt 2025/05/26 03:17:07 NOTICE: (18) : test - file3.txt - exists - newer date - sync path1 > path2 - path1 2025/05/26 03:17:07 NOTICE: (19) : copy-as /tmp/031506si/datadir/test_resync-zibexin0/fileA.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/ file3.txt 2025/05/26 03:17:18 NOTICE: (20) : test - file4.txt - missing - newer date - copy path2 > path1 - path2 2025/05/26 03:17:18 NOTICE: (21) : delete-file /tmp/031506si/resync/path1/file4.txt 2025/05/26 03:17:18 NOTICE: (22) : copy-as /tmp/031506si/datadir/test_resync-zibexin0/fileA.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/ file4.txt 2025/05/26 03:17:28 NOTICE: (23) : test - file5.txt - exists - older date - sync path1 > path2 - path1 2025/05/26 03:17:28 NOTICE: (24) : copy-as /tmp/031506si/datadir/test_resync-zibexin0/fileB.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/ file5.txt 2025/05/26 03:17:39 NOTICE: (25) : test - file6.txt - older date - newer date - sync path1 > path2 - path1 2025/05/26 03:17:39 NOTICE: (26) : copy-as /tmp/031506si/datadir/test_resync-zibexin0/fileB.txt /tmp/031506si/resync/path1/ file6.txt 2025/05/26 03:17:39 NOTICE: (27) : copy-as /tmp/031506si/datadir/test_resync-zibexin0/fileA.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/ file6.txt 2025/05/26 03:17:49 NOTICE: (28) : test - file7.txt - exists - exists (same) - none - same 2025/05/26 03:17:49 NOTICE: (29) : test run bisync with resync 2025/05/26 03:17:49 NOTICE: (30) : bisync resync 2025/05/26 03:17:59 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:17:59 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 03:17:59 INFO : Synching Path1 "/tmp/031506si/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:17:59 INFO : Copying Path2 files to Path1 2025/05/26 03:17:59 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:18:00 INFO : file2.txt: Copied (new) 2025/05/26 03:18:00 INFO : file4.txt: Copied (new) 2025/05/26 03:18:00 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:18:02 INFO : file6.txt: Updated modification time in destination 2025/05/26 03:18:06 INFO : file1.txt.rclone_chunk.001_us4901: Moved (server-side) to: file1.txt 2025/05/26 03:18:06 INFO : file1.txt: Copied (new) 2025/05/26 03:18:09 INFO : file3.txt: Deleted 2025/05/26 03:18:09 INFO : file5.txt: Deleted 2025/05/26 03:18:10 INFO : file3.txt.rclone_chunk.001_us49mt: Moved (server-side) to: file3.txt 2025/05/26 03:18:10 INFO : file3.txt: Copied (replaced existing) 2025/05/26 03:18:10 INFO : file5.txt.rclone_chunk.001_us49x6: Moved (server-side) to: file5.txt 2025/05/26 03:18:10 INFO : file5.txt: Copied (replaced existing) 2025/05/26 03:18:10 INFO : Resync updating listings 2025/05/26 03:18:10 INFO : Validating listings for Path1 "/tmp/031506si/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:18:10 INFO : Bisync successful 2025/05/26 03:18:10 NOTICE: (31) : copy-listings mixed-diffs 2025/05/26 03:18:10 NOTICE: (32) : test run normal bisync 2025/05/26 03:18:10 NOTICE: (33) : bisync 2025/05/26 03:18:20 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:18:20 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 03:18:20 INFO : Synching Path1 "/tmp/031506si/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:18:20 INFO : Building Path1 and Path2 listings 2025/05/26 03:18:20 INFO : Path1 checking for diffs 2025/05/26 03:18:20 INFO : Path2 checking for diffs 2025/05/26 03:18:20 INFO : No changes found 2025/05/26 03:18:20 INFO : Updating listings 2025/05/26 03:18:20 INFO : Validating listings for Path1 "/tmp/031506si/resync/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:18:20 INFO : Bisync successful 2025/05/26 03:18:20 NOTICE: (34) : test 4. confirm critical error on normal sync of empty path. 2025/05/26 03:18:20 NOTICE: (35) : purge-children TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/ 2025/05/26 03:19:14 NOTICE: (36) : bisync 2025/05/26 03:19:24 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:19:24 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 03:19:24 INFO : Synching Path1 "/tmp/031506si/resync/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync/path2/" 2025/05/26 03:19:24 INFO : Building Path1 and Path2 listings 2025/05/26 03:19:25 INFO : Path1 checking for diffs 2025/05/26 03:19:25 INFO : Path2 checking for diffs 2025/05/26 03:19:25 ERROR : Empty current Path2 listing. Cannot sync to an empty directory: /tmp/031506si/workdir/tmp_031506si_resync_path1..TestChunkerChunk50bYandex_rclone-test-qozokon4xuxi_031506si_resync_path2.path2.lst-new 2025/05/26 03:19:25 ERROR : Bisync critical error: empty current Path2 listing: /tmp/031506si/workdir/tmp_031506si_resync_path1..TestChunkerChunk50bYandex_rclone-test-qozokon4xuxi_031506si_resync_path2.path2.lst-new 2025/05/26 03:19:25 ERROR : Bisync aborted. Must run --resync to recover. 2025/05/26 03:19:25 NOTICE: Bisync error: bisync aborted bisync_test.go:560: TEST resync PASSED === RUN TestBisyncLocalRemote/resync_modes 2025/05/26 03:19:31 ERROR : error listing: directory not found 2025/05/26 03:19:31 ERROR : error listing: directory not found 2025/05/26 03:19:31 NOTICE: checking initFs Local file system at /tmp/031506si/initdir/test_resync_modes-joburav9 2025/05/26 03:19:31 NOTICE: checking Path1 Local file system at /tmp/031506si/resync_modes/path1 2025/05/26 03:19:47 NOTICE: checking path2 Chunked 'TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2' 2025/05/26 03:19:48 NOTICE: (01) : test resync-mode 2025/05/26 03:19:48 NOTICE: (02) : test changed on both paths and NOT identical - file1 (file1R, file1L) 2025/05/26 03:19:48 NOTICE: (03) : touch-glob 2001-01-02 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1R.txt 2025/05/26 03:19:48 NOTICE: (04) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file1.txt 2025/05/26 03:20:00 NOTICE: (05) : touch-glob 2001-03-04 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1L.txt 2025/05/26 03:20:00 NOTICE: (06) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt /tmp/031506si/resync_modes/path1/ file1.txt 2025/05/26 03:20:00 NOTICE: (07) : test bisync run with --resync-mode=newer 2025/05/26 03:20:00 NOTICE: (08) : bisync resync resync-mode=newer 2025/05/26 03:20:11 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:20:11 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 03:20:11 INFO : Synching Path1 "/tmp/031506si/resync_modes/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:20:11 INFO : Copying Path2 files to Path1 2025/05/26 03:20:11 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:20:12 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:20:20 INFO : file1.txt: Deleted 2025/05/26 03:20:23 INFO : file1.txt.rclone_chunk.001_us7wss: Moved (server-side) to: file1.txt 2025/05/26 03:20:23 INFO : file1.txt: Copied (replaced existing) 2025/05/26 03:20:23 INFO : Resync updating listings 2025/05/26 03:20:23 INFO : Validating listings for Path1 "/tmp/031506si/resync_modes/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:20:23 INFO : Bisync successful 2025/05/26 03:20:23 NOTICE: (09) : test changed on both paths and NOT identical - file1 (file1R, file1L) 2025/05/26 03:20:23 NOTICE: (10) : touch-glob 2001-07-23 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1R.txt 2025/05/26 03:20:23 NOTICE: (11) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file1.txt 2025/05/26 03:20:33 NOTICE: (12) : touch-glob 2001-08-26 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1L.txt 2025/05/26 03:20:33 NOTICE: (13) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt /tmp/031506si/resync_modes/path1/ file1.txt 2025/05/26 03:20:33 NOTICE: (14) : test bisync run with --resync-mode=path2 2025/05/26 03:20:33 NOTICE: (15) : bisync resync resync-mode=path2 2025/05/26 03:20:42 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:20:42 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 03:20:42 INFO : Synching Path1 "/tmp/031506si/resync_modes/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:20:42 INFO : Copying Path2 files to Path1 2025/05/26 03:20:42 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:20:43 INFO : file1.txt: Copied (replaced existing) 2025/05/26 03:20:43 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:20:44 INFO : Resync updating listings 2025/05/26 03:20:44 INFO : Validating listings for Path1 "/tmp/031506si/resync_modes/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:20:44 INFO : Bisync successful 2025/05/26 03:20:44 NOTICE: (16) : test changed on both paths and NOT identical - file1 (file1R, file1L) 2025/05/26 03:20:44 NOTICE: (17) : touch-glob 2002-07-23 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1R.txt 2025/05/26 03:20:44 NOTICE: (18) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file1.txt 2025/05/26 03:20:45 NOTICE: (19) : touch-glob 2002-08-26 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1L.txt 2025/05/26 03:20:45 NOTICE: (20) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt /tmp/031506si/resync_modes/path1/ file1.txt 2025/05/26 03:20:45 NOTICE: (21) : test bisync run with --resync-mode=larger 2025/05/26 03:20:45 NOTICE: (22) : bisync resync resync-mode=larger 2025/05/26 03:20:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:20:56 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 03:20:56 INFO : Synching Path1 "/tmp/031506si/resync_modes/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:20:56 INFO : Copying Path2 files to Path1 2025/05/26 03:20:56 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:20:56 INFO : file1.txt: Path2 is larger. Path1: 33, Path2: 42, Difference: 9 2025/05/26 03:20:56 INFO : file1.txt: Copied (replaced existing) 2025/05/26 03:20:56 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:20:57 INFO : Resync updating listings 2025/05/26 03:20:57 INFO : Validating listings for Path1 "/tmp/031506si/resync_modes/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:20:57 INFO : Bisync successful 2025/05/26 03:20:57 NOTICE: (23) : test changed on both paths and NOT identical - file1 (file1R, file1L) 2025/05/26 03:20:57 NOTICE: (24) : touch-glob 2003-07-23 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1R.txt 2025/05/26 03:20:57 NOTICE: (25) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file1.txt 2025/05/26 03:20:59 NOTICE: (26) : touch-glob 2003-09-04 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1L.txt 2025/05/26 03:20:59 NOTICE: (27) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt /tmp/031506si/resync_modes/path1/ file1.txt 2025/05/26 03:20:59 NOTICE: (28) : test bisync run with --resync-mode=older 2025/05/26 03:20:59 NOTICE: (29) : bisync resync resync-mode=older 2025/05/26 03:21:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:21: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/05/26 03:21:10 INFO : Synching Path1 "/tmp/031506si/resync_modes/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:21:10 INFO : Copying Path2 files to Path1 2025/05/26 03:21:10 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:21:10 INFO : file1.txt: Path2 is older. Path1: 2003-09-04 00:00:00 +0000 UTC, Path2: 2003-07-23 00:00:00 +0000 UTC, Difference: 1032h0m0s 2025/05/26 03:21:11 INFO : file1.txt: Copied (replaced existing) 2025/05/26 03:21:11 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:21:11 INFO : Resync updating listings 2025/05/26 03:21:11 INFO : Validating listings for Path1 "/tmp/031506si/resync_modes/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:21:11 INFO : Bisync successful 2025/05/26 03:21:11 NOTICE: (30) : test changed on both paths and NOT identical - file1 (file1R, file1L) 2025/05/26 03:21:11 NOTICE: (31) : touch-glob 2004-07-23 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1R.txt 2025/05/26 03:21:11 NOTICE: (32) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file1.txt 2025/05/26 03:21:13 NOTICE: (33) : touch-glob 2004-07-23 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1L.txt 2025/05/26 03:21:13 NOTICE: (34) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt /tmp/031506si/resync_modes/path1/ file1.txt 2025/05/26 03:21:13 NOTICE: (35) : test bisync run with --resync-mode=smaller 2025/05/26 03:21:13 NOTICE: (36) : bisync resync resync-mode=smaller 2025/05/26 03:21:23 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:21:23 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 03:21:23 INFO : Synching Path1 "/tmp/031506si/resync_modes/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:21:23 INFO : Copying Path2 files to Path1 2025/05/26 03:21:23 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:21:24 INFO : file1.txt: Path1 is smaller. Path1: 33, Path2: 42, Difference: 9 2025/05/26 03:21:24 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:21:25 INFO : file1.txt: Path1 is smaller. Path1: 33, Path2: 42, Difference: 9 2025/05/26 03:21:32 INFO : file1.txt: Deleted 2025/05/26 03:21:34 INFO : file1.txt.rclone_chunk.001_us9x1z: Moved (server-side) to: file1.txt 2025/05/26 03:21:34 INFO : file1.txt: Copied (replaced existing) 2025/05/26 03:21:34 INFO : Resync updating listings 2025/05/26 03:21:34 INFO : Validating listings for Path1 "/tmp/031506si/resync_modes/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:21:34 INFO : Bisync successful 2025/05/26 03:21:34 NOTICE: (37) : test changed on both paths and NOT identical - file1 (file1R, file1L) 2025/05/26 03:21:34 NOTICE: (38) : touch-glob 2005-01-02 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1R.txt 2025/05/26 03:21:34 NOTICE: (39) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file1.txt 2025/05/26 03:21:43 NOTICE: (40) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt /tmp/031506si/resync_modes/path1/ file2.txt 2025/05/26 03:21:43 NOTICE: (41) : touch-glob 2006-03-04 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1L.txt 2025/05/26 03:21:43 NOTICE: (42) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt /tmp/031506si/resync_modes/path1/ file1.txt 2025/05/26 03:21:43 NOTICE: (43) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file2.txt 2025/05/26 03:21:53 NOTICE: (44) : test bisync run with --resync-mode=path1 2025/05/26 03:21:53 NOTICE: (45) : bisync resync resync-mode=path1 2025/05/26 03:22:03 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:22:03 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 03:22:03 INFO : Synching Path1 "/tmp/031506si/resync_modes/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:22:03 INFO : Copying Path2 files to Path1 2025/05/26 03:22:03 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:22:03 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:22:11 INFO : file1.txt: Deleted 2025/05/26 03:22:12 INFO : file2.txt: Deleted 2025/05/26 03:22:13 INFO : file1.txt.rclone_chunk.001_usazl0: Moved (server-side) to: file1.txt 2025/05/26 03:22:13 INFO : file1.txt: Copied (replaced existing) 2025/05/26 03:22:15 INFO : file2.txt.rclone_chunk.001_usazas: Moved (server-side) to: file2.txt 2025/05/26 03:22:15 INFO : file2.txt: Copied (replaced existing) 2025/05/26 03:22:15 INFO : Resync updating listings 2025/05/26 03:22:15 INFO : Validating listings for Path1 "/tmp/031506si/resync_modes/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:22:15 INFO : Bisync successful 2025/05/26 03:22:15 NOTICE: (46) : test no winner 2025/05/26 03:22:15 NOTICE: (47) : touch-glob 2022-02-22 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1R.txt 2025/05/26 03:22:15 NOTICE: (48) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file1.txt 2025/05/26 03:22:27 NOTICE: (49) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1R.txt /tmp/031506si/resync_modes/path1/ file2.txt 2025/05/26 03:22:27 NOTICE: (50) : touch-glob 2022-02-22 /tmp/031506si/datadir/test_resync_modes-hexoyux5/ file1L.txt 2025/05/26 03:22:27 NOTICE: (51) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt /tmp/031506si/resync_modes/path1/ file1.txt 2025/05/26 03:22:27 NOTICE: (52) : copy-as /tmp/031506si/datadir/test_resync_modes-hexoyux5/file1L.txt TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/ file2.txt 2025/05/26 03:22:38 NOTICE: (53) : test bisync run with --resync-mode=newer 2025/05/26 03:22:38 NOTICE: (54) : bisync resync resync-mode=newer 2025/05/26 03:22:48 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:22:48 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 03:22:48 INFO : Synching Path1 "/tmp/031506si/resync_modes/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:22:48 INFO : Copying Path2 files to Path1 2025/05/26 03:22:48 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:22:49 INFO : file1.txt: Copied (replaced existing) 2025/05/26 03:22:49 INFO : file2.txt: Copied (replaced existing) 2025/05/26 03:22:49 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:22:49 INFO : Resync updating listings 2025/05/26 03:22:49 INFO : Validating listings for Path1 "/tmp/031506si/resync_modes/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/resync_modes/path2/" 2025/05/26 03:22:49 INFO : Bisync successful bisync_test.go:560: TEST resync_modes PASSED === RUN TestBisyncLocalRemote/rmdirs 2025/05/26 03:23:03 ERROR : error listing: directory not found 2025/05/26 03:23:03 ERROR : error listing: directory not found 2025/05/26 03:23:03 NOTICE: checking initFs Local file system at /tmp/031506si/initdir/test_rmdirs-sometij0 2025/05/26 03:23:03 NOTICE: checking Path1 Local file system at /tmp/031506si/rmdirs/path1 2025/05/26 03:23:21 NOTICE: checking path2 Chunked 'TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2' 2025/05/26 03:23:22 NOTICE: (01) : test rmdirs 2025/05/26 03:23:22 NOTICE: (02) : test initial bisync 2025/05/26 03:23:22 NOTICE: (03) : bisync resync 2025/05/26 03:23:33 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:23:33 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 03:23:33 INFO : Synching Path1 "/tmp/031506si/rmdirs/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/" 2025/05/26 03:23:33 INFO : Copying Path2 files to Path1 2025/05/26 03:23:33 INFO : - Path2 Resync is copying files to - Path1 2025/05/26 03:23:33 INFO : - Path1 Resync is copying files to - Path2 2025/05/26 03:23:34 INFO : Resync updating listings 2025/05/26 03:23:34 INFO : Validating listings for Path1 "/tmp/031506si/rmdirs/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/" 2025/05/26 03:23:34 INFO : Bisync successful 2025/05/26 03:23:34 NOTICE: (04) : test 1. delete path1 subdir file 2025/05/26 03:23:34 NOTICE: (05) : delete-file /tmp/031506si/rmdirs/path1/subdir/file20.txt 2025/05/26 03:23:34 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2025/05/26 03:23:34 NOTICE: (07) : bisync 2025/05/26 03:23:43 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:23: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/05/26 03:23:43 INFO : Synching Path1 "/tmp/031506si/rmdirs/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/" 2025/05/26 03:23:43 INFO : Building Path1 and Path2 listings 2025/05/26 03:23:44 INFO : Path1 checking for diffs 2025/05/26 03:23:44 INFO : - Path1 File was deleted - subdir/file20.txt 2025/05/26 03:23:44 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/05/26 03:23:44 INFO : Path2 checking for diffs 2025/05/26 03:23:44 INFO : Applying changes 2025/05/26 03:23:44 INFO : - Path2 Queue delete - TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/subdir/file20.txt 2025/05/26 03:23:44 INFO : - Path1 Do queued copies to - Path2 2025/05/26 03:23:50 INFO : subdir/file20.txt: Deleted 2025/05/26 03:23:50 INFO : Updating listings 2025/05/26 03:23:50 INFO : Validating listings for Path1 "/tmp/031506si/rmdirs/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/" 2025/05/26 03:23:50 INFO : Bisync successful 2025/05/26 03:23:50 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2025/05/26 03:23:50 NOTICE: (09) : list-dirs /tmp/031506si/rmdirs/path1/ 2025/05/26 03:23:50 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/05/26 03:23:50 NOTICE: (10) : list-dirs TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/ 2025/05/26 03:23:50 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/05/26 03:23:50 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2025/05/26 03:23:50 NOTICE: (12) : bisync remove-empty-dirs 2025/05/26 03:24:00 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/26 03:24:00 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 03:24:00 INFO : Synching Path1 "/tmp/031506si/rmdirs/path1/" with Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/" 2025/05/26 03:24:00 INFO : Building Path1 and Path2 listings 2025/05/26 03:24:00 INFO : Path1 checking for diffs 2025/05/26 03:24:00 INFO : Path2 checking for diffs 2025/05/26 03:24:00 INFO : No changes found 2025/05/26 03:24:00 INFO : Updating listings 2025/05/26 03:24:00 INFO : Validating listings for Path1 "/tmp/031506si/rmdirs/path1/" vs Path2 "TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/" 2025/05/26 03:24:00 INFO : Removing empty directories 2025/05/26 03:24:00 INFO : subdir: Removing directory 2025/05/26 03:24:01 INFO : subdir: Removing directory 2025/05/26 03:24:07 INFO : Bisync successful 2025/05/26 03:24:07 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2025/05/26 03:24:07 NOTICE: (14) : list-dirs /tmp/031506si/rmdirs/path1/ 2025/05/26 03:24:07 NOTICE: (15) : list-dirs TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/rmdirs/path2/ bisync_test.go:560: TEST rmdirs PASSED === RUN TestBisyncLocalRemote/volatile 2025/05/26 03:24:27 ERROR : error listing: directory not found 2025/05/26 03:24:27 ERROR : error listing: directory not found 2025/05/26 03:24:27 NOTICE: checking initFs Local file system at /tmp/031506si/initdir/test_volatile-pugaxes6 2025/05/26 03:24:27 NOTICE: checking Path1 Local file system at /tmp/031506si/volatile/path1 2025/05/26 03:24:45 NOTICE: checking path2 Chunked 'TestChunkerChunk50bYandex:rclone-test-qozokon4xuxi/031506si/volatile/path2' 2025/05/26 03:24:46 NOTICE: (01) : test volatile 2025/05/26 03:24:46 NOTICE: (02) : test initial bisync 2025/05/26 03:24:46 NOTICE: (03) : bisync resync bisync_test.go:937: skipping 'volatile' test on non-local as it requires uploading 100 files --- PASS: TestBisyncLocalRemote (597.68s) --- PASS: TestBisyncLocalRemote/resync (263.05s) --- PASS: TestBisyncLocalRemote/resync_modes (212.38s) --- PASS: TestBisyncLocalRemote/rmdirs (83.49s) --- SKIP: TestBisyncLocalRemote/volatile (20.90s) PASS 2025/05/26 03:25:04 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|resync_modes|rmdirs|volatile)$'" - Finished OK in 9m58.639679026s (try 3/5)