"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoFile: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Starting (try 2/5) 2025/10/07 03:15:20 DEBUG : Creating backend with remote "TestGoFile:rclone-test-toyerim2pezo" 2025/10/07 03:15:20 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/07 03:15:20 DEBUG : Creating backend with remote "/tmp/rclone2814582076" === RUN TestBisyncRemoteRemote 2025/10/07 03:15:20 DEBUG : Creating backend with remote "TestGoFile:rclone-test-mujuvad4bopa" 2025/10/07 03:15:20 NOTICE: remote: TestGoFile:rclone-test-mujuvad4bopa === RUN TestBisyncRemoteRemote/rmdirs 2025/10/07 03:15:20 DEBUG : Creating backend with remote "TestGoFile:rclone-test-mujuvad4bopa/031520ku" 2025/10/07 03:15:21 INFO : path1: Making directory 2025/10/07 03:15:22 DEBUG : Creating backend with remote "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1" 2025/10/07 03:15:22 INFO : path2: Making directory 2025/10/07 03:15:22 DEBUG : Creating backend with remote "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2" 2025/10/07 03:15:23 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/initial" 2025/10/07 03:15:23 DEBUG : Creating backend with remote "/tmp/031520ku/initdir/test_rmdirs-dihihep5" 2025/10/07 03:15:23 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : subdir: Making directory with metadata 2025/10/07 03:15:23 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/10/07 03:15:23 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/10/07 03:15:23 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:23 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:23 DEBUG : file1.copy3.txt.d0285540.partial: renamed to: file1.copy3.txt 2025/10/07 03:15:23 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:23 INFO : file1.copy3.txt: Copied (new) 2025/10/07 03:15:23 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/10/07 03:15:23 DEBUG : file1.copy1.txt.21b8fa2b.partial: renamed to: file1.copy1.txt 2025/10/07 03:15:23 INFO : file1.copy1.txt: Copied (new) 2025/10/07 03:15:23 DEBUG : RCLONE_TEST.abb09051.partial: renamed to: RCLONE_TEST 2025/10/07 03:15:23 INFO : RCLONE_TEST: Copied (new) 2025/10/07 03:15:23 DEBUG : Local file system at /tmp/031520ku/initdir/test_rmdirs-dihihep5: Waiting for checks to finish 2025/10/07 03:15:23 DEBUG : Local file system at /tmp/031520ku/initdir/test_rmdirs-dihihep5: Waiting for transfers to finish 2025/10/07 03:15:23 DEBUG : file1.copy2.txt.455881d5.partial: renamed to: file1.copy2.txt 2025/10/07 03:15:23 INFO : file1.copy2.txt: Copied (new) 2025/10/07 03:15:23 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:23 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:23 DEBUG : file1.txt.56d0d699.partial: renamed to: file1.txt 2025/10/07 03:15:23 DEBUG : file1.copy4.txt.8c987629.partial: renamed to: file1.copy4.txt 2025/10/07 03:15:23 INFO : file1.txt: Copied (new) 2025/10/07 03:15:23 INFO : file1.copy4.txt: Copied (new) 2025/10/07 03:15:23 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:23 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:23 DEBUG : file1.copy5.txt.19e8a2bc.partial: renamed to: file1.copy5.txt 2025/10/07 03:15:23 INFO : file1.copy5.txt: Copied (new) 2025/10/07 03:15:23 DEBUG : subdir/file20.txt.1ac3db2f.partial: renamed to: subdir/file20.txt 2025/10/07 03:15:23 INFO : subdir/file20.txt: Copied (new) 2025/10/07 03:15:23 INFO : subdir: Set directory modification time (using SetModTime) 2025/10/07 03:15:23 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/modfiles" 2025/10/07 03:15:23 DEBUG : Creating backend with remote "/tmp/031520ku/datadir/test_rmdirs-meqaked9" 2025/10/07 03:15:23 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : Local file system at /tmp/031520ku/datadir/test_rmdirs-meqaked9: Waiting for checks to finish 2025/10/07 03:15:23 DEBUG : Local file system at /tmp/031520ku/datadir/test_rmdirs-meqaked9: Waiting for transfers to finish 2025/10/07 03:15:23 DEBUG : file1.txt: md5 = 7fe98ed88552b828777d8630900346b8 OK 2025/10/07 03:15:23 DEBUG : file1.txt.f41fd5ee.partial: renamed to: file1.txt 2025/10/07 03:15:23 INFO : file1.txt: Copied (new) 2025/10/07 03:15:23 NOTICE: checking initFs Local file system at /tmp/031520ku/initdir/test_rmdirs-dihihep5 2025/10/07 03:15:23 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:23 INFO : subdir: Making directory 2025/10/07 03:15:24 INFO : subdir: Made directory with modification time 2021-11-02 05:00:07 +0000 UTC 2025/10/07 03:15:24 DEBUG : Added delayed dir = "subdir", newDst= 2025/10/07 03:15:24 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:24 DEBUG : gofile root 'rclone-test-mujuvad4bopa/031520ku/rmdirs/path1': Waiting for checks to finish 2025/10/07 03:15:24 DEBUG : gofile root 'rclone-test-mujuvad4bopa/031520ku/rmdirs/path1': Waiting for transfers to finish 2025/10/07 03:15:24 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/10/07 03:15:24 INFO : RCLONE_TEST: Copied (new) 2025/10/07 03:15:24 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:24 INFO : file1.copy3.txt: Copied (new) 2025/10/07 03:15:24 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:24 INFO : file1.copy2.txt: Copied (new) 2025/10/07 03:15:24 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:24 INFO : file1.copy1.txt: Copied (new) 2025/10/07 03:15:24 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:24 INFO : file1.copy5.txt: Copied (new) 2025/10/07 03:15:24 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:24 INFO : file1.copy4.txt: Copied (new) 2025/10/07 03:15:24 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:24 INFO : file1.txt: Copied (new) 2025/10/07 03:15:25 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:25 INFO : subdir/file20.txt: Copied (new) 2025/10/07 03:15:25 INFO : subdir: Set directory modification time (using DirSetModTime) 2025/10/07 03:15:25 NOTICE: checking Path1 gofile root 'rclone-test-mujuvad4bopa/031520ku/rmdirs/path1' 2025/10/07 03:15:25 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/10/07 03:15:25 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:25 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:25 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:25 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:25 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:25 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:25 INFO : subdir: Making directory 2025/10/07 03:15:26 INFO : subdir: Made directory with modification time 2021-11-02 05:00:07 +0000 UTC 2025/10/07 03:15:26 DEBUG : Added delayed dir = "subdir", newDst= 2025/10/07 03:15:26 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/10/07 03:15:26 DEBUG : gofile root 'rclone-test-mujuvad4bopa/031520ku/rmdirs/path2': Waiting for checks to finish 2025/10/07 03:15:26 DEBUG : gofile root 'rclone-test-mujuvad4bopa/031520ku/rmdirs/path2': Waiting for transfers to finish 2025/10/07 03:15:26 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:26 INFO : file1.copy3.txt: Copied (new) 2025/10/07 03:15:26 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:26 INFO : file1.copy1.txt: Copied (new) 2025/10/07 03:15:26 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:26 INFO : file1.copy2.txt: Copied (new) 2025/10/07 03:15:26 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/10/07 03:15:26 INFO : RCLONE_TEST: Copied (new) 2025/10/07 03:15:26 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:26 INFO : file1.copy5.txt: Copied (new) 2025/10/07 03:15:26 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:26 INFO : subdir/file20.txt: Copied (new) 2025/10/07 03:15:26 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:26 INFO : file1.txt: Copied (new) 2025/10/07 03:15:26 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/07 03:15:26 INFO : file1.copy4.txt: Copied (new) 2025/10/07 03:15:26 INFO : subdir: Set directory modification time (using DirSetModTime) 2025/10/07 03:15:26 NOTICE: checking path2 gofile root 'rclone-test-mujuvad4bopa/031520ku/rmdirs/path2' 2025/10/07 03:15:26 NOTICE: (01) : test rmdirs 2025/10/07 03:15:26 NOTICE: (02) : test initial bisync 2025/10/07 03:15:26 NOTICE: (03) : bisync resync 2025/10/07 03:15:31 INFO : subdir: Set directory modification time (using SetModTime) 2025/10/07 03:15:32 INFO : subdir: Set directory modification time (using SetModTime) 2025/10/07 03:15:32 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/10/07 03:15:32 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/10/07 03:15:32 INFO : Synching Path1 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" with Path2 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" 2025/10/07 03:15:32 INFO : Copying Path2 files to Path1 2025/10/07 03:15:32 INFO : - Path2 Resync is copying files to - Path1 2025/10/07 03:15:32 INFO : There was nothing to transfer 2025/10/07 03:15:32 INFO : - Path1 Resync is copying files to - Path2 2025/10/07 03:15:32 INFO : There was nothing to transfer 2025/10/07 03:15:32 INFO : Resync updating listings 2025/10/07 03:15:32 INFO : Validating listings for Path1 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" vs Path2 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" 2025/10/07 03:15:32 INFO : Bisync successful 2025/10/07 03:15:32 NOTICE: (04) : test 1. delete path1 subdir file 2025/10/07 03:15:32 NOTICE: (05) : delete-file TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/subdir/file20.txt 2025/10/07 03:15:32 DEBUG : Creating backend with remote "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/subdir/" 2025/10/07 03:15:33 DEBUG : fs cache: renaming cache item "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/subdir/" to be canonical "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/subdir" 2025/10/07 03:15:33 INFO : file20.txt: Deleted 2025/10/07 03:15:33 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2025/10/07 03:15:33 NOTICE: (07) : bisync 2025/10/07 03:15:38 INFO : subdir: Set directory modification time (using SetModTime) 2025/10/07 03:15:38 INFO : subdir: Set directory modification time (using SetModTime) 2025/10/07 03:15:38 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/10/07 03:15:38 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/10/07 03:15:38 INFO : Synching Path1 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" with Path2 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" 2025/10/07 03:15:38 INFO : Building Path1 and Path2 listings 2025/10/07 03:15:39 INFO : Path1 checking for diffs 2025/10/07 03:15:39 INFO : - Path1 File was deleted - subdir/file20.txt 2025/10/07 03:15:39 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/10/07 03:15:39 INFO : Path2 checking for diffs 2025/10/07 03:15:39 INFO : Applying changes 2025/10/07 03:15:39 INFO : - Path2 Queue delete - TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/subdir/file20.txt 2025/10/07 03:15:39 INFO : - Path1 Do queued copies to - Path2 2025/10/07 03:15:39 INFO : subdir/file20.txt: Deleted 2025/10/07 03:15:39 INFO : There was nothing to transfer 2025/10/07 03:15:39 INFO : Updating listings 2025/10/07 03:15:39 INFO : Validating listings for Path1 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" vs Path2 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" 2025/10/07 03:15:39 INFO : Bisync successful 2025/10/07 03:15:39 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2025/10/07 03:15:39 NOTICE: (09) : list-dirs TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/ 2025/10/07 03:15:39 DEBUG : Creating backend with remote "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" 2025/10/07 03:15:39 DEBUG : fs cache: renaming cache item "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" to be canonical "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1" 2025/10/07 03:15:39 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/10/07 03:15:39 NOTICE: (10) : list-dirs TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/ 2025/10/07 03:15:39 DEBUG : Creating backend with remote "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" 2025/10/07 03:15:40 DEBUG : fs cache: renaming cache item "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" to be canonical "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2" 2025/10/07 03:15:40 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/10/07 03:15:40 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2025/10/07 03:15:40 NOTICE: (12) : bisync remove-empty-dirs 2025/10/07 03:15:45 INFO : subdir: Set directory modification time (using SetModTime) 2025/10/07 03:15:45 INFO : subdir: Set directory modification time (using SetModTime) 2025/10/07 03:15:45 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/10/07 03:15:45 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/10/07 03:15:45 INFO : Synching Path1 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" with Path2 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" 2025/10/07 03:15:45 INFO : Building Path1 and Path2 listings 2025/10/07 03:15:46 INFO : Path1 checking for diffs 2025/10/07 03:15:46 INFO : Path2 checking for diffs 2025/10/07 03:15:46 INFO : No changes found 2025/10/07 03:15:46 INFO : Updating listings 2025/10/07 03:15:46 INFO : Validating listings for Path1 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" vs Path2 "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" 2025/10/07 03:15:46 INFO : Removing empty directories 2025/10/07 03:15:46 INFO : subdir: Removing directory 2025/10/07 03:15:46 INFO : subdir: Removing directory 2025/10/07 03:15:46 INFO : Bisync successful 2025/10/07 03:15:46 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2025/10/07 03:15:46 NOTICE: (14) : list-dirs TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/ 2025/10/07 03:15:46 DEBUG : fs cache: switching user supplied name "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1/" for canonical name "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path1" 2025/10/07 03:15:46 NOTICE: (15) : list-dirs TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/ 2025/10/07 03:15:46 DEBUG : fs cache: switching user supplied name "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2/" for canonical name "TestGoFile:rclone-test-mujuvad4bopa/031520ku/rmdirs/path2" bisync_test.go:608: TEST rmdirs PASSED 2025/10/07 03:15:47 DEBUG : gofile root 'rclone-test-mujuvad4bopa': Purge remote --- PASS: TestBisyncRemoteRemote (27.75s) --- PASS: TestBisyncRemoteRemote/rmdirs (26.76s) PASS 2025/10/07 03:15:48 DEBUG : gofile root 'rclone-test-toyerim2pezo': Purge remote 2025/10/07 03:15:48 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoFile: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Finished OK in 28.176593584s (try 2/5)