"./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncLocalRemote$/^createemptysrcdirs$'" - Starting (try 4/5) 2025/03/04 02:44:08 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-suhuleh3giwa" 2025/03/04 02:44:08 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/04 02:44:08 DEBUG : Starting OpenDrive session with ID: 1f8a3402282a9fc02811d63c9dee02d11e84bcb1a62209498615622f299fc9c8 2025/03/04 02:44:09 DEBUG : Creating backend with remote "/tmp/rclone2810453239" === RUN TestBisyncLocalRemote 2025/03/04 02:44:09 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kodufun8juta" 2025/03/04 02:44:09 DEBUG : Starting OpenDrive session with ID: c523a85327a049a08e997dda251dd4c3f1c896a29d94d0901af3db4cf0f77447 2025/03/04 02:44:10 NOTICE: remote: TestOpenDrive:rclone-test-kodufun8juta === RUN TestBisyncLocalRemote/createemptysrcdirs 2025/03/04 02:44:10 DEBUG : Creating backend with remote "/tmp/024410no" 2025/03/04 02:44:10 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/04 02:44:10 DEBUG : Creating backend with remote "/tmp/024410no/createemptysrcdirs/path1" 2025/03/04 02:44:10 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kodufun8juta/024410no" 2025/03/04 02:44:10 DEBUG : Starting OpenDrive session with ID: a199a3441738a6f9c2d3dc22bcd56e4b955d592b2d9fc005b6c91282f4ddd6d7 2025/03/04 02:44:10 INFO : path2: Making directory 2025/03/04 02:44:12 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2" 2025/03/04 02:44:12 DEBUG : Starting OpenDrive session with ID: 5fe344db9e8db47a3c5af0e31bdf26e7fa681cb6cae9c9e644ce4232fb866cc7 2025/03/04 02:44:13 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_createemptysrcdirs/initial" 2025/03/04 02:44:13 DEBUG : Creating backend with remote "/tmp/024410no/initdir/test_createemptysrcdirs-woninix9" 2025/03/04 02:44:13 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : Local file system at /tmp/024410no/initdir/test_createemptysrcdirs-woninix9: Waiting for checks to finish 2025/03/04 02:44:13 DEBUG : Local file system at /tmp/024410no/initdir/test_createemptysrcdirs-woninix9: Waiting for transfers to finish 2025/03/04 02:44:13 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:13 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/03/04 02:44:13 INFO : file1.copy1.txt: Copied (new) 2025/03/04 02:44:13 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:13 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/03/04 02:44:13 INFO : file1.copy2.txt: Copied (new) 2025/03/04 02:44:13 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:13 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/04 02:44:13 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/03/04 02:44:13 INFO : file1.copy3.txt: Copied (new) 2025/03/04 02:44:13 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:13 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/04 02:44:13 INFO : RCLONE_TEST: Copied (new) 2025/03/04 02:44:13 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:13 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/03/04 02:44:13 INFO : file1.copy4.txt: Copied (new) 2025/03/04 02:44:13 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:13 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/03/04 02:44:13 INFO : file1.copy5.txt: Copied (new) 2025/03/04 02:44:13 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/04 02:44:13 INFO : file1.txt: Copied (new) 2025/03/04 02:44:13 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_createemptysrcdirs/modfiles" 2025/03/04 02:44:13 DEBUG : Creating backend with remote "/tmp/024410no/datadir/test_createemptysrcdirs-dawixom7" 2025/03/04 02:44:13 DEBUG : placeholder.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:13 DEBUG : Local file system at /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7: Waiting for checks to finish 2025/03/04 02:44:13 DEBUG : Local file system at /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7: Waiting for transfers to finish 2025/03/04 02:44:13 DEBUG : placeholder.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:13 DEBUG : placeholder.txt.4db661ca.partial: renamed to: placeholder.txt 2025/03/04 02:44:13 INFO : placeholder.txt: Copied (new) 2025/03/04 02:44:13 ERROR : : error listing: directory not found 2025/03/04 02:44:14 ERROR : : error listing: directory not found 2025/03/04 02:44:14 NOTICE: checking initFs Local file system at /tmp/024410no/initdir/test_createemptysrcdirs-woninix9 2025/03/04 02:44:14 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : Local file system at /tmp/024410no/createemptysrcdirs/path1: Waiting for checks to finish 2025/03/04 02:44:14 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:14 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:14 DEBUG : Local file system at /tmp/024410no/createemptysrcdirs/path1: Waiting for transfers to finish 2025/03/04 02:44:14 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/03/04 02:44:14 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/04 02:44:14 INFO : file1.copy1.txt: Copied (new) 2025/03/04 02:44:14 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:14 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/03/04 02:44:14 INFO : file1.copy3.txt: Copied (new) 2025/03/04 02:44:14 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/03/04 02:44:14 INFO : file1.copy2.txt: Copied (new) 2025/03/04 02:44:14 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/04 02:44:14 INFO : RCLONE_TEST: Copied (new) 2025/03/04 02:44:14 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:14 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/03/04 02:44:14 INFO : file1.copy4.txt: Copied (new) 2025/03/04 02:44:14 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:14 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:14 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/04 02:44:14 INFO : file1.txt: Copied (new) 2025/03/04 02:44:14 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/03/04 02:44:14 INFO : file1.copy5.txt: Copied (new) 2025/03/04 02:44:14 NOTICE: checking Path1 Local file system at /tmp/024410no/createemptysrcdirs/path1 2025/03/04 02:44:14 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/04 02:44:14 DEBUG : OpenDrive root 'rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2': Waiting for checks to finish 2025/03/04 02:44:14 DEBUG : OpenDrive root 'rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2': Waiting for transfers to finish 2025/03/04 02:44:17 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:17 INFO : file1.copy1.txt: Copied (new) 2025/03/04 02:44:17 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:17 INFO : file1.copy4.txt: Copied (new) 2025/03/04 02:44:17 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:17 INFO : file1.copy3.txt: Copied (new) 2025/03/04 02:44:17 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:17 INFO : file1.copy2.txt: Copied (new) 2025/03/04 02:44:18 DEBUG : RCLONE_TEST: Uploading chunk 0, size=109, remain=0 2025/03/04 02:44:18 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:18 INFO : file1.txt: Copied (new) 2025/03/04 02:44:19 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/04 02:44:19 INFO : RCLONE_TEST: Copied (new) 2025/03/04 02:44:19 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/04 02:44:19 INFO : file1.copy5.txt: Copied (new) 2025/03/04 02:44:19 NOTICE: checking path2 OpenDrive root 'rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2' 2025/03/04 02:44:19 NOTICE: (01) : test createemptysrcdirs 2025/03/04 02:44:19 NOTICE: (02) : test initial bisync 2025/03/04 02:44:19 NOTICE: (03) : touch-glob 2001-01-02 /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/ placeholder.txt 2025/03/04 02:44:19 NOTICE: (04) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.txt 2025/03/04 02:44:19 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:19 NOTICE: (05) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy1.txt 2025/03/04 02:44:19 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:19 NOTICE: (06) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy2.txt 2025/03/04 02:44:19 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:19 NOTICE: (07) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy3.txt 2025/03/04 02:44:19 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:19 NOTICE: (08) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy4.txt 2025/03/04 02:44:19 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:19 NOTICE: (09) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy5.txt 2025/03/04 02:44:19 INFO : placeholder.txt: Updated modification time in destination 2025/03/04 02:44:19 NOTICE: (10) : bisync resync 2025/03/04 02:44:21 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44:21 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:21 INFO : Synching Path1 "/tmp/024410no/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:21 INFO : Copying Path2 files to Path1 2025/03/04 02:44:21 INFO : - Path2 Resync is copying files to - Path1 2025/03/04 02:44:21 INFO : - Path1 Resync is copying files to - Path2 2025/03/04 02:44:22 INFO : file1.copy1.txt: Updated modification time in destination 2025/03/04 02:44:22 INFO : file1.copy4.txt: Updated modification time in destination 2025/03/04 02:44:22 INFO : file1.txt: Updated modification time in destination 2025/03/04 02:44:23 INFO : file1.copy5.txt: Updated modification time in destination 2025/03/04 02:44:23 INFO : file1.copy2.txt: Updated modification time in destination 2025/03/04 02:44:23 INFO : file1.copy3.txt: Updated modification time in destination 2025/03/04 02:44:23 INFO : Resync updating listings 2025/03/04 02:44:23 INFO : Validating listings for Path1 "/tmp/024410no/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:23 INFO : Bisync successful 2025/03/04 02:44:23 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:23 NOTICE: (12) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ subdir/placeholder.txt 2025/03/04 02:44:23 INFO : placeholder.txt: Copied (new) to: subdir/placeholder.txt 2025/03/04 02:44:23 NOTICE: (13) : touch-glob 2001-01-02 /tmp/024410no/createemptysrcdirs/path1/ subdir 2025/03/04 02:44:23 NOTICE: (14) : delete-file /tmp/024410no/createemptysrcdirs/path1/subdir/placeholder.txt 2025/03/04 02:44:23 INFO : placeholder.txt: Deleted 2025/03/04 02:44:23 NOTICE: (15) : test 2. Run bisync without --create-empty-src-dirs 2025/03/04 02:44:23 NOTICE: (16) : bisync 2025/03/04 02:44:25 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/04 02:44:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44:25 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:25 INFO : Synching Path1 "/tmp/024410no/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:25 INFO : Building Path1 and Path2 listings 2025/03/04 02:44:25 INFO : Path1 checking for diffs 2025/03/04 02:44:25 INFO : Path2 checking for diffs 2025/03/04 02:44:25 INFO : No changes found 2025/03/04 02:44:25 INFO : Updating listings 2025/03/04 02:44:25 INFO : Validating listings for Path1 "/tmp/024410no/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:25 INFO : Bisync successful 2025/03/04 02:44:25 NOTICE: (17) : test 3. Confirm the subdir exists only on Path1 and not Path2 2025/03/04 02:44:25 NOTICE: (18) : list-dirs /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:25 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:44:25 NOTICE: (19) : list-dirs TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/ 2025/03/04 02:44:27 NOTICE: (20) : test 4.Run bisync WITH --create-empty-src-dirs 2025/03/04 02:44:27 NOTICE: (21) : bisync create-empty-src-dirs 2025/03/04 02:44:29 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/04 02:44:29 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44:29 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:29 INFO : Synching Path1 "/tmp/024410no/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:29 INFO : Building Path1 and Path2 listings 2025/03/04 02:44:29 INFO : Path1 checking for diffs 2025/03/04 02:44:29 INFO : - Path1 File is new - subdir 2025/03/04 02:44:29 INFO : Path1: 1 changes:  1 new,  0 modified,  0 deleted 2025/03/04 02:44:29 INFO : Path2 checking for diffs 2025/03/04 02:44:29 INFO : Applying changes 2025/03/04 02:44:29 INFO : - Path1 Queue copy to Path2 - TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/subdir 2025/03/04 02:44:29 INFO : - Path1 Do queued copies to - Path2 2025/03/04 02:44:30 INFO : subdir: Making directory 2025/03/04 02:44:30 INFO : Updating listings 2025/03/04 02:44:30 INFO : Validating listings for Path1 "/tmp/024410no/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:30 INFO : Bisync successful 2025/03/04 02:44:30 NOTICE: (22) : test 5. Confirm the subdir exists on both paths 2025/03/04 02:44:30 NOTICE: (23) : list-dirs /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:30 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:44:30 NOTICE: (24) : list-dirs TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/ 2025/03/04 02:44:30 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:44:30 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:44:30 NOTICE: (26) : purge-children /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:30 INFO : subdir: Removing directory 2025/03/04 02:44:30 NOTICE: (27) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.txt 2025/03/04 02:44:30 INFO : placeholder.txt: Copied (new) to: file1.txt 2025/03/04 02:44:30 NOTICE: (28) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy1.txt 2025/03/04 02:44:30 INFO : placeholder.txt: Copied (new) to: file1.copy1.txt 2025/03/04 02:44:30 NOTICE: (29) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy2.txt 2025/03/04 02:44:30 INFO : placeholder.txt: Copied (new) to: file1.copy2.txt 2025/03/04 02:44:30 NOTICE: (30) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy3.txt 2025/03/04 02:44:30 INFO : placeholder.txt: Copied (new) to: file1.copy3.txt 2025/03/04 02:44:30 NOTICE: (31) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy4.txt 2025/03/04 02:44:30 INFO : placeholder.txt: Copied (new) to: file1.copy4.txt 2025/03/04 02:44:30 NOTICE: (32) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy5.txt 2025/03/04 02:44:30 INFO : placeholder.txt: Copied (new) to: file1.copy5.txt 2025/03/04 02:44:30 NOTICE: (33) : test 7. Run bisync without --create-empty-src-dirs 2025/03/04 02:44:30 NOTICE: (34) : bisync 2025/03/04 02:44:32 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44:32 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:32 INFO : Synching Path1 "/tmp/024410no/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:32 INFO : Building Path1 and Path2 listings 2025/03/04 02:44:33 INFO : Path1 checking for diffs 2025/03/04 02:44:33 INFO : - Path1 File was deleted - RCLONE_TEST 2025/03/04 02:44:33 INFO : - Path1 File was deleted - subdir 2025/03/04 02:44:33 INFO : Path1: 2 changes:  0 new,  0 modified,  2 deleted 2025/03/04 02:44:33 INFO : Path2 checking for diffs 2025/03/04 02:44:33 INFO : - Path2 File was deleted - subdir 2025/03/04 02:44:33 INFO : Path2: 1 changes:  0 new,  0 modified,  1 deleted 2025/03/04 02:44:33 INFO : Applying changes 2025/03/04 02:44:33 INFO : - Path2 Queue delete - TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/RCLONE_TEST 2025/03/04 02:44:33 INFO : - Path1 Do queued copies to - Path2 2025/03/04 02:44:33 INFO : RCLONE_TEST: Deleted 2025/03/04 02:44:33 INFO : Updating listings 2025/03/04 02:44:33 INFO : Validating listings for Path1 "/tmp/024410no/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:33 INFO : Bisync successful 2025/03/04 02:44:33 NOTICE: (35) : test 8. Confirm the subdir exists only on Path2 and not Path1 2025/03/04 02:44:33 NOTICE: (36) : list-dirs /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:33 NOTICE: (37) : list-dirs TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/ 2025/03/04 02:44:34 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:44:34 NOTICE: (38) : test 9. Reset, do the delete again, and run bisync WITH --create-empty-src-dirs 2025/03/04 02:44:34 NOTICE: (39) : bisync resync create-empty-src-dirs 2025/03/04 02:44:36 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44: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/03/04 02:44:36 INFO : Synching Path1 "/tmp/024410no/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:36 INFO : Copying Path2 files to Path1 2025/03/04 02:44:36 INFO : - Path2 Resync is copying files to - Path1 2025/03/04 02:44:36 INFO : subdir: Made directory with metadata (mtime=2025-03-04T02:44:30Z) 2025/03/04 02:44:36 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/04 02:44:36 INFO : - Path1 Resync is copying files to - Path2 2025/03/04 02:44:37 INFO : Resync updating listings 2025/03/04 02:44:37 INFO : Validating listings for Path1 "/tmp/024410no/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:37 INFO : Bisync successful 2025/03/04 02:44:37 NOTICE: (40) : list-dirs /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:37 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:44:37 NOTICE: (41) : list-dirs TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/ 2025/03/04 02:44:37 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:44:37 NOTICE: (42) : purge-children /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:37 INFO : subdir: Removing directory 2025/03/04 02:44:37 NOTICE: (43) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.txt 2025/03/04 02:44:37 INFO : placeholder.txt: Copied (new) to: file1.txt 2025/03/04 02:44:37 NOTICE: (44) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy1.txt 2025/03/04 02:44:37 INFO : placeholder.txt: Copied (new) to: file1.copy1.txt 2025/03/04 02:44:37 NOTICE: (45) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy2.txt 2025/03/04 02:44:37 INFO : placeholder.txt: Copied (new) to: file1.copy2.txt 2025/03/04 02:44:37 NOTICE: (46) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy3.txt 2025/03/04 02:44:37 INFO : placeholder.txt: Copied (new) to: file1.copy3.txt 2025/03/04 02:44:37 NOTICE: (47) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy4.txt 2025/03/04 02:44:37 INFO : placeholder.txt: Copied (new) to: file1.copy4.txt 2025/03/04 02:44:37 NOTICE: (48) : copy-as /tmp/024410no/datadir/test_createemptysrcdirs-dawixom7/placeholder.txt /tmp/024410no/createemptysrcdirs/path1/ file1.copy5.txt 2025/03/04 02:44:37 INFO : placeholder.txt: Copied (new) to: file1.copy5.txt 2025/03/04 02:44:37 NOTICE: (49) : list-dirs /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:37 NOTICE: (50) : list-dirs TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/ 2025/03/04 02:44:38 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/04 02:44:38 NOTICE: (51) : bisync create-empty-src-dirs 2025/03/04 02:44:40 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44: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/03/04 02:44:40 INFO : Synching Path1 "/tmp/024410no/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:40 INFO : Building Path1 and Path2 listings 2025/03/04 02:44:40 INFO : Path1 checking for diffs 2025/03/04 02:44:40 INFO : - Path1 File was deleted - subdir 2025/03/04 02:44:40 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/03/04 02:44:40 INFO : Path2 checking for diffs 2025/03/04 02:44:40 INFO : - Path2 File is new - modtime_write_test 2025/03/04 02:44:40 INFO : Path2: 1 changes:  1 new,  0 modified,  0 deleted 2025/03/04 02:44:40 INFO : Applying changes 2025/03/04 02:44:40 INFO : - Path2 Queue delete - TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/subdir 2025/03/04 02:44:40 INFO : - Path2 Queue copy to Path1 - /tmp/024410no/createemptysrcdirs/path1/modtime_write_test 2025/03/04 02:44:40 INFO : - Path2 Do queued copies to - Path1 2025/03/04 02:44:41 INFO : - Path1 Do queued copies to - Path2 2025/03/04 02:44:41 INFO : subdir: Removing directory 2025/03/04 02:44:41 INFO : Updating listings 2025/03/04 02:44:41 INFO : Validating listings for Path1 "/tmp/024410no/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:41 INFO : Bisync successful 2025/03/04 02:44:41 NOTICE: (52) : test 10. Confirm the subdir has been removed on both paths 2025/03/04 02:44:41 NOTICE: (53) : list-dirs /tmp/024410no/createemptysrcdirs/path1/ 2025/03/04 02:44:41 NOTICE: (54) : list-dirs TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/ 2025/03/04 02:44:42 NOTICE: (55) : test 11. bisync again (because if we leave subdir in listings, test will fail due to mismatched modtime) 2025/03/04 02:44:42 NOTICE: (56) : bisync create-empty-src-dirs 2025/03/04 02:44:44 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/04 02:44:44 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:44 INFO : Synching Path1 "/tmp/024410no/createemptysrcdirs/path1/" with Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:44 INFO : Building Path1 and Path2 listings 2025/03/04 02:44:44 INFO : Path1 checking for diffs 2025/03/04 02:44:44 INFO : Path2 checking for diffs 2025/03/04 02:44:44 INFO : No changes found 2025/03/04 02:44:44 INFO : Updating listings 2025/03/04 02:44:44 INFO : Validating listings for Path1 "/tmp/024410no/createemptysrcdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-kodufun8juta/024410no/createemptysrcdirs/path2/" 2025/03/04 02:44:44 INFO : Bisync successful 2025/03/04 02:44:44 NOTICE: ---------------------------------------------------------- 2025/03/04 02:44:44 NOTICE: MISCOMPARE - Number of Golden and Results files do not match: 2025/03/04 02:44:44 NOTICE: Golden count: 9 2025/03/04 02:44:44 NOTICE: Result count: 10 2025/03/04 02:44:44 NOTICE: Golden files: _testdir_path1.._testdir_path2.copy1to2.que, _testdir_path1.._testdir_path2.delete2.que, _testdir_path1.._testdir_path2.path1.lst, _testdir_path1.._testdir_path2.path1.lst-new, _testdir_path1.._testdir_path2.path1.lst-old, _testdir_path1.._testdir_path2.path2.lst, _testdir_path1.._testdir_path2.path2.lst-new, _testdir_path1.._testdir_path2.path2.lst-old, test.log 2025/03/04 02:44:44 NOTICE: Result files: _testdir_path1.._testdir_path2.copy1to2.que, _testdir_path1.._testdir_path2.copy2to1.que, _testdir_path1.._testdir_path2.delete2.que, _testdir_path1.._testdir_path2.path1.lst, _testdir_path1.._testdir_path2.path1.lst-new, _testdir_path1.._testdir_path2.path1.lst-old, _testdir_path1.._testdir_path2.path2.lst, _testdir_path1.._testdir_path2.path2.lst-new, _testdir_path1.._testdir_path2.path2.lst-old, test.log 2025/03/04 02:44:44 NOTICE: File found in Results but not in Golden: _testdir_path1.._testdir_path2.copy2to1.que 2025/03/04 02:44:44 NOTICE: ---------------------------------------------------------- 2025/03/04 02:44:44 NOTICE: | MISCOMPARE -Golden vs +Results for test.log 2025/03/04 02:44:44 NOTICE: | @@ -173,0 +174,2 @@ 2025/03/04 02:44:44 NOTICE: | +INFO : - Path2 File is new - modtime_write_test 2025/03/04 02:44:44 NOTICE: | +INFO : Path2: 1 changes:  1 new,  0 modified,  0 deleted 2025/03/04 02:44:44 NOTICE: | @@ -175,0 +178,2 @@ 2025/03/04 02:44:44 NOTICE: | +INFO : - Path2 Queue copy to Path1 - {path1/}modtime_write_test 2025/03/04 02:44:44 NOTICE: | +INFO : - Path2 Do queued copies to - Path1 2025/03/04 02:44:44 NOTICE: ---------------------------------------------------------- bisync_test.go:560: TEST createemptysrcdirs FAILED - 2 MISCOMPARED FILES 2025/03/04 02:44:44 DEBUG : OpenDrive root 'rclone-test-kodufun8juta': Purge remote --- FAIL: TestBisyncLocalRemote (36.08s) --- FAIL: TestBisyncLocalRemote/createemptysrcdirs (34.68s) FAIL 2025/03/04 02:44:45 DEBUG : OpenDrive root 'rclone-test-suhuleh3giwa': Purge remote 2025/03/04 02:44:45 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncLocalRemote$/^createemptysrcdirs$'" - Finished ERROR in 37.224816075s (try 4/5): exit status 1: Failed [TestBisyncLocalRemote/createemptysrcdirs]