"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestDirRemove|TestDirRename)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 5/5) 2026/04/25 03:58:43 DEBUG : Creating backend with remote "TestDrime:rclone-test-fisoyaz0cufe" 2026/04/25 03:58:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/04/25 03:58:44 DEBUG : Creating backend with remote "/tmp/rclone2076113671" === RUN TestDirReadDirAll run.go:185: Remote "drime root 'rclone-test-fisoyaz0cufe'", Local "Local file system at /tmp/rclone2076113671", Modify Window "876000h0m0s" 2026/04/25 03:58:44 INFO : drime root 'rclone-test-fisoyaz0cufe': poll-interval is not supported by this remote === RUN TestDirReadDirAll/Virtual 2026/04/25 03:58:51 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/04/25 03:58:51 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/04/25 03:58:51 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/04/25 03:58:51 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2026/04/25 03:58:54 DEBUG : dir: invalidating directory cache 2026/04/25 03:58:55 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2026/04/25 03:58:55 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2026/04/25 03:58:55 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2026/04/25 03:58:55 DEBUG : dir/file1: Reset virtual modtime 2026/04/25 03:58:55 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2026/04/25 03:58:55 DEBUG : dir/virtualFile: Reset virtual modtime 2026/04/25 03:58:55 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2026/04/25 03:58:55 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2026/04/25 03:58:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/25 03:58:55 DEBUG : dir: invalidating directory cache 2026/04/25 03:58:55 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2026/04/25 03:58:55 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/04/25 03:58:55 DEBUG : dir/virtualFile: Reset virtual modtime 2026/04/25 03:58:55 DEBUG : forgetting directory cache 2026/04/25 03:58:55 DEBUG : dir: forgetting directory cache 2026/04/25 03:58:55 DEBUG : dir/virtualDir: forgetting directory cache 2026/04/25 03:58:55 DEBUG : WaitForWriters: timeout=30s 2026/04/25 03:58:55 DEBUG : dir/virtualDir: Looking for writers 2026/04/25 03:58:55 DEBUG : dir: Looking for writers 2026/04/25 03:58:55 DEBUG : file1: reading active writers 2026/04/25 03:58:55 DEBUG : virtualFile2: reading active writers 2026/04/25 03:58:55 DEBUG : virtualFile: reading active writers 2026/04/25 03:58:55 DEBUG : virtualDir: reading active writers 2026/04/25 03:58:55 DEBUG : Looking for writers 2026/04/25 03:58:55 DEBUG : dir: reading active writers 2026/04/25 03:58:55 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll run.go:130: removing dir "dir/virtualDir" failed - try 1/3: directory not empty --- PASS: TestDirReadDirAll (16.17s) --- PASS: TestDirReadDirAll/Virtual (4.34s) === RUN TestDirRemove run.go:185: Remote "drime root 'rclone-test-fisoyaz0cufe'", Local "Local file system at /tmp/rclone2076113671", Modify Window "876000h0m0s" 2026/04/25 03:59:00 INFO : drime root 'rclone-test-fisoyaz0cufe': poll-interval is not supported by this remote 2026/04/25 03:59:03 ERROR : dir/: Dir.Remove not empty 2026/04/25 03:59:03 DEBUG : dir/file1: Remove: 2026/04/25 03:59:04 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/25 03:59:04 DEBUG : dir/file1: >Remove: err= 2026/04/25 03:59:04 DEBUG : Added virtual directory entry vDel: "dir" 2026/04/25 03:59:04 DEBUG : WaitForWriters: timeout=30s 2026/04/25 03:59:04 DEBUG : Looking for writers 2026/04/25 03:59:04 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (5.18s) === RUN TestDirRename run.go:185: Remote "drime root 'rclone-test-fisoyaz0cufe'", Local "Local file system at /tmp/rclone2076113671", Modify Window "876000h0m0s" 2026/04/25 03:59:05 INFO : drime root 'rclone-test-fisoyaz0cufe': poll-interval is not supported by this remote 2026/04/25 03:59:10 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/04/25 03:59:11 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\":\"9f1a6eff0fa5383b\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin_error\",\"ray_id\":\"9f1a6eff0fa5383b\",\"timestamp\":\"2026-04-25T03:59:11Z\",\"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\":\"9f1a6eff0fa5383b\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin_error\",\"ray_id\":\"9f1a6eff0fa5383b\",\"timestamp\":\"2026-04-25T03:59:11Z\",\"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/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 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/file1" fstest.go:203: Not found "dir2/file3" 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/04/25 03:59:21 DEBUG : WaitForWriters: timeout=30s 2026/04/25 03:59:21 DEBUG : dir: Looking for writers 2026/04/25 03:59:21 DEBUG : file1: reading active writers 2026/04/25 03:59:21 DEBUG : file3: reading active writers 2026/04/25 03:59:21 DEBUG : Looking for writers 2026/04/25 03:59:21 DEBUG : dir: reading active writers 2026/04/25 03:59:21 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (18.59s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered, repanicked] goroutine 252 [running]: testing.tRunner.func1.2({0x2560f60, 0x28e461e82270}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x2560f60?, 0x28e461e82270?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/vfs.TestDirRename(0x28e46187c6c8) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x10a6 testing.tRunner(0x28e46187c6c8, 0x2bcfec0) /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: -verbose -test.run '^(TestDirRemove|TestDirRename)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 40.760882419s (try 5/5): exit status 2: Failed [TestDirRename]