"./bisync.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestBisyncRemoteLocal$/^rmdirs$'" - Starting (try 3/5) 2024/12/15 01:29:59 DEBUG : Creating backend with remote "TestPcloud:rclone-test-hepicag5dijo" 2024/12/15 01:29:59 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/12/15 01:29:59 DEBUG : Creating backend with remote "/tmp/rclone1717785344" === RUN TestBisyncRemoteLocal 2024/12/15 01:29:59 DEBUG : Creating backend with remote "TestPcloud:rclone-test-humusix1sexo" 2024/12/15 01:30:00 NOTICE: remote: TestPcloud:rclone-test-humusix1sexo === RUN TestBisyncRemoteLocal/rmdirs 2024/12/15 01:30:00 DEBUG : Creating backend with remote "TestPcloud:rclone-test-humusix1sexo/013000be" 2024/12/15 01:30:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/12/15 01:30:00 DEBUG : path1: Making directory 2024/12/15 01:30:01 DEBUG : Creating backend with remote "TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1" 2024/12/15 01:30:02 DEBUG : Creating backend with remote "/tmp/013000be" 2024/12/15 01:30:02 DEBUG : Creating backend with remote "/tmp/013000be/rmdirs/path2" 2024/12/15 01:30:02 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/initial" 2024/12/15 01:30:02 DEBUG : Creating backend with remote "/tmp/013000be/initdir/test_rmdirs-tovovot2" 2024/12/15 01:30:02 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : subdir: Making directory with metadata 2024/12/15 01:30:02 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/12/15 01:30:02 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/12/15 01:30:02 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:02 DEBUG : Local file system at /tmp/013000be/initdir/test_rmdirs-tovovot2: Waiting for checks to finish 2024/12/15 01:30:02 DEBUG : Local file system at /tmp/013000be/initdir/test_rmdirs-tovovot2: Waiting for transfers to finish 2024/12/15 01:30:02 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:02 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2024/12/15 01:30:02 INFO : file1.copy2.txt: Copied (new) 2024/12/15 01:30:02 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2024/12/15 01:30:02 INFO : file1.copy1.txt: Copied (new) 2024/12/15 01:30:02 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:02 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:02 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2024/12/15 01:30:02 INFO : file1.copy3.txt: Copied (new) 2024/12/15 01:30:02 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2024/12/15 01:30:02 INFO : file1.copy4.txt: Copied (new) 2024/12/15 01:30:02 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:02 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:02 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2024/12/15 01:30:02 INFO : file1.copy5.txt: Copied (new) 2024/12/15 01:30:02 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/12/15 01:30:02 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/12/15 01:30:02 INFO : RCLONE_TEST: Copied (new) 2024/12/15 01:30:02 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:02 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/12/15 01:30:02 INFO : subdir/file20.txt: Copied (new) 2024/12/15 01:30:02 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/12/15 01:30:02 INFO : file1.txt: Copied (new) 2024/12/15 01:30:02 INFO : subdir: Set directory modification time (using SetModTime) 2024/12/15 01:30:02 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/modfiles" 2024/12/15 01:30:02 DEBUG : Creating backend with remote "/tmp/013000be/datadir/test_rmdirs-vozedan9" 2024/12/15 01:30:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : Local file system at /tmp/013000be/datadir/test_rmdirs-vozedan9: Waiting for checks to finish 2024/12/15 01:30:02 DEBUG : Local file system at /tmp/013000be/datadir/test_rmdirs-vozedan9: Waiting for transfers to finish 2024/12/15 01:30:02 DEBUG : file1.txt: md5 = 7fe98ed88552b828777d8630900346b8 OK 2024/12/15 01:30:02 DEBUG : file1.txt.13f42ab5.partial: renamed to: file1.txt 2024/12/15 01:30:02 INFO : file1.txt: Copied (new) 2024/12/15 01:30:02 ERROR : : error listing: directory not found 2024/12/15 01:30:02 NOTICE: checking initFs Local file system at /tmp/013000be/initdir/test_rmdirs-tovovot2 2024/12/15 01:30:02 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:02 DEBUG : subdir: Making directory 2024/12/15 01:30:03 DEBUG : RCLONE_TEST: sha1 = c799ac3b0eacf2b6fc3e741a7bea196aa129aab2 OK 2024/12/15 01:30:03 DEBUG : file1.copy1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/12/15 01:30:03 DEBUG : file1.copy2.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/12/15 01:30:03 DEBUG : file1.copy3.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/12/15 01:30:03 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:03 DEBUG : pcloud root 'rclone-test-humusix1sexo/013000be/rmdirs/path1': Waiting for checks to finish 2024/12/15 01:30:03 DEBUG : pcloud root 'rclone-test-humusix1sexo/013000be/rmdirs/path1': Waiting for transfers to finish 2024/12/15 01:30:03 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/12/15 01:30:03 INFO : RCLONE_TEST: Copied (new) 2024/12/15 01:30:03 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2024/12/15 01:30:03 INFO : file1.copy1.txt: Copied (new) 2024/12/15 01:30:03 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2024/12/15 01:30:03 INFO : file1.copy2.txt: Copied (new) 2024/12/15 01:30:03 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2024/12/15 01:30:03 INFO : file1.copy3.txt: Copied (new) 2024/12/15 01:30:03 DEBUG : file1.copy4.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/12/15 01:30:03 DEBUG : file1.copy5.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/12/15 01:30:03 DEBUG : file1.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/12/15 01:30:03 DEBUG : subdir/file20.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/12/15 01:30:03 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2024/12/15 01:30:03 INFO : file1.copy4.txt: Copied (new) 2024/12/15 01:30:03 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2024/12/15 01:30:03 INFO : file1.copy5.txt: Copied (new) 2024/12/15 01:30:03 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/12/15 01:30:03 INFO : file1.txt: Copied (new) 2024/12/15 01:30:03 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/12/15 01:30:03 INFO : subdir/file20.txt: Copied (new) 2024/12/15 01:30:03 NOTICE: checking Path1 pcloud root 'rclone-test-humusix1sexo/013000be/rmdirs/path1' 2024/12/15 01:30:04 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : subdir: Making directory with metadata 2024/12/15 01:30:04 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/12/15 01:30:04 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/12/15 01:30:04 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/12/15 01:30:04 DEBUG : Local file system at /tmp/013000be/rmdirs/path2: Waiting for checks to finish 2024/12/15 01:30:04 DEBUG : Local file system at /tmp/013000be/rmdirs/path2: Waiting for transfers to finish 2024/12/15 01:30:04 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:04 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2024/12/15 01:30:04 INFO : file1.copy3.txt: Copied (new) 2024/12/15 01:30:04 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:04 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2024/12/15 01:30:04 INFO : file1.copy2.txt: Copied (new) 2024/12/15 01:30:04 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:04 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2024/12/15 01:30:04 INFO : file1.copy1.txt: Copied (new) 2024/12/15 01:30:04 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/12/15 01:30:04 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/12/15 01:30:04 INFO : RCLONE_TEST: Copied (new) 2024/12/15 01:30:04 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:04 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/12/15 01:30:04 INFO : file1.txt: Copied (new) 2024/12/15 01:30:04 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:04 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/12/15 01:30:04 INFO : subdir/file20.txt: Copied (new) 2024/12/15 01:30:04 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:04 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2024/12/15 01:30:04 INFO : file1.copy4.txt: Copied (new) 2024/12/15 01:30:04 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/15 01:30:04 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2024/12/15 01:30:04 INFO : file1.copy5.txt: Copied (new) 2024/12/15 01:30:04 INFO : subdir: Set directory modification time (using SetModTime) 2024/12/15 01:30:04 NOTICE: checking path2 Local file system at /tmp/013000be/rmdirs/path2 2024/12/15 01:30:04 NOTICE: (01) : test rmdirs 2024/12/15 01:30:04 NOTICE: (02) : test initial bisync 2024/12/15 01:30:04 NOTICE: (03) : bisync resync 2024/12/15 01:30:04 INFO : subdir: Set directory modification time (using SetModTime) 2024/12/15 01:30:04 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/12/15 01:30:04 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/12/15 01:30:04 INFO : Synching Path1 "TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/" with Path2 "/tmp/013000be/rmdirs/path2/" 2024/12/15 01:30:04 INFO : Copying Path2 files to Path1 2024/12/15 01:30:04 INFO : - Path2 Resync is copying files to - Path1 2024/12/15 01:30:04 INFO : - Path1 Resync is copying files to - Path2 2024/12/15 01:30:04 INFO : Resync updating listings 2024/12/15 01:30:04 INFO : Validating listings for Path1 "TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/" vs Path2 "/tmp/013000be/rmdirs/path2/" 2024/12/15 01:30:04 INFO : Bisync successful 2024/12/15 01:30:04 NOTICE: (04) : test 1. delete path1 subdir file 2024/12/15 01:30:04 NOTICE: (05) : delete-file TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/subdir/file20.txt 2024/12/15 01:30:05 INFO : file20.txt: Deleted 2024/12/15 01:30:05 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2024/12/15 01:30:05 NOTICE: (07) : bisync 2024/12/15 01:30:05 INFO : subdir: Set directory modification time (using SetModTime) 2024/12/15 01:30:05 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/12/15 01:30:05 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/12/15 01:30:05 INFO : Synching Path1 "TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/" with Path2 "/tmp/013000be/rmdirs/path2/" 2024/12/15 01:30:05 INFO : Building Path1 and Path2 listings 2024/12/15 01:30:05 INFO : Path1 checking for diffs 2024/12/15 01:30:05 INFO : - Path1 File was deleted - subdir/file20.txt 2024/12/15 01:30:05 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2024/12/15 01:30:05 INFO : Path2 checking for diffs 2024/12/15 01:30:05 INFO : Applying changes 2024/12/15 01:30:05 INFO : - Path2 Queue delete - /tmp/013000be/rmdirs/path2/subdir/file20.txt 2024/12/15 01:30:05 INFO : - Path1 Do queued copies to - Path2 2024/12/15 01:30:06 INFO : subdir/file20.txt: Deleted 2024/12/15 01:30:06 INFO : Updating listings 2024/12/15 01:30:06 INFO : Validating listings for Path1 "TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/" vs Path2 "/tmp/013000be/rmdirs/path2/" 2024/12/15 01:30:06 INFO : Bisync successful 2024/12/15 01:30:06 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2024/12/15 01:30:06 NOTICE: (09) : list-dirs TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/ 2024/12/15 01:30:06 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2024/12/15 01:30:06 NOTICE: (10) : list-dirs /tmp/013000be/rmdirs/path2/ 2024/12/15 01:30:06 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2024/12/15 01:30:06 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2024/12/15 01:30:06 NOTICE: (12) : bisync remove-empty-dirs 2024/12/15 01:30:07 INFO : subdir: Set directory modification time (using SetModTime) 2024/12/15 01:30:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/12/15 01:30:07 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2024/12/15 01:30:07 INFO : Synching Path1 "TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/" with Path2 "/tmp/013000be/rmdirs/path2/" 2024/12/15 01:30:07 INFO : Building Path1 and Path2 listings 2024/12/15 01:30:07 INFO : Path1 checking for diffs 2024/12/15 01:30:07 INFO : Path2 checking for diffs 2024/12/15 01:30:07 INFO : No changes found 2024/12/15 01:30:07 INFO : Updating listings 2024/12/15 01:30:07 INFO : Validating listings for Path1 "TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/" vs Path2 "/tmp/013000be/rmdirs/path2/" 2024/12/15 01:30:07 INFO : Removing empty directories 2024/12/15 01:30:07 INFO : subdir: Removing directory 2024/12/15 01:30:07 INFO : subdir: Removing directory 2024/12/15 01:30:07 INFO : Bisync successful 2024/12/15 01:30:07 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2024/12/15 01:30:07 NOTICE: (14) : list-dirs TestPcloud:rclone-test-humusix1sexo/013000be/rmdirs/path1/ 2024/12/15 01:30:07 NOTICE: (15) : list-dirs /tmp/013000be/rmdirs/path2/ bisync_test.go:558: TEST rmdirs PASSED 2024/12/15 01:30:07 DEBUG : pcloud root 'rclone-test-humusix1sexo': Purge remote --- PASS: TestBisyncRemoteLocal (8.13s) --- PASS: TestBisyncRemoteLocal/rmdirs (7.30s) PASS 2024/12/15 01:30:08 DEBUG : pcloud root 'rclone-test-hepicag5dijo': Purge remote 2024/12/15 01:30:08 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestBisyncRemoteLocal$/^rmdirs$'" - Finished OK in 8.8941191s (try 3/5)