"./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 4/5) 2026/07/11 04:58:04 DEBUG : Creating backend with remote "TestDrime:rclone-test-cajecor5xocu" 2026/07/11 04:58:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/11 04:58:06 DEBUG : Creating backend with remote "/tmp/rclone1290466224" === RUN TestDirRename run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 04:58:06 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 04:58:20 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/07/11 04:58:25 DEBUG : dir: Updating dir with dir2 0x19969c0e25b0 2026/07/11 04:58:25 DEBUG : dir: forgetting directory cache 2026/07/11 04:58:25 DEBUG : Added virtual directory entry vDel: "dir" 2026/07/11 04:58:25 DEBUG : Added virtual directory entry vAddDir: "dir2" 2026/07/11 05:00:31 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\":\"a1953bcc4b7e1bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a1953bcc4b7e1bf4\",\"timestamp\":\"2026-07-11T05:00:31Z\",\"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:00:31 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:00:33 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:00:33 ERROR : dir2/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:00:33 ERROR : file2: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:00:33 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.zapekod2 (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.zapekod2" 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:01:22 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.zapekod2 (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.zapekod2" 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:02:22 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2026/07/11 05:02:25 DEBUG : empty directory: Updating dir with renamed empty directory 0x19969be685b0 2026/07/11 05:02:25 DEBUG : empty directory: forgetting directory cache 2026/07/11 05:02:25 DEBUG : Added virtual directory entry vDel: "empty directory" 2026/07/11 05:02:25 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2026/07/11 05:02:25 DEBUG : dir2: Renaming to "dir3" 2026/07/11 05:02:25 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:02:25 DEBUG : dir3: Looking for writers 2026/07/11 05:02:25 DEBUG : file1: reading active writers 2026/07/11 05:02:25 DEBUG : file3: reading active writers 2026/07/11 05:02:25 DEBUG : renamed empty directory: Looking for writers 2026/07/11 05:02:25 DEBUG : Looking for writers 2026/07/11 05:02:25 DEBUG : dir3: reading active writers 2026/07/11 05:02:25 DEBUG : renamed empty directory: reading active writers 2026/07/11 05:02:25 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (272.80s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 05:02:38 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 05:02:47 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:02:47 DEBUG : dir: Looking for writers 2026/07/11 05:02:47 DEBUG : file1: reading active writers 2026/07/11 05:02:47 DEBUG : Looking for writers 2026/07/11 05:02:47 DEBUG : dir: reading active writers 2026/07/11 05:02:47 DEBUG : >WaitForWriters: 2026/07/11 05:04:50 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\":\"a195422079941bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a195422079941bf4\",\"timestamp\":\"2026-07-11T05:04:50Z\",\"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:04:50 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:04:53 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:04:53 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:04:53 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:04:53 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:04:53 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:04:53 DEBUG : dir: Looking for writers 2026/07/11 05:04:53 DEBUG : file1: reading active writers 2026/07/11 05:04:53 DEBUG : Looking for writers 2026/07/11 05:04:53 DEBUG : dir: reading active writers 2026/07/11 05:04:53 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 05:05:05 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 05:05:05 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:05:05 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:05:05 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:05:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:05:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:05:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:05:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:05:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:05:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:05:05 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:05:17 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:05:17 DEBUG : dir: Looking for writers 2026/07/11 05:05:17 DEBUG : file1: reading active writers 2026/07/11 05:05:17 DEBUG : Looking for writers 2026/07/11 05:05:17 DEBUG : dir: reading active writers 2026/07/11 05:05:17 DEBUG : >WaitForWriters: 2026/07/11 05:06:05 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:07:05 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:07:23 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\":\"a19545d779921bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19545d779921bf4\",\"timestamp\":\"2026-07-11T05:07:23Z\",\"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:07:23 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:07:25 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:07:25 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:07:25 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:07:25 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:07:25 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:07:25 DEBUG : dir: Looking for writers 2026/07/11 05:07:25 DEBUG : file1: reading active writers 2026/07/11 05:07:25 DEBUG : Looking for writers 2026/07/11 05:07:25 DEBUG : dir: reading active writers 2026/07/11 05:07:25 DEBUG : >WaitForWriters: 2026/07/11 05:07:25 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 05:07:34 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 05:07:34 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:07:34 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:07:34 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:07:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:07:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:07:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:07:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:07:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:07:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:07:34 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:07:47 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/07/11 05:07:47 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:07:47 DEBUG : dir/file1(0x19969bcaf1c0): openPending: 2026/07/11 05:07:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/11 05:07:47 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/11 05:07:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:07:47 DEBUG : dir/file1(0x19969bcaf1c0): >openPending: err= 2026/07/11 05:07:47 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/07/11 05:07:47 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:07:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:07:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:07:47 DEBUG : dir/file1(0x19969bcaf1c0): _writeAt: size=14, off=0 2026/07/11 05:07:47 DEBUG : dir/file1(0x19969bcaf1c0): >_writeAt: n=14, err= 2026/07/11 05:07:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:07:47 DEBUG : dir/file1(0x19969bcaf1c0): close: 2026/07/11 05:07:47 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:07:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:07:47 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/07/11 05:07:47 DEBUG : dir/file1(0x19969bcaf1c0): >close: err= 2026/07/11 05:07:47 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:07:47 DEBUG : dir: Looking for writers 2026/07/11 05:07:47 DEBUG : file1: reading active writers 2026/07/11 05:07:47 DEBUG : Looking for writers 2026/07/11 05:07:47 DEBUG : dir: reading active writers 2026/07/11 05:07:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/07/11 05:07:47 DEBUG : dir: Looking for writers 2026/07/11 05:07:47 DEBUG : file1: reading active writers 2026/07/11 05:07:47 DEBUG : Looking for writers 2026/07/11 05:07:47 DEBUG : dir: reading active writers 2026/07/11 05:07:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/07/11 05:07:47 DEBUG : dir: Looking for writers 2026/07/11 05:07:47 DEBUG : file1: reading active writers 2026/07/11 05:07:47 DEBUG : Looking for writers 2026/07/11 05:07:47 DEBUG : dir: reading active writers 2026/07/11 05:07:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/07/11 05:07:47 DEBUG : dir: Looking for writers 2026/07/11 05:07:47 DEBUG : file1: reading active writers 2026/07/11 05:07:47 DEBUG : Looking for writers 2026/07/11 05:07:47 DEBUG : dir: reading active writers 2026/07/11 05:07:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/07/11 05:07:47 DEBUG : dir/file1: vfs cache: starting upload 2026/07/11 05:07:47 DEBUG : dir: Looking for writers 2026/07/11 05:07:47 DEBUG : file1: reading active writers 2026/07/11 05:07:47 DEBUG : Looking for writers 2026/07/11 05:07:47 DEBUG : dir: reading active writers 2026/07/11 05:07:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/07/11 05:07:47 DEBUG : dir: Looking for writers 2026/07/11 05:07:47 DEBUG : file1: reading active writers 2026/07/11 05:07:47 DEBUG : Looking for writers 2026/07/11 05:07:47 DEBUG : dir: reading active writers 2026/07/11 05:07:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/07/11 05:07:47 DEBUG : dir: Looking for writers 2026/07/11 05:07:47 DEBUG : file1: reading active writers 2026/07/11 05:07:47 DEBUG : Looking for writers 2026/07/11 05:07:47 DEBUG : dir: reading active writers 2026/07/11 05:07:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/07/11 05:07:48 DEBUG : dir: Looking for writers 2026/07/11 05:07:48 DEBUG : file1: reading active writers 2026/07/11 05:07:48 DEBUG : Looking for writers 2026/07/11 05:07:48 DEBUG : dir: reading active writers 2026/07/11 05:07:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:07:49 DEBUG : dir/file1: Removing old object on successful upload 2026/07/11 05:07:49 DEBUG : dir: Looking for writers 2026/07/11 05:07:49 DEBUG : file1: reading active writers 2026/07/11 05:07:49 DEBUG : Looking for writers 2026/07/11 05:07:49 DEBUG : dir: reading active writers 2026/07/11 05:07:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:07:50 DEBUG : dir/file1: Old object already deleted, safely ignoring 2026/07/11 05:07:50 DEBUG : dir/file1: size = 14 OK 2026/07/11 05:07:50 INFO : dir/file1: Copied (replaced existing) 2026/07/11 05:07:50 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/07/11 05:07:50 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:07:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:07:50 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/07/11 05:07:50 DEBUG : dir: Looking for writers 2026/07/11 05:07:50 DEBUG : file1: reading active writers 2026/07/11 05:07:50 DEBUG : Looking for writers 2026/07/11 05:07:50 DEBUG : dir: reading active writers 2026/07/11 05:07:50 DEBUG : >WaitForWriters: 2026/07/11 05:07:50 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/07/11 05:07:50 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:07:50 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:07:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:07:50 DEBUG : dir/file1(0x19969bf8c500): _readAt: size=512, off=0 2026/07/11 05:07:50 DEBUG : dir/file1(0x19969bf8c500): openPending: 2026/07/11 05:07:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/07/11 05:07:50 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/07/11 05:07:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:07:50 DEBUG : dir/file1(0x19969bf8c500): >openPending: err= 2026/07/11 05:07:50 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:07:50 DEBUG : dir/file1(0x19969bf8c500): >_readAt: n=14, err=EOF 2026/07/11 05:07:50 DEBUG : dir/file1(0x19969bf8c500): close: 2026/07/11 05:07:50 DEBUG : dir/file1(0x19969bf8c500): >close: err= 2026/07/11 05:07:55 DEBUG : dir/file1: vfs cache: setting modification time to 2026-07-11 05:07:49 +0000 UTC 2026/07/11 05:08:14 DEBUG : forgetting directory cache 2026/07/11 05:08:14 DEBUG : dir3: forgetting directory cache 2026/07/11 05:08:14 DEBUG : renamed empty directory: forgetting directory cache 2026/07/11 05:08:14 DEBUG : Removed virtual directory entry vDel: "dir" 2026/07/11 05:08:14 DEBUG : Removed virtual directory entry vAddDir: "dir2" 2026/07/11 05:08:14 DEBUG : Removed virtual directory entry vDel: "empty directory" 2026/07/11 05:08:14 DEBUG : Removed virtual directory entry vAddDir: "renamed empty directory" 2026/07/11 05:08:34 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:08:34 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:09:34 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:09:34 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:09: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\":\"a195498e7f001bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a195498e7f001bf4\",\"timestamp\":\"2026-07-11T05:09: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:09:55 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:09:57 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:09:57 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:09:57 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:09:57 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:09:57 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:09:57 DEBUG : dir: Looking for writers 2026/07/11 05:09:57 DEBUG : file1: reading active writers 2026/07/11 05:09:57 DEBUG : Looking for writers 2026/07/11 05:09:57 DEBUG : dir: reading active writers 2026/07/11 05:09:57 DEBUG : >WaitForWriters: 2026/07/11 05:09:57 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 05:10:05 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 05:10:05 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:10:05 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:10:05 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:10:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:10:05 DEBUG : Config file has changed externally - reloading 2026/07/11 05:10:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:10:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:10:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:10:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:10:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:10:05 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:10:18 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:10:18 DEBUG : dir: Looking for writers 2026/07/11 05:10:18 DEBUG : file1: reading active writers 2026/07/11 05:10:18 DEBUG : Looking for writers 2026/07/11 05:10:18 DEBUG : dir: reading active writers 2026/07/11 05:10:18 DEBUG : >WaitForWriters: 2026/07/11 05:11:05 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:12:05 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:12:26 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\":\"a1954d400d871bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a1954d400d871bf4\",\"timestamp\":\"2026-07-11T05:12:26Z\",\"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:12:26 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:12:28 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:12:28 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:12:28 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:12:28 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:12:28 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:12:28 DEBUG : dir: Looking for writers 2026/07/11 05:12:28 DEBUG : file1: reading active writers 2026/07/11 05:12:28 DEBUG : Looking for writers 2026/07/11 05:12:28 DEBUG : dir: reading active writers 2026/07/11 05:12:28 DEBUG : >WaitForWriters: 2026/07/11 05:12:28 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 05:12:39 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 05:12:39 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:12:39 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:12:39 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:12:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:12:39 DEBUG : Config file has changed externally - reloading 2026/07/11 05:12:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:12:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:12:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:12:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:12:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:12:39 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:12:46 DEBUG : forgetting directory cache 2026/07/11 05:12:46 DEBUG : dir: forgetting directory cache 2026/07/11 05:12:55 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/07/11 05:12:55 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:12:55 DEBUG : dir/file1(0x19969be03280): openPending: 2026/07/11 05:12:55 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/11 05:12:55 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/11 05:12:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:12:55 DEBUG : dir/file1(0x19969be03280): >openPending: err= 2026/07/11 05:12:55 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/07/11 05:12:55 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:12:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:12:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:12:55 DEBUG : dir/file1(0x19969be03280): _writeAt: size=14, off=0 2026/07/11 05:12:55 DEBUG : dir/file1(0x19969be03280): >_writeAt: n=14, err= 2026/07/11 05:12:55 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:12:55 DEBUG : dir/file1(0x19969be03280): close: 2026/07/11 05:12:55 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:12:55 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/11 05:12:55 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/07/11 05:12:55 DEBUG : dir/file1(0x19969be03280): >close: err= 2026/07/11 05:12:55 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:12:55 DEBUG : dir: Looking for writers 2026/07/11 05:12:55 DEBUG : file1: reading active writers 2026/07/11 05:12:55 DEBUG : Looking for writers 2026/07/11 05:12:55 DEBUG : dir: reading active writers 2026/07/11 05:12:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/07/11 05:12:55 DEBUG : dir: Looking for writers 2026/07/11 05:12:55 DEBUG : file1: reading active writers 2026/07/11 05:12:55 DEBUG : Looking for writers 2026/07/11 05:12:55 DEBUG : dir: reading active writers 2026/07/11 05:12:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/07/11 05:12:55 DEBUG : dir: Looking for writers 2026/07/11 05:12:55 DEBUG : file1: reading active writers 2026/07/11 05:12:55 DEBUG : Looking for writers 2026/07/11 05:12:55 DEBUG : dir: reading active writers 2026/07/11 05:12:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/07/11 05:12:55 DEBUG : dir: Looking for writers 2026/07/11 05:12:55 DEBUG : file1: reading active writers 2026/07/11 05:12:55 DEBUG : Looking for writers 2026/07/11 05:12:55 DEBUG : dir: reading active writers 2026/07/11 05:12:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/07/11 05:12:55 DEBUG : dir/file1: vfs cache: starting upload 2026/07/11 05:12:55 DEBUG : dir: Looking for writers 2026/07/11 05:12:55 DEBUG : file1: reading active writers 2026/07/11 05:12:55 DEBUG : Looking for writers 2026/07/11 05:12:55 DEBUG : dir: reading active writers 2026/07/11 05:12:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/07/11 05:12:55 DEBUG : dir: Looking for writers 2026/07/11 05:12:55 DEBUG : file1: reading active writers 2026/07/11 05:12:55 DEBUG : Looking for writers 2026/07/11 05:12:55 DEBUG : dir: reading active writers 2026/07/11 05:12:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/07/11 05:12:56 DEBUG : dir: Looking for writers 2026/07/11 05:12:56 DEBUG : file1: reading active writers 2026/07/11 05:12:56 DEBUG : Looking for writers 2026/07/11 05:12:56 DEBUG : dir: reading active writers 2026/07/11 05:12:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/07/11 05:12:56 DEBUG : dir: Looking for writers 2026/07/11 05:12:56 DEBUG : file1: reading active writers 2026/07/11 05:12:56 DEBUG : Looking for writers 2026/07/11 05:12:56 DEBUG : dir: reading active writers 2026/07/11 05:12:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:12:57 DEBUG : dir/file1: Removing old object on successful upload 2026/07/11 05:12:57 DEBUG : dir: Looking for writers 2026/07/11 05:12:57 DEBUG : file1: reading active writers 2026/07/11 05:12:57 DEBUG : Looking for writers 2026/07/11 05:12:57 DEBUG : dir: reading active writers 2026/07/11 05:12:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/11 05:12:58 DEBUG : dir/file1: Old object already deleted, safely ignoring 2026/07/11 05:12:58 DEBUG : dir/file1: size = 14 OK 2026/07/11 05:12:58 INFO : dir/file1: Copied (replaced existing) 2026/07/11 05:12:58 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/07/11 05:12:58 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:12:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:12:58 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/07/11 05:12:58 DEBUG : dir: Looking for writers 2026/07/11 05:12:58 DEBUG : file1: reading active writers 2026/07/11 05:12:58 DEBUG : Looking for writers 2026/07/11 05:12:58 DEBUG : dir: reading active writers 2026/07/11 05:12:58 DEBUG : >WaitForWriters: 2026/07/11 05:12:58 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/07/11 05:12:58 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:12:58 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:12:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:12:58 DEBUG : dir/file1(0x19969c08c480): _readAt: size=512, off=0 2026/07/11 05:12:58 DEBUG : dir/file1(0x19969c08c480): openPending: 2026/07/11 05:12:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/07/11 05:12:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/07/11 05:12:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:12:58 DEBUG : dir/file1(0x19969c08c480): >openPending: err= 2026/07/11 05:12:58 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/11 05:12:58 DEBUG : dir/file1(0x19969c08c480): >_readAt: n=14, err=EOF 2026/07/11 05:12:58 DEBUG : dir/file1(0x19969c08c480): close: 2026/07/11 05:12:58 DEBUG : dir/file1(0x19969c08c480): >close: err= 2026/07/11 05:13:03 DEBUG : dir/file1: vfs cache: setting modification time to 2026-07-11 05:12:57 +0000 UTC 2026/07/11 05:13:39 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:13:39 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:14:39 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:14:39 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:15:06 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\":\"a19551264e681bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19551264e681bf4\",\"timestamp\":\"2026-07-11T05:15:06Z\",\"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:15:06 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:15:07 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:15:07 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:15:07 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:15:07 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:15:07 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:15:07 DEBUG : dir: Looking for writers 2026/07/11 05:15:07 DEBUG : file1: reading active writers 2026/07/11 05:15:07 DEBUG : Looking for writers 2026/07/11 05:15:07 DEBUG : dir: reading active writers 2026/07/11 05:15:07 DEBUG : >WaitForWriters: 2026/07/11 05:15:07 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaner exiting 2026/07/11 05:15:16 DEBUG : forgetting directory cache 2026/07/11 05:15:16 DEBUG : dir: forgetting directory cache === RUN TestFileRename/full,forceCache=false run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 05:15:19 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 05:15:19 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/11 05:15:19 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:15:19 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:15:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:15:19 DEBUG : Config file has changed externally - reloading 2026/07/11 05:15:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:15:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:15:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:15:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/11 05:15:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-cajecor5xocu" 2026/07/11 05:15:19 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/11 05:15:38 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:15:38 DEBUG : dir: Looking for writers 2026/07/11 05:15:38 DEBUG : file1: reading active writers 2026/07/11 05:15:38 DEBUG : Looking for writers 2026/07/11 05:15:38 DEBUG : dir: reading active writers 2026/07/11 05:15:38 DEBUG : >WaitForWriters: 2026/07/11 05:15:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/07/11 05:15:38 DEBUG : dir/file1: newRWFileHandle: 2026/07/11 05:15:38 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/11 05:15:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/11 05:15:38 DEBUG : dir/file1(0x19969bcaf280): _readAt: size=512, off=0 2026/07/11 05:15:38 DEBUG : dir/file1(0x19969bcaf280): openPending: 2026/07/11 05:15:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/11 05:15:38 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/11 05:15:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:15:38 DEBUG : dir/file1(0x19969bcaf280): >openPending: err= 2026/07/11 05:15:38 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/07/11 05:15:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/07/11 05:15:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/07/11 05:15:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/07/11 05:15:40 DEBUG : dir/file1(0x19969bcaf280): >_readAt: n=14, err=EOF 2026/07/11 05:15:40 DEBUG : dir/file1(0x19969bcaf280): close: 2026/07/11 05:15:40 DEBUG : dir/file1(0x19969bcaf280): >close: err= 2026/07/11 05:15:45 DEBUG : dir/file1: vfs cache: setting modification time to 2026-07-11 05:15:28 +0000 UTC 2026/07/11 05:16:19 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:16:19 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:17:19 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/07/11 05:17:19 INFO : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) 2026/07/11 05:17:45 DEBUG : forgetting directory cache 2026/07/11 05:17:45 DEBUG : dir: forgetting directory cache 2026/07/11 05:17:45 DEBUG : dir: Removed virtual directory entry vAddFile: "file1" 2026/07/11 05:17: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\":\"a19555175fde1bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19555175fde1bf4\",\"timestamp\":\"2026-07-11T05:17: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:17:47 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:17:49 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:17:49 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:17:49 ERROR : newLeaf: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:17:49 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:17:49 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:17:49 DEBUG : dir: Looking for writers 2026/07/11 05:17:49 DEBUG : file1: reading active writers 2026/07/11 05:17:49 DEBUG : Looking for writers 2026/07/11 05:17:49 DEBUG : dir: reading active writers 2026/07/11 05:17:49 DEBUG : >WaitForWriters: 2026/07/11 05:17:49 DEBUG : drime root 'rclone-test-cajecor5xocu': vfs cache: cleaner exiting --- FAIL: TestFileRename (916.58s) --- FAIL: TestFileRename/off,forceCache=false (146.89s) --- FAIL: TestFileRename/minimal,forceCache=false (148.49s) --- FAIL: TestFileRename/minimal,forceCache=true (150.81s) --- FAIL: TestFileRename/writes,forceCache=false (154.78s) --- FAIL: TestFileRename/writes,forceCache=true (159.89s) --- FAIL: TestFileRename/full,forceCache=false (155.72s) === RUN TestVFSRename run.go:198: Remote "drime root 'rclone-test-cajecor5xocu'", Local "Local file system at /tmp/rclone1290466224", Modify Window "876000h0m0s" 2026/07/11 05:17:55 INFO : drime root 'rclone-test-cajecor5xocu': poll-interval is not supported by this remote 2026/07/11 05:18:09 INFO : dir/file2: Moved (server-side) to: dir/file1 2026/07/11 05:18:09 DEBUG : dir/file1: Updating file with dir/file1 0x19969bff8270 2026/07/11 05:18:09 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/07/11 05:18:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/11 05:20:14 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\":\"a19558acc8381bf4\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a19558acc8381bf4\",\"timestamp\":\"2026-07-11T05:20:14Z\",\"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:20:14 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/11 05:20:15 DEBUG : pacer: Reducing sleep to 10ms 2026/07/11 05:20:15 ERROR : dir/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/11 05:20:15 ERROR : file0: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/11 05:20:15 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:20:15 DEBUG : WaitForWriters: timeout=30s 2026/07/11 05:20:15 DEBUG : dir: Looking for writers 2026/07/11 05:20:15 DEBUG : file1: reading active writers 2026/07/11 05:20:15 DEBUG : Looking for writers 2026/07/11 05:20:15 DEBUG : dir: reading active writers 2026/07/11 05:20:15 DEBUG : >WaitForWriters: 2026/07/11 05:20:17 DEBUG : forgetting directory cache 2026/07/11 05:20:17 DEBUG : dir: forgetting directory cache --- FAIL: TestVFSRename (147.50s) FAIL 2026/07/11 05:20:23 DEBUG : drime root 'rclone-test-cajecor5xocu': 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 22m19.850968704s (try 4/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]