"./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/12 02:59:08 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha" 2026/05/12 02:59:08 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/12 02:59:09 DEBUG : Creating backend with remote "/tmp/rclone4244897966" === RUN TestServerSideMove run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 02:59:09 DEBUG : Creating backend with remote "TestDrime:rclone-test-yuratag1wapi" sync_test.go:1736: Server side move (if possible) drime root 'rclone-test-hucubux0toha' -> drime root 'rclone-test-yuratag1wapi' 2026/05/12 02:59:19 DEBUG : drime root 'rclone-test-yuratag1wapi': Using server-side directory move 2026/05/12 02:59:19 INFO : drime root 'rclone-test-yuratag1wapi': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/05/12 02:59:19 DEBUG : potato2: Need to transfer - File not found at Destination 2026/05/12 02:59:19 DEBUG : empty space: size = 1 OK 2026/05/12 02:59:19 DEBUG : empty space: Sizes identical 2026/05/12 02:59:19 DEBUG : empty space: Unchanged skipping 2026/05/12 02:59:19 DEBUG : drime root 'rclone-test-yuratag1wapi': Waiting for checks to finish 2026/05/12 02:59:19 DEBUG : potato3: size = 68 (drime root 'rclone-test-hucubux0toha') 2026/05/12 02:59:19 DEBUG : potato3: size = 60 (drime root 'rclone-test-yuratag1wapi') 2026/05/12 02:59:19 DEBUG : potato3: Sizes differ 2026/05/12 02:59:20 INFO : empty space: Deleted 2026/05/12 02:59:20 DEBUG : drime root 'rclone-test-yuratag1wapi': Waiting for transfers to finish 2026/05/12 02:59:20 INFO : potato3: Deleted 2026/05/12 02:59:23 INFO : potato2: Moved (server-side) 2026/05/12 02:59:23 INFO : potato3: Moved (server-side) 2026/05/12 02:59:24 DEBUG : Creating backend with remote "TestDrime:rclone-test-zomosoh7cutu" 2026/05/12 02:59:25 DEBUG : drime root 'rclone-test-zomosoh7cutu': Using server-side directory move 2026/05/12 02:59:26 ERROR : drime root 'rclone-test-zomosoh7cutu': Server side directory move failed: Move rename leaf: failed to patch item "name" to rclone-test-zomosoh7cutu: 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\":\"9fa62ad9df9ebba2\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62ad9df9ebba2\",\"timestamp\":\"2026-05-12T02:59:26Z\",\"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-zomosoh7cutu: 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\":\"9fa62ad9df9ebba2\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62ad9df9ebba2\",\"timestamp\":\"2026-05-12T02:59:26Z\",\"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/12 02:59:26 DEBUG : drime root 'rclone-test-zomosoh7cutu': Purge remote 2026/05/12 02:59:26 NOTICE: purge failed: directory not found 2026/05/12 02:59:26 DEBUG : drime root 'rclone-test-yuratag1wapi': Purge remote --- FAIL: TestServerSideMove (18.48s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 02:59:28 DEBUG : Creating backend with remote "TestDrime:rclone-test-siwexax8cozo" 2026/05/12 02:59:32 INFO : tomatoDir: Making directory sync_test.go:1736: Server side move (if possible) drime root 'rclone-test-hucubux0toha' -> drime root 'rclone-test-siwexax8cozo' 2026/05/12 02:59:38 DEBUG : drime root 'rclone-test-siwexax8cozo': Using server-side directory move 2026/05/12 02:59:38 INFO : drime root 'rclone-test-siwexax8cozo': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/05/12 02:59:38 DEBUG : potato2: Need to transfer - File not found at Destination 2026/05/12 02:59:38 DEBUG : potato3: size = 68 (drime root 'rclone-test-hucubux0toha') 2026/05/12 02:59:38 DEBUG : potato3: size = 60 (drime root 'rclone-test-siwexax8cozo') 2026/05/12 02:59:38 DEBUG : potato3: Sizes differ 2026/05/12 02:59:38 DEBUG : empty space: size = 1 OK 2026/05/12 02:59:38 DEBUG : empty space: Sizes identical 2026/05/12 02:59:38 DEBUG : empty space: Unchanged skipping 2026/05/12 02:59:39 DEBUG : drime root 'rclone-test-siwexax8cozo': Waiting for checks to finish 2026/05/12 02:59:39 INFO : empty space: Deleted 2026/05/12 02:59:39 DEBUG : drime root 'rclone-test-siwexax8cozo': Waiting for transfers to finish 2026/05/12 02:59:39 INFO : potato3: Deleted 2026/05/12 02:59:42 INFO : potato2: Moved (server-side) 2026/05/12 02:59:42 INFO : potato3: Moved (server-side) 2026/05/12 02:59:42 INFO : tomatoDir: Removing directory 2026/05/12 02:59:43 DEBUG : drime root 'rclone-test-hucubux0toha': deleted 1 directories 2026/05/12 02:59:44 DEBUG : Creating backend with remote "TestDrime:rclone-test-defayip2suwa" 2026/05/12 02:59:45 INFO : tomatoDir: Making directory 2026/05/12 02:59:46 DEBUG : drime root 'rclone-test-defayip2suwa': Using server-side directory move 2026/05/12 02:59:46 ERROR : drime root 'rclone-test-defayip2suwa': Server side directory move failed: Move rename leaf: failed to patch item "name" to rclone-test-defayip2suwa: 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\":\"9fa62b57eb638d54\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62b57eb638d54\",\"timestamp\":\"2026-05-12T02:59:46Z\",\"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-defayip2suwa: 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\":\"9fa62b57eb638d54\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62b57eb638d54\",\"timestamp\":\"2026-05-12T02:59:46Z\",\"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/12 02:59:46 DEBUG : drime root 'rclone-test-defayip2suwa': Purge remote 2026/05/12 02:59:47 NOTICE: purge failed: directory not found 2026/05/12 02:59:47 DEBUG : drime root 'rclone-test-siwexax8cozo': Purge remote --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (20.38s) === RUN TestSyncBackupDirWithSuffix run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 02:59:53 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha/dst" 2026/05/12 02:59:54 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha/backup" 2026/05/12 02:59:58 DEBUG : one: size = 4 (Local file system at /tmp/rclone4244897966) 2026/05/12 02:59:58 DEBUG : one: size = 3 (drime root 'rclone-test-hucubux0toha/dst') 2026/05/12 02:59:58 DEBUG : one: Sizes differ 2026/05/12 02:59:58 DEBUG : two: size = 3 OK 2026/05/12 02:59:58 DEBUG : two: Sizes identical 2026/05/12 02:59:58 DEBUG : drime root 'rclone-test-hucubux0toha/dst': Waiting for checks to finish 2026/05/12 02:59:58 DEBUG : two: Unchanged skipping 2026/05/12 03:00:00 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one.bak.wesacaw2: 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\":\"9fa62baceb6a8d81\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62baceb6a8d81\",\"timestamp\":\"2026-05-12T03:00:00Z\",\"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/12 03:00:00 DEBUG : drime root 'rclone-test-hucubux0toha/dst': Waiting for transfers to finish 2026/05/12 03:00:00 ERROR : drime root 'rclone-test-hucubux0toha/dst': not deleting files as there were IO errors 2026/05/12 03:00:00 ERROR : drime root 'rclone-test-hucubux0toha/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.wesacaw2: 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\":\"9fa62baceb6a8d81\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62baceb6a8d81\",\"timestamp\":\"2026-05-12T03:00:00Z\",\"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.66s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 03:00:13 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha/dst" 2026/05/12 03:00:14 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha/backup" 2026/05/12 03:00:17 DEBUG : one: size = 4 (Local file system at /tmp/rclone4244897966) 2026/05/12 03:00:17 DEBUG : one: size = 3 (drime root 'rclone-test-hucubux0toha/dst') 2026/05/12 03:00:17 DEBUG : one: Sizes differ 2026/05/12 03:00:17 DEBUG : two: size = 3 OK 2026/05/12 03:00:17 DEBUG : two: Sizes identical 2026/05/12 03:00:17 DEBUG : two: Unchanged skipping 2026/05/12 03:00:17 DEBUG : drime root 'rclone-test-hucubux0toha/dst': Waiting for checks to finish 2026/05/12 03:00:18 ERROR : one: Couldn't move: Move rename leaf: failed to patch item "name" to one-2019-01-01.warunas3: 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\":\"9fa62c209ed28d70\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62c209ed28d70\",\"timestamp\":\"2026-05-12T03:00:18Z\",\"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/12 03:00:18 DEBUG : drime root 'rclone-test-hucubux0toha/dst': Waiting for transfers to finish 2026/05/12 03:00:18 ERROR : drime root 'rclone-test-hucubux0toha/dst': not deleting files as there were IO errors 2026/05/12 03:00:18 ERROR : drime root 'rclone-test-hucubux0toha/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.warunas3: 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\":\"9fa62c209ed28d70\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62c209ed28d70\",\"timestamp\":\"2026-05-12T03:00:18Z\",\"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 (17.02s) === RUN TestSyncBackupDirSuffixOnly run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 03:00:30 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha/dst" 2026/05/12 03:00:31 DEBUG : one: size = 4 (Local file system at /tmp/rclone4244897966) 2026/05/12 03:00:31 DEBUG : one: size = 3 (drime root 'rclone-test-hucubux0toha/dst') 2026/05/12 03:00:31 DEBUG : one: Sizes differ 2026/05/12 03:00:31 DEBUG : drime root 'rclone-test-hucubux0toha/dst': Waiting for checks to finish 2026/05/12 03:00:31 DEBUG : two: size = 3 OK 2026/05/12 03:00:31 DEBUG : two: Sizes identical 2026/05/12 03:00:31 DEBUG : two: Unchanged skipping 2026/05/12 03:00:32 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\":\"9fa62c765ce28d9e\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62c765ce28d9e\",\"timestamp\":\"2026-05-12T03:00:32Z\",\"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/12 03:00:32 DEBUG : drime root 'rclone-test-hucubux0toha/dst': Waiting for transfers to finish 2026/05/12 03:00:32 ERROR : drime root 'rclone-test-hucubux0toha/dst': not deleting files as there were IO errors 2026/05/12 03:00:32 ERROR : drime root 'rclone-test-hucubux0toha/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\":\"9fa62c765ce28d9e\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62c765ce28d9e\",\"timestamp\":\"2026-05-12T03:00:32Z\",\"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.09s) === RUN TestSyncSuffix run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 03:00:41 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha/dst" 2026/05/12 03:00:43 DEBUG : one: size = 4 (Local file system at /tmp/rclone4244897966) 2026/05/12 03:00:43 DEBUG : one: size = 3 (drime root 'rclone-test-hucubux0toha/dst') 2026/05/12 03:00:43 DEBUG : one: Sizes differ 2026/05/12 03:00:44 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\":\"9fa62cbe9d38b606\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62cbe9d38b606\",\"timestamp\":\"2026-05-12T03:00: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\":\"9fa62cbe9d38b606\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62cbe9d38b606\",\"timestamp\":\"2026-05-12T03:00: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 (12.19s) === RUN TestSyncSuffixKeepExtension run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 03:00:54 DEBUG : Creating backend with remote "TestDrime:rclone-test-hucubux0toha/dst" 2026/05/12 03:00:55 DEBUG : one: size = 4 (Local file system at /tmp/rclone4244897966) 2026/05/12 03:00:55 DEBUG : one: size = 3 (drime root 'rclone-test-hucubux0toha/dst') 2026/05/12 03:00:55 DEBUG : one: Sizes differ 2026/05/12 03:00: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\":\"9fa62d0b7b459a02\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62d0b7b459a02\",\"timestamp\":\"2026-05-12T03:00: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\":\"9fa62d0b7b459a02\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fa62d0b7b459a02\",\"timestamp\":\"2026-05-12T03:00: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 (11.96s) === RUN TestTransformFile run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 03:01:00 DEBUG : empty_dir: Making directory with metadata 2026/05/12 03:01:00 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2026/05/12 03:01:00 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:00 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:00 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:01 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:01 INFO : tictacempty_dir: Making directory 2026/05/12 03:01:02 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:02 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:02 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:02 INFO : tictactoe: Making directory 2026/05/12 03:01:03 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:03 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:03 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/12 03:01:03 INFO : tictactoe/tictactoe: Making directory 2026/05/12 03:01:04 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/12 03:01:04 DEBUG : toe.txt: transformed to: tictactoe.txt 2026/05/12 03:01:04 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:04 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/12 03:01:04 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:04 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:04 DEBUG : drime root 'rclone-test-hucubux0toha': Waiting for checks to finish 2026/05/12 03:01:04 DEBUG : drime root 'rclone-test-hucubux0toha': Waiting for transfers to finish 2026/05/12 03:01:05 DEBUG : tictactoe/tictactoe/tictactoe.txt: size = 11 OK 2026/05/12 03:01:05 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:05 INFO : toe/toe/toe.txt: Deleted 2026/05/12 03:01:05 ERROR : Local file system at /tmp/rclone4244897966: 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 --- FAIL: TestTransformFile (10.69s) === RUN TestManualTransformFile run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 03:01:11 DEBUG : Reset feature "Copy" 2026/05/12 03:01:11 DEBUG : Reset feature "Move" 2026/05/12 03:01:11 DEBUG : Reset feature "Copy" 2026/05/12 03:01:11 DEBUG : Reset feature "Move" 2026/05/12 03:01:11 DEBUG : empty_dir: Making directory with metadata 2026/05/12 03:01:11 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2026/05/12 03:01:11 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:11 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:11 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:11 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:11 INFO : tictacempty_dir: Making directory 2026/05/12 03:01:12 DEBUG : empty_dir: transformed to: tictacempty_dir 2026/05/12 03:01:12 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:12 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:12 INFO : tictactoe: Making directory 2026/05/12 03:01:13 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:13 DEBUG : toe: transformed to: tictactoe 2026/05/12 03:01:13 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/12 03:01:13 INFO : tictactoe/tictactoe: Making directory 2026/05/12 03:01:14 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2026/05/12 03:01:14 DEBUG : toe.txt: transformed to: tictactoe.txt 2026/05/12 03:01:14 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:14 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/12 03:01:14 DEBUG : drime root 'rclone-test-hucubux0toha': Waiting for checks to finish 2026/05/12 03:01:14 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:14 DEBUG : drime root 'rclone-test-hucubux0toha': Waiting for transfers to finish 2026/05/12 03:01:14 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:15 DEBUG : tictactoe/tictactoe/tictactoe.txt: size = 11 OK 2026/05/12 03:01:15 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2026/05/12 03:01:15 INFO : toe/toe/toe.txt: Deleted 2026/05/12 03:01:15 ERROR : Local file system at /tmp/rclone4244897966: 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 (10.13s) === RUN TestBase64 run.go:198: Remote "drime root 'rclone-test-hucubux0toha'", Local "Local file system at /tmp/rclone4244897966", Modify Window "876000h0m0s" 2026/05/12 03:01:21 DEBUG : toe: transformed to: dG9l 2026/05/12 03:01:21 DEBUG : toe: transformed to: dG9l 2026/05/12 03:01:21 INFO : dG9l: Making directory 2026/05/12 03:01:22 DEBUG : toe: transformed to: dG9l 2026/05/12 03:01:22 DEBUG : toe: transformed to: dG9l 2026/05/12 03:01:22 DEBUG : toe/toe: transformed to: dG9l/dG9l 2026/05/12 03:01:22 INFO : dG9l/dG9l: Making directory 2026/05/12 03:01:24 DEBUG : toe/toe: transformed to: dG9l/dG9l 2026/05/12 03:01:24 DEBUG : toe.txt: transformed to: dG9lLnR4dA== 2026/05/12 03:01:24 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2026/05/12 03:01:24 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2026/05/12 03:01:24 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2026/05/12 03:01:24 DEBUG : drime root 'rclone-test-hucubux0toha': Waiting for checks to finish 2026/05/12 03:01:24 DEBUG : drime root 'rclone-test-hucubux0toha': Waiting for transfers to finish 2026/05/12 03:01:25 DEBUG : dG9l/dG9l/dG9lLnR4dA==: size = 11 OK 2026/05/12 03:01:25 INFO : toe/toe/toe.txt: Copied (new) to: dG9l/dG9l/dG9lLnR4dA== 2026/05/12 03:01:25 ERROR : drime root 'rclone-test-hucubux0toha': not deleting files as there were IO errors 2026/05/12 03:01:25 ERROR : drime root 'rclone-test-hucubux0toha': 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.79s) FAIL 2026/05/12 03:01:31 DEBUG : drime root 'rclone-test-hucubux0toha': 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 2m24.445757422s (try 5/5): exit status 1: Failed [TestServerSideMove TestServerSideMoveDeleteEmptySourceDirs TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly TestSyncSuffix TestSyncSuffixKeepExtension TestTransformFile TestManualTransformFile TestBase64]