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