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