"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose" - Starting (try 1/5) 2026/04/26 02:55:25 DEBUG : Creating backend with remote "TestDrime:rclone-test-diwamap2vadi" 2026/04/26 02:55:25 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/04/26 02:55:25 DEBUG : Creating backend with remote "/tmp/rclone3579522111" === RUN TestDirHandleMethods run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:55:25 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:55:28 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:55:28 DEBUG : dir: Looking for writers 2026/04/26 02:55:28 DEBUG : Looking for writers 2026/04/26 02:55:28 DEBUG : dir: reading active writers 2026/04/26 02:55:28 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (4.28s) === RUN TestDirHandleReaddir run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:55:30 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:55:35 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:55:35 DEBUG : dir/subdir: Looking for writers 2026/04/26 02:55:35 DEBUG : dir: Looking for writers 2026/04/26 02:55:35 DEBUG : file1: reading active writers 2026/04/26 02:55:35 DEBUG : file2: reading active writers 2026/04/26 02:55:35 DEBUG : subdir: reading active writers 2026/04/26 02:55:35 DEBUG : Looking for writers 2026/04/26 02:55:35 DEBUG : dir: reading active writers 2026/04/26 02:55:35 DEBUG : >WaitForWriters: run.go:130: removing dir "dir/subdir" failed - try 1/3: directory not empty --- PASS: TestDirHandleReaddir (9.02s) === RUN TestDirHandleReaddirnames run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:55:39 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:55:41 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:55:41 DEBUG : dir: Looking for writers 2026/04/26 02:55:41 DEBUG : file1: reading active writers 2026/04/26 02:55:41 DEBUG : Looking for writers 2026/04/26 02:55:41 DEBUG : dir: reading active writers 2026/04/26 02:55:41 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddirnames (3.70s) === RUN TestDirMethods run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:55:42 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:55:44 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:55:44 DEBUG : dir: Looking for writers 2026/04/26 02:55:44 DEBUG : Looking for writers 2026/04/26 02:55:44 DEBUG : dir: reading active writers 2026/04/26 02:55:44 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (3.53s) === RUN TestDirForgetAll run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:55:46 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:55:48 DEBUG : dir: forgetting directory cache 2026/04/26 02:55:48 DEBUG : forgetting directory cache 2026/04/26 02:55:48 DEBUG : dir: forgetting directory cache 2026/04/26 02:55:48 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:55:48 DEBUG : Looking for writers 2026/04/26 02:55:48 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.85s) === RUN TestDirForgetPath run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:55:50 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:55:52 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2026/04/26 02:55:52 DEBUG : dir: invalidating directory cache 2026/04/26 02:55:52 DEBUG : >ForgetPath: 2026/04/26 02:55:52 DEBUG : ForgetPath: relativePath="dir", type=0 2026/04/26 02:55:52 DEBUG : invalidating directory cache 2026/04/26 02:55:52 DEBUG : dir: forgetting directory cache 2026/04/26 02:55:52 DEBUG : >ForgetPath: 2026/04/26 02:55:52 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2026/04/26 02:55:52 DEBUG : >ForgetPath: 2026/04/26 02:55:52 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:55:52 DEBUG : dir: Looking for writers 2026/04/26 02:55:52 DEBUG : Looking for writers 2026/04/26 02:55:52 DEBUG : dir: reading active writers 2026/04/26 02:55:52 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (3.82s) === RUN TestDirWalk run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:55:54 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:55:59 DEBUG : forgetting directory cache 2026/04/26 02:55:59 DEBUG : dir: forgetting directory cache 2026/04/26 02:56:00 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:00 DEBUG : dir: Looking for writers 2026/04/26 02:56:00 DEBUG : fil/a/b: Looking for writers 2026/04/26 02:56:00 DEBUG : fil/a: Looking for writers 2026/04/26 02:56:00 DEBUG : b: reading active writers 2026/04/26 02:56:00 DEBUG : fil: Looking for writers 2026/04/26 02:56:00 DEBUG : a: reading active writers 2026/04/26 02:56:00 DEBUG : Looking for writers 2026/04/26 02:56:00 DEBUG : fil: reading active writers 2026/04/26 02:56:00 DEBUG : dir: reading active writers 2026/04/26 02:56:00 DEBUG : >WaitForWriters: run.go:130: removing dir "fil/a/b" failed - try 1/3: directory not empty --- PASS: TestDirWalk (11.00s) === RUN TestDirSetModTime run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:05 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:56:07 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:07 DEBUG : dir: Looking for writers 2026/04/26 02:56:07 DEBUG : Looking for writers 2026/04/26 02:56:07 DEBUG : dir: reading active writers 2026/04/26 02:56:07 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (3.39s) === RUN TestDirStat run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:08 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:56:10 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:10 DEBUG : dir: Looking for writers 2026/04/26 02:56:10 DEBUG : file1: reading active writers 2026/04/26 02:56:10 DEBUG : Looking for writers 2026/04/26 02:56:10 DEBUG : dir: reading active writers 2026/04/26 02:56:10 DEBUG : >WaitForWriters: --- PASS: TestDirStat (3.76s) === RUN TestDirReadDirAll run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:12 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote === RUN TestDirReadDirAll/Virtual 2026/04/26 02:56:17 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/04/26 02:56:17 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/04/26 02:56:17 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/04/26 02:56:17 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2026/04/26 02:56:20 DEBUG : dir: invalidating directory cache 2026/04/26 02:56:20 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2026/04/26 02:56:20 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2026/04/26 02:56:20 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2026/04/26 02:56:20 DEBUG : dir/file1: Reset virtual modtime 2026/04/26 02:56:20 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2026/04/26 02:56:20 DEBUG : dir/virtualFile: Reset virtual modtime 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:300 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,20,false"} actual : []string{"file1,14,false", "file2,15,false", "subdir,0,true", "virtualDir,0,true", "virtualFile,20,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=3) { +([]string) (len=5) { (string) (len=14) "file1,14,false", + (string) (len=14) "file2,15,false", + (string) (len=13) "subdir,0,true", (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2026/04/26 02:56:20 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2026/04/26 02:56:20 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2026/04/26 02:56:20 DEBUG : dir: Added virtual directory entry vDel: "file1" 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:313 Error: Not equal: expected: []string{"virtualDir,0,true", "virtualDir2,0,true", "virtualFile,20,false", "virtualFile2,100,false"} actual : []string{"file2,15,false", "subdir,0,true", "virtualDir,0,true", "virtualDir2,0,true", "virtualFile,20,false", "virtualFile2,100,false"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=4) { +([]string) (len=6) { + (string) (len=14) "file2,15,false", + (string) (len=13) "subdir,0,true", (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2026/04/26 02:56:20 DEBUG : dir: invalidating directory cache 2026/04/26 02:56:20 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2026/04/26 02:56:20 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/04/26 02:56:20 DEBUG : dir/file2: Reset virtual modtime 2026/04/26 02:56:20 DEBUG : dir/virtualFile: Reset virtual modtime 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:324 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} actual : []string{"file1,14,false", "file2,15,false", "subdir,0,true", "virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=4) { +([]string) (len=6) { (string) (len=14) "file1,14,false", + (string) (len=14) "file2,15,false", + (string) (len=13) "subdir,0,true", (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2026/04/26 02:56:20 DEBUG : forgetting directory cache 2026/04/26 02:56:20 DEBUG : dir: forgetting directory cache 2026/04/26 02:56:20 DEBUG : dir/subdir: forgetting directory cache 2026/04/26 02:56:20 DEBUG : dir/virtualDir: forgetting directory cache 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:329 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} actual : []string{"file1,14,false", "file2,15,false", "subdir,0,true", "virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=4) { +([]string) (len=6) { (string) (len=14) "file1,14,false", + (string) (len=14) "file2,15,false", + (string) (len=13) "subdir,0,true", (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2026/04/26 02:56:20 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:20 DEBUG : dir/subdir: Looking for writers 2026/04/26 02:56:20 DEBUG : dir/virtualDir: Looking for writers 2026/04/26 02:56:20 DEBUG : dir: Looking for writers 2026/04/26 02:56:20 DEBUG : file1: reading active writers 2026/04/26 02:56:20 DEBUG : file2: reading active writers 2026/04/26 02:56:20 DEBUG : subdir: reading active writers 2026/04/26 02:56:20 DEBUG : virtualFile: reading active writers 2026/04/26 02:56:20 DEBUG : virtualDir: reading active writers 2026/04/26 02:56:20 DEBUG : virtualFile2: reading active writers 2026/04/26 02:56:20 DEBUG : Looking for writers 2026/04/26 02:56:20 DEBUG : dir: reading active writers 2026/04/26 02:56:20 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll run.go:130: removing dir "dir/virtualDir" failed - try 1/3: directory not empty --- FAIL: TestDirReadDirAll (12.41s) --- FAIL: TestDirReadDirAll/Virtual (3.52s) === RUN TestDirOpen run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:24 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:56:26 ERROR : dir/: Can only open directories read only 2026/04/26 02:56:26 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:26 DEBUG : dir: Looking for writers 2026/04/26 02:56:26 DEBUG : Looking for writers 2026/04/26 02:56:26 DEBUG : dir: reading active writers 2026/04/26 02:56:26 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (3.50s) === RUN TestDirCreate run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:28 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:56:30 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2026/04/26 02:56:30 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/04/26 02:56:30 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2026/04/26 02:56:30 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/04/26 02:56:30 DEBUG : drime root 'rclone-test-diwamap2vadi': File to upload is small (5 bytes), uploading instead of streaming 2026/04/26 02:56:31 DEBUG : dir/potato: size = 5 OK 2026/04/26 02:56:31 NOTICE: drime root 'rclone-test-diwamap2vadi': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/04/26 02:56:31 DEBUG : dir/potato: Size of src and dst objects identical 2026/04/26 02:56:31 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/04/26 02:56:31 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:31 DEBUG : dir: Looking for writers 2026/04/26 02:56:31 DEBUG : file1: reading active writers 2026/04/26 02:56:31 DEBUG : potato: reading active writers 2026/04/26 02:56:31 DEBUG : Looking for writers 2026/04/26 02:56:31 DEBUG : dir: reading active writers 2026/04/26 02:56:31 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestDirCreate (6.15s) === RUN TestDirMkdir run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:34 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:56:37 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/04/26 02:56:38 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:38 DEBUG : dir/sub: Looking for writers 2026/04/26 02:56:38 DEBUG : dir: Looking for writers 2026/04/26 02:56:38 DEBUG : sub: reading active writers 2026/04/26 02:56:38 DEBUG : file1: reading active writers 2026/04/26 02:56:38 DEBUG : Looking for writers 2026/04/26 02:56:38 DEBUG : dir: reading active writers 2026/04/26 02:56:38 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (6.11s) === RUN TestDirMkdirSub run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:40 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:56:43 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/04/26 02:56:44 DEBUG : dir/sub: Added virtual directory entry vAddDir: "subsub" 2026/04/26 02:56:45 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:45 DEBUG : dir/sub/subsub: Looking for writers 2026/04/26 02:56:45 DEBUG : dir/sub: Looking for writers 2026/04/26 02:56:45 DEBUG : subsub: reading active writers 2026/04/26 02:56:45 DEBUG : dir: Looking for writers 2026/04/26 02:56:45 DEBUG : file1: reading active writers 2026/04/26 02:56:45 DEBUG : sub: reading active writers 2026/04/26 02:56:45 DEBUG : Looking for writers 2026/04/26 02:56:45 DEBUG : dir: reading active writers 2026/04/26 02:56:45 DEBUG : >WaitForWriters: run.go:130: removing dir "dir/sub" failed - try 1/3: directory not empty --- PASS: TestDirMkdirSub (9.16s) === RUN TestDirRemove run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:56:49 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:56:51 ERROR : dir/: Dir.Remove not empty 2026/04/26 02:56:51 DEBUG : dir/file1: Remove: 2026/04/26 02:56:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/26 02:56:52 DEBUG : dir/file1: >Remove: err= 2026/04/26 02:56:52 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/26 02:56:52 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:56:52 DEBUG : dir: Looking for writers 2026/04/26 02:56:52 DEBUG : Looking for writers 2026/04/26 02:56:52 DEBUG : dir: reading active writers 2026/04/26 02:56:52 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.63s) === RUN TestDirRemoveAll run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:57:01 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:57:03 DEBUG : dir/file1: Remove: 2026/04/26 02:57:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/26 02:57:03 DEBUG : dir/file1: >Remove: err= 2026/04/26 02:57:04 DEBUG : Added virtual directory entry vDel: "dir" 2026/04/26 02:57:04 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:57:04 DEBUG : Looking for writers 2026/04/26 02:57:04 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (3.67s) === RUN TestDirRemoveName run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:57:04 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:57:07 DEBUG : dir/file1: Remove: 2026/04/26 02:57:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/26 02:57:07 DEBUG : dir/file1: >Remove: err= 2026/04/26 02:57:07 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:57:07 DEBUG : dir: Looking for writers 2026/04/26 02:57:07 DEBUG : Looking for writers 2026/04/26 02:57:07 DEBUG : dir: reading active writers 2026/04/26 02:57:07 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (4.30s) === RUN TestDirRename run.go:185: Remote "drime root 'rclone-test-diwamap2vadi'", Local "Local file system at /tmp/rclone3579522111", Modify Window "876000h0m0s" 2026/04/26 02:57:09 INFO : drime root 'rclone-test-diwamap2vadi': poll-interval is not supported by this remote 2026/04/26 02:57:12 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/04/26 02:57: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\":\"9f2251982f59d34d\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin_error\",\"ray_id\":\"9f2251982f59d34d\",\"timestamp\":\"2026-04-26T02:57:12Z\",\"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\":\"9f2251982f59d34d\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin_error\",\"ray_id\":\"9f2251982f59d34d\",\"timestamp\":\"2026-04-26T02:57:12Z\",\"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/26 02:57:21 DEBUG : WaitForWriters: timeout=30s 2026/04/26 02:57:21 DEBUG : dir: Looking for writers 2026/04/26 02:57:21 DEBUG : file1: reading active writers 2026/04/26 02:57:21 DEBUG : file3: reading active writers 2026/04/26 02:57:21 DEBUG : Looking for writers 2026/04/26 02:57:21 DEBUG : dir: reading active writers 2026/04/26 02:57:21 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestDirRename (15.98s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered, repanicked] goroutine 1313 [running]: testing.tRunner.func1.2({0x2560f60, 0xcc7e90eda10}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x2560f60?, 0xcc7e90eda10?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/vfs.TestDirRename(0xcc7e9123688) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x10a6 testing.tRunner(0xcc7e9123688, 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" - Finished ERROR in 2m0.048470991s (try 1/5): exit status 2: Failed [TestDirReadDirAll/Virtual TestDirRemove TestDirRename]