"./sync.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestBase64|TestManualTransformFile|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestTransformFile)$'" - Starting (try 2/5) 2026/05/01 01:50:47 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu" 2026/05/01 01:50:47 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/01 01:50:48 DEBUG : Creating backend with remote "/tmp/rclone391171140" === RUN TestServerSideMoveOverSelf run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:50:50 DEBUG : Creating backend with remote "TestDrime:rclone-test-xiboluz3xovi" sync_test.go:701: Server side copy (if possible) drime root 'rclone-test-guhahit1jawu' -> drime root 'rclone-test-xiboluz3xovi' 2026/05/01 01:50:51 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2026/05/01 01:50:51 DEBUG : drime root 'rclone-test-xiboluz3xovi': Waiting for checks to finish 2026/05/01 01:50:51 DEBUG : drime root 'rclone-test-xiboluz3xovi': Waiting for transfers to finish 2026/05/01 01:50:53 DEBUG : sub dir/hello world: size = 11 OK 2026/05/01 01:50:53 INFO : sub dir/hello world: Copied (server-side copy) 2026/05/01 01:50:54 DEBUG : sub dir/hello world: Removing old object on successful upload 2026/05/01 01:50:55 DEBUG : drime root 'rclone-test-xiboluz3xovi': Using server-side directory move 2026/05/01 01:50:55 INFO : drime root 'rclone-test-xiboluz3xovi': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/05/01 01:50:55 DEBUG : drime root 'rclone-test-xiboluz3xovi': Waiting for checks to finish 2026/05/01 01:50:55 DEBUG : sub dir/hello world: size = 17 (drime root 'rclone-test-guhahit1jawu') 2026/05/01 01:50:55 DEBUG : sub dir/hello world: size = 11 (drime root 'rclone-test-xiboluz3xovi') 2026/05/01 01:50:55 DEBUG : sub dir/hello world: Sizes differ 2026/05/01 01:50:55 DEBUG : drime root 'rclone-test-xiboluz3xovi': Waiting for transfers to finish 2026/05/01 01:50:56 INFO : sub dir/hello world: Deleted 2026/05/01 01:50:56 ERROR : sub dir/hello world: Couldn't move: object not found sync_test.go:714: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:714 Error: Received unexpected error: object not found Test: TestServerSideMoveOverSelf 2026/05/01 01:50:56 DEBUG : drime root 'rclone-test-xiboluz3xovi': Purge remote fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestServerSideMoveOverSelf (17.61s) === RUN TestServerSideMove run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:51:05 DEBUG : Creating backend with remote "TestDrime:rclone-test-rovixef9tano" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure sync_test.go:1736: Server side move (if possible) drime root 'rclone-test-guhahit1jawu' -> drime root 'rclone-test-rovixef9tano' 2026/05/01 01:51:19 DEBUG : drime root 'rclone-test-rovixef9tano': Using server-side directory move 2026/05/01 01:51:19 INFO : drime root 'rclone-test-rovixef9tano': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/05/01 01:51:19 DEBUG : potato2: Need to transfer - File not found at Destination 2026/05/01 01:51:19 DEBUG : empty space: size = 1 OK 2026/05/01 01:51:19 DEBUG : empty space: Sizes identical 2026/05/01 01:51:19 DEBUG : empty space: Unchanged skipping 2026/05/01 01:51:19 DEBUG : potato3: size = 68 (drime root 'rclone-test-guhahit1jawu') 2026/05/01 01:51:19 DEBUG : potato3: size = 60 (drime root 'rclone-test-rovixef9tano') 2026/05/01 01:51:19 DEBUG : potato3: Sizes differ 2026/05/01 01:51:19 DEBUG : drime root 'rclone-test-rovixef9tano': Waiting for checks to finish 2026/05/01 01:51:19 INFO : empty space: Deleted 2026/05/01 01:51:19 DEBUG : drime root 'rclone-test-rovixef9tano': Waiting for transfers to finish 2026/05/01 01:51:19 INFO : potato3: Deleted 2026/05/01 01:51:20 ERROR : potato2: Couldn't move: object not found 2026/05/01 01:51:20 INFO : potato3: Moved (server-side) sync_test.go:1747: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1747 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1912 Error: Received unexpected error: object not found Test: TestServerSideMove 2026/05/01 01:51:20 DEBUG : drime root 'rclone-test-rovixef9tano': Purge remote --- FAIL: TestServerSideMove (15.32s) === RUN TestServerSideMoveWithFilter run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:51:21 DEBUG : Creating backend with remote "TestDrime:rclone-test-quluxud9mapu" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure sync_test.go:1736: Server side move (if possible) drime root 'rclone-test-guhahit1jawu' -> drime root 'rclone-test-quluxud9mapu' 2026/05/01 01:51:34 DEBUG : empty space: Excluded (Size Filter) 2026/05/01 01:51:34 DEBUG : empty space: Excluded 2026/05/01 01:51:34 DEBUG : empty space: Excluded (Size Filter) 2026/05/01 01:51:34 DEBUG : empty space: Excluded 2026/05/01 01:51:34 DEBUG : potato2: Need to transfer - File not found at Destination 2026/05/01 01:51:34 DEBUG : potato3: size = 68 (drime root 'rclone-test-guhahit1jawu') 2026/05/01 01:51:34 DEBUG : potato3: size = 60 (drime root 'rclone-test-quluxud9mapu') 2026/05/01 01:51:34 DEBUG : potato3: Sizes differ 2026/05/01 01:51:34 DEBUG : drime root 'rclone-test-quluxud9mapu': Waiting for checks to finish 2026/05/01 01:51:34 DEBUG : drime root 'rclone-test-quluxud9mapu': Waiting for transfers to finish 2026/05/01 01:51:34 INFO : potato3: Deleted 2026/05/01 01:51:35 ERROR : potato2: Couldn't move: object not found 2026/05/01 01:51:35 INFO : potato3: Moved (server-side) sync_test.go:1747: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1747 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1925 Error: Received unexpected error: object not found Test: TestServerSideMoveWithFilter 2026/05/01 01:51:35 DEBUG : drime root 'rclone-test-quluxud9mapu': Purge remote fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestServerSideMoveWithFilter (22.60s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:51:43 DEBUG : Creating backend with remote "TestDrime:rclone-test-demopox4nexe" 2026/05/01 01:51:46 INFO : tomatoDir: Making directory sync_test.go:1736: Server side move (if possible) drime root 'rclone-test-guhahit1jawu' -> drime root 'rclone-test-demopox4nexe' 2026/05/01 01:51:50 DEBUG : drime root 'rclone-test-demopox4nexe': Using server-side directory move 2026/05/01 01:51:50 INFO : drime root 'rclone-test-demopox4nexe': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/05/01 01:51:50 DEBUG : potato2: Need to transfer - File not found at Destination 2026/05/01 01:51:50 DEBUG : empty space: size = 1 OK 2026/05/01 01:51:50 DEBUG : empty space: Sizes identical 2026/05/01 01:51:50 DEBUG : empty space: Unchanged skipping 2026/05/01 01:51:50 DEBUG : potato3: size = 68 (drime root 'rclone-test-guhahit1jawu') 2026/05/01 01:51:50 DEBUG : potato3: size = 60 (drime root 'rclone-test-demopox4nexe') 2026/05/01 01:51:50 DEBUG : potato3: Sizes differ 2026/05/01 01:51:50 DEBUG : drime root 'rclone-test-demopox4nexe': Waiting for checks to finish 2026/05/01 01:51:50 INFO : empty space: Deleted 2026/05/01 01:51:50 DEBUG : drime root 'rclone-test-demopox4nexe': Waiting for transfers to finish 2026/05/01 01:51:50 INFO : potato3: Deleted 2026/05/01 01:51:51 INFO : potato2: Moved (server-side) 2026/05/01 01:51:51 INFO : potato3: Moved (server-side) 2026/05/01 01:51:51 INFO : tomatoDir: Removing directory 2026/05/01 01:51:51 DEBUG : drime root 'rclone-test-guhahit1jawu': deleted 1 directories 2026/05/01 01:51:52 DEBUG : Creating backend with remote "TestDrime:rclone-test-hinuyuf5qanu" 2026/05/01 01:51:53 INFO : tomatoDir: Making directory 2026/05/01 01:51:53 DEBUG : drime root 'rclone-test-hinuyuf5qanu': Using server-side directory move 2026/05/01 01:51:54 ERROR : drime root 'rclone-test-hinuyuf5qanu': Server side directory move failed: Move rename leaf: failed to patch item "name" to rclone-test-hinuyuf5qanu: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b24ca7eb0d354\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b24ca7eb0d354\",\"timestamp\":\"2026-05-01T01:51:54Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" sync_test.go:1776: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1776 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1932 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to rclone-test-hinuyuf5qanu: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b24ca7eb0d354\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b24ca7eb0d354\",\"timestamp\":\"2026-05-01T01:51:54Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: TestServerSideMoveDeleteEmptySourceDirs 2026/05/01 01:51:54 DEBUG : drime root 'rclone-test-hinuyuf5qanu': Purge remote 2026/05/01 01:51:54 NOTICE: purge failed: directory not found 2026/05/01 01:51:54 DEBUG : drime root 'rclone-test-demopox4nexe': Purge remote --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (11.07s) === RUN TestSyncBackupDir run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:51:58 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/dst" 2026/05/01 01:51:59 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/backup" 2026/05/01 01:52:00 DEBUG : one: size = 4 (Local file system at /tmp/rclone391171140) 2026/05/01 01:52:00 DEBUG : one: size = 3 (drime root 'rclone-test-guhahit1jawu/dst') 2026/05/01 01:52:00 DEBUG : one: Sizes differ 2026/05/01 01:52:00 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for checks to finish 2026/05/01 01:52:00 DEBUG : two: size = 3 OK 2026/05/01 01:52:00 DEBUG : two: Sizes identical 2026/05/01 01:52:00 DEBUG : two: Unchanged skipping 2026/05/01 01:52:01 INFO : one: Moved (server-side) 2026/05/01 01:52:01 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for transfers to finish 2026/05/01 01:52:02 DEBUG : one: size = 4 OK 2026/05/01 01:52:02 INFO : one: Copied (new) 2026/05/01 01:52:02 DEBUG : Waiting for deletions to finish 2026/05/01 01:52:03 ERROR : three.txt: Couldn't move: object not found 2026/05/01 01:52:03 ERROR : three.txt: Couldn't move into backup dir: object not found 2026/05/01 01:52:03 ERROR : drime root 'rclone-test-guhahit1jawu/dst': not deleting directories as there were IO errors sync_test.go:2416: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2416 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2458 Error: Received unexpected error: failed to delete 1 files Test: TestSyncBackupDir --- FAIL: TestSyncBackupDir (10.90s) === RUN TestSyncBackupDirWithSuffix run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:09 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/dst" 2026/05/01 01:52:09 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/backup" 2026/05/01 01:52:10 DEBUG : one: size = 4 (Local file system at /tmp/rclone391171140) 2026/05/01 01:52:10 DEBUG : one: size = 3 (drime root 'rclone-test-guhahit1jawu/dst') 2026/05/01 01:52:10 DEBUG : one: Sizes differ 2026/05/01 01:52:10 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for checks to finish 2026/05/01 01:52:10 DEBUG : two: size = 3 OK 2026/05/01 01:52:10 DEBUG : two: Sizes identical 2026/05/01 01:52:10 DEBUG : two: Unchanged skipping 2026/05/01 01:52:11 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one.bak.qefuxac7: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b2538ed4818ed\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b2538ed4818ed\",\"timestamp\":\"2026-05-01T01:52:11Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" 2026/05/01 01:52:11 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for transfers to finish 2026/05/01 01:52:11 ERROR : drime root 'rclone-test-guhahit1jawu/dst': not deleting files as there were IO errors 2026/05/01 01:52:11 ERROR : drime root 'rclone-test-guhahit1jawu/dst': not deleting directories as there were IO errors sync_test.go:2416: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2416 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2462 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to one.bak.qefuxac7: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b2538ed4818ed\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b2538ed4818ed\",\"timestamp\":\"2026-05-01T01:52:11Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: TestSyncBackupDirWithSuffix run.go:130: removing dir "dst" failed - try 1/3: directory not empty --- FAIL: TestSyncBackupDirWithSuffix (9.30s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:18 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/dst" 2026/05/01 01:52:19 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/backup" 2026/05/01 01:52:20 DEBUG : one: size = 4 (Local file system at /tmp/rclone391171140) 2026/05/01 01:52:20 DEBUG : one: size = 3 (drime root 'rclone-test-guhahit1jawu/dst') 2026/05/01 01:52:20 DEBUG : one: Sizes differ 2026/05/01 01:52:20 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for checks to finish 2026/05/01 01:52:20 DEBUG : two: size = 3 OK 2026/05/01 01:52:20 DEBUG : two: Sizes identical 2026/05/01 01:52:20 DEBUG : two: Unchanged skipping 2026/05/01 01:52:21 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one-2019-01-01.lifewem9: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25734861d3bc\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25734861d3bc\",\"timestamp\":\"2026-05-01T01:52:21Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" 2026/05/01 01:52:21 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for transfers to finish 2026/05/01 01:52:21 ERROR : drime root 'rclone-test-guhahit1jawu/dst': not deleting files as there were IO errors 2026/05/01 01:52:21 ERROR : drime root 'rclone-test-guhahit1jawu/dst': not deleting directories as there were IO errors sync_test.go:2416: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2416 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2466 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to one-2019-01-01.lifewem9: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25734861d3bc\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25734861d3bc\",\"timestamp\":\"2026-05-01T01:52:21Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: TestSyncBackupDirWithSuffixKeepExtension run.go:130: removing dir "dst" failed - try 1/3: directory not empty --- FAIL: TestSyncBackupDirWithSuffixKeepExtension (9.54s) === RUN TestSyncBackupDirSuffixOnly run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:28 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/dst" 2026/05/01 01:52:28 DEBUG : one: size = 4 (Local file system at /tmp/rclone391171140) 2026/05/01 01:52:28 DEBUG : one: size = 3 (drime root 'rclone-test-guhahit1jawu/dst') 2026/05/01 01:52:28 DEBUG : one: Sizes differ 2026/05/01 01:52:28 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for checks to finish 2026/05/01 01:52:28 DEBUG : two: size = 3 OK 2026/05/01 01:52:28 DEBUG : two: Sizes identical 2026/05/01 01:52:28 DEBUG : two: Unchanged skipping 2026/05/01 01:52:29 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one.bak: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25a5dce09b37\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25a5dce09b37\",\"timestamp\":\"2026-05-01T01:52:29Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" 2026/05/01 01:52:29 DEBUG : drime root 'rclone-test-guhahit1jawu/dst': Waiting for transfers to finish 2026/05/01 01:52:29 ERROR : drime root 'rclone-test-guhahit1jawu/dst': not deleting files as there were IO errors 2026/05/01 01:52:29 ERROR : drime root 'rclone-test-guhahit1jawu/dst': not deleting directories as there were IO errors sync_test.go:2416: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2416 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2470 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to one.bak: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25a5dce09b37\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25a5dce09b37\",\"timestamp\":\"2026-05-01T01:52:29Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: TestSyncBackupDirSuffixOnly --- FAIL: TestSyncBackupDirSuffixOnly (6.27s) === RUN TestSyncSuffix run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:34 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/dst" 2026/05/01 01:52:35 DEBUG : one: size = 4 (Local file system at /tmp/rclone391171140) 2026/05/01 01:52:35 DEBUG : one: size = 3 (drime root 'rclone-test-guhahit1jawu/dst') 2026/05/01 01:52:35 DEBUG : one: Sizes differ 2026/05/01 01:52:35 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one.bak: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25ccaa187e1c\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25ccaa187e1c\",\"timestamp\":\"2026-05-01T01:52:35Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" sync_test.go:2504: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2504 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2554 Error: Received unexpected error: moving to --backup-dir failed: Move rename leaf: failed to patch item "name" to one.bak: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25ccaa187e1c\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25ccaa187e1c\",\"timestamp\":\"2026-05-01T01:52:35Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: TestSyncSuffix run.go:130: removing dir "dst" failed - try 1/3: directory not empty --- FAIL: TestSyncSuffix (7.45s) === RUN TestSyncSuffixKeepExtension run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:41 DEBUG : Creating backend with remote "TestDrime:rclone-test-guhahit1jawu/dst" 2026/05/01 01:52:42 DEBUG : one: size = 4 (Local file system at /tmp/rclone391171140) 2026/05/01 01:52:42 DEBUG : one: size = 3 (drime root 'rclone-test-guhahit1jawu/dst') 2026/05/01 01:52:42 DEBUG : one: Sizes differ 2026/05/01 01:52:43 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one-2019-01-01: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25fe1b67e7b1\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25fe1b67e7b1\",\"timestamp\":\"2026-05-01T01:52:43Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" sync_test.go:2504: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2504 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2555 Error: Received unexpected error: moving to --backup-dir failed: Move rename leaf: failed to patch item "name" to one-2019-01-01: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f4b25fe1b67e7b1\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f4b25fe1b67e7b1\",\"timestamp\":\"2026-05-01T01:52:43Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: TestSyncSuffixKeepExtension --- FAIL: TestSyncSuffixKeepExtension (6.58s) === RUN TestTransformFile run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:44 DEBUG : empty_dir: Making directory with metadata 2026/05/01 01:52:44 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2026/05/01 01:52:44 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:44 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:44 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:45 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:45 INFO : tictacempty_dir: Making directory 2026/05/01 01:52:45 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:45 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:45 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:45 INFO : tictactoe: Making directory 2026/05/01 01:52:46 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:46 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:46 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/01 01:52:46 INFO : tictactoe/tictactoe: Making directory 2026/05/01 01:52:46 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/01 01:52:46 DEBUG : toe.txt: transformed to: tictactoe.txt 2026/05/01 01:52:46 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:46 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/01 01:52:46 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:46 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:46 DEBUG : drime root 'rclone-test-guhahit1jawu': Waiting for checks to finish 2026/05/01 01:52:46 DEBUG : drime root 'rclone-test-guhahit1jawu': Waiting for transfers to finish 2026/05/01 01:52:47 DEBUG : tictactoe/tictactoe/tictactoe.txt: size = 11 OK 2026/05/01 01:52:47 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:47 INFO : toe/toe/toe.txt: Deleted 2026/05/01 01:52:47 ERROR : Local file system at /tmp/rclone391171140: not deleting directories as there were IO errors sync_transform_test.go:428: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_transform_test.go:428 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestTransformFile run.go:130: removing dir "tictactoe/tictactoe" failed - try 1/3: directory not empty --- FAIL: TestTransformFile (6.29s) === RUN TestManualTransformFile run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:51 DEBUG : Reset feature "Copy" 2026/05/01 01:52:51 DEBUG : Reset feature "Move" 2026/05/01 01:52:51 DEBUG : Reset feature "Copy" 2026/05/01 01:52:51 DEBUG : Reset feature "Move" 2026/05/01 01:52:51 DEBUG : empty_dir: Making directory with metadata 2026/05/01 01:52:51 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2026/05/01 01:52:51 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:51 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:51 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:51 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:51 INFO : tictacempty_dir: Making directory 2026/05/01 01:52:51 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/01 01:52:51 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:51 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:51 INFO : tictactoe: Making directory 2026/05/01 01:52:52 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:52 DEBUG : toe: transformed to: tictactoe 2026/05/01 01:52:52 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/01 01:52:52 INFO : tictactoe/tictactoe: Making directory 2026/05/01 01:52:52 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/01 01:52:52 DEBUG : toe.txt: transformed to: tictactoe.txt 2026/05/01 01:52:52 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:52 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/01 01:52:52 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:52 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:52 DEBUG : drime root 'rclone-test-guhahit1jawu': Waiting for checks to finish 2026/05/01 01:52:52 DEBUG : drime root 'rclone-test-guhahit1jawu': Waiting for transfers to finish 2026/05/01 01:52:53 DEBUG : tictactoe/tictactoe/tictactoe.txt: size = 11 OK 2026/05/01 01:52:53 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2026/05/01 01:52:53 INFO : toe/toe/toe.txt: Deleted 2026/05/01 01:52:53 ERROR : Local file system at /tmp/rclone391171140: not deleting directories as there were IO errors sync_transform_test.go:458: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_transform_test.go:458 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestManualTransformFile run.go:130: removing dir "tictactoe/tictactoe" failed - try 1/3: directory not empty --- FAIL: TestManualTransformFile (6.33s) === RUN TestBase64 run.go:185: Remote "drime root 'rclone-test-guhahit1jawu'", Local "Local file system at /tmp/rclone391171140", Modify Window "876000h0m0s" 2026/05/01 01:52:57 DEBUG : toe: transformed to: dG9l 2026/05/01 01:52:57 DEBUG : toe: transformed to: dG9l 2026/05/01 01:52:57 INFO : dG9l: Making directory 2026/05/01 01:52:58 DEBUG : toe: transformed to: dG9l 2026/05/01 01:52:58 DEBUG : toe: transformed to: dG9l 2026/05/01 01:52:58 DEBUG : toe/toe: transformed to: dG9l/dG9l 2026/05/01 01:52:58 INFO : dG9l/dG9l: Making directory 2026/05/01 01:52:58 DEBUG : toe/toe: transformed to: dG9l/dG9l 2026/05/01 01:52:58 DEBUG : toe.txt: transformed to: dG9lLnR4dA== 2026/05/01 01:52:58 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2026/05/01 01:52:58 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/01 01:52:58 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2026/05/01 01:52:58 DEBUG : drime root 'rclone-test-guhahit1jawu': Waiting for checks to finish 2026/05/01 01:52:58 DEBUG : drime root 'rclone-test-guhahit1jawu': Waiting for transfers to finish 2026/05/01 01:52:59 DEBUG : dG9l/dG9l/dG9lLnR4dA==: size = 11 OK 2026/05/01 01:52:59 INFO : toe/toe/toe.txt: Copied (new) to: dG9l/dG9l/dG9lLnR4dA== 2026/05/01 01:52:59 ERROR : drime root 'rclone-test-guhahit1jawu': not deleting files as there were IO errors 2026/05/01 01:52:59 ERROR : drime root 'rclone-test-guhahit1jawu': not deleting directories as there were IO errors sync_transform_test.go:482: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_transform_test.go:482 Error: Received unexpected error: not deleting files as there were IO errors Test: TestBase64 run.go:130: removing dir "dG9l/dG9l" failed - try 1/3: directory not empty --- FAIL: TestBase64 (5.39s) FAIL 2026/05/01 01:53:02 DEBUG : drime root 'rclone-test-guhahit1jawu': Purge remote "./sync.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestBase64|TestManualTransformFile|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestTransformFile)$'" - Finished ERROR in 2m15.604116804s (try 2/5): exit status 1: Failed [TestServerSideMoveOverSelf TestServerSideMove TestServerSideMoveWithFilter TestServerSideMoveDeleteEmptySourceDirs TestSyncBackupDir TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly TestSyncSuffix TestSyncSuffixKeepExtension TestTransformFile TestManualTransformFile TestBase64]