"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^TestDirRename$'" - Starting (try 3/5) 2026/05/19 01:44:41 DEBUG : Creating backend with remote "TestDrime:rclone-test-xejapis3remu" 2026/05/19 01:44:41 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/19 01:44:42 DEBUG : Creating backend with remote "/tmp/rclone1105286687" === RUN TestDirRename run.go:198: Remote "drime root 'rclone-test-xejapis3remu'", Local "Local file system at /tmp/rclone1105286687", Modify Window "876000h0m0s" 2026/05/19 01:44:42 INFO : drime root 'rclone-test-xejapis3remu': poll-interval is not supported by this remote 2026/05/19 01:44:46 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/05/19 01:44:47 ERROR : dir: Dir.Rename error: Move rename leaf: failed to patch item "name" to dir2: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9fdf6b1e896e9b2e\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fdf6b1e896e9b2e\",\"timestamp\":\"2026-05-19T01:44:47Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" dir_test.go:538: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:538 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to dir2: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9fdf6b1e896e9b2e\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9fdf6b1e896e9b2e\",\"timestamp\":\"2026-05-19T01:44:47Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: 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:539 Error: Not equal: expected: []string{"dir2,0,true"} actual : []string{"dir,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=11) "dir2,0,true" + (string) (len=10) "dir,0,true" } 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 2026/05/19 01:45:06 DEBUG : pacer: low level retry 1/10 (error Get "https://app.drime.cloud/api/v1/drive/file-entries?page=1&perPage=1000&type=folder": read tcp [2a01:4f9:c011:405e::1]:51664->[2606:4700::6812:db0]:443: read: connection reset by peer) 2026/05/19 01:45:06 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/05/19 01:45:06 DEBUG : pacer: Reducing sleep to 10ms 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:545 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file1 (14), dir2/file3 (15) got dir/file1 (14), dir/file3 (15) 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:545 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir/file1" 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:545 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir/file3" fstest.go:203: Not found "dir2/file3" fstest.go:203: Not found "dir2/file1" 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:545 Error: Not equal: expected: 0 actual : 2 Test: TestDirRename Messages: 2 objects not found fstest.go:327: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:327 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Not equal: expected: []string{"dir2"} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=4) "dir2" + (string) (len=3) "dir" } Test: TestDirRename Messages: directories dir_test.go:549: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:549 Error: Received unexpected error: file does not exist Test: TestDirRename 2026/05/19 01:45:23 DEBUG : WaitForWriters: timeout=30s 2026/05/19 01:45:23 DEBUG : dir: Looking for writers 2026/05/19 01:45:23 DEBUG : file1: reading active writers 2026/05/19 01:45:23 DEBUG : file3: reading active writers 2026/05/19 01:45:23 DEBUG : Looking for writers 2026/05/19 01:45:23 DEBUG : dir: reading active writers 2026/05/19 01:45:23 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (44.43s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered, repanicked] goroutine 27 [running]: testing.tRunner.func1.2({0x259e700, 0x3dcd7b9acea0}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x259e700?, 0x3dcd7b9acea0?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/vfs.TestDirRename(0x3dcd7bad2b48) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x10a6 testing.tRunner(0x3dcd7bad2b48, 0x2c19480) /usr/local/go/src/testing/testing.go:2036 +0xea created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:2101 +0x4c5 "./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^TestDirRename$'" - Finished ERROR in 45.241522686s (try 3/5): exit status 2: Failed [TestDirRename]