"./sync.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^(TestBase64|TestManualTransformFile|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestTransformFile)$'" - Starting (try 5/5) 2026/05/21 05:32:54 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke" 2026/05/21 05:32:54 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/21 05:32:55 DEBUG : Creating backend with remote "/tmp/rclone3422525419" === RUN TestServerSideMove run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:32:55 DEBUG : Creating backend with remote "TestDrime:rclone-test-yipuwov6ruvu" sync_test.go:1736: Server side move (if possible) drime root 'rclone-test-kozusif6coke' -> drime root 'rclone-test-yipuwov6ruvu' 2026/05/21 05:33:07 DEBUG : drime root 'rclone-test-yipuwov6ruvu': Using server-side directory move 2026/05/21 05:33:07 INFO : drime root 'rclone-test-yipuwov6ruvu': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/05/21 05:33:08 DEBUG : potato2: Need to transfer - File not found at Destination 2026/05/21 05:33:08 DEBUG : empty space: size = 1 OK 2026/05/21 05:33:08 DEBUG : empty space: Sizes identical 2026/05/21 05:33:08 DEBUG : empty space: Unchanged skipping 2026/05/21 05:33:08 DEBUG : potato3: size = 68 (drime root 'rclone-test-kozusif6coke') 2026/05/21 05:33:08 DEBUG : potato3: size = 60 (drime root 'rclone-test-yipuwov6ruvu') 2026/05/21 05:33:08 DEBUG : potato3: Sizes differ 2026/05/21 05:33:08 DEBUG : drime root 'rclone-test-yipuwov6ruvu': Waiting for checks to finish 2026/05/21 05:33:08 INFO : empty space: Deleted 2026/05/21 05:33:08 DEBUG : drime root 'rclone-test-yipuwov6ruvu': Waiting for transfers to finish 2026/05/21 05:33:09 INFO : potato3: Deleted 2026/05/21 05:33:13 INFO : potato2: Moved (server-side) 2026/05/21 05:33:13 INFO : potato3: Moved (server-side) 2026/05/21 05:33:14 DEBUG : Creating backend with remote "TestDrime:rclone-test-xubeyoq7jeki" 2026/05/21 05:33:16 DEBUG : drime root 'rclone-test-xubeyoq7jeki': Using server-side directory move 2026/05/21 05:33:16 ERROR : drime root 'rclone-test-xubeyoq7jeki': Server side directory move failed: Move rename leaf: failed to patch item "name" to rclone-test-xubeyoq7jeki: 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\":\"9ff1349409ee266f\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1349409ee266f\",\"timestamp\":\"2026-05-21T05:33:16Z\",\"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:1912 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to rclone-test-xubeyoq7jeki: 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\":\"9ff1349409ee266f\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1349409ee266f\",\"timestamp\":\"2026-05-21T05:33:16Z\",\"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: TestServerSideMove 2026/05/21 05:33:16 DEBUG : drime root 'rclone-test-xubeyoq7jeki': Purge remote 2026/05/21 05:33:17 NOTICE: purge failed: directory not found 2026/05/21 05:33:17 DEBUG : drime root 'rclone-test-yipuwov6ruvu': Purge remote --- FAIL: TestServerSideMove (23.92s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:33:19 DEBUG : Creating backend with remote "TestDrime:rclone-test-koqapoj3peco" 2026/05/21 05:33:26 INFO : tomatoDir: Making directory sync_test.go:1736: Server side move (if possible) drime root 'rclone-test-kozusif6coke' -> drime root 'rclone-test-koqapoj3peco' 2026/05/21 05:33:32 DEBUG : drime root 'rclone-test-koqapoj3peco': Using server-side directory move 2026/05/21 05:33:32 INFO : drime root 'rclone-test-koqapoj3peco': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/05/21 05:33:33 DEBUG : potato2: Need to transfer - File not found at Destination 2026/05/21 05:33:33 DEBUG : empty space: size = 1 OK 2026/05/21 05:33:33 DEBUG : empty space: Sizes identical 2026/05/21 05:33:33 DEBUG : potato3: size = 68 (drime root 'rclone-test-kozusif6coke') 2026/05/21 05:33:33 DEBUG : potato3: size = 60 (drime root 'rclone-test-koqapoj3peco') 2026/05/21 05:33:33 DEBUG : potato3: Sizes differ 2026/05/21 05:33:33 DEBUG : empty space: Unchanged skipping 2026/05/21 05:33:33 DEBUG : drime root 'rclone-test-koqapoj3peco': Waiting for checks to finish 2026/05/21 05:33:33 INFO : potato3: Deleted 2026/05/21 05:33:33 INFO : empty space: Deleted 2026/05/21 05:33:33 DEBUG : drime root 'rclone-test-koqapoj3peco': Waiting for transfers to finish 2026/05/21 05:33:37 INFO : potato2: Moved (server-side) 2026/05/21 05:33:37 INFO : potato3: Moved (server-side) 2026/05/21 05:33:37 INFO : tomatoDir: Removing directory 2026/05/21 05:33:39 DEBUG : drime root 'rclone-test-kozusif6coke': deleted 1 directories 2026/05/21 05:33:40 DEBUG : Creating backend with remote "TestDrime:rclone-test-lidemev3dino" 2026/05/21 05:33:42 INFO : tomatoDir: Making directory 2026/05/21 05:33:43 DEBUG : drime root 'rclone-test-lidemev3dino': Using server-side directory move 2026/05/21 05:33:43 ERROR : drime root 'rclone-test-lidemev3dino': Server side directory move failed: Move rename leaf: failed to patch item "name" to rclone-test-lidemev3dino: 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\":\"9ff1353c4b038d56\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1353c4b038d56\",\"timestamp\":\"2026-05-21T05:33: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: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-lidemev3dino: 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\":\"9ff1353c4b038d56\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1353c4b038d56\",\"timestamp\":\"2026-05-21T05:33: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: TestServerSideMoveDeleteEmptySourceDirs 2026/05/21 05:33:43 DEBUG : drime root 'rclone-test-lidemev3dino': Purge remote 2026/05/21 05:33:44 NOTICE: purge failed: directory not found 2026/05/21 05:33:44 DEBUG : drime root 'rclone-test-koqapoj3peco': Purge remote --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (25.83s) === RUN TestSyncBackupDirWithSuffix run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:33:52 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke/dst" 2026/05/21 05:33:53 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke/backup" 2026/05/21 05:33:56 DEBUG : one: size = 4 (Local file system at /tmp/rclone3422525419) 2026/05/21 05:33:56 DEBUG : one: size = 3 (drime root 'rclone-test-kozusif6coke/dst') 2026/05/21 05:33:56 DEBUG : one: Sizes differ 2026/05/21 05:33:56 DEBUG : two: size = 3 OK 2026/05/21 05:33:56 DEBUG : two: Sizes identical 2026/05/21 05:33:56 DEBUG : two: Unchanged skipping 2026/05/21 05:33:56 DEBUG : drime root 'rclone-test-kozusif6coke/dst': Waiting for checks to finish 2026/05/21 05:33:58 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one.bak.degoxas0: 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\":\"9ff135973efaca98\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff135973efaca98\",\"timestamp\":\"2026-05-21T05:33:58Z\",\"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/21 05:33:58 DEBUG : drime root 'rclone-test-kozusif6coke/dst': Waiting for transfers to finish 2026/05/21 05:33:58 ERROR : drime root 'rclone-test-kozusif6coke/dst': not deleting files as there were IO errors 2026/05/21 05:33:58 ERROR : drime root 'rclone-test-kozusif6coke/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.degoxas0: 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\":\"9ff135973efaca98\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff135973efaca98\",\"timestamp\":\"2026-05-21T05:33:58Z\",\"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 --- FAIL: TestSyncBackupDirWithSuffix (18.09s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:34:10 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke/dst" 2026/05/21 05:34:12 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke/backup" 2026/05/21 05:34:15 DEBUG : one: size = 4 (Local file system at /tmp/rclone3422525419) 2026/05/21 05:34:15 DEBUG : one: size = 3 (drime root 'rclone-test-kozusif6coke/dst') 2026/05/21 05:34:15 DEBUG : one: Sizes differ 2026/05/21 05:34:15 DEBUG : drime root 'rclone-test-kozusif6coke/dst': Waiting for checks to finish 2026/05/21 05:34:15 DEBUG : two: size = 3 OK 2026/05/21 05:34:15 DEBUG : two: Sizes identical 2026/05/21 05:34:15 DEBUG : two: Unchanged skipping 2026/05/21 05:34:17 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one-2019-01-01.quwakiq1: 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\":\"9ff1360dced49d3c\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1360dced49d3c\",\"timestamp\":\"2026-05-21T05:34:17Z\",\"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/21 05:34:17 DEBUG : drime root 'rclone-test-kozusif6coke/dst': Waiting for transfers to finish 2026/05/21 05:34:17 ERROR : drime root 'rclone-test-kozusif6coke/dst': not deleting files as there were IO errors 2026/05/21 05:34:17 ERROR : drime root 'rclone-test-kozusif6coke/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.quwakiq1: 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\":\"9ff1360dced49d3c\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1360dced49d3c\",\"timestamp\":\"2026-05-21T05:34:17Z\",\"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 --- FAIL: TestSyncBackupDirWithSuffixKeepExtension (18.98s) === RUN TestSyncBackupDirSuffixOnly run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:34:28 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke/dst" 2026/05/21 05:34:30 DEBUG : one: size = 4 (Local file system at /tmp/rclone3422525419) 2026/05/21 05:34:30 DEBUG : one: size = 3 (drime root 'rclone-test-kozusif6coke/dst') 2026/05/21 05:34:30 DEBUG : one: Sizes differ 2026/05/21 05:34:30 DEBUG : drime root 'rclone-test-kozusif6coke/dst': Waiting for checks to finish 2026/05/21 05:34:30 DEBUG : two: size = 3 OK 2026/05/21 05:34:30 DEBUG : two: Sizes identical 2026/05/21 05:34:30 DEBUG : two: Unchanged skipping 2026/05/21 05:34:31 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\":\"9ff13663d8908d5c\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff13663d8908d5c\",\"timestamp\":\"2026-05-21T05:34:31Z\",\"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/21 05:34:31 DEBUG : drime root 'rclone-test-kozusif6coke/dst': Waiting for transfers to finish 2026/05/21 05:34:31 ERROR : drime root 'rclone-test-kozusif6coke/dst': not deleting files as there were IO errors 2026/05/21 05:34:31 ERROR : drime root 'rclone-test-kozusif6coke/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\":\"9ff13663d8908d5c\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff13663d8908d5c\",\"timestamp\":\"2026-05-21T05:34:31Z\",\"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 (12.35s) === RUN TestSyncSuffix run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:34:41 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke/dst" 2026/05/21 05:34:42 DEBUG : one: size = 4 (Local file system at /tmp/rclone3422525419) 2026/05/21 05:34:42 DEBUG : one: size = 3 (drime root 'rclone-test-kozusif6coke/dst') 2026/05/21 05:34:42 DEBUG : one: Sizes differ 2026/05/21 05:34:43 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\":\"9ff136b0a92974ff\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff136b0a92974ff\",\"timestamp\":\"2026-05-21T05:34: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: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\":\"9ff136b0a92974ff\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff136b0a92974ff\",\"timestamp\":\"2026-05-21T05:34: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: TestSyncSuffix --- FAIL: TestSyncSuffix (13.01s) === RUN TestSyncSuffixKeepExtension run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:34:53 DEBUG : Creating backend with remote "TestDrime:rclone-test-kozusif6coke/dst" 2026/05/21 05:34:55 DEBUG : one: size = 4 (Local file system at /tmp/rclone3422525419) 2026/05/21 05:34:55 DEBUG : one: size = 3 (drime root 'rclone-test-kozusif6coke/dst') 2026/05/21 05:34:55 DEBUG : one: Sizes differ 2026/05/21 05:34:56 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\":\"9ff1370038878d90\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1370038878d90\",\"timestamp\":\"2026-05-21T05:34:56Z\",\"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\":\"9ff1370038878d90\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9ff1370038878d90\",\"timestamp\":\"2026-05-21T05:34:56Z\",\"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 (12.12s) === RUN TestTransformFile run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:35:00 DEBUG : empty_dir: Making directory with metadata 2026/05/21 05:35:00 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2026/05/21 05:35:00 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:00 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:00 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:00 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:00 INFO : tictacempty_dir: Making directory 2026/05/21 05:35:01 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:01 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:01 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:01 INFO : tictactoe: Making directory 2026/05/21 05:35:02 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:02 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:02 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/21 05:35:02 INFO : tictactoe/tictactoe: Making directory 2026/05/21 05:35:03 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/21 05:35:03 DEBUG : toe.txt: transformed to: tictactoe.txt 2026/05/21 05:35:03 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:03 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/21 05:35:03 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:03 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:03 DEBUG : drime root 'rclone-test-kozusif6coke': Waiting for checks to finish 2026/05/21 05:35:03 DEBUG : drime root 'rclone-test-kozusif6coke': Waiting for transfers to finish 2026/05/21 05:35:05 DEBUG : tictactoe/tictactoe/tictactoe.txt: size = 11 OK 2026/05/21 05:35:05 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:05 INFO : toe/toe/toe.txt: Deleted 2026/05/21 05:35:05 ERROR : Local file system at /tmp/rclone3422525419: 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:186: removing dir "tictactoe/tictactoe" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestTransformFile (10.60s) === RUN TestManualTransformFile run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:35:10 DEBUG : Reset feature "Copy" 2026/05/21 05:35:10 DEBUG : Reset feature "Move" 2026/05/21 05:35:10 DEBUG : Reset feature "Copy" 2026/05/21 05:35:10 DEBUG : Reset feature "Move" 2026/05/21 05:35:10 DEBUG : empty_dir: Making directory with metadata 2026/05/21 05:35:10 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2026/05/21 05:35:10 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:10 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:10 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:11 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:11 INFO : tictacempty_dir: Making directory 2026/05/21 05:35:12 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/21 05:35:12 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:12 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:12 INFO : tictactoe: Making directory 2026/05/21 05:35:12 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:12 DEBUG : toe: transformed to: tictactoe 2026/05/21 05:35:12 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/21 05:35:12 INFO : tictactoe/tictactoe: Making directory 2026/05/21 05:35:13 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/21 05:35:13 DEBUG : toe.txt: transformed to: tictactoe.txt 2026/05/21 05:35:13 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:13 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/21 05:35:13 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:13 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:13 DEBUG : drime root 'rclone-test-kozusif6coke': Waiting for checks to finish 2026/05/21 05:35:13 DEBUG : drime root 'rclone-test-kozusif6coke': Waiting for transfers to finish 2026/05/21 05:35:14 DEBUG : tictactoe/tictactoe/tictactoe.txt: size = 11 OK 2026/05/21 05:35:14 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2026/05/21 05:35:14 INFO : toe/toe/toe.txt: Deleted 2026/05/21 05:35:14 ERROR : Local file system at /tmp/rclone3422525419: not deleting directories as there were IO errors sync_transform_test.go:461: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_transform_test.go:461 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestManualTransformFile --- FAIL: TestManualTransformFile (8.25s) === RUN TestBase64 run.go:198: Remote "drime root 'rclone-test-kozusif6coke'", Local "Local file system at /tmp/rclone3422525419", Modify Window "876000h0m0s" 2026/05/21 05:35:19 DEBUG : toe: transformed to: dG9l 2026/05/21 05:35:19 DEBUG : toe: transformed to: dG9l 2026/05/21 05:35:19 INFO : dG9l: Making directory 2026/05/21 05:35:20 DEBUG : toe: transformed to: dG9l 2026/05/21 05:35:20 DEBUG : toe: transformed to: dG9l 2026/05/21 05:35:20 DEBUG : toe/toe: transformed to: dG9l/dG9l 2026/05/21 05:35:20 INFO : dG9l/dG9l: Making directory 2026/05/21 05:35:22 DEBUG : toe/toe: transformed to: dG9l/dG9l 2026/05/21 05:35:22 DEBUG : toe.txt: transformed to: dG9lLnR4dA== 2026/05/21 05:35:22 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2026/05/21 05:35:22 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/21 05:35:22 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2026/05/21 05:35:22 DEBUG : drime root 'rclone-test-kozusif6coke': Waiting for checks to finish 2026/05/21 05:35:22 DEBUG : drime root 'rclone-test-kozusif6coke': Waiting for transfers to finish 2026/05/21 05:35:24 DEBUG : dG9l/dG9l/dG9lLnR4dA==: size = 11 OK 2026/05/21 05:35:24 INFO : toe/toe/toe.txt: Copied (new) to: dG9l/dG9l/dG9lLnR4dA== 2026/05/21 05:35:24 ERROR : drime root 'rclone-test-kozusif6coke': not deleting files as there were IO errors 2026/05/21 05:35:24 ERROR : drime root 'rclone-test-kozusif6coke': not deleting directories as there were IO errors sync_transform_test.go:488: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_transform_test.go:488 Error: Received unexpected error: not deleting files as there were IO errors Test: TestBase64 run.go:186: removing dir "dG9l/dG9l" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestBase64 (10.72s) FAIL 2026/05/21 05:35:29 DEBUG : drime root 'rclone-test-kozusif6coke': Purge remote "./sync.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^(TestBase64|TestManualTransformFile|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestTransformFile)$'" - Finished ERROR in 2m35.760382677s (try 5/5): exit status 1: Failed [TestServerSideMove TestServerSideMoveDeleteEmptySourceDirs TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly TestSyncSuffix TestSyncSuffixKeepExtension TestTransformFile TestManualTransformFile TestBase64]