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