"./bisync.test -test.v -test.timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Starting (try 3/5) 2025/03/16 02:53:26 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-bujimuz9mena" 2025/03/16 02:53:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/16 02:53:27 DEBUG : Creating backend with remote "/tmp/rclone4044092774" === RUN TestBisyncRemoteRemote 2025/03/16 02:53:27 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-foneley9viji" 2025/03/16 02:53:29 NOTICE: remote: TestOneDriveBusiness:rclone-test-foneley9viji === RUN TestBisyncRemoteRemote/rmdirs 2025/03/16 02:53:29 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo" 2025/03/16 02:53:29 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/16 02:53:30 INFO : path1: Making directory 2025/03/16 02:53:33 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1" 2025/03/16 02:53:35 INFO : path2: Making directory 2025/03/16 02:53:36 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2" 2025/03/16 02:53:39 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/initial" 2025/03/16 02:53:39 DEBUG : Creating backend with remote "/tmp/025329lo/initdir/test_rmdirs-valoroh5" 2025/03/16 02:53:39 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : subdir: Making directory with metadata 2025/03/16 02:53:39 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/03/16 02:53:39 DEBUG : Added delayed dir = "subdir", newDst=subdir 2025/03/16 02:53:39 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : Local file system at /tmp/025329lo/initdir/test_rmdirs-valoroh5: Waiting for checks to finish 2025/03/16 02:53:39 DEBUG : Local file system at /tmp/025329lo/initdir/test_rmdirs-valoroh5: Waiting for transfers to finish 2025/03/16 02:53:39 DEBUG : file1.copy1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/16 02:53:39 DEBUG : file1.copy1.txt.5028a97.partial: renamed to: file1.copy1.txt 2025/03/16 02:53:39 INFO : file1.copy1.txt: Copied (new) 2025/03/16 02:53:39 DEBUG : file1.copy4.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/16 02:53:39 DEBUG : file1.copy4.txt.5028a97.partial: renamed to: file1.copy4.txt 2025/03/16 02:53:39 INFO : file1.copy4.txt: Copied (new) 2025/03/16 02:53:39 DEBUG : file1.copy2.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/16 02:53:39 DEBUG : file1.copy2.txt.5028a97.partial: renamed to: file1.copy2.txt 2025/03/16 02:53:39 INFO : file1.copy2.txt: Copied (new) 2025/03/16 02:53:39 DEBUG : file1.copy3.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/16 02:53:39 DEBUG : file1.copy3.txt.5028a97.partial: renamed to: file1.copy3.txt 2025/03/16 02:53:39 INFO : file1.copy3.txt: Copied (new) 2025/03/16 02:53:39 DEBUG : file1.copy5.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/16 02:53:39 DEBUG : subdir/file20.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/16 02:53:39 DEBUG : file1.copy5.txt.5028a97.partial: renamed to: file1.copy5.txt 2025/03/16 02:53:39 INFO : file1.copy5.txt: Copied (new) 2025/03/16 02:53:39 DEBUG : subdir/file20.txt.5028a97.partial: renamed to: subdir/file20.txt 2025/03/16 02:53:39 INFO : subdir/file20.txt: Copied (new) 2025/03/16 02:53:39 DEBUG : RCLONE_TEST: md5 = 294d25b294ff26a5243dba914ac3fbf7 OK 2025/03/16 02:53:39 DEBUG : file1.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/16 02:53:39 DEBUG : RCLONE_TEST.cf9a93ac.partial: renamed to: RCLONE_TEST 2025/03/16 02:53:39 INFO : RCLONE_TEST: Copied (new) 2025/03/16 02:53:39 DEBUG : file1.txt.5028a97.partial: renamed to: file1.txt 2025/03/16 02:53:39 INFO : file1.txt: Copied (new) 2025/03/16 02:53:39 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/16 02:53:39 DEBUG : Creating backend with remote "/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/testdata/test_rmdirs/modfiles" 2025/03/16 02:53:39 DEBUG : Creating backend with remote "/tmp/025329lo/datadir/test_rmdirs-dalikis3" 2025/03/16 02:53:39 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:39 DEBUG : Local file system at /tmp/025329lo/datadir/test_rmdirs-dalikis3: Waiting for checks to finish 2025/03/16 02:53:39 DEBUG : Local file system at /tmp/025329lo/datadir/test_rmdirs-dalikis3: Waiting for transfers to finish 2025/03/16 02:53:39 DEBUG : file1.txt: md5 = 7fe98ed88552b828777d8630900346b8 OK 2025/03/16 02:53:39 DEBUG : file1.txt.13f42ab5.partial: renamed to: file1.txt 2025/03/16 02:53:39 INFO : file1.txt: Copied (new) 2025/03/16 02:53:40 ERROR : : error listing: directory not found 2025/03/16 02:53:40 ERROR : : error listing: directory not found 2025/03/16 02:53:40 NOTICE: checking initFs Local file system at /tmp/025329lo/initdir/test_rmdirs-valoroh5 2025/03/16 02:53:41 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:41 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:41 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:41 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:41 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:41 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:41 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/16 02:53:41 DEBUG : subdir: Making directory with metadata 2025/03/16 02:53:42 DEBUG : file1.copy1.txt: Starting singlepart upload 2025/03/16 02:53:42 DEBUG : file1.copy2.txt: Starting singlepart upload 2025/03/16 02:53:42 DEBUG : file1.copy3.txt: Starting singlepart upload 2025/03/16 02:53:42 DEBUG : file1.copy4.txt: Starting singlepart upload 2025/03/16 02:53:43 DEBUG : subdir: setting time 2021-11-02 05:00:07 +0000 UTC 2025/03/16 02:53:43 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/03/16 02:53:43 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:43 DEBUG : OneDrive root 'rclone-test-foneley9viji/025329lo/rmdirs/path1': Waiting for checks to finish 2025/03/16 02:53:43 DEBUG : OneDrive root 'rclone-test-foneley9viji/025329lo/rmdirs/path1': Waiting for transfers to finish 2025/03/16 02:53:44 DEBUG : file1.copy4.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:44 INFO : file1.copy4.txt: Copied (new) 2025/03/16 02:53:44 DEBUG : file1.copy5.txt: Starting singlepart upload 2025/03/16 02:53:44 DEBUG : file1.copy1.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:44 INFO : file1.copy1.txt: Copied (new) 2025/03/16 02:53:44 DEBUG : file1.txt: Starting singlepart upload 2025/03/16 02:53:44 DEBUG : file1.copy3.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:44 INFO : file1.copy3.txt: Copied (new) 2025/03/16 02:53:44 DEBUG : RCLONE_TEST: Starting multipart upload 2025/03/16 02:53:45 DEBUG : file1.copy5.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:45 INFO : file1.copy5.txt: Copied (new) 2025/03/16 02:53:45 DEBUG : subdir/file20.txt: Starting singlepart upload 2025/03/16 02:53:45 DEBUG : RCLONE_TEST: Uploading segment 0/109 size 109 2025/03/16 02:53:45 DEBUG : file1.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:45 INFO : file1.txt: Copied (new) 2025/03/16 02:53:46 DEBUG : file1.copy2.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:46 INFO : file1.copy2.txt: Copied (new) 2025/03/16 02:53:46 DEBUG : subdir/file20.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:46 INFO : subdir/file20.txt: Copied (new) 2025/03/16 02:53:46 DEBUG : RCLONE_TEST: quickxor = d3ed6bdc9f8d10e5b3b59d8fcc99acce82169035 OK 2025/03/16 02:53:46 INFO : RCLONE_TEST: Copied (new) 2025/03/16 02:53:46 NOTICE: checking Path1 OneDrive root 'rclone-test-foneley9viji/025329lo/rmdirs/path1' 2025/03/16 02:53:48 DEBUG : file1.copy1.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:48 DEBUG : file1.copy2.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:48 DEBUG : file1.copy3.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:48 DEBUG : file1.copy4.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:48 DEBUG : file1.copy5.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:48 DEBUG : file1.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:48 DEBUG : RCLONE_TEST: Need to transfer - File not found at Destination 2025/03/16 02:53:48 DEBUG : subdir: Making directory with metadata 2025/03/16 02:53:49 DEBUG : file1.copy4.txt: Starting singlepart upload 2025/03/16 02:53:49 DEBUG : file1.copy1.txt: Starting singlepart upload 2025/03/16 02:53:49 DEBUG : file1.copy2.txt: Starting singlepart upload 2025/03/16 02:53:49 DEBUG : file1.copy3.txt: Starting singlepart upload 2025/03/16 02:53:50 DEBUG : file1.copy4.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:50 INFO : file1.copy4.txt: Copied (new) 2025/03/16 02:53:50 DEBUG : file1.copy5.txt: Starting singlepart upload 2025/03/16 02:53:50 DEBUG : subdir: setting time 2021-11-02 05:00:07 +0000 UTC 2025/03/16 02:53:50 INFO : subdir: Made directory with metadata (mtime=2021-11-02T05:00:07Z) 2025/03/16 02:53:50 DEBUG : subdir/file20.txt: Need to transfer - File not found at Destination 2025/03/16 02:53:50 DEBUG : OneDrive root 'rclone-test-foneley9viji/025329lo/rmdirs/path2': Waiting for checks to finish 2025/03/16 02:53:50 DEBUG : OneDrive root 'rclone-test-foneley9viji/025329lo/rmdirs/path2': Waiting for transfers to finish 2025/03/16 02:53:50 DEBUG : file1.copy1.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:50 INFO : file1.copy1.txt: Copied (new) 2025/03/16 02:53:50 DEBUG : file1.txt: Starting singlepart upload 2025/03/16 02:53:50 DEBUG : file1.copy3.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:50 INFO : file1.copy3.txt: Copied (new) 2025/03/16 02:53:50 DEBUG : RCLONE_TEST: Starting multipart upload 2025/03/16 02:53:50 DEBUG : file1.copy2.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:50 INFO : file1.copy2.txt: Copied (new) 2025/03/16 02:53:50 DEBUG : subdir/file20.txt: Starting singlepart upload 2025/03/16 02:53:51 DEBUG : file1.copy5.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:51 INFO : file1.copy5.txt: Copied (new) 2025/03/16 02:53:51 DEBUG : RCLONE_TEST: Uploading segment 0/109 size 109 2025/03/16 02:53:52 DEBUG : subdir/file20.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:52 INFO : subdir/file20.txt: Copied (new) 2025/03/16 02:53:52 DEBUG : file1.txt: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/16 02:53:52 INFO : file1.txt: Copied (new) 2025/03/16 02:53:53 DEBUG : RCLONE_TEST: quickxor = d3ed6bdc9f8d10e5b3b59d8fcc99acce82169035 OK 2025/03/16 02:53:53 INFO : RCLONE_TEST: Copied (new) 2025/03/16 02:53:53 NOTICE: checking path2 OneDrive root 'rclone-test-foneley9viji/025329lo/rmdirs/path2' 2025/03/16 02:53:54 NOTICE: (01) : test rmdirs 2025/03/16 02:53:54 NOTICE: (02) : test initial bisync 2025/03/16 02:53:54 NOTICE: (03) : bisync resync 2025/03/16 02:53:59 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/16 02:54:00 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/16 02:54:00 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/16 02:54:00 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/03/16 02:54:00 INFO : Synching Path1 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/" with Path2 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/" 2025/03/16 02:54:00 INFO : Copying Path2 files to Path1 2025/03/16 02:54:00 INFO : - Path2 Resync is copying files to - Path1 2025/03/16 02:54:01 INFO : - Path1 Resync is copying files to - Path2 2025/03/16 02:54:02 INFO : Resync updating listings 2025/03/16 02:54:02 INFO : Validating listings for Path1 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/" vs Path2 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/" 2025/03/16 02:54:02 INFO : Bisync successful 2025/03/16 02:54:02 NOTICE: (04) : test 1. delete path1 subdir file 2025/03/16 02:54:02 NOTICE: (05) : delete-file TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/subdir/file20.txt 2025/03/16 02:54:05 INFO : file20.txt: Deleted 2025/03/16 02:54:05 NOTICE: (06) : test 2. run bisync without remove-empty-dirs 2025/03/16 02:54:05 NOTICE: (07) : bisync 2025/03/16 02:54:10 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/16 02:54:11 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/16 02:54:11 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/16 02:54:11 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/03/16 02:54:11 INFO : Synching Path1 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/" with Path2 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/" 2025/03/16 02:54:11 INFO : Building Path1 and Path2 listings 2025/03/16 02:54:12 INFO : Path1 checking for diffs 2025/03/16 02:54:12 INFO : - Path1 File was deleted - subdir/file20.txt 2025/03/16 02:54:12 INFO : Path1: 1 changes:  0 new,  0 modified,  1 deleted 2025/03/16 02:54:12 INFO : Path2 checking for diffs 2025/03/16 02:54:12 INFO : Applying changes 2025/03/16 02:54:12 INFO : - Path2 Queue delete - TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/subdir/file20.txt 2025/03/16 02:54:12 INFO : - Path1 Do queued copies to - Path2 2025/03/16 02:54:13 INFO : subdir/file20.txt: Deleted 2025/03/16 02:54:13 INFO : Updating listings 2025/03/16 02:54:13 INFO : Validating listings for Path1 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/" vs Path2 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/" 2025/03/16 02:54:13 INFO : Bisync successful 2025/03/16 02:54:13 NOTICE: (08) : test 3. confirm the subdir still exists on both paths 2025/03/16 02:54:13 NOTICE: (09) : list-dirs TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/ 2025/03/16 02:54:16 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/16 02:54:16 NOTICE: (10) : list-dirs TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/ 2025/03/16 02:54:19 NOTICE: subdir/ - filename hash: 86ae37b338459868804e9697025ba4c2 2025/03/16 02:54:19 NOTICE: (11) : test 4. run bisync with remove-empty-dirs 2025/03/16 02:54:19 NOTICE: (12) : bisync remove-empty-dirs 2025/03/16 02:54:24 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/16 02:54:24 INFO : subdir: Set directory modification time (using SetModTime) 2025/03/16 02:54:25 INFO : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set. 2025/03/16 02:54:25 INFO : Bisyncing with Comparison Settings: { "Modtime": true, "Size": true, "Checksum": false, "HashType1": 0, "HashType2": 0, "NoSlowHash": false, "SlowHashSyncOnly": false, "SlowHashDetected": false, "DownloadHash": false } 2025/03/16 02:54:25 INFO : Synching Path1 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/" with Path2 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/" 2025/03/16 02:54:25 INFO : Building Path1 and Path2 listings 2025/03/16 02:54:25 INFO : Path1 checking for diffs 2025/03/16 02:54:25 INFO : Path2 checking for diffs 2025/03/16 02:54:25 INFO : No changes found 2025/03/16 02:54:25 INFO : Updating listings 2025/03/16 02:54:25 INFO : Validating listings for Path1 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/" vs Path2 "TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/" 2025/03/16 02:54:25 INFO : Removing empty directories 2025/03/16 02:54:26 INFO : subdir: Removing directory 2025/03/16 02:54:27 INFO : subdir: Removing directory 2025/03/16 02:54:28 INFO : Bisync successful 2025/03/16 02:54:28 NOTICE: (13) : test 5. confirm the subdir has been removed on both paths 2025/03/16 02:54:28 NOTICE: (14) : list-dirs TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path1/ 2025/03/16 02:54:28 NOTICE: (15) : list-dirs TestOneDriveBusiness:rclone-test-foneley9viji/025329lo/rmdirs/path2/ bisync_test.go:560: TEST rmdirs PASSED 2025/03/16 02:54:29 DEBUG : OneDrive root 'rclone-test-foneley9viji': Purge remote --- PASS: TestBisyncRemoteRemote (63.80s) --- PASS: TestBisyncRemoteRemote/rmdirs (60.20s) PASS 2025/03/16 02:54:30 DEBUG : OneDrive root 'rclone-test-bujimuz9mena': Purge remote 2025/03/16 02:54:31 NOTICE: purge failed: directory not found "./bisync.test -test.v -test.timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^TestBisyncRemoteRemote$/^rmdirs$'" - Finished OK in 1m5.586495177s (try 3/5)