"./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncRemoteLocal$/^createemptysrcdirs$'" - Starting (try 3/5) 2025/01/13 05:19:21 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-bimerul2weco" 2025/01/13 05:19:21 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/13 05:19:22 DEBUG : Starting OpenDrive session with ID: f22ad311f91324ab8c8c17c808b2e2a0f4f0d956e268b3c100e2b1dad5e5ef64 2025/01/13 05:19:22 DEBUG : Creating backend with remote "/tmp/rclone3540294220" === RUN TestBisyncRemoteLocal 2025/01/13 05:19:22 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kumocoz9waxo" 2025/01/13 05:19:23 DEBUG : Starting OpenDrive session with ID: 4be23db603b5d7f76d7074391945a98d57b0da34d0d3a4b05a7447836755772e 2025/01/13 05:19:23 NOTICE: remote: TestOpenDrive:rclone-test-kumocoz9waxo === RUN TestBisyncRemoteLocal/createemptysrcdirs 2025/01/13 05:19:23 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe" 2025/01/13 05:19:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/13 05:19:23 DEBUG : Starting OpenDrive session with ID: a365e938ba0add22fb4157deb857d7e7bdce4b1cb477c8897a2fe23710c8935c 2025/01/13 05:19:24 INFO : path1: Making directory 2025/01/13 05:19:25 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1" 2025/01/13 05:19:25 DEBUG : Starting OpenDrive session with ID: 1ff8ef4620098af0a6c680ee5b69f59b60289a64460024ac5ea7d0eab63b03c6 2025/01/13 05:19:27 DEBUG : Creating backend with remote "/tmp/051923xe" 2025/01/13 05:19:27 DEBUG : Creating backend with remote "/tmp/051923xe/createemptysrcdirs/path2" 2025/01/13 05:19:27 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_createemptysrcdirs/initial" 2025/01/13 05:19:27 DEBUG : Creating backend with remote "/tmp/051923xe/initdir/test_createemptysrcdirs-vakevuy2" 2025/01/13 05:19:27 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:27 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/01/13 05:19:27 INFO : file1.copy1.txt: Copied (new) 2025/01/13 05:19:27 DEBUG : Local file system at /tmp/051923xe/initdir/test_createemptysrcdirs-vakevuy2: Waiting for checks to finish 2025/01/13 05:19:27 DEBUG : Local file system at /tmp/051923xe/initdir/test_createemptysrcdirs-vakevuy2: Waiting for transfers to finish 2025/01/13 05:19:27 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:27 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:27 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/01/13 05:19:27 INFO : file1.copy2.txt: Copied (new) 2025/01/13 05:19:27 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/01/13 05:19:27 INFO : file1.copy3.txt: Copied (new) 2025/01/13 05:19:27 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:27 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/01/13 05:19:27 INFO : file1.copy4.txt: Copied (new) 2025/01/13 05:19:27 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:27 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/13 05:19:27 INFO : file1.txt: Copied (new) 2025/01/13 05:19:27 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:27 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/13 05:19:27 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/13 05:19:27 INFO : RCLONE_TEST: Copied (new) 2025/01/13 05:19:27 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/01/13 05:19:27 INFO : file1.copy5.txt: Copied (new) 2025/01/13 05:19:27 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_createemptysrcdirs/modfiles" 2025/01/13 05:19:27 DEBUG : Creating backend with remote "/tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0" 2025/01/13 05:19:27 DEBUG : placeholder.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : Local file system at /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0: Waiting for checks to finish 2025/01/13 05:19:27 DEBUG : Local file system at /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0: Waiting for transfers to finish 2025/01/13 05:19:27 DEBUG : placeholder.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:27 DEBUG : placeholder.txt.4db661ca.partial: renamed to: placeholder.txt 2025/01/13 05:19:27 INFO : placeholder.txt: Copied (new) 2025/01/13 05:19:27 ERROR : : error listing: directory not found 2025/01/13 05:19:27 ERROR : : error listing: directory not found 2025/01/13 05:19:27 NOTICE: checking initFs Local file system at /tmp/051923xe/initdir/test_createemptysrcdirs-vakevuy2 2025/01/13 05:19:27 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/13 05:19:27 DEBUG : OpenDrive root 'rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1': Waiting for checks to finish 2025/01/13 05:19:27 DEBUG : OpenDrive root 'rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1': Waiting for transfers to finish 2025/01/13 05:19:31 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:31 INFO : file1.copy2.txt: Copied (new) 2025/01/13 05:19:31 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:31 INFO : file1.copy3.txt: Copied (new) 2025/01/13 05:19:32 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:32 INFO : file1.copy4.txt: Copied (new) 2025/01/13 05:19:33 DEBUG : RCLONE_TEST: Uploading chunk 0, size=109, remain=0 2025/01/13 05:19:33 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:33 INFO : file1.copy5.txt: Copied (new) 2025/01/13 05:19:33 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:33 INFO : file1.copy1.txt: Copied (new) 2025/01/13 05:19:33 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:33 INFO : file1.txt: Copied (new) 2025/01/13 05:19:34 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/13 05:19:34 INFO : RCLONE_TEST: Copied (new) 2025/01/13 05:19:34 NOTICE: checking Path1 OpenDrive root 'rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1' 2025/01/13 05:19:34 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/01/13 05:19:34 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:34 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:34 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:34 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:34 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:34 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/01/13 05:19:34 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:34 DEBUG : Local file system at /tmp/051923xe/createemptysrcdirs/path2: Waiting for checks to finish 2025/01/13 05:19:34 DEBUG : Local file system at /tmp/051923xe/createemptysrcdirs/path2: Waiting for transfers to finish 2025/01/13 05:19:34 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/01/13 05:19:34 INFO : file1.copy2.txt: Copied (new) 2025/01/13 05:19:34 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:34 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:34 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/01/13 05:19:34 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:34 INFO : file1.copy3.txt: Copied (new) 2025/01/13 05:19:34 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/01/13 05:19:34 INFO : file1.copy1.txt: Copied (new) 2025/01/13 05:19:34 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/01/13 05:19:34 INFO : file1.copy4.txt: Copied (new) 2025/01/13 05:19:34 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:34 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/01/13 05:19:34 INFO : file1.copy5.txt: Copied (new) 2025/01/13 05:19:34 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/01/13 05:19:34 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/01/13 05:19:34 INFO : file1.txt: Copied (new) 2025/01/13 05:19:34 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/01/13 05:19:34 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/01/13 05:19:34 INFO : RCLONE_TEST: Copied (new) 2025/01/13 05:19:34 NOTICE: checking path2 Local file system at /tmp/051923xe/createemptysrcdirs/path2 2025/01/13 05:19:34 NOTICE: (01) : test createemptysrcdirs 2025/01/13 05:19:34 NOTICE: (02) : test initial bisync 2025/01/13 05:19:34 NOTICE: (03) : touch-glob 2001-01-02 /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/ placeholder.txt 2025/01/13 05:19:34 NOTICE: (04) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.txt 2025/01/13 05:19:37 INFO : placeholder.txt: Copied (replaced existing) to: file1.txt 2025/01/13 05:19:37 NOTICE: (05) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy1.txt 2025/01/13 05:19:42 INFO : placeholder.txt: Copied (replaced existing) to: file1.copy1.txt 2025/01/13 05:19:42 NOTICE: (06) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy2.txt 2025/01/13 05:19:44 INFO : placeholder.txt: Copied (replaced existing) to: file1.copy2.txt 2025/01/13 05:19:44 NOTICE: (07) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy3.txt 2025/01/13 05:19:46 INFO : placeholder.txt: Copied (replaced existing) to: file1.copy3.txt 2025/01/13 05:19:46 NOTICE: (08) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy4.txt 2025/01/13 05:19:49 INFO : placeholder.txt: Copied (replaced existing) to: file1.copy4.txt 2025/01/13 05:19:49 NOTICE: (09) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy5.txt 2025/01/13 05:19:52 INFO : placeholder.txt: Copied (replaced existing) to: file1.copy5.txt 2025/01/13 05:19:52 NOTICE: (10) : bisync resync 2025/01/13 05:19:54 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/13 05:19:54 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/13 05:19:54 INFO : Synching Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" with Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:19:54 INFO : Copying Path2 files to Path1 2025/01/13 05:19:54 INFO : - Path2 Resync is copying files to - Path1 2025/01/13 05:19:55 INFO : - Path1 Resync is copying files to - Path2 2025/01/13 05:19:55 INFO : file1.copy2.txt: Updated modification time in destination 2025/01/13 05:19:55 INFO : file1.copy4.txt: Updated modification time in destination 2025/01/13 05:19:55 INFO : file1.copy1.txt: Updated modification time in destination 2025/01/13 05:19:55 INFO : file1.txt: Updated modification time in destination 2025/01/13 05:19:55 INFO : file1.copy5.txt: Updated modification time in destination 2025/01/13 05:19:55 INFO : file1.copy3.txt: Updated modification time in destination 2025/01/13 05:19:55 INFO : Resync updating listings 2025/01/13 05:19:55 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" vs Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:19:55 INFO : Bisync successful 2025/01/13 05:19:55 NOTICE: (11) : test 1. Create an empty dir on Path1 by creating subdir/placeholder.txt and then deleting the placeholder 2025/01/13 05:19:55 NOTICE: (12) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ subdir/placeholder.txt 2025/01/13 05:19:59 INFO : placeholder.txt: Copied (new) to: subdir/placeholder.txt 2025/01/13 05:19:59 NOTICE: (13) : touch-glob 2001-01-02 TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ subdir 2025/01/13 05:20:01 NOTICE: (14) : delete-file TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/subdir/placeholder.txt 2025/01/13 05:20:02 INFO : placeholder.txt: Deleted 2025/01/13 05:20:02 NOTICE: (15) : test 2. Run bisync without --create-empty-src-dirs 2025/01/13 05:20:02 NOTICE: (16) : bisync 2025/01/13 05:20:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/13 05:20: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/01/13 05:20:04 INFO : Synching Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" with Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:04 INFO : Building Path1 and Path2 listings 2025/01/13 05:20:05 INFO : Path1 checking for diffs 2025/01/13 05:20:05 INFO : Path2 checking for diffs 2025/01/13 05:20:05 INFO : No changes found 2025/01/13 05:20:05 INFO : Updating listings 2025/01/13 05:20:05 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" vs Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:05 INFO : Bisync successful 2025/01/13 05:20:05 NOTICE: (17) : test 3. Confirm the subdir exists only on Path1 and not Path2 2025/01/13 05:20:05 NOTICE: (18) : list-dirs TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:20:05 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/01/13 05:20:05 NOTICE: (19) : list-dirs /tmp/051923xe/createemptysrcdirs/path2/ 2025/01/13 05:20:05 NOTICE: (20) : test 4.Run bisync WITH --create-empty-src-dirs 2025/01/13 05:20:05 NOTICE: (21) : bisync create-empty-src-dirs 2025/01/13 05:20:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/13 05:20: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/01/13 05:20:07 INFO : Synching Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" with Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:07 INFO : Building Path1 and Path2 listings 2025/01/13 05:20:08 INFO : Path1 checking for diffs 2025/01/13 05:20:08 INFO : - Path1 File is new - subdir 2025/01/13 05:20:08 INFO : Path1: 1 changes:  1 new,  0 modified,  0 deleted 2025/01/13 05:20:08 INFO : Path2 checking for diffs 2025/01/13 05:20:08 INFO : Applying changes 2025/01/13 05:20:08 INFO : - Path1 Queue copy to Path2 - /tmp/051923xe/createemptysrcdirs/path2/subdir 2025/01/13 05:20:08 INFO : - Path1 Do queued copies to - Path2 2025/01/13 05:20:08 INFO : subdir: Making directory 2025/01/13 05:20:08 INFO : Updating listings 2025/01/13 05:20:08 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" vs Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:08 INFO : Bisync successful 2025/01/13 05:20:08 NOTICE: (22) : test 5. Confirm the subdir exists on both paths 2025/01/13 05:20:08 NOTICE: (23) : list-dirs TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:20:09 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/01/13 05:20:09 NOTICE: (24) : list-dirs /tmp/051923xe/createemptysrcdirs/path2/ 2025/01/13 05:20:09 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/01/13 05:20:09 NOTICE: (25) : test 6. Delete the empty dir on Path1 using purge-children (and also add files so the path isn't empty) 2025/01/13 05:20:09 NOTICE: (26) : purge-children TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:20:11 NOTICE: (27) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.txt 2025/01/13 05:20:14 INFO : placeholder.txt: Copied (new) to: file1.txt 2025/01/13 05:20:14 NOTICE: (28) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy1.txt 2025/01/13 05:20:18 INFO : placeholder.txt: Copied (new) to: file1.copy1.txt 2025/01/13 05:20:18 NOTICE: (29) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy2.txt 2025/01/13 05:20:21 INFO : placeholder.txt: Copied (new) to: file1.copy2.txt 2025/01/13 05:20:21 NOTICE: (30) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy3.txt 2025/01/13 05:20:24 INFO : placeholder.txt: Copied (new) to: file1.copy3.txt 2025/01/13 05:20:24 NOTICE: (31) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy4.txt 2025/01/13 05:20:26 INFO : placeholder.txt: Copied (new) to: file1.copy4.txt 2025/01/13 05:20:26 NOTICE: (32) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy5.txt 2025/01/13 05:20:29 INFO : placeholder.txt: Copied (new) to: file1.copy5.txt 2025/01/13 05:20:29 NOTICE: (33) : test 7. Run bisync without --create-empty-src-dirs 2025/01/13 05:20:29 NOTICE: (34) : bisync 2025/01/13 05:20:31 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/13 05:20:31 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/13 05:20:31 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/13 05:20:31 INFO : Synching Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" with Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:31 INFO : Building Path1 and Path2 listings 2025/01/13 05:20:32 INFO : Path1 checking for diffs 2025/01/13 05:20:32 INFO : - Path1 File was deleted - RCLONE_TEST 2025/01/13 05:20:32 INFO : - Path1 File was deleted - subdir 2025/01/13 05:20:32 INFO : Path1: 2 changes:  0 new,  0 modified,  2 deleted 2025/01/13 05:20:32 INFO : Path2 checking for diffs 2025/01/13 05:20:32 INFO : - Path2 File was deleted - subdir 2025/01/13 05:20:32 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2025/01/13 05:20:32 INFO : Applying changes 2025/01/13 05:20:32 INFO : - Path2 Queue delete - /tmp/051923xe/createemptysrcdirs/path2/RCLONE_TEST 2025/01/13 05:20:32 INFO : - Path1 Do queued copies to - Path2 2025/01/13 05:20:32 INFO : RCLONE_TEST: Deleted 2025/01/13 05:20:32 INFO : Updating listings 2025/01/13 05:20:33 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" vs Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:33 INFO : Bisync successful 2025/01/13 05:20:33 NOTICE: (35) : test 8. Confirm the subdir exists only on Path2 and not Path1 2025/01/13 05:20:33 NOTICE: (36) : list-dirs TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:20:34 NOTICE: (37) : list-dirs /tmp/051923xe/createemptysrcdirs/path2/ 2025/01/13 05:20:34 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/01/13 05:20:34 NOTICE: (38) : test 9. Reset, do the delete again, and run bisync WITH --create-empty-src-dirs 2025/01/13 05:20:34 NOTICE: (39) : bisync resync create-empty-src-dirs 2025/01/13 05:20:36 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/13 05:20:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/13 05:20:36 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/13 05:20:36 INFO : Synching Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" with Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:36 INFO : Copying Path2 files to Path1 2025/01/13 05:20:36 INFO : - Path2 Resync is copying files to - Path1 2025/01/13 05:20:36 INFO : subdir: Making directory 2025/01/13 05:20:37 INFO : - Path1 Resync is copying files to - Path2 2025/01/13 05:20:37 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/13 05:20:37 INFO : Resync updating listings 2025/01/13 05:20:37 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" vs Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:20:37 INFO : Bisync successful 2025/01/13 05:20:37 NOTICE: (40) : list-dirs TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:20:37 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/01/13 05:20:37 NOTICE: (41) : list-dirs /tmp/051923xe/createemptysrcdirs/path2/ 2025/01/13 05:20:37 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/01/13 05:20:37 NOTICE: (42) : purge-children TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:20:39 NOTICE: (43) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.txt 2025/01/13 05:20:42 INFO : placeholder.txt: Copied (new) to: file1.txt 2025/01/13 05:20:42 NOTICE: (44) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy1.txt 2025/01/13 05:20:46 INFO : placeholder.txt: Copied (new) to: file1.copy1.txt 2025/01/13 05:20:46 NOTICE: (45) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy2.txt 2025/01/13 05:20:50 INFO : placeholder.txt: Copied (new) to: file1.copy2.txt 2025/01/13 05:20:50 NOTICE: (46) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy3.txt 2025/01/13 05:20:55 INFO : placeholder.txt: Copied (new) to: file1.copy3.txt 2025/01/13 05:20:55 NOTICE: (47) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy4.txt 2025/01/13 05:20:58 INFO : placeholder.txt: Copied (new) to: file1.copy4.txt 2025/01/13 05:20:58 NOTICE: (48) : copy-as /tmp/051923xe/datadir/test_createemptysrcdirs-bakicey0/placeholder.txt TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ file1.copy5.txt 2025/01/13 05:21:03 INFO : placeholder.txt: Copied (new) to: file1.copy5.txt 2025/01/13 05:21:03 NOTICE: (49) : list-dirs TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:21:03 NOTICE: (50) : list-dirs /tmp/051923xe/createemptysrcdirs/path2/ 2025/01/13 05:21:03 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/01/13 05:21:03 NOTICE: (51) : bisync create-empty-src-dirs 2025/01/13 05:21:05 INFO : subdir: Set directory modification time (using SetModTime) 2025/01/13 05:21:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/13 05:21: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/01/13 05:21:05 INFO : Synching Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" with Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:21:05 INFO : Building Path1 and Path2 listings 2025/01/13 05:21:06 INFO : Path1 checking for diffs 2025/01/13 05:21:06 INFO : - Path1 File was deleted - subdir 2025/01/13 05:21:06 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/01/13 05:21:06 INFO : Path2 checking for diffs 2025/01/13 05:21:06 INFO : Applying changes 2025/01/13 05:21:06 INFO : - Path2 Queue delete - /tmp/051923xe/createemptysrcdirs/path2/subdir 2025/01/13 05:21:06 INFO : - Path1 Do queued copies to - Path2 2025/01/13 05:21:06 INFO : subdir: Removing directory 2025/01/13 05:21:06 INFO : Updating listings 2025/01/13 05:21:06 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" vs Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:21:06 INFO : Bisync successful 2025/01/13 05:21:06 NOTICE: (52) : test 10. Confirm the subdir has been removed on both paths 2025/01/13 05:21:06 NOTICE: (53) : list-dirs TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/ 2025/01/13 05:21:06 NOTICE: (54) : list-dirs /tmp/051923xe/createemptysrcdirs/path2/ 2025/01/13 05:21:06 NOTICE: (55) : test 11. bisync again (because if we leave subdir in listings, test will fail due to mismatched modtime) 2025/01/13 05:21:06 NOTICE: (56) : bisync create-empty-src-dirs 2025/01/13 05:21:08 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/01/13 05:21:08 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/01/13 05:21:08 INFO : Synching Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" with Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:21:08 INFO : Building Path1 and Path2 listings 2025/01/13 05:21:09 INFO : Path1 checking for diffs 2025/01/13 05:21:09 INFO : Path2 checking for diffs 2025/01/13 05:21:09 INFO : No changes found 2025/01/13 05:21:09 INFO : Updating listings 2025/01/13 05:21:09 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-kumocoz9waxo/051923xe/createemptysrcdirs/path1/" vs Path2 "/tmp/051923xe/createemptysrcdirs/path2/" 2025/01/13 05:21:09 INFO : Bisync successful 2025/01/13 05:21:09 NOTICE: ---------------------------------------------------------- 2025/01/13 05:21:09 NOTICE: | MISCOMPARE -Golden vs +Results for test.log 2025/01/13 05:21:09 NOTICE: | @@ -139,0 +140 @@ 2025/01/13 05:21:09 NOTICE: | +INFO : subdir: Making directory 2025/01/13 05:21:09 NOTICE: ---------------------------------------------------------- bisync_test.go:558: TEST createemptysrcdirs FAILED - 1 MISCOMPARED FILES 2025/01/13 05:21:09 DEBUG : OpenDrive root 'rclone-test-kumocoz9waxo': Purge remote --- FAIL: TestBisyncRemoteLocal (108.08s) --- FAIL: TestBisyncRemoteLocal/createemptysrcdirs (106.30s) FAIL 2025/01/13 05:21:10 DEBUG : OpenDrive root 'rclone-test-bimerul2weco': Purge remote 2025/01/13 05:21:11 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncRemoteLocal$/^createemptysrcdirs$'" - Finished ERROR in 1m49.471531983s (try 3/5): exit status 1: Failed [TestBisyncRemoteLocal/createemptysrcdirs]