"./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoFile: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Starting (try 3/5) 2024/11/22 04:07:36 DEBUG : Creating backend with remote "TestGoFile:rclone-test-sojefey1qusa" 2024/11/22 04:07:36 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/22 04:07:37 DEBUG : Creating backend with remote "/tmp/rclone738249725" === RUN TestBisyncRemoteRemote 2024/11/22 04:07:37 DEBUG : Creating backend with remote "TestGoFile:rclone-test-pigaxix3duwi" 2024/11/22 04:07:37 NOTICE: remote: TestGoFile:rclone-test-pigaxix3duwi === RUN TestBisyncRemoteRemote/rmdirs 2024/11/22 04:07:37 DEBUG : Creating backend with remote "TestGoFile:rclone-test-pigaxix3duwi/040737ka" 2024/11/22 04:07:37 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/22 04:07:38 DEBUG : path1: Making directory 2024/11/22 04:07:40 DEBUG : Creating backend with remote "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1" 2024/11/22 04:07:41 DEBUG : path2: Making directory 2024/11/22 04:07:41 DEBUG : Creating backend with remote "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2" 2024/11/22 04:07:43 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/initial" 2024/11/22 04:07:43 DEBUG : Creating backend with remote "/tmp/040737ka/initdir/test_rmdirs-wucuzaf4" 2024/11/22 04:07:43 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : subdir: Making directory with metadata 2024/11/22 04:07:43 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/11/22 04:07:43 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/11/22 04:07:43 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : Local file system at /tmp/040737ka/initdir/test_rmdirs-wucuzaf4: Waiting for checks to finish 2024/11/22 04:07:43 DEBUG : Local file system at /tmp/040737ka/initdir/test_rmdirs-wucuzaf4: Waiting for transfers to finish 2024/11/22 04:07:43 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:43 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2024/11/22 04:07:43 INFO : file1.copy1.txt: Copied (new) 2024/11/22 04:07:43 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:43 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2024/11/22 04:07:43 INFO : file1.copy2.txt: Copied (new) 2024/11/22 04:07:43 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:43 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2024/11/22 04:07:43 INFO : file1.copy3.txt: Copied (new) 2024/11/22 04:07:43 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:43 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2024/11/22 04:07:43 INFO : file1.copy4.txt: Copied (new) 2024/11/22 04:07:43 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:43 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2024/11/22 04:07:43 INFO : file1.copy5.txt: Copied (new) 2024/11/22 04:07:43 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:43 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/11/22 04:07:43 INFO : file1.txt: Copied (new) 2024/11/22 04:07:43 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:43 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/11/22 04:07:43 INFO : subdir/file20.txt: Copied (new) 2024/11/22 04:07:43 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/22 04:07:43 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/11/22 04:07:43 INFO : RCLONE_TEST: Copied (new) 2024/11/22 04:07:43 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/22 04:07:43 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/modfiles" 2024/11/22 04:07:43 DEBUG : Creating backend with remote "/tmp/040737ka/datadir/test_rmdirs-dorazib1" 2024/11/22 04:07:43 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:43 DEBUG : Local file system at /tmp/040737ka/datadir/test_rmdirs-dorazib1: Waiting for checks to finish 2024/11/22 04:07:43 DEBUG : Local file system at /tmp/040737ka/datadir/test_rmdirs-dorazib1: Waiting for transfers to finish 2024/11/22 04:07:43 DEBUG : file1.txt: md5 = 7fe98ed88552b828777d8630900346b8 OK 2024/11/22 04:07:43 DEBUG : file1.txt.13f42ab5.partial: renamed to: file1.txt 2024/11/22 04:07:43 INFO : file1.txt: Copied (new) 2024/11/22 04:07:44 NOTICE: checking initFs Local file system at /tmp/040737ka/initdir/test_rmdirs-wucuzaf4 2024/11/22 04:07:44 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/22 04:07:44 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:44 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:44 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:44 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:44 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:44 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:44 DEBUG : subdir: Making directory 2024/11/22 04:07:47 DEBUG : Upload server store1 (eu) responded in 131.144521ms 2024/11/22 04:07:47 DEBUG : Upload server store6 (eu) responded in 133.972466ms 2024/11/22 04:07:47 DEBUG : file1.copy1.txt: Using upload server store1 (eu) 2024/11/22 04:07:47 DEBUG : RCLONE_TEST: Using upload server store6 (eu) 2024/11/22 04:07:47 DEBUG : file1.copy3.txt: Using upload server store1 (eu) 2024/11/22 04:07:47 INFO : subdir: Made directory with modification time 2021-11-02 05:00:07 +0000 UTC 2024/11/22 04:07:47 DEBUG : Added delayed dir = "subdir", newDst= 2024/11/22 04:07:47 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:47 DEBUG : gofile root 'rclone-test-pigaxix3duwi/040737ka/rmdirs/path1': Waiting for checks to finish 2024/11/22 04:07:47 DEBUG : gofile root 'rclone-test-pigaxix3duwi/040737ka/rmdirs/path1': Waiting for transfers to finish 2024/11/22 04:07:47 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/22 04:07:47 INFO : RCLONE_TEST: Copied (new) 2024/11/22 04:07:47 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:47 INFO : file1.copy1.txt: Copied (new) 2024/11/22 04:07:47 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:47 INFO : file1.copy3.txt: Copied (new) 2024/11/22 04:07:47 DEBUG : file1.copy2.txt: Using upload server store6 (eu) 2024/11/22 04:07:48 DEBUG : file1.copy5.txt: Using upload server store6 (eu) 2024/11/22 04:07:48 DEBUG : file1.txt: Using upload server store6 (eu) 2024/11/22 04:07:48 DEBUG : file1.copy4.txt: Using upload server store1 (eu) 2024/11/22 04:07:48 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:48 INFO : file1.copy2.txt: Copied (new) 2024/11/22 04:07:48 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:48 INFO : file1.txt: Copied (new) 2024/11/22 04:07:48 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:48 INFO : file1.copy4.txt: Copied (new) 2024/11/22 04:07:48 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:48 INFO : file1.copy5.txt: Copied (new) 2024/11/22 04:07:48 DEBUG : subdir/file20.txt: Using upload server store1 (eu) 2024/11/22 04:07:48 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:48 INFO : subdir/file20.txt: Copied (new) 2024/11/22 04:07:48 INFO : subdir: Set directory modification time (using DirSetModTime) 2024/11/22 04:07:48 NOTICE: checking Path1 gofile root 'rclone-test-pigaxix3duwi/040737ka/rmdirs/path1' 2024/11/22 04:07:49 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/11/22 04:07:49 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:49 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:49 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:49 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:49 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:49 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:49 DEBUG : subdir: Making directory 2024/11/22 04:07:51 INFO : subdir: Made directory with modification time 2021-11-02 05:00:07 +0000 UTC 2024/11/22 04:07:51 DEBUG : Added delayed dir = "subdir", newDst= 2024/11/22 04:07:51 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/11/22 04:07:51 DEBUG : gofile root 'rclone-test-pigaxix3duwi/040737ka/rmdirs/path2': Waiting for checks to finish 2024/11/22 04:07:51 DEBUG : gofile root 'rclone-test-pigaxix3duwi/040737ka/rmdirs/path2': Waiting for transfers to finish 2024/11/22 04:07:51 DEBUG : Upload server store10 (eu) responded in 126.200009ms 2024/11/22 04:07:51 DEBUG : Upload server store6 (eu) responded in 128.323158ms 2024/11/22 04:07:51 DEBUG : RCLONE_TEST: Using upload server store6 (eu) 2024/11/22 04:07:51 DEBUG : file1.copy2.txt: Using upload server store10 (eu) 2024/11/22 04:07:51 DEBUG : file1.copy1.txt: Using upload server store10 (eu) 2024/11/22 04:07:51 DEBUG : file1.copy3.txt: Using upload server store10 (eu) 2024/11/22 04:07:51 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/11/22 04:07:51 INFO : RCLONE_TEST: Copied (new) 2024/11/22 04:07:51 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:51 INFO : file1.copy1.txt: Copied (new) 2024/11/22 04:07:51 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:51 INFO : file1.copy2.txt: Copied (new) 2024/11/22 04:07:51 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:51 INFO : file1.copy3.txt: Copied (new) 2024/11/22 04:07:51 DEBUG : file1.copy4.txt: Using upload server store6 (eu) 2024/11/22 04:07:51 DEBUG : file1.copy5.txt: Using upload server store10 (eu) 2024/11/22 04:07:51 DEBUG : file1.txt: Using upload server store10 (eu) 2024/11/22 04:07:51 DEBUG : subdir/file20.txt: Using upload server store6 (eu) 2024/11/22 04:07:51 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:51 INFO : file1.copy4.txt: Copied (new) 2024/11/22 04:07:52 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:52 INFO : file1.copy5.txt: Copied (new) 2024/11/22 04:07:52 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:52 INFO : subdir/file20.txt: Copied (new) 2024/11/22 04:07:52 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/22 04:07:52 INFO : file1.txt: Copied (new) 2024/11/22 04:07:52 INFO : subdir: Set directory modification time (using DirSetModTime) 2024/11/22 04:07:52 NOTICE: checking path2 gofile root 'rclone-test-pigaxix3duwi/040737ka/rmdirs/path2' 2024/11/22 04:07:53 NOTICE: (01) : test rmdirs 2024/11/22 04:07:53 NOTICE: (02) : test initial bisync 2024/11/22 04:07:53 NOTICE: (03) : bisync resync 2024/11/22 04:07:56 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/22 04:07:57 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/22 04:07:57 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/22 04:07:57 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/22 04:07:57 INFO : Synching Path1 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/" with Path2 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/" 2024/11/22 04:07:57 INFO : Copying Path2 files to Path1 2024/11/22 04:07:57 INFO : - Path2 Resync is copying files to - Path1 2024/11/22 04:07:58 INFO : - Path1 Resync is copying files to - Path2 2024/11/22 04:07:59 INFO : Resync updating listings 2024/11/22 04:07:59 INFO : Validating listings for Path1 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/" vs Path2 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/" 2024/11/22 04:07:59 INFO : Bisync successful 2024/11/22 04:07:59 NOTICE: (04) : test 1. delete path1 subdir file 2024/11/22 04:07:59 NOTICE: (05) : delete-file TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/subdir/file20.txt 2024/11/22 04:08:01 INFO : file20.txt: Deleted 2024/11/22 04:08:01 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2024/11/22 04:08:01 NOTICE: (07) : bisync 2024/11/22 04:08:05 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/22 04:08:07 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/22 04:08:07 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/22 04:08:07 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/22 04:08:07 INFO : Synching Path1 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/" with Path2 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/" 2024/11/22 04:08:07 INFO : Building Path1 and Path2 listings 2024/11/22 04:08:08 INFO : Path1 checking for diffs 2024/11/22 04:08:08 INFO : - Path1 File was deleted - subdir/file20.txt 2024/11/22 04:08:08 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2024/11/22 04:08:08 INFO : Path2 checking for diffs 2024/11/22 04:08:08 INFO : Applying changes 2024/11/22 04:08:08 INFO : - Path2 Queue delete - TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/subdir/file20.txt 2024/11/22 04:08:08 INFO : - Path1 Do queued copies to - Path2 2024/11/22 04:08:09 INFO : subdir/file20.txt: Deleted 2024/11/22 04:08:09 INFO : Updating listings 2024/11/22 04:08:11 INFO : Validating listings for Path1 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/" vs Path2 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/" 2024/11/22 04:08:11 INFO : Bisync successful 2024/11/22 04:08:11 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2024/11/22 04:08:11 NOTICE: (09) : list-dirs TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/ 2024/11/22 04:08:13 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2024/11/22 04:08:13 NOTICE: (10) : list-dirs TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/ 2024/11/22 04:08:15 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2024/11/22 04:08:15 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2024/11/22 04:08:15 NOTICE: (12) : bisync remove-empty-dirs 2024/11/22 04:08:17 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/22 04:08:18 INFO : subdir: Set directory modification time (using SetModTime) 2024/11/22 04:08:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/11/22 04:08:18 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/11/22 04:08:18 INFO : Synching Path1 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/" with Path2 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/" 2024/11/22 04:08:18 INFO : Building Path1 and Path2 listings 2024/11/22 04:08:19 INFO : Path1 checking for diffs 2024/11/22 04:08:19 INFO : Path2 checking for diffs 2024/11/22 04:08:19 INFO : No changes found 2024/11/22 04:08:19 INFO : Updating listings 2024/11/22 04:08:19 INFO : Validating listings for Path1 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/" vs Path2 "TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/" 2024/11/22 04:08:19 INFO : Removing empty directories 2024/11/22 04:08:19 INFO : subdir: Removing directory 2024/11/22 04:08:20 INFO : subdir: Removing directory 2024/11/22 04:08:21 INFO : Bisync successful 2024/11/22 04:08:21 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2024/11/22 04:08:21 NOTICE: (14) : list-dirs TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path1/ 2024/11/22 04:08:21 NOTICE: (15) : list-dirs TestGoFile:rclone-test-pigaxix3duwi/040737ka/rmdirs/path2/ bisync_test.go:558: TEST rmdirs PASSED 2024/11/22 04:08:25 DEBUG : gofile root 'rclone-test-pigaxix3duwi': Purge remote --- PASS: TestBisyncRemoteRemote (51.14s) --- PASS: TestBisyncRemoteRemote/rmdirs (48.07s) PASS 2024/11/22 04:08:28 DEBUG : gofile root 'rclone-test-sojefey1qusa': Purge remote 2024/11/22 04:08:28 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestGoFile: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Finished OK in 52.108210415s (try 3/5)