"./bisync.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^TestBisyncLocalRemote$/^rmdirs$'" - Starting (try 3/5) 2025/04/16 06:06:55 DEBUG : Creating backend with remote "TestYandex:rclone-test-loqubes9gana" 2025/04/16 06:06:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/16 06:06:56 DEBUG : Creating backend with remote "/tmp/rclone3727303722" === RUN TestBisyncLocalRemote 2025/04/16 06:06:56 DEBUG : Creating backend with remote "TestYandex:rclone-test-cubosuq1dico" 2025/04/16 06:06:56 NOTICE: remote: TestYandex:rclone-test-cubosuq1dico === RUN TestBisyncLocalRemote/rmdirs 2025/04/16 06:06:56 DEBUG : Creating backend with remote "/tmp/060656yi" 2025/04/16 06:06:56 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/16 06:06:56 DEBUG : Creating backend with remote "/tmp/060656yi/rmdirs/path1" 2025/04/16 06:06:56 DEBUG : Creating backend with remote "TestYandex:rclone-test-cubosuq1dico/060656yi" 2025/04/16 06:06:57 INFO : path2: Making directory 2025/04/16 06:06:59 DEBUG : Creating backend with remote "TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2" 2025/04/16 06:07:00 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/initial" 2025/04/16 06:07:00 DEBUG : Creating backend with remote "/tmp/060656yi/initdir/test_rmdirs-goqutom8" 2025/04/16 06:07:00 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : subdir: Making directory with metadata 2025/04/16 06:07:00 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/04/16 06:07:00 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/04/16 06:07:00 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : Local file system at /tmp/060656yi/initdir/test_rmdirs-goqutom8: Waiting for checks to finish 2025/04/16 06:07:00 DEBUG : Local file system at /tmp/060656yi/initdir/test_rmdirs-goqutom8: Waiting for transfers to finish 2025/04/16 06:07:00 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:00 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:00 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/04/16 06:07:00 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/04/16 06:07:00 INFO : file1.copy1.txt: Copied (new) 2025/04/16 06:07:00 INFO : file1.copy2.txt: Copied (new) 2025/04/16 06:07:00 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:00 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:00 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:00 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/04/16 06:07:00 INFO : file1.copy4.txt: Copied (new) 2025/04/16 06:07:00 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/04/16 06:07:00 INFO : file1.copy3.txt: Copied (new) 2025/04/16 06:07:00 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/04/16 06:07:00 INFO : file1.copy5.txt: Copied (new) 2025/04/16 06:07:00 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:00 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:00 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/04/16 06:07:00 INFO : file1.txt: Copied (new) 2025/04/16 06:07:00 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/04/16 06:07:00 INFO : subdir/file20.txt: Copied (new) 2025/04/16 06:07:00 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/16 06:07:00 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/04/16 06:07:00 INFO : RCLONE_TEST: Copied (new) 2025/04/16 06:07:00 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/16 06:07:00 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/modfiles" 2025/04/16 06:07:00 DEBUG : Creating backend with remote "/tmp/060656yi/datadir/test_rmdirs-vedeyeg9" 2025/04/16 06:07:00 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:00 DEBUG : Local file system at /tmp/060656yi/datadir/test_rmdirs-vedeyeg9: Waiting for checks to finish 2025/04/16 06:07:00 DEBUG : Local file system at /tmp/060656yi/datadir/test_rmdirs-vedeyeg9: Waiting for transfers to finish 2025/04/16 06:07:00 DEBUG : file1.txt: md5 = 7fe98ed88552b828777d8630900346b8 OK 2025/04/16 06:07:00 DEBUG : file1.txt.13f42ab5.partial: renamed to: file1.txt 2025/04/16 06:07:00 INFO : file1.txt: Copied (new) 2025/04/16 06:07:00 ERROR : : error listing: directory not found 2025/04/16 06:07:01 ERROR : : error listing: directory not found 2025/04/16 06:07:01 NOTICE: checking initFs Local file system at /tmp/060656yi/initdir/test_rmdirs-goqutom8 2025/04/16 06:07:01 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : subdir: Making directory with metadata 2025/04/16 06:07:01 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/04/16 06:07:01 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/04/16 06:07:01 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : Local file system at /tmp/060656yi/rmdirs/path1: Waiting for checks to finish 2025/04/16 06:07:01 DEBUG : Local file system at /tmp/060656yi/rmdirs/path1: Waiting for transfers to finish 2025/04/16 06:07:01 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:01 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/04/16 06:07:01 INFO : file1.copy2.txt: Copied (new) 2025/04/16 06:07:01 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:01 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:01 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/04/16 06:07:01 INFO : file1.copy3.txt: Copied (new) 2025/04/16 06:07:01 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:01 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/04/16 06:07:01 INFO : file1.copy4.txt: Copied (new) 2025/04/16 06:07:01 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/04/16 06:07:01 INFO : file1.copy1.txt: Copied (new) 2025/04/16 06:07:01 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:01 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:01 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/04/16 06:07:01 INFO : file1.txt: Copied (new) 2025/04/16 06:07:01 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/04/16 06:07:01 INFO : file1.copy5.txt: Copied (new) 2025/04/16 06:07:01 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:01 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/04/16 06:07:01 INFO : subdir/file20.txt: Copied (new) 2025/04/16 06:07:01 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/16 06:07:01 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/04/16 06:07:01 INFO : RCLONE_TEST: Copied (new) 2025/04/16 06:07:01 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/16 06:07:01 NOTICE: checking Path1 Local file system at /tmp/060656yi/rmdirs/path1 2025/04/16 06:07:01 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:01 INFO : subdir: Making directory 2025/04/16 06:07:05 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:05 INFO : file1.copy3.txt: Copied (new) 2025/04/16 06:07:05 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/04/16 06:07:05 DEBUG : Yandex rclone-test-cubosuq1dico/060656yi/rmdirs/path2: Waiting for checks to finish 2025/04/16 06:07:05 DEBUG : Yandex rclone-test-cubosuq1dico/060656yi/rmdirs/path2: Waiting for transfers to finish 2025/04/16 06:07:05 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:05 INFO : file1.copy1.txt: Copied (new) 2025/04/16 06:07:06 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:06 INFO : file1.copy2.txt: Copied (new) 2025/04/16 06:07:07 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/04/16 06:07:07 INFO : RCLONE_TEST: Copied (new) 2025/04/16 06:07:07 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:07 INFO : file1.copy4.txt: Copied (new) 2025/04/16 06:07:08 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:08 INFO : file1.txt: Copied (new) 2025/04/16 06:07:08 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:08 INFO : file1.copy5.txt: Copied (new) 2025/04/16 06:07:09 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/16 06:07:09 INFO : subdir/file20.txt: Copied (new) 2025/04/16 06:07:09 NOTICE: checking path2 Yandex rclone-test-cubosuq1dico/060656yi/rmdirs/path2 2025/04/16 06:07:10 NOTICE: (01) : test rmdirs 2025/04/16 06:07:10 NOTICE: (02) : test initial bisync 2025/04/16 06:07:10 NOTICE: (03) : bisync resync 2025/04/16 06:07:18 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/16 06:07:18 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/16 06:07:18 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/16 06:07:18 INFO : Synching Path1 "/tmp/060656yi/rmdirs/path1/" with Path2 "TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/" 2025/04/16 06:07:18 INFO : Copying Path2 files to Path1 2025/04/16 06:07:18 INFO : - Path2 Resync is copying files to - Path1 2025/04/16 06:07:18 INFO : - Path1 Resync is copying files to - Path2 2025/04/16 06:07:19 INFO : Resync updating listings 2025/04/16 06:07:19 INFO : Validating listings for Path1 "/tmp/060656yi/rmdirs/path1/" vs Path2 "TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/" 2025/04/16 06:07:19 INFO : Bisync successful 2025/04/16 06:07:19 NOTICE: (04) : test 1. delete path1 subdir file 2025/04/16 06:07:19 NOTICE: (05) : delete-file /tmp/060656yi/rmdirs/path1/subdir/file20.txt 2025/04/16 06:07:19 INFO : file20.txt: Deleted 2025/04/16 06:07:19 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2025/04/16 06:07:19 NOTICE: (07) : bisync 2025/04/16 06:07:27 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/16 06:07:27 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/16 06:07:27 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": true, "DownloadHash": false } 2025/04/16 06:07:27 INFO : Synching Path1 "/tmp/060656yi/rmdirs/path1/" with Path2 "TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/" 2025/04/16 06:07:27 INFO : Building Path1 and Path2 listings 2025/04/16 06:07:28 INFO : Path1 checking for diffs 2025/04/16 06:07:28 INFO : - Path1 File was deleted - subdir/file20.txt 2025/04/16 06:07:28 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/04/16 06:07:28 INFO : Path2 checking for diffs 2025/04/16 06:07:28 INFO : Applying changes 2025/04/16 06:07:28 INFO : - Path2 Queue delete - TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/subdir/file20.txt 2025/04/16 06:07:28 INFO : - Path1 Do queued copies to - Path2 2025/04/16 06:07:33 INFO : subdir/file20.txt: Deleted 2025/04/16 06:07:33 INFO : Updating listings 2025/04/16 06:07:33 INFO : Validating listings for Path1 "/tmp/060656yi/rmdirs/path1/" vs Path2 "TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/" 2025/04/16 06:07:33 INFO : Bisync successful 2025/04/16 06:07:33 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2025/04/16 06:07:33 NOTICE: (09) : list-dirs /tmp/060656yi/rmdirs/path1/ 2025/04/16 06:07:33 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/04/16 06:07:33 NOTICE: (10) : list-dirs TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/ 2025/04/16 06:07:34 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/04/16 06:07:34 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2025/04/16 06:07:34 NOTICE: (12) : bisync remove-empty-dirs 2025/04/16 06:07:44 INFO : subdir: Set directory modification time (using SetModTime) 2025/04/16 06:07:44 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/04/16 06:07: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/04/16 06:07:44 INFO : Synching Path1 "/tmp/060656yi/rmdirs/path1/" with Path2 "TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/" 2025/04/16 06:07:44 INFO : Building Path1 and Path2 listings 2025/04/16 06:07:44 INFO : Path1 checking for diffs 2025/04/16 06:07:44 INFO : Path2 checking for diffs 2025/04/16 06:07:44 INFO : No changes found 2025/04/16 06:07:44 INFO : Updating listings 2025/04/16 06:07:44 INFO : Validating listings for Path1 "/tmp/060656yi/rmdirs/path1/" vs Path2 "TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/" 2025/04/16 06:07:44 INFO : Removing empty directories 2025/04/16 06:07:44 INFO : subdir: Removing directory 2025/04/16 06:07:45 INFO : subdir: Removing directory 2025/04/16 06:07:51 INFO : Bisync successful 2025/04/16 06:07:51 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2025/04/16 06:07:51 NOTICE: (14) : list-dirs /tmp/060656yi/rmdirs/path1/ 2025/04/16 06:07:51 NOTICE: (15) : list-dirs TestYandex:rclone-test-cubosuq1dico/060656yi/rmdirs/path2/ bisync_test.go:560: TEST rmdirs PASSED 2025/04/16 06:08:06 DEBUG : Yandex rclone-test-cubosuq1dico: Purge remote --- PASS: TestBisyncLocalRemote (77.49s) --- PASS: TestBisyncLocalRemote/rmdirs (69.86s) PASS 2025/04/16 06:08:13 DEBUG : Yandex rclone-test-loqubes9gana: Purge remote 2025/04/16 06:08:14 NOTICE: purge failed: [404 - DiskNotFoundError] Resource not found. (Не удалось найти запрошенный ресурс.) "./bisync.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^TestBisyncLocalRemote$/^rmdirs$'" - Finished OK in 1m18.348463738s (try 3/5)