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