"./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Starting (try 4/5) 2024/12/17 04:15:22 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-towures4kozu" 2024/12/17 04:15:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/12/17 04:15:23 DEBUG : Starting OpenDrive session with ID: f41099b42178e265b2c48241043bfc6c8268ba4e7415cb190fada725c09c6ff6 2024/12/17 04:15:23 DEBUG : Creating backend with remote "/tmp/rclone3119782421" === RUN TestBisyncRemoteRemote 2024/12/17 04:15:23 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-zaparad3qave" 2024/12/17 04:15:24 DEBUG : Starting OpenDrive session with ID: ba093d0d580e082fc9c6bdf76f6a4446124d12d02f62c46d9cd71d502f1fae9a 2024/12/17 04:15:24 NOTICE: remote: TestOpenDrive:rclone-test-zaparad3qave === RUN TestBisyncRemoteRemote/rmdirs 2024/12/17 04:15:24 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-zaparad3qave/041524hi" 2024/12/17 04:15:24 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/12/17 04:15:25 DEBUG : Starting OpenDrive session with ID: dd01f405bcac0000f721d465189defee8a411e1ffd432f2c6df0eded8d93c31f 2024/12/17 04:15:25 DEBUG : path1: Making directory 2024/12/17 04:15:26 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1" 2024/12/17 04:15:27 DEBUG : Starting OpenDrive session with ID: d4f4f820bc6a4943094ce963129a35afea6eac6ceff8cd3fad1a9f759aa5c02a 2024/12/17 04:15:28 DEBUG : path2: Making directory 2024/12/17 04:15:28 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2" 2024/12/17 04:15:29 DEBUG : Starting OpenDrive session with ID: bd78ff857463a0cf1eef1f58878c37419fddbf5e9dbac14737a3bc508fcd7bc3 2024/12/17 04:15:30 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/initial" 2024/12/17 04:15:30 DEBUG : Creating backend with remote "/tmp/041524hi/initdir/test_rmdirs-hahokew8" 2024/12/17 04:15:30 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : subdir: Making directory with metadata 2024/12/17 04:15:30 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2024/12/17 04:15:30 DEBUG : Added delayed dir = "subdir", newDst=subdir 2024/12/17 04:15:30 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:30 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2024/12/17 04:15:30 INFO : file1.copy1.txt: Copied (new) 2024/12/17 04:15:30 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:30 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2024/12/17 04:15:30 INFO : file1.copy2.txt: Copied (new) 2024/12/17 04:15:30 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:30 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2024/12/17 04:15:30 INFO : file1.copy3.txt: Copied (new) 2024/12/17 04:15:30 DEBUG : Local file system at /tmp/041524hi/initdir/test_rmdirs-hahokew8: Waiting for checks to finish 2024/12/17 04:15:30 DEBUG : Local file system at /tmp/041524hi/initdir/test_rmdirs-hahokew8: Waiting for transfers to finish 2024/12/17 04:15:30 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:30 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2024/12/17 04:15:30 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:30 INFO : file1.copy4.txt: Copied (new) 2024/12/17 04:15:30 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2024/12/17 04:15:30 INFO : file1.copy5.txt: Copied (new) 2024/12/17 04:15:30 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:30 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2024/12/17 04:15:30 INFO : file1.txt: Copied (new) 2024/12/17 04:15:30 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:30 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2024/12/17 04:15:30 INFO : subdir/file20.txt: Copied (new) 2024/12/17 04:15:30 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/12/17 04:15:30 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2024/12/17 04:15:30 INFO : RCLONE_TEST: Copied (new) 2024/12/17 04:15:30 INFO : subdir: Set directory modification time (using SetModTime) 2024/12/17 04:15:30 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/modfiles" 2024/12/17 04:15:30 DEBUG : Creating backend with remote "/tmp/041524hi/datadir/test_rmdirs-xanomej3" 2024/12/17 04:15:30 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:30 DEBUG : Local file system at /tmp/041524hi/datadir/test_rmdirs-xanomej3: Waiting for checks to finish 2024/12/17 04:15:30 DEBUG : Local file system at /tmp/041524hi/datadir/test_rmdirs-xanomej3: Waiting for transfers to finish 2024/12/17 04:15:30 DEBUG : file1.txt: md5 = 7fe98ed88552b828777d8630900346b8 OK 2024/12/17 04:15:30 DEBUG : file1.txt.13f42ab5.partial: renamed to: file1.txt 2024/12/17 04:15:30 INFO : file1.txt: Copied (new) 2024/12/17 04:15:30 ERROR : : error listing: directory not found 2024/12/17 04:15:31 ERROR : : error listing: directory not found 2024/12/17 04:15:31 NOTICE: checking initFs Local file system at /tmp/041524hi/initdir/test_rmdirs-hahokew8 2024/12/17 04:15:31 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:31 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:31 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:31 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:31 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:31 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:31 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/12/17 04:15:31 DEBUG : subdir: Making directory 2024/12/17 04:15:32 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:32 DEBUG : OpenDrive root 'rclone-test-zaparad3qave/041524hi/rmdirs/path1': Waiting for checks to finish 2024/12/17 04:15:32 DEBUG : OpenDrive root 'rclone-test-zaparad3qave/041524hi/rmdirs/path1': Waiting for transfers to finish 2024/12/17 04:15:33 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:33 INFO : file1.copy2.txt: Copied (new) 2024/12/17 04:15:34 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:34 INFO : file1.copy1.txt: Copied (new) 2024/12/17 04:15:34 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:34 INFO : file1.copy4.txt: Copied (new) 2024/12/17 04:15:34 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:34 INFO : file1.copy3.txt: Copied (new) 2024/12/17 04:15:35 DEBUG : RCLONE_TEST: Uploading chunk 0, size=109, remain=0 2024/12/17 04:15:35 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:35 INFO : file1.copy5.txt: Copied (new) 2024/12/17 04:15:36 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:36 INFO : subdir/file20.txt: Copied (new) 2024/12/17 04:15:36 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/12/17 04:15:36 INFO : RCLONE_TEST: Copied (new) 2024/12/17 04:15:36 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:36 INFO : file1.txt: Copied (new) 2024/12/17 04:15:36 NOTICE: checking Path1 OpenDrive root 'rclone-test-zaparad3qave/041524hi/rmdirs/path1' 2024/12/17 04:15:37 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : file1.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : subdir: Making directory 2024/12/17 04:15:37 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2024/12/17 04:15:37 DEBUG : OpenDrive root 'rclone-test-zaparad3qave/041524hi/rmdirs/path2': Waiting for checks to finish 2024/12/17 04:15:37 DEBUG : OpenDrive root 'rclone-test-zaparad3qave/041524hi/rmdirs/path2': Waiting for transfers to finish 2024/12/17 04:15:39 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:39 INFO : file1.copy3.txt: Copied (new) 2024/12/17 04:15:39 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:39 INFO : file1.copy1.txt: Copied (new) 2024/12/17 04:15:40 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:40 INFO : file1.copy4.txt: Copied (new) 2024/12/17 04:15:40 DEBUG : RCLONE_TEST: Uploading chunk 0, size=109, remain=0 2024/12/17 04:15:41 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:41 INFO : file1.copy5.txt: Copied (new) 2024/12/17 04:15:41 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:41 INFO : file1.copy2.txt: Copied (new) 2024/12/17 04:15:41 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2024/12/17 04:15:41 INFO : RCLONE_TEST: Copied (new) 2024/12/17 04:15:42 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:42 INFO : subdir/file20.txt: Copied (new) 2024/12/17 04:15:43 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/12/17 04:15:43 INFO : file1.txt: Copied (new) 2024/12/17 04:15:43 NOTICE: checking path2 OpenDrive root 'rclone-test-zaparad3qave/041524hi/rmdirs/path2' 2024/12/17 04:15:43 NOTICE: (01) : test rmdirs 2024/12/17 04:15:43 NOTICE: (02) : test initial bisync 2024/12/17 04:15:43 NOTICE: (03) : bisync resync 2024/12/17 04:15:47 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/12/17 04:15:47 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/12/17 04:15:47 INFO : Synching Path1 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/" with Path2 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/" 2024/12/17 04:15:47 INFO : Copying Path2 files to Path1 2024/12/17 04:15:47 INFO : - Path2 Resync is copying files to - Path1 2024/12/17 04:15:48 INFO : - Path1 Resync is copying files to - Path2 2024/12/17 04:15:50 INFO : Resync updating listings 2024/12/17 04:15:50 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/" 2024/12/17 04:15:50 INFO : Bisync successful 2024/12/17 04:15:50 NOTICE: (04) : test 1. delete path1 subdir file 2024/12/17 04:15:50 NOTICE: (05) : delete-file TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/subdir/file20.txt 2024/12/17 04:15:52 INFO : file20.txt: Deleted 2024/12/17 04:15:52 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2024/12/17 04:15:52 NOTICE: (07) : bisync 2024/12/17 04:15:56 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/12/17 04:15:56 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/12/17 04:15:56 INFO : Synching Path1 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/" with Path2 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/" 2024/12/17 04:15:56 INFO : Building Path1 and Path2 listings 2024/12/17 04:15:57 INFO : Path1 checking for diffs 2024/12/17 04:15:57 INFO : - Path1 File was deleted - subdir/file20.txt 2024/12/17 04:15:57 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2024/12/17 04:15:57 INFO : Path2 checking for diffs 2024/12/17 04:15:57 INFO : Applying changes 2024/12/17 04:15:57 INFO : - Path2 Queue delete - TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/subdir/file20.txt 2024/12/17 04:15:57 INFO : - Path1 Do queued copies to - Path2 2024/12/17 04:15:58 INFO : subdir/file20.txt: Deleted 2024/12/17 04:15:58 INFO : Updating listings 2024/12/17 04:15:58 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/" 2024/12/17 04:15:58 INFO : Bisync successful 2024/12/17 04:15:58 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2024/12/17 04:15:58 NOTICE: (09) : list-dirs TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/ 2024/12/17 04:16:00 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2024/12/17 04:16:00 NOTICE: (10) : list-dirs TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/ 2024/12/17 04:16:01 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2024/12/17 04:16:02 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2024/12/17 04:16:02 NOTICE: (12) : bisync remove-empty-dirs 2024/12/17 04:16:06 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2024/12/17 04:16:06 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2024/12/17 04:16:06 INFO : Synching Path1 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/" with Path2 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/" 2024/12/17 04:16:06 INFO : Building Path1 and Path2 listings 2024/12/17 04:16:07 INFO : Path1 checking for diffs 2024/12/17 04:16:07 INFO : Path2 checking for diffs 2024/12/17 04:16:07 INFO : No changes found 2024/12/17 04:16:07 INFO : Updating listings 2024/12/17 04:16:07 INFO : Validating listings for Path1 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/" vs Path2 "TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/" 2024/12/17 04:16:07 INFO : Removing empty directories 2024/12/17 04:16:07 INFO : subdir: Removing directory 2024/12/17 04:16:08 INFO : subdir: Removing directory 2024/12/17 04:16:09 INFO : Bisync successful 2024/12/17 04:16:09 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2024/12/17 04:16:09 NOTICE: (14) : list-dirs TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path1/ 2024/12/17 04:16:09 NOTICE: (15) : list-dirs TestOpenDrive:rclone-test-zaparad3qave/041524hi/rmdirs/path2/ bisync_test.go:558: TEST rmdirs PASSED 2024/12/17 04:16:10 DEBUG : OpenDrive root 'rclone-test-zaparad3qave': Purge remote --- PASS: TestBisyncRemoteRemote (47.33s) --- PASS: TestBisyncRemoteRemote/rmdirs (45.43s) PASS 2024/12/17 04:16:10 DEBUG : OpenDrive root 'rclone-test-towures4kozu': Purge remote 2024/12/17 04:16:11 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Finished OK in 48.472766784s (try 4/5)