"./bisync.test -test.v -test.timeout 1h0m0s -remote TestMailru: -verbose -test.run '^TestBisyncRemoteLocal$/^rmdirs$'" - Starting (try 2/5) 2025/05/21 06:05:34 DEBUG : Creating backend with remote "TestMailru:rclone-test-fekexir0nasa" 2025/05/21 06:05:34 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/05/21 06:05:34 DEBUG : Creating backend with remote "/tmp/rclone389714423" === RUN TestBisyncRemoteLocal 2025/05/21 06:05:34 DEBUG : Creating backend with remote "TestMailru:rclone-test-davotoz3maqa" 2025/05/21 06:05:34 NOTICE: remote: TestMailru:rclone-test-davotoz3maqa === RUN TestBisyncRemoteLocal/rmdirs 2025/05/21 06:05:34 DEBUG : Creating backend with remote "TestMailru:rclone-test-davotoz3maqa/060534hi" 2025/05/21 06:05:34 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/05/21 06:05:35 INFO : path1: Making directory 2025/05/21 06:05:35 DEBUG : [rclone-test-davotoz3maqa/060534hi]: new meta server: https://cld-extapi.datacloudmail.ru/meta/ 2025/05/21 06:05:35 DEBUG : [rclone-test-davotoz3maqa/060534hi]: mkDirs by part "/rclone-test-davotoz3maqa/060534hi/path1" 2025/05/21 06:05:35 DEBUG : Creating backend with remote "TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1" 2025/05/21 06:05:35 DEBUG : Creating backend with remote "/tmp/060534hi" 2025/05/21 06:05:35 DEBUG : Creating backend with remote "/tmp/060534hi/rmdirs/path2" 2025/05/21 06:05:35 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/initial" 2025/05/21 06:05:35 DEBUG : Creating backend with remote "/tmp/060534hi/initdir/test_rmdirs-nokosac1" 2025/05/21 06:05:35 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : subdir: Making directory with metadata 2025/05/21 06:05:35 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/05/21 06:05:35 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/05/21 06:05:35 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : Local file system at /tmp/060534hi/initdir/test_rmdirs-nokosac1: Waiting for checks to finish 2025/05/21 06:05:35 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:35 DEBUG : Local file system at /tmp/060534hi/initdir/test_rmdirs-nokosac1: Waiting for transfers to finish 2025/05/21 06:05:35 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/05/21 06:05:35 INFO : file1.copy1.txt: Copied (new) 2025/05/21 06:05:35 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/05/21 06:05:35 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:35 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/05/21 06:05:35 INFO : RCLONE_TEST: Copied (new) 2025/05/21 06:05:35 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/05/21 06:05:35 INFO : file1.copy2.txt: Copied (new) 2025/05/21 06:05:35 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:35 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/05/21 06:05:35 INFO : file1.copy3.txt: Copied (new) 2025/05/21 06:05:35 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:35 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/05/21 06:05:35 INFO : file1.copy4.txt: Copied (new) 2025/05/21 06:05:35 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:35 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/05/21 06:05:35 INFO : file1.copy5.txt: Copied (new) 2025/05/21 06:05:35 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:35 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/05/21 06:05:35 INFO : file1.txt: Copied (new) 2025/05/21 06:05:35 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:35 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/05/21 06:05:35 INFO : subdir/file20.txt: Copied (new) 2025/05/21 06:05:35 INFO : subdir: Set directory modification time (using SetModTime) 2025/05/21 06:05:35 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/modfiles" 2025/05/21 06:05:35 DEBUG : Creating backend with remote "/tmp/060534hi/datadir/test_rmdirs-jucoqun1" 2025/05/21 06:05:35 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:35 DEBUG : Local file system at /tmp/060534hi/datadir/test_rmdirs-jucoqun1: Waiting for checks to finish 2025/05/21 06:05:35 DEBUG : Local file system at /tmp/060534hi/datadir/test_rmdirs-jucoqun1: Waiting for transfers to finish 2025/05/21 06:05:35 DEBUG : file1.txt: md5 = 7fe98ed88552b828777d8630900346b8 OK 2025/05/21 06:05:35 DEBUG : file1.txt.13f42ab5.partial: renamed to: file1.txt 2025/05/21 06:05:35 INFO : file1.txt: Copied (new) 2025/05/21 06:05:35 ERROR : : error listing: directory not found 2025/05/21 06:05:35 ERROR : : error listing: directory not found 2025/05/21 06:05:35 NOTICE: checking initFs Local file system at /tmp/060534hi/initdir/test_rmdirs-nokosac1 2025/05/21 06:05:36 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:36 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:36 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:36 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:36 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:36 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:36 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/05/21 06:05:36 INFO : subdir: Making directory 2025/05/21 06:05:36 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: new meta server: https://cld-extapi.datacloudmail.ru/meta/ 2025/05/21 06:05:36 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: mkDirs by part "/rclone-test-davotoz3maqa/060534hi/rmdirs/path1/subdir" 2025/05/21 06:05:36 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: mkDirs by part "/rclone-test-davotoz3maqa/060534hi/rmdirs/path1" 2025/05/21 06:05:36 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: mkDirs by part "/rclone-test-davotoz3maqa/060534hi/rmdirs/path1" 2025/05/21 06:05:36 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: mkDirs by part "/rclone-test-davotoz3maqa/060534hi/rmdirs/path1" 2025/05/21 06:05:36 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: mkDirs by part "/rclone-test-davotoz3maqa/060534hi/rmdirs/path1" 2025/05/21 06:05:38 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:38 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: Waiting for checks to finish 2025/05/21 06:05:38 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: Waiting for transfers to finish 2025/05/21 06:05:39 DEBUG : file1.copy1.txt: mailru = 0000000000000000000000000000000000000000 OK 2025/05/21 06:05:39 INFO : file1.copy1.txt: Copied (new) 2025/05/21 06:05:39 DEBUG : file1.copy2.txt: mailru = 0000000000000000000000000000000000000000 OK 2025/05/21 06:05:39 INFO : file1.copy2.txt: Copied (new) 2025/05/21 06:05:39 DEBUG : file1.copy3.txt: mailru = 0000000000000000000000000000000000000000 OK 2025/05/21 06:05:39 INFO : file1.copy3.txt: Copied (new) 2025/05/21 06:05:39 DEBUG : file1.copy4.txt: mailru = 0000000000000000000000000000000000000000 OK 2025/05/21 06:05:39 INFO : file1.copy4.txt: Copied (new) 2025/05/21 06:05:40 DEBUG : [rclone-test-davotoz3maqa/060534hi/rmdirs/path1]: new upload shard: https://uploader.cloud.mail.ru/upload/ 2025/05/21 06:05:40 DEBUG : file1.copy5.txt: mailru = 0000000000000000000000000000000000000000 OK 2025/05/21 06:05:40 INFO : file1.copy5.txt: Copied (new) 2025/05/21 06:05:40 DEBUG : file1.txt: mailru = 0000000000000000000000000000000000000000 OK 2025/05/21 06:05:40 INFO : file1.txt: Copied (new) 2025/05/21 06:05:40 DEBUG : subdir/file20.txt: mailru = 0000000000000000000000000000000000000000 OK 2025/05/21 06:05:40 INFO : subdir/file20.txt: Copied (new) 2025/05/21 06:05:41 DEBUG : RCLONE_TEST: mailru = 527fe20749e9c10cdf04a8acc3f2b81b02e33793 OK 2025/05/21 06:05:41 INFO : RCLONE_TEST: Copied (new) 2025/05/21 06:05:41 NOTICE: checking Path1 [rclone-test-davotoz3maqa/060534hi/rmdirs/path1] 2025/05/21 06:05:41 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : subdir: Making directory with metadata 2025/05/21 06:05:41 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/05/21 06:05:41 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/05/21 06:05:41 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/05/21 06:05:41 DEBUG : Local file system at /tmp/060534hi/rmdirs/path2: Waiting for checks to finish 2025/05/21 06:05:41 DEBUG : Local file system at /tmp/060534hi/rmdirs/path2: Waiting for transfers to finish 2025/05/21 06:05:41 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:41 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/05/21 06:05:41 INFO : file1.copy1.txt: Copied (new) 2025/05/21 06:05:41 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:41 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:41 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/05/21 06:05:41 INFO : file1.copy2.txt: Copied (new) 2025/05/21 06:05:41 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/05/21 06:05:41 INFO : file1.copy3.txt: Copied (new) 2025/05/21 06:05:41 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:41 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/05/21 06:05:41 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/05/21 06:05:41 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:41 INFO : file1.copy4.txt: Copied (new) 2025/05/21 06:05:41 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:41 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/05/21 06:05:41 INFO : RCLONE_TEST: Copied (new) 2025/05/21 06:05:41 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/05/21 06:05:41 INFO : file1.txt: Copied (new) 2025/05/21 06:05:41 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/05/21 06:05:41 INFO : file1.copy5.txt: Copied (new) 2025/05/21 06:05:41 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/05/21 06:05:41 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/05/21 06:05:41 INFO : subdir/file20.txt: Copied (new) 2025/05/21 06:05:41 INFO : subdir: Set directory modification time (using SetModTime) 2025/05/21 06:05:41 NOTICE: checking path2 Local file system at /tmp/060534hi/rmdirs/path2 2025/05/21 06:05:41 NOTICE: (01) : test rmdirs 2025/05/21 06:05:41 NOTICE: (02) : test initial bisync 2025/05/21 06:05:41 NOTICE: (03) : bisync resync 2025/05/21 06:05:41 INFO : subdir: Set directory modification time (using SetModTime) 2025/05/21 06:05:41 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/21 06:05:41 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/21 06:05:41 INFO : Synching Path1 "TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/" with Path2 "/tmp/060534hi/rmdirs/path2/" 2025/05/21 06:05:41 INFO : Copying Path2 files to Path1 2025/05/21 06:05:41 INFO : - Path2 Resync is copying files to - Path1 2025/05/21 06:05:41 INFO : - Path1 Resync is copying files to - Path2 2025/05/21 06:05:41 INFO : subdir: Set directory modification time (using SetModTime) 2025/05/21 06:05:42 INFO : Resync updating listings 2025/05/21 06:05:42 INFO : Validating listings for Path1 "TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/" vs Path2 "/tmp/060534hi/rmdirs/path2/" 2025/05/21 06:05:42 INFO : Bisync successful 2025/05/21 06:05:42 NOTICE: (04) : test 1. delete path1 subdir file 2025/05/21 06:05:42 NOTICE: (05) : delete-file TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/subdir/file20.txt 2025/05/21 06:05:42 INFO : file20.txt: Deleted 2025/05/21 06:05:42 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2025/05/21 06:05:42 NOTICE: (07) : bisync 2025/05/21 06:05:42 INFO : subdir: Set directory modification time (using SetModTime) 2025/05/21 06:05:42 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/21 06:05:42 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/21 06:05:42 INFO : Synching Path1 "TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/" with Path2 "/tmp/060534hi/rmdirs/path2/" 2025/05/21 06:05:42 INFO : Building Path1 and Path2 listings 2025/05/21 06:05:43 INFO : Path1 checking for diffs 2025/05/21 06:05:43 INFO : - Path1 File was deleted - subdir/file20.txt 2025/05/21 06:05:43 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/05/21 06:05:43 INFO : Path2 checking for diffs 2025/05/21 06:05:43 INFO : Applying changes 2025/05/21 06:05:43 INFO : - Path2 Queue delete - /tmp/060534hi/rmdirs/path2/subdir/file20.txt 2025/05/21 06:05:43 INFO : - Path1 Do queued copies to - Path2 2025/05/21 06:05:43 INFO : subdir: Set directory modification time (using SetModTime) 2025/05/21 06:05:43 INFO : subdir/file20.txt: Deleted 2025/05/21 06:05:43 INFO : Updating listings 2025/05/21 06:05:43 INFO : Validating listings for Path1 "TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/" vs Path2 "/tmp/060534hi/rmdirs/path2/" 2025/05/21 06:05:43 INFO : Bisync successful 2025/05/21 06:05:43 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2025/05/21 06:05:43 NOTICE: (09) : list-dirs TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/ 2025/05/21 06:05:43 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/05/21 06:05:43 NOTICE: (10) : list-dirs /tmp/060534hi/rmdirs/path2/ 2025/05/21 06:05:43 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/05/21 06:05:43 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2025/05/21 06:05:43 NOTICE: (12) : bisync remove-empty-dirs 2025/05/21 06:05:44 INFO : subdir: Set directory modification time (using SetModTime) 2025/05/21 06:05:44 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/05/21 06:05:44 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/05/21 06:05:44 INFO : Synching Path1 "TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/" with Path2 "/tmp/060534hi/rmdirs/path2/" 2025/05/21 06:05:44 INFO : Building Path1 and Path2 listings 2025/05/21 06:05:44 INFO : Path1 checking for diffs 2025/05/21 06:05:44 INFO : Path2 checking for diffs 2025/05/21 06:05:44 INFO : No changes found 2025/05/21 06:05:44 INFO : Updating listings 2025/05/21 06:05:44 INFO : Validating listings for Path1 "TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/" vs Path2 "/tmp/060534hi/rmdirs/path2/" 2025/05/21 06:05:44 INFO : Removing empty directories 2025/05/21 06:05:44 INFO : subdir: Removing directory 2025/05/21 06:05:44 INFO : subdir: Removing directory 2025/05/21 06:05:44 INFO : Bisync successful 2025/05/21 06:05:44 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2025/05/21 06:05:44 NOTICE: (14) : list-dirs TestMailru:rclone-test-davotoz3maqa/060534hi/rmdirs/path1/ 2025/05/21 06:05:44 NOTICE: (15) : list-dirs /tmp/060534hi/rmdirs/path2/ bisync_test.go:560: TEST rmdirs PASSED 2025/05/21 06:05:45 DEBUG : [rclone-test-davotoz3maqa]: Purge remote --- PASS: TestBisyncRemoteLocal (10.44s) --- PASS: TestBisyncRemoteLocal/rmdirs (10.08s) PASS 2025/05/21 06:05:45 DEBUG : [rclone-test-fekexir0nasa]: Purge remote 2025/05/21 06:05:45 NOTICE: purge failed: purge failed: object not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestMailru: -verbose -test.run '^TestBisyncRemoteLocal$/^rmdirs$'" - Finished OK in 10.713290699s (try 2/5)