"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestDirRemoveAll|TestDirRename)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 4/5) 2026/05/05 03:38:37 DEBUG : Creating backend with remote "TestDrime:rclone-test-xayeyop8feyo" 2026/05/05 03:38:37 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/05 03:38:38 DEBUG : Creating backend with remote "/tmp/rclone3731152725" === RUN TestDirReadDirAll run.go:185: Remote "drime root 'rclone-test-xayeyop8feyo'", Local "Local file system at /tmp/rclone3731152725", Modify Window "876000h0m0s" 2026/05/05 03:38:38 INFO : drime root 'rclone-test-xayeyop8feyo': poll-interval is not supported by this remote === RUN TestDirReadDirAll/Virtual 2026/05/05 03:38:42 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/05/05 03:38:42 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/05/05 03:38:42 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/05/05 03:38:42 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2026/05/05 03:38:45 DEBUG : dir: invalidating directory cache 2026/05/05 03:38:45 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2026/05/05 03:38:45 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2026/05/05 03:38:45 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2026/05/05 03:38:45 DEBUG : dir/file1: Reset virtual modtime 2026/05/05 03:38:45 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2026/05/05 03:38:45 DEBUG : dir/virtualFile: Reset virtual modtime 2026/05/05 03:38:45 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2026/05/05 03:38:45 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2026/05/05 03:38:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/05 03:38:45 DEBUG : dir: invalidating directory cache 2026/05/05 03:38:45 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2026/05/05 03:38:45 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/05/05 03:38:45 DEBUG : dir/virtualFile: Reset virtual modtime 2026/05/05 03:38:45 DEBUG : forgetting directory cache 2026/05/05 03:38:45 DEBUG : dir: forgetting directory cache 2026/05/05 03:38:45 DEBUG : dir/virtualDir: forgetting directory cache 2026/05/05 03:38:45 DEBUG : WaitForWriters: timeout=30s 2026/05/05 03:38:45 DEBUG : dir/virtualDir: Looking for writers 2026/05/05 03:38:45 DEBUG : dir: Looking for writers 2026/05/05 03:38:45 DEBUG : virtualFile: reading active writers 2026/05/05 03:38:45 DEBUG : virtualDir: reading active writers 2026/05/05 03:38:45 DEBUG : file1: reading active writers 2026/05/05 03:38:45 DEBUG : virtualFile2: reading active writers 2026/05/05 03:38:45 DEBUG : Looking for writers 2026/05/05 03:38:45 DEBUG : dir: reading active writers 2026/05/05 03:38:45 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll run.go:130: removing dir "dir/virtualDir" failed - try 1/3: directory not empty --- PASS: TestDirReadDirAll (11.34s) --- PASS: TestDirReadDirAll/Virtual (3.01s) === RUN TestDirRemoveAll run.go:185: Remote "drime root 'rclone-test-xayeyop8feyo'", Local "Local file system at /tmp/rclone3731152725", Modify Window "876000h0m0s" 2026/05/05 03:38:49 INFO : drime root 'rclone-test-xayeyop8feyo': poll-interval is not supported by this remote 2026/05/05 03:38:51 DEBUG : dir/file1: Remove: 2026/05/05 03:38:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/05 03:38:51 DEBUG : dir/file1: >Remove: err= 2026/05/05 03:38:51 ERROR : dir/: Dir.Remove failed to remove directory: directory not empty dir_test.go:481: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:481 Error: Received unexpected error: directory not empty Test: TestDirRemoveAll 2026/05/05 03:38:51 DEBUG : WaitForWriters: timeout=30s 2026/05/05 03:38:51 DEBUG : dir: Looking for writers 2026/05/05 03:38:51 DEBUG : Looking for writers 2026/05/05 03:38:51 DEBUG : dir: reading active writers 2026/05/05 03:38:51 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestDirRemoveAll (10.96s) === RUN TestDirRename run.go:185: Remote "drime root 'rclone-test-xayeyop8feyo'", Local "Local file system at /tmp/rclone3731152725", Modify Window "876000h0m0s" 2026/05/05 03:39:00 INFO : drime root 'rclone-test-xayeyop8feyo': poll-interval is not supported by this remote fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/05/05 03:39:11 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/05/05 03:39: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\":\"9f6cb775df6e3645\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f6cb775df6e3645\",\"timestamp\":\"2026-05-05T03:39: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\":\"9f6cb775df6e3645\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f6cb775df6e3645\",\"timestamp\":\"2026-05-05T03:39: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/05/05 03:39:20 DEBUG : WaitForWriters: timeout=30s 2026/05/05 03:39:20 DEBUG : dir: Looking for writers 2026/05/05 03:39:20 DEBUG : file1: reading active writers 2026/05/05 03:39:20 DEBUG : file3: reading active writers 2026/05/05 03:39:20 DEBUG : Looking for writers 2026/05/05 03:39:20 DEBUG : dir: reading active writers 2026/05/05 03:39:20 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestDirRename (23.18s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered, repanicked] goroutine 258 [running]: testing.tRunner.func1.2({0x259c440, 0x3a61e429c480}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x259c440?, 0x3a61e429c480?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/vfs.TestDirRename(0x3a61e437e008) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x10a6 testing.tRunner(0x3a61e437e008, 0x2c16700) /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 '^(TestDirRemoveAll|TestDirRename)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 46.239755211s (try 4/5): exit status 2: Failed [TestDirRemoveAll TestDirRename]