"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^TestDirRename$'" - Starting (try 3/5) 2026/07/10 02:49:09 DEBUG : Creating backend with remote "TestDrime:rclone-test-wabulid3jugi" 2026/07/10 02:49:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/10 02:49:10 DEBUG : Creating backend with remote "/tmp/rclone3475886835" === RUN TestDirRename run.go:198: Remote "drime root 'rclone-test-wabulid3jugi'", Local "Local file system at /tmp/rclone3475886835", Modify Window "876000h0m0s" 2026/07/10 02:49:10 INFO : drime root 'rclone-test-wabulid3jugi': poll-interval is not supported by this remote 2026/07/10 02:49:22 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/07/10 02:49:24 DEBUG : dir: Updating dir with dir2 0x3d31caa452b0 2026/07/10 02:49:24 DEBUG : dir: forgetting directory cache 2026/07/10 02:49:24 DEBUG : Added virtual directory entry vDel: "dir" 2026/07/10 02:49:24 DEBUG : Added virtual directory entry vAddDir: "dir2" 2026/07/10 02:51:28 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\":\"a18c415dd99432d9\",\"error_code\":504,\"error_name\":\"origin_gateway_timeout\",\"error_category\":\"origin\",\"ray_id\":\"a18c415dd99432d9\",\"timestamp\":\"2026-07-10T02:51:28Z\",\"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/10 02:51:28 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/07/10 02:51:28 DEBUG : pacer: Reducing sleep to 10ms 2026/07/10 02:51:28 ERROR : dir2/file1: Couldn't move: failed to move item: Error "No valid entries to move" 2026/07/10 02:51:28 ERROR : file2: File.Rename error: failed to move item: Error "No valid entries to move" 2026/07/10 02:51:28 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.ganefux9 (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.ganefux9" 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/10 02:52:10 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.ganefux9 (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.ganefux9" 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/10 02:52:56 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2026/07/10 02:52:56 DEBUG : empty directory: Updating dir with renamed empty directory 0x3d31caba2000 2026/07/10 02:52:56 DEBUG : empty directory: forgetting directory cache 2026/07/10 02:52:56 DEBUG : Added virtual directory entry vDel: "empty directory" 2026/07/10 02:52:56 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2026/07/10 02:52:56 DEBUG : dir2: Renaming to "dir3" 2026/07/10 02:52:56 DEBUG : WaitForWriters: timeout=30s 2026/07/10 02:52:56 DEBUG : dir3: Looking for writers 2026/07/10 02:52:56 DEBUG : file1: reading active writers 2026/07/10 02:52:56 DEBUG : file3: reading active writers 2026/07/10 02:52:56 DEBUG : renamed empty directory: Looking for writers 2026/07/10 02:52:56 DEBUG : Looking for writers 2026/07/10 02:52:56 DEBUG : dir3: reading active writers 2026/07/10 02:52:56 DEBUG : renamed empty directory: reading active writers 2026/07/10 02:52:56 DEBUG : >WaitForWriters: run.go:186: removing dir "dir2" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestDirRename (228.59s) FAIL 2026/07/10 02:52:58 DEBUG : drime root 'rclone-test-wabulid3jugi': Purge remote "./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^TestDirRename$'" - Finished ERROR in 3m49.810544654s (try 3/5): exit status 1: Failed [TestDirRename]