"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^(TestDirRename|TestVFSRename)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 5/5) 2026/07/11 05:20:23 DEBUG : Creating backend with remote "TestDrime:rclone-test-buhivoh4yozi" 2026/07/11 05:20:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/11 05:20:25 DEBUG : Creating backend with remote "/tmp/rclone2060289090" === RUN TestDirRename run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:20:25 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:20:38 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/07/11 05:20:40 DEBUG : dir: Updating dir with dir2 0x248c37b52680 2026/07/11 05:20:40 DEBUG : dir: forgetting directory cache 2026/07/11 05:20:40 DEBUG : Added virtual directory entry vDel: "dir" 2026/07/11 05:20:40 DEBUG : Added virtual directory entry vAddDir: "dir2" 2026/07/11 05:22:47 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a1955c663fb4dfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a1955c663fb4dfd7\",\"timestamp\":\"2026-07-11T05:22:47Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:22:47 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:22:48 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:22:48 ERROR : dir2/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:22:48 ERROR : file2: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:22:48 ERROR : dir2/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" dir_test.go:556: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:556 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestDirRename dir_test.go:557: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:557 Error: Should be true Test: TestDirRename dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:558 Error: Not equal: expected: []string{"dir2,0,true", "file2,14,false"} actual : []string{"dir2,0,true"} Diff: --- Expected +++ Actual @@ -1,4 +1,3 @@ -([]string) (len=2) { - (string) (len=11) "dir2,0,true", - (string) (len=14) "file2,14,false" +([]string) (len=1) { + (string) (len=11) "dir2,0,true" } Test: TestDirRename dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:559 Error: Not equal: expected: []string{"file3,15,false"} actual : []string{"file3,15,false", "file2,14,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file3,15,false" +([]string) (len=2) { + (string) (len=14) "file3,15,false", + (string) (len=14) "file2,14,false" } Test: TestDirRename fstest.go:298: Sleeping for 1s for list eventual consistency: 1/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 8s for list eventual consistency: 4/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 16s for list eventual consistency: 5/5 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:563 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file3 (15), file2 (14) got dir2/file3 (15), file2.garufep3 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:563 Error: Should be true Test: TestDirRename Messages: Unexpected file "file2.garufep3" fstest.go:203: Not found "file2" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:563 Error: Not equal: expected: 0 actual : 1 Test: TestDirRename Messages: 1 objects not found 2026/07/11 05:23:37 ERROR : file2: Dir.Rename error: file does not exist dir_test.go:567: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:567 Error: Received unexpected error: file does not exist Test: TestDirRename dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:569 Error: Not equal: expected: []string{"file3,14,false"} actual : []string{"file3,15,false", "file2,14,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file3,14,false" +([]string) (len=2) { + (string) (len=14) "file3,15,false", + (string) (len=14) "file2,14,false" } Test: TestDirRename fstest.go:298: Sleeping for 1s for list eventual consistency: 1/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 8s for list eventual consistency: 4/5 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 16s for list eventual consistency: 5/5 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:573 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file3 (14) got dir2/file3 (15), file2.garufep3 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:573 Error: Should be true Test: TestDirRename Messages: Unexpected file "file2.garufep3" fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:573 Error: Not equal: expected: 14 actual : 15 Test: TestDirRename Messages: dir2/file3: size incorrect file=14 vs obj=15 2026/07/11 05:24:32 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2026/07/11 05:24:33 DEBUG : empty directory: Updating dir with renamed empty directory 0x248c379a44e0 2026/07/11 05:24:33 DEBUG : empty directory: forgetting directory cache 2026/07/11 05:24:33 DEBUG : Added virtual directory entry vDel: "empty directory" 2026/07/11 05:24:33 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2026/07/11 05:24:33 DEBUG : dir2: Renaming to "dir3" 2026/07/11 05:24:33 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:24:33 DEBUG : renamed empty directory: Looking for writers 2026/07/11 05:24:33 DEBUG : dir3: Looking for writers 2026/07/11 05:24:33 DEBUG : file1: reading active writers 2026/07/11 05:24:33 DEBUG : file3: reading active writers 2026/07/11 05:24:33 DEBUG : Looking for writers 2026/07/11 05:24:33 DEBUG : dir3: reading active writers 2026/07/11 05:24:33 DEBUG : renamed empty directory: reading active writers 2026/07/11 05:24:33 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (256.22s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:24:41 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:24:52 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:24:52 DEBUG : dir: Looking for writers 2026/07/11 05:24:52 DEBUG : file1: reading active writers 2026/07/11 05:24:52 DEBUG : Looking for writers 2026/07/11 05:24:52 DEBUG : dir: reading active writers 2026/07/11 05:24:52 DEBUG : >WaitForWriters: 2026/07/11 05:26:55 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a19562783eb4dfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19562783eb4dfd7\",\"timestamp\":\"2026-07-11T05:26:55Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:26:55 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:26:55 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:26:55 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:26:55 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:26:55 ERROR : dir/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestFileRename/off,forceCache=false 2026/07/11 05:26:55 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:26:55 DEBUG : dir: Looking for writers 2026/07/11 05:26:55 DEBUG : file1: reading active writers 2026/07/11 05:26:55 DEBUG : Looking for writers 2026/07/11 05:26:55 DEBUG : dir: reading active writers 2026/07/11 05:26:55 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:27:02 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:27:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:27:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:27:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:27:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:27:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:27:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:27:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:27:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:27:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:27:02 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:27:10 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:27:10 DEBUG : dir: Looking for writers 2026/07/11 05:27:10 DEBUG : file1: reading active writers 2026/07/11 05:27:10 DEBUG : Looking for writers 2026/07/11 05:27:10 DEBUG : dir: reading active writers 2026/07/11 05:27:10 DEBUG : >WaitForWriters: 2026/07/11 05:28:02 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:29:02 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:29:15 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a19565e05aa8dfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19565e05aa8dfd7\",\"timestamp\":\"2026-07-11T05:29:15Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:29:15 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:29:16 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:29:16 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:29:16 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:29:16 ERROR : dir/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestFileRename/minimal,forceCache=false 2026/07/11 05:29:16 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:29:16 DEBUG : dir: Looking for writers 2026/07/11 05:29:16 DEBUG : file1: reading active writers 2026/07/11 05:29:16 DEBUG : Looking for writers 2026/07/11 05:29:16 DEBUG : dir: reading active writers 2026/07/11 05:29:16 DEBUG : >WaitForWriters: 2026/07/11 05:29:16 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:29:21 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:29:21 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:29:21 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:29:21 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:29:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:29:21 DEBUG : Config file has changed externally - reloading 2026/07/11 05:29:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:29:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:29:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:29:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:29:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:29:21 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:29:30 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/07/11 05:29:30 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:29:30 DEBUG : dir/file1(0x248c37746a80): openPending: 2026/07/11 05:29:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/11 05:29:30 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/11 05:29:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:29:30 DEBUG : dir/file1(0x248c37746a80): >openPending: err= 2026/07/11 05:29:30 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/07/11 05:29:30 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:29:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:29:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:29:30 DEBUG : dir/file1(0x248c37746a80): _writeAt: size=14, off=0 2026/07/11 05:29:30 DEBUG : dir/file1(0x248c37746a80): >_writeAt: n=14, err= 2026/07/11 05:29:30 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:29:30 DEBUG : dir/file1(0x248c37746a80): close: 2026/07/11 05:29:30 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:29:30 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:29:30 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/07/11 05:29:30 DEBUG : dir/file1(0x248c37746a80): >close: err= 2026/07/11 05:29:30 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:29:30 DEBUG : dir: Looking for writers 2026/07/11 05:29:30 DEBUG : file1: reading active writers 2026/07/11 05:29:30 DEBUG : Looking for writers 2026/07/11 05:29:30 DEBUG : dir: reading active writers 2026/07/11 05:29:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/07/11 05:29:30 DEBUG : dir: Looking for writers 2026/07/11 05:29:30 DEBUG : file1: reading active writers 2026/07/11 05:29:30 DEBUG : Looking for writers 2026/07/11 05:29:30 DEBUG : dir: reading active writers 2026/07/11 05:29:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/07/11 05:29:30 DEBUG : dir: Looking for writers 2026/07/11 05:29:30 DEBUG : file1: reading active writers 2026/07/11 05:29:30 DEBUG : Looking for writers 2026/07/11 05:29:30 DEBUG : dir: reading active writers 2026/07/11 05:29:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/07/11 05:29:30 DEBUG : dir: Looking for writers 2026/07/11 05:29:30 DEBUG : file1: reading active writers 2026/07/11 05:29:30 DEBUG : Looking for writers 2026/07/11 05:29:30 DEBUG : dir: reading active writers 2026/07/11 05:29:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/07/11 05:29:30 DEBUG : dir/file1: vfs cache: starting upload 2026/07/11 05:29:30 DEBUG : dir: Looking for writers 2026/07/11 05:29:30 DEBUG : file1: reading active writers 2026/07/11 05:29:30 DEBUG : Looking for writers 2026/07/11 05:29:30 DEBUG : dir: reading active writers 2026/07/11 05:29:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/07/11 05:29:31 DEBUG : dir: Looking for writers 2026/07/11 05:29:31 DEBUG : file1: reading active writers 2026/07/11 05:29:31 DEBUG : Looking for writers 2026/07/11 05:29:31 DEBUG : dir: reading active writers 2026/07/11 05:29:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/07/11 05:29:31 DEBUG : dir: Looking for writers 2026/07/11 05:29:31 DEBUG : file1: reading active writers 2026/07/11 05:29:31 DEBUG : Looking for writers 2026/07/11 05:29:31 DEBUG : dir: reading active writers 2026/07/11 05:29:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/07/11 05:29:32 DEBUG : dir: Looking for writers 2026/07/11 05:29:32 DEBUG : file1: reading active writers 2026/07/11 05:29:32 DEBUG : Looking for writers 2026/07/11 05:29:32 DEBUG : dir: reading active writers 2026/07/11 05:29:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:29:32 DEBUG : dir/file1: Removing old object on successful upload 2026/07/11 05:29:33 DEBUG : dir: Looking for writers 2026/07/11 05:29:33 DEBUG : file1: reading active writers 2026/07/11 05:29:33 DEBUG : Looking for writers 2026/07/11 05:29:33 DEBUG : dir: reading active writers 2026/07/11 05:29:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:29:33 DEBUG : dir/file1: Old object already deleted, safely ignoring 2026/07/11 05:29:33 DEBUG : dir/file1: size = 14 OK 2026/07/11 05:29:33 INFO : dir/file1: Copied (replaced existing) 2026/07/11 05:29:33 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/07/11 05:29:33 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/07/11 05:29:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:29:33 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/07/11 05:29:34 DEBUG : dir: Looking for writers 2026/07/11 05:29:34 DEBUG : file1: reading active writers 2026/07/11 05:29:34 DEBUG : Looking for writers 2026/07/11 05:29:34 DEBUG : dir: reading active writers 2026/07/11 05:29:34 DEBUG : >WaitForWriters: 2026/07/11 05:29:34 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/07/11 05:29:34 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:29:34 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:29:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:29:34 DEBUG : dir/file1(0x248c3793e640): _readAt: size=512, off=0 2026/07/11 05:29:34 DEBUG : dir/file1(0x248c3793e640): openPending: 2026/07/11 05:29:34 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/07/11 05:29:34 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/07/11 05:29:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:29:34 DEBUG : dir/file1(0x248c3793e640): >openPending: err= 2026/07/11 05:29:34 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:29:34 DEBUG : dir/file1(0x248c3793e640): >_readAt: n=14, err=EOF 2026/07/11 05:29:34 DEBUG : dir/file1(0x248c3793e640): close: 2026/07/11 05:29:34 DEBUG : dir/file1(0x248c3793e640): >close: err= 2026/07/11 05:29:39 DEBUG : dir/file1: vfs cache: setting modification time to 2026-07-11 05:29:32 +0000 UTC 2026/07/11 05:30:21 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:30:21 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:30:35 DEBUG : forgetting directory cache 2026/07/11 05:30:35 DEBUG : dir3: forgetting directory cache 2026/07/11 05:30:35 DEBUG : renamed empty directory: forgetting directory cache 2026/07/11 05:30:35 DEBUG : Removed virtual directory entry vDel: "dir" 2026/07/11 05:30:35 DEBUG : Removed virtual directory entry vAddDir: "dir2" 2026/07/11 05:30:35 DEBUG : Removed virtual directory entry vDel: "empty directory" 2026/07/11 05:30:35 DEBUG : Removed virtual directory entry vAddDir: "renamed empty directory" 2026/07/11 05:31:21 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:31:21 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:31:38 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a1956961cf7fdfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a1956961cf7fdfd7\",\"timestamp\":\"2026-07-11T05:31:38Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:31:38 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:31:40 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:31:40 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:31:40 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:31:40 ERROR : dir/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestFileRename/minimal,forceCache=true 2026/07/11 05:31:40 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:31:40 DEBUG : dir: Looking for writers 2026/07/11 05:31:40 DEBUG : file1: reading active writers 2026/07/11 05:31:40 DEBUG : Looking for writers 2026/07/11 05:31:40 DEBUG : dir: reading active writers 2026/07/11 05:31:40 DEBUG : >WaitForWriters: 2026/07/11 05:31:40 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:31:46 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:31:46 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:31:46 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:31:46 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:31:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:31:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:31:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:31:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:31:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:31:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:31:46 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:31:54 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:31:54 DEBUG : dir: Looking for writers 2026/07/11 05:31:54 DEBUG : file1: reading active writers 2026/07/11 05:31:54 DEBUG : Looking for writers 2026/07/11 05:31:54 DEBUG : dir: reading active writers 2026/07/11 05:31:54 DEBUG : >WaitForWriters: 2026/07/11 05:32:46 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:33:46 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:33:57 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a1956cc4abfddfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a1956cc4abfddfd7\",\"timestamp\":\"2026-07-11T05:33:57Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:33:57 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:33:58 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:33:58 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:33:58 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:33:58 ERROR : dir/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestFileRename/writes,forceCache=false 2026/07/11 05:33:58 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:33:58 DEBUG : dir: Looking for writers 2026/07/11 05:33:58 DEBUG : file1: reading active writers 2026/07/11 05:33:58 DEBUG : Looking for writers 2026/07/11 05:33:58 DEBUG : dir: reading active writers 2026/07/11 05:33:58 DEBUG : >WaitForWriters: 2026/07/11 05:33:58 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:34:02 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:34:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:34:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:34:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:34:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:34:02 DEBUG : Config file has changed externally - reloading 2026/07/11 05:34:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:34:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:34:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:34:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:34:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:34:02 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:34:12 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/07/11 05:34:12 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:34:12 DEBUG : dir/file1(0x248c37746ac0): openPending: 2026/07/11 05:34:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/11 05:34:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/11 05:34:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:34:12 DEBUG : dir/file1(0x248c37746ac0): >openPending: err= 2026/07/11 05:34:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/07/11 05:34:12 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:34:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:34:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:34:12 DEBUG : dir/file1(0x248c37746ac0): _writeAt: size=14, off=0 2026/07/11 05:34:12 DEBUG : dir/file1(0x248c37746ac0): >_writeAt: n=14, err= 2026/07/11 05:34:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:34:12 DEBUG : dir/file1(0x248c37746ac0): close: 2026/07/11 05:34:12 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:34:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:34:12 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/07/11 05:34:12 DEBUG : dir/file1(0x248c37746ac0): >close: err= 2026/07/11 05:34:12 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:34:12 DEBUG : dir: Looking for writers 2026/07/11 05:34:12 DEBUG : file1: reading active writers 2026/07/11 05:34:12 DEBUG : Looking for writers 2026/07/11 05:34:12 DEBUG : dir: reading active writers 2026/07/11 05:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/07/11 05:34:12 DEBUG : dir: Looking for writers 2026/07/11 05:34:12 DEBUG : file1: reading active writers 2026/07/11 05:34:12 DEBUG : Looking for writers 2026/07/11 05:34:12 DEBUG : dir: reading active writers 2026/07/11 05:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/07/11 05:34:12 DEBUG : dir: Looking for writers 2026/07/11 05:34:12 DEBUG : file1: reading active writers 2026/07/11 05:34:12 DEBUG : Looking for writers 2026/07/11 05:34:12 DEBUG : dir: reading active writers 2026/07/11 05:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/07/11 05:34:12 DEBUG : dir: Looking for writers 2026/07/11 05:34:12 DEBUG : file1: reading active writers 2026/07/11 05:34:12 DEBUG : Looking for writers 2026/07/11 05:34:12 DEBUG : dir: reading active writers 2026/07/11 05:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/07/11 05:34:12 DEBUG : dir/file1: vfs cache: starting upload 2026/07/11 05:34:12 DEBUG : dir: Looking for writers 2026/07/11 05:34:12 DEBUG : file1: reading active writers 2026/07/11 05:34:12 DEBUG : Looking for writers 2026/07/11 05:34:12 DEBUG : dir: reading active writers 2026/07/11 05:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/07/11 05:34:12 DEBUG : dir: Looking for writers 2026/07/11 05:34:12 DEBUG : file1: reading active writers 2026/07/11 05:34:12 DEBUG : Looking for writers 2026/07/11 05:34:12 DEBUG : dir: reading active writers 2026/07/11 05:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/07/11 05:34:13 DEBUG : dir: Looking for writers 2026/07/11 05:34:13 DEBUG : file1: reading active writers 2026/07/11 05:34:13 DEBUG : Looking for writers 2026/07/11 05:34:13 DEBUG : dir: reading active writers 2026/07/11 05:34:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/07/11 05:34:13 DEBUG : dir: Looking for writers 2026/07/11 05:34:13 DEBUG : file1: reading active writers 2026/07/11 05:34:13 DEBUG : Looking for writers 2026/07/11 05:34:13 DEBUG : dir: reading active writers 2026/07/11 05:34:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:34:14 DEBUG : dir/file1: Removing old object on successful upload 2026/07/11 05:34:14 DEBUG : dir: Looking for writers 2026/07/11 05:34:14 DEBUG : file1: reading active writers 2026/07/11 05:34:14 DEBUG : Looking for writers 2026/07/11 05:34:14 DEBUG : dir: reading active writers 2026/07/11 05:34:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:34:15 DEBUG : dir/file1: Old object already deleted, safely ignoring 2026/07/11 05:34:15 DEBUG : dir/file1: size = 14 OK 2026/07/11 05:34:15 INFO : dir/file1: Copied (replaced existing) 2026/07/11 05:34:15 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/07/11 05:34:15 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/07/11 05:34:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:34:15 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/07/11 05:34:15 DEBUG : dir: Looking for writers 2026/07/11 05:34:15 DEBUG : file1: reading active writers 2026/07/11 05:34:15 DEBUG : Looking for writers 2026/07/11 05:34:15 DEBUG : dir: reading active writers 2026/07/11 05:34:15 DEBUG : >WaitForWriters: 2026/07/11 05:34:15 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/07/11 05:34:15 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:34:15 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:34:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:34:15 DEBUG : dir/file1(0x248c3793e640): _readAt: size=512, off=0 2026/07/11 05:34:15 DEBUG : dir/file1(0x248c3793e640): openPending: 2026/07/11 05:34:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/07/11 05:34:15 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/07/11 05:34:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:34:15 DEBUG : dir/file1(0x248c3793e640): >openPending: err= 2026/07/11 05:34:15 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:34:15 DEBUG : dir/file1(0x248c3793e640): >_readAt: n=14, err=EOF 2026/07/11 05:34:15 DEBUG : dir/file1(0x248c3793e640): close: 2026/07/11 05:34:15 DEBUG : dir/file1(0x248c3793e640): >close: err= 2026/07/11 05:34:20 DEBUG : dir/file1: vfs cache: setting modification time to 2026-07-11 05:34:14 +0000 UTC 2026/07/11 05:34:50 DEBUG : forgetting directory cache 2026/07/11 05:34:50 DEBUG : dir: forgetting directory cache 2026/07/11 05:35:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:35:02 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:36:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:36:02 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:36:20 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a19570414e80dfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19570414e80dfd7\",\"timestamp\":\"2026-07-11T05:36:20Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:36:20 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:36:21 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:36:21 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:36:21 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:36:21 ERROR : dir/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestFileRename/writes,forceCache=true 2026/07/11 05:36:21 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:36:21 DEBUG : dir: Looking for writers 2026/07/11 05:36:21 DEBUG : file1: reading active writers 2026/07/11 05:36:21 DEBUG : Looking for writers 2026/07/11 05:36:21 DEBUG : dir: reading active writers 2026/07/11 05:36:21 DEBUG : >WaitForWriters: 2026/07/11 05:36:21 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:36:28 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:36:28 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:36:28 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:36:28 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:36:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:36:28 DEBUG : Config file has changed externally - reloading 2026/07/11 05:36:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:36:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:36:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:36:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:36:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-buhivoh4yozi" 2026/07/11 05:36:28 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:36:35 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:36:35 DEBUG : dir: Looking for writers 2026/07/11 05:36:35 DEBUG : file1: reading active writers 2026/07/11 05:36:35 DEBUG : Looking for writers 2026/07/11 05:36:35 DEBUG : dir: reading active writers 2026/07/11 05:36:35 DEBUG : >WaitForWriters: 2026/07/11 05:36:35 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/07/11 05:36:35 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:36:35 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:36:35 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:36:35 DEBUG : dir/file1(0x248c3769ee00): _readAt: size=512, off=0 2026/07/11 05:36:35 DEBUG : dir/file1(0x248c3769ee00): openPending: 2026/07/11 05:36:35 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/11 05:36:35 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/11 05:36:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:36:35 DEBUG : dir/file1(0x248c3769ee00): >openPending: err= 2026/07/11 05:36:35 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/07/11 05:36:35 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/07/11 05:36:35 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/07/11 05:36:35 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/07/11 05:36:36 DEBUG : dir/file1(0x248c3769ee00): >_readAt: n=14, err=EOF 2026/07/11 05:36:36 DEBUG : dir/file1(0x248c3769ee00): close: 2026/07/11 05:36:36 DEBUG : dir/file1(0x248c3769ee00): >close: err= 2026/07/11 05:36:41 DEBUG : dir/file1: vfs cache: setting modification time to 2026-07-11 05:36:31 +0000 UTC 2026/07/11 05:37:09 DEBUG : forgetting directory cache 2026/07/11 05:37:09 DEBUG : dir: forgetting directory cache 2026/07/11 05:37:28 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:37:28 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:38:28 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:38:28 INFO : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:38:41 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a19573b1e8aedfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19573b1e8aedfd7\",\"timestamp\":\"2026-07-11T05:38:41Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:38:41 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:38:42 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:38:42 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:38:42 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:38:42 ERROR : dir/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestFileRename/full,forceCache=false 2026/07/11 05:38:42 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:38:42 DEBUG : dir: Looking for writers 2026/07/11 05:38:42 DEBUG : file1: reading active writers 2026/07/11 05:38:42 DEBUG : Looking for writers 2026/07/11 05:38:42 DEBUG : dir: reading active writers 2026/07/11 05:38:42 DEBUG : >WaitForWriters: 2026/07/11 05:38:42 DEBUG : drime root 'rclone-test-buhivoh4yozi': vfs cache: cleaner exiting --- FAIL: TestFileRename (845.71s) --- FAIL: TestFileRename/off,forceCache=false (141.05s) --- FAIL: TestFileRename/minimal,forceCache=false (138.82s) --- FAIL: TestFileRename/minimal,forceCache=true (145.27s) --- FAIL: TestFileRename/writes,forceCache=false (136.19s) --- FAIL: TestFileRename/writes,forceCache=true (145.30s) --- FAIL: TestFileRename/full,forceCache=false (139.08s) === RUN TestVFSRename run.go:198: Remote "drime root 'rclone-test-buhivoh4yozi'", Local "Local file system at /tmp/rclone2060289090", Modify Window "876000h0m0s" 2026/07/11 05:38:47 INFO : drime root 'rclone-test-buhivoh4yozi': poll-interval is not supported by this remote 2026/07/11 05:38:54 INFO : dir/file2: Moved (server-side) to: dir/file1 2026/07/11 05:38:54 DEBUG : dir/file1: Updating file with dir/file1 0x248c377bc820 2026/07/11 05:38:54 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/07/11 05:38:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:39:29 DEBUG : forgetting directory cache 2026/07/11 05:39:29 DEBUG : dir: forgetting directory cache 2026/07/11 05:39:29 DEBUG : dir: Removed virtual directory entry vAddFile: "file1" 2026/07/11 05:40:58 DEBUG : pacer: low level retry 1/10 (error Error "504 Gateway Timeout (504): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-504/\",\"title\":\"Error 504: Gateway time-out\",\"status\":504,\"detail\":\"The origin web server did not respond to Cloudflare within the allowed time. This typically means the origin is overloaded or a backend process is taking too long.\",\"instance\":\"a19577092babdfd7\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19577092babdfd7\",\"timestamp\":\"2026-07-11T05:40:58Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":120,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 120 seconds. If the error persists, the website operator should investigate long-running processes on the origin server.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}\n") 2026/07/11 05:40:58 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:40:59 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:40:59 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:40:59 ERROR : file0: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:40:59 ERROR : dir/file1: Dir.Rename error: failed to move item: Error "No valid entries to move" vfs_test.go:303: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:303 Error: Received unexpected error: failed to move item: Error "No valid entries to move" Test: TestVFSRename 2026/07/11 05:40:59 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:40:59 DEBUG : dir: Looking for writers 2026/07/11 05:40:59 DEBUG : file1: reading active writers 2026/07/11 05:40:59 DEBUG : Looking for writers 2026/07/11 05:40:59 DEBUG : dir: reading active writers 2026/07/11 05:40:59 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (134.86s) FAIL 2026/07/11 05:41:02 DEBUG : drime root 'rclone-test-buhivoh4yozi': Purge remote "./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^(TestDirRename|TestVFSRename)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 20m38.634946143s (try 5/5): exit status 1: Failed [TestDirRename TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestVFSRename]