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