"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestDirRemove|TestDirRemoveAll|TestDirRename)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 2/5) 2026/04/28 05:13:43 DEBUG : Creating backend with remote "TestDrime:rclone-test-vidiqec9komu" 2026/04/28 05:13:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/04/28 05:13:43 DEBUG : Creating backend with remote "/tmp/rclone1830223821" === RUN TestDirReadDirAll run.go:185: Remote "drime root 'rclone-test-vidiqec9komu'", Local "Local file system at /tmp/rclone1830223821", Modify Window "876000h0m0s" 2026/04/28 05:13:43 INFO : drime root 'rclone-test-vidiqec9komu': poll-interval is not supported by this remote === RUN TestDirReadDirAll/Virtual 2026/04/28 05:13:48 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/04/28 05:13:48 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/04/28 05:13:48 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/04/28 05:13:48 DEBUG : dir: Added virtual directory entry vDel: "subdir" === NAME TestDirReadDirAll run.go:290: Failed to put "dir/virtualDir/testFile" to "drime root 'rclone-test-vidiqec9komu'": failed to upload file: Error "The file failed to upload." === NAME TestDirReadDirAll/Virtual testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test 2026/04/28 05:13:50 DEBUG : WaitForWriters: timeout=30s 2026/04/28 05:13:50 DEBUG : dir/virtualDir: Looking for writers 2026/04/28 05:13:50 DEBUG : dir: Looking for writers 2026/04/28 05:13:50 DEBUG : virtualFile: reading active writers 2026/04/28 05:13:50 DEBUG : virtualDir: reading active writers 2026/04/28 05:13:50 DEBUG : file1: reading active writers 2026/04/28 05:13:50 DEBUG : Looking for writers 2026/04/28 05:13:50 DEBUG : dir: reading active writers 2026/04/28 05:13:50 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll run.go:130: removing dir "dir/subdir" failed - try 1/3: directory not empty --- FAIL: TestDirReadDirAll (10.96s) --- FAIL: TestDirReadDirAll/Virtual (1.66s) === RUN TestDirRemove run.go:185: Remote "drime root 'rclone-test-vidiqec9komu'", Local "Local file system at /tmp/rclone1830223821", Modify Window "876000h0m0s" 2026/04/28 05:13:54 INFO : drime root 'rclone-test-vidiqec9komu': poll-interval is not supported by this remote 2026/04/28 05:13:56 ERROR : dir/: Dir.Remove not empty 2026/04/28 05:13:56 DEBUG : dir/file1: Remove: 2026/04/28 05:13:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/28 05:13:57 DEBUG : dir/file1: >Remove: err= 2026/04/28 05:13:57 ERROR : dir/: Dir.Remove failed to remove directory: directory not empty dir_test.go:456: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:456 Error: Received unexpected error: directory not empty Test: TestDirRemove 2026/04/28 05:13:57 DEBUG : WaitForWriters: timeout=30s 2026/04/28 05:13:57 DEBUG : dir: Looking for writers 2026/04/28 05:13:57 DEBUG : Looking for writers 2026/04/28 05:13:57 DEBUG : dir: reading active writers 2026/04/28 05:13:57 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: TestDirRemove (11.27s) === RUN TestDirRemoveAll run.go:185: Remote "drime root 'rclone-test-vidiqec9komu'", Local "Local file system at /tmp/rclone1830223821", Modify Window "876000h0m0s" 2026/04/28 05:14:06 INFO : drime root 'rclone-test-vidiqec9komu': poll-interval is not supported by this remote 2026/04/28 05:14:08 DEBUG : dir/file1: Remove: 2026/04/28 05:14:08 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/28 05:14:08 DEBUG : dir/file1: >Remove: err= 2026/04/28 05:14:09 DEBUG : Added virtual directory entry vDel: "dir" 2026/04/28 05:14:09 DEBUG : WaitForWriters: timeout=30s 2026/04/28 05:14:09 DEBUG : Looking for writers 2026/04/28 05:14:09 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (3.67s) === RUN TestDirRename run.go:185: Remote "drime root 'rclone-test-vidiqec9komu'", Local "Local file system at /tmp/rclone1830223821", Modify Window "876000h0m0s" 2026/04/28 05:14:09 INFO : drime root 'rclone-test-vidiqec9komu': poll-interval is not supported by this remote 2026/04/28 05:14:13 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/04/28 05:14:13 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\":\"9f339509694216f0\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f339509694216f0\",\"timestamp\":\"2026-04-28T05:14:13Z\",\"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\":\"9f339509694216f0\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f339509694216f0\",\"timestamp\":\"2026-04-28T05:14:13Z\",\"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/28 05:14:22 DEBUG : WaitForWriters: timeout=30s 2026/04/28 05:14:22 DEBUG : dir: Looking for writers 2026/04/28 05:14:22 DEBUG : file1: reading active writers 2026/04/28 05:14:22 DEBUG : file3: reading active writers 2026/04/28 05:14:22 DEBUG : Looking for writers 2026/04/28 05:14:22 DEBUG : dir: reading active writers 2026/04/28 05:14:22 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestDirRename (15.58s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered, repanicked] goroutine 323 [running]: testing.tRunner.func1.2({0x2586aa0, 0x2865a12db6e0}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x2586aa0?, 0x2865a12db6e0?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/vfs.TestDirRename(0x2865a1d00008) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x10a6 testing.tRunner(0x2865a1d00008, 0x2bfc160) /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|TestDirRemoveAll|TestDirRename)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 42.172432961s (try 2/5): exit status 2: Failed [TestDirReadDirAll/Virtual TestDirRemove TestDirRename]