"./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncLocalRemote$/^createemptysrcdirs$'" - Starting (try 5/5) 2025/03/04 02:44:45 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-beqosaf2sidu" 2025/03/04 02:44:45 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/04 02:44:46 DEBUG : Starting OpenDrive session with ID: 57ef5cb542182d5d9c0cae03f2ff2b3fe805122d95586c53b887d21ae2a23ba3 2025/03/04 02:44:46 DEBUG : Creating backend with remote "/tmp/rclone2551544585" === RUN TestBisyncLocalRemote 2025/03/04 02:44:46 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-wezahec9zume" 2025/03/04 02:44:46 DEBUG : Starting OpenDrive session with ID: c74c794d709eba85d3c7486296181327cb9912504f1c7425cfdcb68b116c7865 2025/03/04 02:44:47 NOTICE: remote: TestOpenDrive:rclone-test-wezahec9zume === RUN TestBisyncLocalRemote/createemptysrcdirs 2025/03/04 02:44:47 DEBUG : Creating backend with remote "/tmp/024447pu" 2025/03/04 02:44:47 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/04 02:44:47 DEBUG : Creating backend with remote "/tmp/024447pu/createemptysrcdirs/path1" 2025/03/04 02:44:47 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-wezahec9zume/024447pu" 2025/03/04 02:44:47 DEBUG : Starting OpenDrive session with ID: bbf8197c0016b2f2d4cd8b1099fd735e0055e678af2f6a4c46a1ee80a6d58aad 2025/03/04 02:44:48 INFO : path2: Making directory 2025/03/04 02:44:49 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2" 2025/03/04 02:44:49 DEBUG : Starting OpenDrive session with ID: ce4b6874972579215b87734b594369c7b28a7fa9b1ae26d2c4d3971b7fc14209 2025/03/04 02:44:50 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_createemptysrcdirs/initial" 2025/03/04 02:44:50 DEBUG : Creating backend with remote "/tmp/024447pu/initdir/test_createemptysrcdirs-cisuduq2" 2025/03/04 02:44:50 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : Local file system at /tmp/024447pu/initdir/test_createemptysrcdirs-cisuduq2: Waiting for checks to finish 2025/03/04 02:44:50 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:50 DEBUG : Local file system at /tmp/024447pu/initdir/test_createemptysrcdirs-cisuduq2: Waiting for transfers to finish 2025/03/04 02:44:50 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:50 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/03/04 02:44:50 INFO : file1.copy1.txt: Copied (new) 2025/03/04 02:44:50 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/04 02:44:50 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/04 02:44:50 INFO : RCLONE_TEST: Copied (new) 2025/03/04 02:44:50 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:50 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/03/04 02:44:50 INFO : file1.copy4.txt: Copied (new) 2025/03/04 02:44:50 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:50 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/03/04 02:44:50 INFO : file1.copy2.txt: Copied (new) 2025/03/04 02:44:50 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:50 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:50 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/03/04 02:44:50 INFO : file1.copy3.txt: Copied (new) 2025/03/04 02:44:50 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/03/04 02:44:50 INFO : file1.copy5.txt: Copied (new) 2025/03/04 02:44:50 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/04 02:44:50 INFO : file1.txt: Copied (new) 2025/03/04 02:44:50 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_createemptysrcdirs/modfiles" 2025/03/04 02:44:50 DEBUG : Creating backend with remote "/tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3" 2025/03/04 02:44:50 DEBUG : placeholder.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:50 DEBUG : Local file system at /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3: Waiting for checks to finish 2025/03/04 02:44:50 DEBUG : placeholder.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:50 DEBUG : placeholder.txt.4db661ca.partial: renamed to: placeholder.txt 2025/03/04 02:44:50 INFO : placeholder.txt: Copied (new) 2025/03/04 02:44:50 DEBUG : Local file system at /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3: Waiting for transfers to finish 2025/03/04 02:44:50 ERROR : : error listing: directory not found 2025/03/04 02:44:51 ERROR : : error listing: directory not found 2025/03/04 02:44:51 NOTICE: checking initFs Local file system at /tmp/024447pu/initdir/test_createemptysrcdirs-cisuduq2 2025/03/04 02:44:51 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : Local file system at /tmp/024447pu/createemptysrcdirs/path1: Waiting for checks to finish 2025/03/04 02:44:51 DEBUG : Local file system at /tmp/024447pu/createemptysrcdirs/path1: Waiting for transfers to finish 2025/03/04 02:44:51 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:51 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:51 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/03/04 02:44:51 INFO : file1.copy3.txt: Copied (new) 2025/03/04 02:44:51 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/03/04 02:44:51 INFO : file1.copy2.txt: Copied (new) 2025/03/04 02:44:51 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:51 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:51 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/04 02:44:51 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:51 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/03/04 02:44:51 INFO : file1.copy4.txt: Copied (new) 2025/03/04 02:44:51 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:51 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/04 02:44:51 INFO : file1.txt: Copied (new) 2025/03/04 02:44:51 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/03/04 02:44:51 INFO : file1.copy1.txt: Copied (new) 2025/03/04 02:44:51 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/04 02:44:51 INFO : RCLONE_TEST: Copied (new) 2025/03/04 02:44:51 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/03/04 02:44:51 INFO : file1.copy5.txt: Copied (new) 2025/03/04 02:44:51 NOTICE: checking Path1 Local file system at /tmp/024447pu/createemptysrcdirs/path1 2025/03/04 02:44:51 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/04 02:44:51 DEBUG : OpenDrive root 'rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2': Waiting for checks to finish 2025/03/04 02:44:51 DEBUG : OpenDrive root 'rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2': Waiting for transfers to finish 2025/03/04 02:44:53 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:53 INFO : file1.copy1.txt: Copied (new) 2025/03/04 02:44:54 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:54 INFO : file1.copy4.txt: Copied (new) 2025/03/04 02:44:54 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:54 INFO : file1.copy3.txt: Copied (new) 2025/03/04 02:44:54 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:54 INFO : file1.copy2.txt: Copied (new) 2025/03/04 02:44:55 DEBUG : RCLONE_TEST: Uploading chunk 0, size=109, remain=0 2025/03/04 02:44:55 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:55 INFO : file1.copy5.txt: Copied (new) 2025/03/04 02:44:55 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:55 INFO : file1.txt: Copied (new) 2025/03/04 02:44:56 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/04 02:44:56 INFO : RCLONE_TEST: Copied (new) 2025/03/04 02:44:56 NOTICE: checking path2 OpenDrive root 'rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2' 2025/03/04 02:44:56 NOTICE: (01) : test createemptysrcdirs 2025/03/04 02:44:56 NOTICE: (02) : test initial bisync 2025/03/04 02:44:56 NOTICE: (03) : touch-glob 2001-01-02 /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/ placeholder.txt 2025/03/04 02:44:56 NOTICE: (04) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.txt 2025/03/04 02:44:56 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:56 NOTICE: (05) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy1.txt 2025/03/04 02:44:56 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:56 NOTICE: (06) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy2.txt 2025/03/04 02:44:56 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:56 NOTICE: (07) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy3.txt 2025/03/04 02:44:56 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:56 NOTICE: (08) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy4.txt 2025/03/04 02:44:56 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:56 NOTICE: (09) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy5.txt 2025/03/04 02:44:56 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:56 NOTICE: (10) : bisync resync 2025/03/04 02:44:58 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44:58 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/04 02:44:58 INFO : Synching Path1 "/tmp/024447pu/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:44:58 INFO : Copying Path2 files to Path1 2025/03/04 02:44:58 INFO : - Path2 Resync is copying files to - Path1 2025/03/04 02:44:59 ERROR : modtime_write_test: Failed to copy: failed to open source object: failed to open file): File is deleted (Error 404) 2025/03/04 02:44:59 ERROR : Bisync critical error: failed to open source object: failed to open file): File is deleted (Error 404) 2025/03/04 02:44:59 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:44:59 NOTICE: Bisync error: bisync aborted 2025/03/04 02:44:59 NOTICE: (11) : test 1. Create an empty dir on Path1 by creating subdir/placeholder.txt and then deleting the placeholder 2025/03/04 02:44:59 NOTICE: (12) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ subdir/placeholder.txt 2025/03/04 02:44:59 INFO : placeholder.txt: Copied (new) to: subdir/placeholder.txt 2025/03/04 02:44:59 NOTICE: (13) : touch-glob 2001-01-02 /tmp/024447pu/createemptysrcdirs/path1/ subdir 2025/03/04 02:44:59 NOTICE: (14) : delete-file /tmp/024447pu/createemptysrcdirs/path1/subdir/placeholder.txt 2025/03/04 02:44:59 INFO : placeholder.txt: Deleted 2025/03/04 02:44:59 NOTICE: (15) : test 2. Run bisync without --create-empty-src-dirs 2025/03/04 02:44:59 NOTICE: (16) : bisync 2025/03/04 02:45:01 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/04 02:45:01 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:45: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/03/04 02:45:01 INFO : Synching Path1 "/tmp/024447pu/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:01 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/024447pu/workdir/tmp_024447pu_createemptysrcdirs_path1..TestOpenDrive_rclone-test-wezahec9zume_024447pu_createemptysrcdirs_path2.path1.lst Path2: /tmp/024447pu/workdir/tmp_024447pu_createemptysrcdirs_path1..TestOpenDrive_rclone-test-wezahec9zume_024447pu_createemptysrcdirs_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024447pu/workdir" 2025/03/04 02:45:01 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:45:01 NOTICE: Bisync error: bisync aborted 2025/03/04 02:45:01 NOTICE: (17) : test 3. Confirm the subdir exists only on Path1 and not Path2 2025/03/04 02:45:01 NOTICE: (18) : list-dirs /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:01 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:45:01 NOTICE: (19) : list-dirs TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/ 2025/03/04 02:45:03 NOTICE: (20) : test 4.Run bisync WITH --create-empty-src-dirs 2025/03/04 02:45:03 NOTICE: (21) : bisync create-empty-src-dirs 2025/03/04 02:45:05 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/04 02:45:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:45:05 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/04 02:45:05 INFO : Synching Path1 "/tmp/024447pu/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:05 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/024447pu/workdir/tmp_024447pu_createemptysrcdirs_path1..TestOpenDrive_rclone-test-wezahec9zume_024447pu_createemptysrcdirs_path2.path1.lst Path2: /tmp/024447pu/workdir/tmp_024447pu_createemptysrcdirs_path1..TestOpenDrive_rclone-test-wezahec9zume_024447pu_createemptysrcdirs_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024447pu/workdir" 2025/03/04 02:45:05 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:45:05 NOTICE: Bisync error: bisync aborted 2025/03/04 02:45:05 NOTICE: (22) : test 5. Confirm the subdir exists on both paths 2025/03/04 02:45:05 NOTICE: (23) : list-dirs /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:05 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:45:05 NOTICE: (24) : list-dirs TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/ 2025/03/04 02:45:05 NOTICE: (25) : test 6. Delete the empty dir on Path1 using purge-children (and also add files so the path isn't empty) 2025/03/04 02:45:05 NOTICE: (26) : purge-children /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:05 INFO : subdir: Removing directory 2025/03/04 02:45:05 NOTICE: (27) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.txt 2025/03/04 02:45:05 INFO : placeholder.txt: Copied (new) to: file1.txt 2025/03/04 02:45:05 NOTICE: (28) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy1.txt 2025/03/04 02:45:05 INFO : placeholder.txt: Copied (new) to: file1.copy1.txt 2025/03/04 02:45:05 NOTICE: (29) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy2.txt 2025/03/04 02:45:05 INFO : placeholder.txt: Copied (new) to: file1.copy2.txt 2025/03/04 02:45:05 NOTICE: (30) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy3.txt 2025/03/04 02:45:05 INFO : placeholder.txt: Copied (new) to: file1.copy3.txt 2025/03/04 02:45:05 NOTICE: (31) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy4.txt 2025/03/04 02:45:05 INFO : placeholder.txt: Copied (new) to: file1.copy4.txt 2025/03/04 02:45:05 NOTICE: (32) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy5.txt 2025/03/04 02:45:05 INFO : placeholder.txt: Copied (new) to: file1.copy5.txt 2025/03/04 02:45:05 NOTICE: (33) : test 7. Run bisync without --create-empty-src-dirs 2025/03/04 02:45:05 NOTICE: (34) : bisync 2025/03/04 02:45:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:45:07 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/04 02:45:07 INFO : Synching Path1 "/tmp/024447pu/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:07 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/024447pu/workdir/tmp_024447pu_createemptysrcdirs_path1..TestOpenDrive_rclone-test-wezahec9zume_024447pu_createemptysrcdirs_path2.path1.lst Path2: /tmp/024447pu/workdir/tmp_024447pu_createemptysrcdirs_path1..TestOpenDrive_rclone-test-wezahec9zume_024447pu_createemptysrcdirs_path2.path2.lst Try running this command to inspect the work dir: rclone lsl "/tmp/024447pu/workdir" 2025/03/04 02:45:07 ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:45:07 NOTICE: Bisync error: bisync aborted 2025/03/04 02:45:07 NOTICE: (35) : test 8. Confirm the subdir exists only on Path2 and not Path1 2025/03/04 02:45:07 NOTICE: (36) : list-dirs /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:07 NOTICE: (37) : list-dirs TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/ 2025/03/04 02:45:08 NOTICE: (38) : test 9. Reset, do the delete again, and run bisync WITH --create-empty-src-dirs 2025/03/04 02:45:08 NOTICE: (39) : bisync resync create-empty-src-dirs 2025/03/04 02:45:10 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:45: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/03/04 02:45:10 INFO : Synching Path1 "/tmp/024447pu/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:10 INFO : Copying Path2 files to Path1 2025/03/04 02:45:10 INFO : - Path2 Resync is copying files to - Path1 2025/03/04 02:45:10 INFO : RCLONE_TEST: Copied (new) 2025/03/04 02:45:10 INFO : - Path1 Resync is copying files to - Path2 2025/03/04 02:45:10 INFO : file1.copy1.txt: Updated modification time in destination 2025/03/04 02:45:11 INFO : file1.copy4.txt: Updated modification time in destination 2025/03/04 02:45:12 INFO : file1.copy2.txt: Updated modification time in destination 2025/03/04 02:45:12 INFO : file1.txt: Updated modification time in destination 2025/03/04 02:45:12 INFO : file1.copy5.txt: Updated modification time in destination 2025/03/04 02:45:12 INFO : file1.copy3.txt: Updated modification time in destination 2025/03/04 02:45:12 INFO : Resync updating listings 2025/03/04 02:45:12 INFO : Validating listings for Path1 "/tmp/024447pu/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:12 INFO : Bisync successful 2025/03/04 02:45:12 NOTICE: (40) : list-dirs /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:12 NOTICE: (41) : list-dirs TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/ 2025/03/04 02:45:12 NOTICE: (42) : purge-children /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:12 NOTICE: (43) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.txt 2025/03/04 02:45:12 INFO : placeholder.txt: Copied (new) to: file1.txt 2025/03/04 02:45:12 NOTICE: (44) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy1.txt 2025/03/04 02:45:12 INFO : placeholder.txt: Copied (new) to: file1.copy1.txt 2025/03/04 02:45:12 NOTICE: (45) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy2.txt 2025/03/04 02:45:12 INFO : placeholder.txt: Copied (new) to: file1.copy2.txt 2025/03/04 02:45:12 NOTICE: (46) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy3.txt 2025/03/04 02:45:12 INFO : placeholder.txt: Copied (new) to: file1.copy3.txt 2025/03/04 02:45:12 NOTICE: (47) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy4.txt 2025/03/04 02:45:12 INFO : placeholder.txt: Copied (new) to: file1.copy4.txt 2025/03/04 02:45:12 NOTICE: (48) : copy-as /tmp/024447pu/datadir/test_createemptysrcdirs-vobaxek3/placeholder.txt /tmp/024447pu/createemptysrcdirs/path1/ file1.copy5.txt 2025/03/04 02:45:12 INFO : placeholder.txt: Copied (new) to: file1.copy5.txt 2025/03/04 02:45:12 NOTICE: (49) : list-dirs /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:12 NOTICE: (50) : list-dirs TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/ 2025/03/04 02:45:13 NOTICE: (51) : bisync create-empty-src-dirs 2025/03/04 02:45:15 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:45:15 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/04 02:45:15 INFO : Synching Path1 "/tmp/024447pu/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:15 INFO : Building Path1 and Path2 listings 2025/03/04 02:45:15 INFO : Path1 checking for diffs 2025/03/04 02:45:15 INFO : - Path1 File was deleted - RCLONE_TEST 2025/03/04 02:45:15 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/03/04 02:45:15 INFO : Path2 checking for diffs 2025/03/04 02:45:15 INFO : Applying changes 2025/03/04 02:45:15 INFO : - Path2 Queue delete - TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/RCLONE_TEST 2025/03/04 02:45:15 INFO : - Path1 Do queued copies to - Path2 2025/03/04 02:45:15 INFO : RCLONE_TEST: Deleted 2025/03/04 02:45:15 INFO : Updating listings 2025/03/04 02:45:15 INFO : Validating listings for Path1 "/tmp/024447pu/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:15 INFO : Bisync successful 2025/03/04 02:45:15 NOTICE: (52) : test 10. Confirm the subdir has been removed on both paths 2025/03/04 02:45:15 NOTICE: (53) : list-dirs /tmp/024447pu/createemptysrcdirs/path1/ 2025/03/04 02:45:15 NOTICE: (54) : list-dirs TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/ 2025/03/04 02:45:15 NOTICE: (55) : test 11. bisync again (because if we leave subdir in listings, test will fail due to mismatched modtime) 2025/03/04 02:45:15 NOTICE: (56) : bisync create-empty-src-dirs 2025/03/04 02:45:17 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:45:17 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/03/04 02:45:17 INFO : Synching Path1 "/tmp/024447pu/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:17 INFO : Building Path1 and Path2 listings 2025/03/04 02:45:17 INFO : Path1 checking for diffs 2025/03/04 02:45:17 INFO : Path2 checking for diffs 2025/03/04 02:45:17 INFO : No changes found 2025/03/04 02:45:17 INFO : Updating listings 2025/03/04 02:45:17 INFO : Validating listings for Path1 "/tmp/024447pu/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-wezahec9zume/024447pu/createemptysrcdirs/path2/" 2025/03/04 02:45:17 INFO : Bisync successful 2025/03/04 02:45:17 NOTICE: ---------------------------------------------------------- 2025/03/04 02:45:17 NOTICE: | MISCOMPARE -Golden vs +Results for _testdir_path1.._testdir_path2.copy1to2.que 2025/03/04 02:45:17 NOTICE: | @@ -1 +1 @@ 2025/03/04 02:45:17 NOTICE: | -"subdir" 2025/03/04 02:45:17 NOTICE: | +"RCLONE_TEST" 2025/03/04 02:45:17 NOTICE: ---------------------------------------------------------- 2025/03/04 02:45:17 NOTICE: | MISCOMPARE -Golden vs +Results for _testdir_path1.._testdir_path2.delete2.que 2025/03/04 02:45:17 NOTICE: | @@ -1 +1 @@ 2025/03/04 02:45:17 NOTICE: | -"subdir" 2025/03/04 02:45:17 NOTICE: | +"RCLONE_TEST" 2025/03/04 02:45:17 NOTICE: ---------------------------------------------------------- 2025/03/04 02:45:17 NOTICE: | MISCOMPARE -Golden vs +Results for test.log 2025/03/04 02:45:17 NOTICE: | @@ -24,4 +24,4 @@ 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 Resync is copying files to - Path2 2025/03/04 02:45:17 NOTICE: | -INFO : Resync updating listings 2025/03/04 02:45:17 NOTICE: | -INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}" 2025/03/04 02:45:17 NOTICE: | -INFO : Bisync successful 2025/03/04 02:45:17 NOTICE: | +ERROR : modtime_write_test: Failed to copy: failed to open source object: failed to open file): File is deleted (Error 404) 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync critical error: failed to open source object: failed to open file): File is deleted (Error 404) 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:45:17 NOTICE: | +Bisync error: bisync aborted 2025/03/04 02:45:17 NOTICE: | @@ -45,7 +45,8 @@ 2025/03/04 02:45:17 NOTICE: | -INFO : Building Path1 and Path2 listings 2025/03/04 02:45:17 NOTICE: | -INFO : Path1 checking for diffs 2025/03/04 02:45:17 NOTICE: | -INFO : Path2 checking for diffs 2025/03/04 02:45:17 NOTICE: | -INFO : No changes found 2025/03/04 02:45:17 NOTICE: | -INFO : Updating listings 2025/03/04 02:45:17 NOTICE: | -INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}" 2025/03/04 02:45:17 NOTICE: | -INFO : Bisync successful 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run 2025/03/04 02:45:17 NOTICE: | +Tip: here are the filenames we were looking for. Do they exist? 2025/03/04 02:45:17 NOTICE: | +Path1: {workdir/}{session}.path1.lst 2025/03/04 02:45:17 NOTICE: | +Path2: {workdir/}{session}.path2.lst 2025/03/04 02:45:17 NOTICE: | +Try running this command to inspect the work dir: 2025/03/04 02:45:17 NOTICE: | +rclone lsl "{workdir}" 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:45:17 NOTICE: | +Bisync error: bisync aborted 2025/03/04 02:45:17 NOTICE: | @@ -69,11 +70,8 @@ 2025/03/04 02:45:17 NOTICE: | -INFO : Building Path1 and Path2 listings 2025/03/04 02:45:17 NOTICE: | -INFO : Path1 checking for diffs 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 File is new - subdir 2025/03/04 02:45:17 NOTICE: | -INFO : Path1: 1 changes:  1 new,  0 modified,  0 deleted 2025/03/04 02:45:17 NOTICE: | -INFO : Path2 checking for diffs 2025/03/04 02:45:17 NOTICE: | -INFO : Applying changes 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 Queue copy to Path2 - {path2/}subdir 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 Do queued copies to - Path2 2025/03/04 02:45:17 NOTICE: | -INFO : Updating listings 2025/03/04 02:45:17 NOTICE: | -INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}" 2025/03/04 02:45:17 NOTICE: | -INFO : Bisync successful 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run 2025/03/04 02:45:17 NOTICE: | +Tip: here are the filenames we were looking for. Do they exist? 2025/03/04 02:45:17 NOTICE: | +Path1: {workdir/}{session}.path1.lst 2025/03/04 02:45:17 NOTICE: | +Path2: {workdir/}{session}.path2.lst 2025/03/04 02:45:17 NOTICE: | +Try running this command to inspect the work dir: 2025/03/04 02:45:17 NOTICE: | +rclone lsl "{workdir}" 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:45:17 NOTICE: | +Bisync error: bisync aborted 2025/03/04 02:45:17 NOTICE: | @@ -84 +81,0 @@ 2025/03/04 02:45:17 NOTICE: | -subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:45:17 NOTICE: | @@ -106,14 +103,8 @@ 2025/03/04 02:45:17 NOTICE: | -INFO : Building Path1 and Path2 listings 2025/03/04 02:45:17 NOTICE: | -INFO : Path1 checking for diffs 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 File was deleted - RCLONE_TEST 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 File was deleted - subdir 2025/03/04 02:45:17 NOTICE: | -INFO : Path1: 2 changes:  0 new,  0 modified,  2 deleted 2025/03/04 02:45:17 NOTICE: | -INFO : Path2 checking for diffs 2025/03/04 02:45:17 NOTICE: | -INFO : - Path2 File was deleted - subdir 2025/03/04 02:45:17 NOTICE: | -INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2025/03/04 02:45:17 NOTICE: | -INFO : Applying changes 2025/03/04 02:45:17 NOTICE: | -INFO : - Path2 Queue delete - {path2/}RCLONE_TEST 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 Do queued copies to - Path2 2025/03/04 02:45:17 NOTICE: | -INFO : Updating listings 2025/03/04 02:45:17 NOTICE: | -INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}" 2025/03/04 02:45:17 NOTICE: | -INFO : Bisync successful 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run 2025/03/04 02:45:17 NOTICE: | +Tip: here are the filenames we were looking for. Do they exist? 2025/03/04 02:45:17 NOTICE: | +Path1: {workdir/}{session}.path1.lst 2025/03/04 02:45:17 NOTICE: | +Path2: {workdir/}{session}.path2.lst 2025/03/04 02:45:17 NOTICE: | +Try running this command to inspect the work dir: 2025/03/04 02:45:17 NOTICE: | +rclone lsl "{workdir}" 2025/03/04 02:45:17 NOTICE: | +ERROR : Bisync aborted. Must run --resync to recover. 2025/03/04 02:45:17 NOTICE: | +Bisync error: bisync aborted 2025/03/04 02:45:17 NOTICE: | @@ -123 +113,0 @@ 2025/03/04 02:45:17 NOTICE: | -subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:45:17 NOTICE: | @@ -144 +133,0 @@ 2025/03/04 02:45:17 NOTICE: | -subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:45:17 NOTICE: | @@ -146 +134,0 @@ 2025/03/04 02:45:17 NOTICE: | -subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:45:17 NOTICE: | @@ -156 +143,0 @@ 2025/03/04 02:45:17 NOTICE: | -subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:45:17 NOTICE: | @@ -171 +158 @@ 2025/03/04 02:45:17 NOTICE: | -INFO : - Path1 File was deleted - subdir 2025/03/04 02:45:17 NOTICE: | +INFO : - Path1 File was deleted - RCLONE_TEST 2025/03/04 02:45:17 NOTICE: | @@ -175 +162 @@ 2025/03/04 02:45:17 NOTICE: | -INFO : - Path2 Queue delete - {path2/}subdir 2025/03/04 02:45:17 NOTICE: | +INFO : - Path2 Queue delete - {path2/}RCLONE_TEST 2025/03/04 02:45:17 NOTICE: | @@ -177 +163,0 @@ 2025/03/04 02:45:17 NOTICE: | -INFO : subdir: Removing directory 2025/03/04 02:45:17 NOTICE: ---------------------------------------------------------- bisync_test.go:560: TEST createemptysrcdirs FAILED - 3 MISCOMPARED FILES 2025/03/04 02:45:18 DEBUG : OpenDrive root 'rclone-test-wezahec9zume': Purge remote --- FAIL: TestBisyncLocalRemote (32.56s) --- FAIL: TestBisyncLocalRemote/createemptysrcdirs (31.16s) FAIL 2025/03/04 02:45:18 DEBUG : OpenDrive root 'rclone-test-beqosaf2sidu': Purge remote 2025/03/04 02:45:19 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncLocalRemote$/^createemptysrcdirs$'" - Finished ERROR in 33.685019015s (try 5/5): exit status 1: Failed [TestBisyncLocalRemote/createemptysrcdirs]