"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestDirRemove|TestDirRemoveAll|TestDirRename|TestFileOpenWrite|TestWriteFileHandleMethods)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^(minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2026/03/01 02:09:52 DEBUG : Creating backend with remote "TestDrime:rclone-test-bewatit5quga" 2026/03/01 02:09:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/01 02:09:54 DEBUG : Creating backend with remote "/tmp/rclone618578153" === RUN TestDirReadDirAll run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:09:54 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote === RUN TestDirReadDirAll/Virtual 2026/03/01 02:10:09 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/03/01 02:10:09 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/03/01 02:10:09 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/03/01 02:10:09 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2026/03/01 02:10:18 DEBUG : dir: invalidating directory cache 2026/03/01 02:10:19 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2026/03/01 02:10:19 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2026/03/01 02:10:19 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2026/03/01 02:10:19 DEBUG : dir/file1: Reset virtual modtime 2026/03/01 02:10:19 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2026/03/01 02:10:19 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/03/01 02:10:19 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2026/03/01 02:10:19 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2026/03/01 02:10:19 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/03/01 02:10:19 DEBUG : dir: invalidating directory cache 2026/03/01 02:10:19 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2026/03/01 02:10:19 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/01 02:10:19 DEBUG : dir/file2: Reset virtual modtime 2026/03/01 02:10:19 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/03/01 02:10:19 DEBUG : forgetting directory cache 2026/03/01 02:10:19 DEBUG : dir: forgetting directory cache 2026/03/01 02:10:19 DEBUG : dir/subdir: forgetting directory cache 2026/03/01 02:10:19 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/03/01 02:10:19 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:10:19 DEBUG : dir/virtualDir: Looking for writers 2026/03/01 02:10:19 DEBUG : dir/subdir: Looking for writers 2026/03/01 02:10:19 DEBUG : dir: Looking for writers 2026/03/01 02:10:19 DEBUG : virtualDir: reading active writers 2026/03/01 02:10:19 DEBUG : virtualFile2: reading active writers 2026/03/01 02:10:19 DEBUG : file1: reading active writers 2026/03/01 02:10:19 DEBUG : file2: reading active writers 2026/03/01 02:10:19 DEBUG : subdir: reading active writers 2026/03/01 02:10:19 DEBUG : virtualFile: reading active writers 2026/03/01 02:10:19 DEBUG : Looking for writers 2026/03/01 02:10:19 DEBUG : dir: reading active writers 2026/03/01 02:10:19 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll run.go:130: removing dir "dir/virtualDir" failed - try 1/3: directory not empty --- FAIL: TestDirReadDirAll (28.14s) --- FAIL: TestDirReadDirAll/Virtual (9.32s) === RUN TestDirRemove run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:10:23 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:10:28 ERROR : dir/: Dir.Remove not empty 2026/03/01 02:10:28 DEBUG : dir/file1: Remove: 2026/03/01 02:10:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/01 02:10:28 DEBUG : dir/file1: >Remove: err= 2026/03/01 02:10:28 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/03/01 02:10:28 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:10:28 DEBUG : dir: Looking for writers 2026/03/01 02:10:28 DEBUG : Looking for writers 2026/03/01 02:10:28 DEBUG : dir: reading active writers 2026/03/01 02:10:28 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 (14.84s) === RUN TestDirRemoveAll run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:10:37 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:10:43 DEBUG : dir/file1: Remove: 2026/03/01 02:10:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/01 02:10:43 DEBUG : dir/file1: >Remove: err= 2026/03/01 02:10:44 DEBUG : Added virtual directory entry vDel: "dir" 2026/03/01 02:10:44 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:10:44 DEBUG : Looking for writers 2026/03/01 02:10:44 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (7.06s) === RUN TestDirRename run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:10:44 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:10:54 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/03/01 02:10:55 DEBUG : dir: Updating dir with dir2 0xc0002440d0 2026/03/01 02:10:55 DEBUG : dir: forgetting directory cache 2026/03/01 02:10:55 DEBUG : Added virtual directory entry vDel: "dir" 2026/03/01 02:10:55 DEBUG : Added virtual directory entry vAddDir: "dir2" 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:540 Error: Not equal: expected: []string{"file1,14,false", "file3,15,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,5 +1,2 @@ -([]string) (len=2) { - (string) (len=14) "file1,14,false", - (string) (len=14) "file3,15,false" -} +([]string) Test: TestDirRename 2026/03/01 02:10:56 ERROR : dir2/file1: Dir.Rename error: file does not exist dir_test.go:556: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:556 Error: Received unexpected error: file does not exist Test: TestDirRename dir_test.go:557: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:557 Error: Should be true 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:558 Error: Not equal: expected: []string{"dir2,0,true", "file2,14,false"} actual : []string{"dir2,0,true"} Diff: --- Expected +++ Actual @@ -1,4 +1,3 @@ -([]string) (len=2) { - (string) (len=11) "dir2,0,true", - (string) (len=14) "file2,14,false" +([]string) (len=1) { + (string) (len=11) "dir2,0,true" } 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:559 Error: Not equal: expected: []string{"file3,15,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file3,15,false" -} +([]string) 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:563 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file3 (15), file2 (14) got dir2/file1 (14), dir2/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:563 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir2/file1" fstest.go:203: Not found "file2" 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:563 Error: Not equal: expected: 0 actual : 1 Test: TestDirRename Messages: 1 objects not found 2026/03/01 02:11:05 ERROR : file2: Dir.Rename error: file does not exist dir_test.go:567: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:567 Error: Received unexpected error: file does not exist 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:569 Error: Not equal: expected: []string{"file3,14,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file3,14,false" -} +([]string) 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:573 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file3 (14) got dir2/file1 (14), dir2/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:573 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir2/file1" fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /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:573 Error: Not equal: expected: 14 actual : 15 Test: TestDirRename Messages: dir2/file3: size incorrect file=14 vs obj=15 2026/03/01 02:11:15 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2026/03/01 02:11:16 DEBUG : empty directory: Updating dir with renamed empty directory 0xc000799110 2026/03/01 02:11:16 DEBUG : empty directory: forgetting directory cache 2026/03/01 02:11:16 DEBUG : Added virtual directory entry vDel: "empty directory" 2026/03/01 02:11:16 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2026/03/01 02:11:16 DEBUG : dir2: Renaming to "dir3" 2026/03/01 02:11:16 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:11:16 DEBUG : dir3: Looking for writers 2026/03/01 02:11:16 DEBUG : renamed empty directory: Looking for writers 2026/03/01 02:11:16 DEBUG : Looking for writers 2026/03/01 02:11:16 DEBUG : dir3: reading active writers 2026/03/01 02:11:16 DEBUG : renamed empty directory: reading active writers 2026/03/01 02:11:16 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (33.39s) === RUN TestFileOpenWrite run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:11:18 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:11:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:11:23 DEBUG : drime root 'rclone-test-bewatit5quga': File to upload is small (25 bytes), uploading instead of streaming 2026/03/01 02:11:28 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:11:28 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." file_test.go:241: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:241 Error: Received unexpected error: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." Test: TestFileOpenWrite 2026/03/01 02:11:28 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:11:28 DEBUG : dir: Looking for writers 2026/03/01 02:11:28 DEBUG : file1: reading active writers 2026/03/01 02:11:28 DEBUG : Looking for writers 2026/03/01 02:11:28 DEBUG : dir: reading active writers 2026/03/01 02:11:28 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestFileOpenWrite (12.70s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:11:31 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:11:36 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:11:36 DEBUG : dir: Looking for writers 2026/03/01 02:11:36 DEBUG : file1: reading active writers 2026/03/01 02:11:36 DEBUG : Looking for writers 2026/03/01 02:11:36 DEBUG : dir: reading active writers 2026/03/01 02:11:36 DEBUG : >WaitForWriters: 2026/03/01 02:11:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/01 02:11:37 DEBUG : newLeaf: Updating file with newLeaf 0xc0009ce180 2026/03/01 02:11:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/01 02:11:37 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 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/03/01 02:11:47 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/01 02:11:47 DEBUG : dir/file1: Updating file with dir/file1 0xc0009ce180 2026/03/01 02:11:47 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/01 02:11:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:11:47 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/01 02:11:47 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/03/01 02:11:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:11:47 DEBUG : dir/file1: File is currently open, delaying rename 0xc0009ce180 2026/03/01 02:11:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/01 02:11:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/01 02:11:47 DEBUG : drime root 'rclone-test-bewatit5quga': File to upload is small (25 bytes), uploading instead of streaming 2026/03/01 02:11:52 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:11:52 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:11:52 DEBUG : newLeaf: Running delayed rename now 2026/03/01 02:11:52 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.cevekot9: Error "No query results for model [App\\FileEntry] 513611781" 2026/03/01 02:11:52 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.cevekot9: Error "No query results for model [App\\FileEntry] 513611781" 2026/03/01 02:11:52 ERROR : newLeaf: delayed File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.cevekot9: Error "No query results for model [App\\FileEntry] 513611781" file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." Test: TestFileRename/off,forceCache=false 2026/03/01 02:11:52 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:11:52 DEBUG : dir: Looking for writers 2026/03/01 02:11:52 DEBUG : Looking for writers 2026/03/01 02:11:52 DEBUG : dir: reading active writers 2026/03/01 02:11:52 DEBUG : newLeaf: reading active writers 2026/03/01 02:11:52 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:11:55 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:11:55 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/01 02:11:55 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:11:55 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:11:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:11:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/01 02:11:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:11:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:11:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/01 02:11:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:11:55 INFO : drime root 'rclone-test-bewatit5quga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/01 02:12:00 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:12:00 DEBUG : dir: Looking for writers 2026/03/01 02:12:00 DEBUG : file1: reading active writers 2026/03/01 02:12:00 DEBUG : Looking for writers 2026/03/01 02:12:00 DEBUG : dir: reading active writers 2026/03/01 02:12:00 DEBUG : >WaitForWriters: 2026/03/01 02:12:02 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/01 02:12:02 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a7380 2026/03/01 02:12:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/01 02:12:02 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 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/03/01 02:12:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/01 02:12:11 DEBUG : dir/file1: Updating file with dir/file1 0xc0001a7380 2026/03/01 02:12:11 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/01 02:12:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:12:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/01 02:12:11 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/03/01 02:12:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:12:11 DEBUG : dir/file1: File is currently open, delaying rename 0xc0001a7380 2026/03/01 02:12:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/01 02:12:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/01 02:12:11 DEBUG : drime root 'rclone-test-bewatit5quga': File to upload is small (25 bytes), uploading instead of streaming 2026/03/01 02:12:16 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:12:16 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:16 DEBUG : newLeaf: Running delayed rename now 2026/03/01 02:12:17 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.jupicam2: Error "No query results for model [App\\FileEntry] 513611954" 2026/03/01 02:12:17 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.jupicam2: Error "No query results for model [App\\FileEntry] 513611954" 2026/03/01 02:12:17 ERROR : newLeaf: delayed File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.jupicam2: Error "No query results for model [App\\FileEntry] 513611954" file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." Test: TestFileRename/minimal,forceCache=false 2026/03/01 02:12:17 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:12:17 DEBUG : dir: Looking for writers 2026/03/01 02:12:17 DEBUG : Looking for writers 2026/03/01 02:12:17 DEBUG : dir: reading active writers 2026/03/01 02:12:17 DEBUG : newLeaf: reading active writers 2026/03/01 02:12:17 DEBUG : >WaitForWriters: 2026/03/01 02:12:17 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: cleaner exiting run.go:130: removing dir "dir" failed - try 1/3: directory not empty === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:12:19 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:12:19 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/01 02:12:19 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:12:19 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:12:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:12:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/01 02:12:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:12:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:12:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/01 02:12:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:12:19 INFO : drime root 'rclone-test-bewatit5quga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/01 02:12:25 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/03/01 02:12:25 DEBUG : dir/file1: newRWFileHandle: 2026/03/01 02:12:25 DEBUG : dir/file1(0xc000872780): openPending: 2026/03/01 02:12:25 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/01 02:12:25 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/01 02:12:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:12:25 DEBUG : dir/file1(0xc000872780): >openPending: err= 2026/03/01 02:12:25 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/01 02:12:25 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/01 02:12:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:12:25 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/01 02:12:25 DEBUG : dir/file1(0xc000872780): _writeAt: size=14, off=0 2026/03/01 02:12:25 DEBUG : dir/file1(0xc000872780): >_writeAt: n=14, err= 2026/03/01 02:12:25 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/01 02:12:25 DEBUG : dir/file1(0xc000872780): close: 2026/03/01 02:12:25 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/01 02:12:25 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/01 02:12:25 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/03/01 02:12:25 DEBUG : dir/file1(0xc000872780): >close: err= 2026/03/01 02:12:25 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:12:25 DEBUG : dir: Looking for writers 2026/03/01 02:12:25 DEBUG : file1: reading active writers 2026/03/01 02:12:25 DEBUG : Looking for writers 2026/03/01 02:12:25 DEBUG : dir: reading active writers 2026/03/01 02:12:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/01 02:12:25 DEBUG : dir: Looking for writers 2026/03/01 02:12:25 DEBUG : file1: reading active writers 2026/03/01 02:12:25 DEBUG : Looking for writers 2026/03/01 02:12:25 DEBUG : dir: reading active writers 2026/03/01 02:12:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/01 02:12:25 DEBUG : dir: Looking for writers 2026/03/01 02:12:25 DEBUG : file1: reading active writers 2026/03/01 02:12:25 DEBUG : Looking for writers 2026/03/01 02:12:25 DEBUG : dir: reading active writers 2026/03/01 02:12:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/01 02:12:25 DEBUG : dir: Looking for writers 2026/03/01 02:12:25 DEBUG : file1: reading active writers 2026/03/01 02:12:25 DEBUG : Looking for writers 2026/03/01 02:12:25 DEBUG : dir: reading active writers 2026/03/01 02:12:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/01 02:12:26 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:12:26 DEBUG : dir: Looking for writers 2026/03/01 02:12:26 DEBUG : file1: reading active writers 2026/03/01 02:12:26 DEBUG : Looking for writers 2026/03/01 02:12:26 DEBUG : dir: reading active writers 2026/03/01 02:12:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/01 02:12:26 DEBUG : dir: Looking for writers 2026/03/01 02:12:26 DEBUG : file1: reading active writers 2026/03/01 02:12:26 DEBUG : Looking for writers 2026/03/01 02:12:26 DEBUG : dir: reading active writers 2026/03/01 02:12:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/01 02:12:26 DEBUG : dir: Looking for writers 2026/03/01 02:12:26 DEBUG : file1: reading active writers 2026/03/01 02:12:26 DEBUG : Looking for writers 2026/03/01 02:12:26 DEBUG : dir: reading active writers 2026/03/01 02:12:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/01 02:12:27 DEBUG : dir: Looking for writers 2026/03/01 02:12:27 DEBUG : file1: reading active writers 2026/03/01 02:12:27 DEBUG : Looking for writers 2026/03/01 02:12:27 DEBUG : dir: reading active writers 2026/03/01 02:12:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:28 DEBUG : dir: Looking for writers 2026/03/01 02:12:28 DEBUG : file1: reading active writers 2026/03/01 02:12:28 DEBUG : Looking for writers 2026/03/01 02:12:28 DEBUG : dir: reading active writers 2026/03/01 02:12:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:29 DEBUG : dir: Looking for writers 2026/03/01 02:12:29 DEBUG : file1: reading active writers 2026/03/01 02:12:29 DEBUG : Looking for writers 2026/03/01 02:12:29 DEBUG : dir: reading active writers 2026/03/01 02:12:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:30 DEBUG : dir: Looking for writers 2026/03/01 02:12:30 DEBUG : file1: reading active writers 2026/03/01 02:12:30 DEBUG : Looking for writers 2026/03/01 02:12:30 DEBUG : dir: reading active writers 2026/03/01 02:12:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:30 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:12:30 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:30 ERROR : dir/file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:30 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:12:31 DEBUG : dir: Looking for writers 2026/03/01 02:12:31 DEBUG : file1: reading active writers 2026/03/01 02:12:31 DEBUG : Looking for writers 2026/03/01 02:12:31 DEBUG : dir: reading active writers 2026/03/01 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:32 DEBUG : dir: Looking for writers 2026/03/01 02:12:32 DEBUG : file1: reading active writers 2026/03/01 02:12:32 DEBUG : Looking for writers 2026/03/01 02:12:32 DEBUG : dir: reading active writers 2026/03/01 02:12:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:33 DEBUG : dir: Looking for writers 2026/03/01 02:12:33 DEBUG : file1: reading active writers 2026/03/01 02:12:33 DEBUG : Looking for writers 2026/03/01 02:12:33 DEBUG : dir: reading active writers 2026/03/01 02:12:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:34 DEBUG : dir: Looking for writers 2026/03/01 02:12:34 DEBUG : file1: reading active writers 2026/03/01 02:12:34 DEBUG : Looking for writers 2026/03/01 02:12:34 DEBUG : dir: reading active writers 2026/03/01 02:12:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:35 DEBUG : dir: Looking for writers 2026/03/01 02:12:35 DEBUG : file1: reading active writers 2026/03/01 02:12:35 DEBUG : Looking for writers 2026/03/01 02:12:35 DEBUG : dir: reading active writers 2026/03/01 02:12:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:35 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:12:35 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:35 ERROR : dir/file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:35 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:12:36 DEBUG : dir: Looking for writers 2026/03/01 02:12:36 DEBUG : file1: reading active writers 2026/03/01 02:12:36 DEBUG : Looking for writers 2026/03/01 02:12:36 DEBUG : dir: reading active writers 2026/03/01 02:12:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:37 DEBUG : dir: Looking for writers 2026/03/01 02:12:37 DEBUG : file1: reading active writers 2026/03/01 02:12:37 DEBUG : Looking for writers 2026/03/01 02:12:37 DEBUG : dir: reading active writers 2026/03/01 02:12:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:38 DEBUG : dir: Looking for writers 2026/03/01 02:12:38 DEBUG : file1: reading active writers 2026/03/01 02:12:38 DEBUG : Looking for writers 2026/03/01 02:12:38 DEBUG : dir: reading active writers 2026/03/01 02:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:39 DEBUG : dir: Looking for writers 2026/03/01 02:12:39 DEBUG : file1: reading active writers 2026/03/01 02:12:39 DEBUG : Looking for writers 2026/03/01 02:12:39 DEBUG : dir: reading active writers 2026/03/01 02:12:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:40 DEBUG : dir: Looking for writers 2026/03/01 02:12:40 DEBUG : file1: reading active writers 2026/03/01 02:12:40 DEBUG : Looking for writers 2026/03/01 02:12:40 DEBUG : dir: reading active writers 2026/03/01 02:12:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:40 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:12:40 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:40 ERROR : dir/file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:41 DEBUG : dir: Looking for writers 2026/03/01 02:12:41 DEBUG : file1: reading active writers 2026/03/01 02:12:41 DEBUG : Looking for writers 2026/03/01 02:12:41 DEBUG : dir: reading active writers 2026/03/01 02:12:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:41 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:12:42 DEBUG : dir: Looking for writers 2026/03/01 02:12:42 DEBUG : file1: reading active writers 2026/03/01 02:12:42 DEBUG : Looking for writers 2026/03/01 02:12:42 DEBUG : dir: reading active writers 2026/03/01 02:12:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:43 DEBUG : dir: Looking for writers 2026/03/01 02:12:43 DEBUG : file1: reading active writers 2026/03/01 02:12:43 DEBUG : Looking for writers 2026/03/01 02:12:43 DEBUG : dir: reading active writers 2026/03/01 02:12:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:44 DEBUG : dir: Looking for writers 2026/03/01 02:12:44 DEBUG : file1: reading active writers 2026/03/01 02:12:44 DEBUG : Looking for writers 2026/03/01 02:12:44 DEBUG : dir: reading active writers 2026/03/01 02:12:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:45 DEBUG : dir: Looking for writers 2026/03/01 02:12:45 DEBUG : file1: reading active writers 2026/03/01 02:12:45 DEBUG : Looking for writers 2026/03/01 02:12:45 DEBUG : dir: reading active writers 2026/03/01 02:12:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:45 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:12:46 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:46 ERROR : dir/file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:46 DEBUG : dir: Looking for writers 2026/03/01 02:12:46 DEBUG : file1: reading active writers 2026/03/01 02:12:46 DEBUG : Looking for writers 2026/03/01 02:12:46 DEBUG : dir: reading active writers 2026/03/01 02:12:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:47 DEBUG : dir: Looking for writers 2026/03/01 02:12:47 DEBUG : file1: reading active writers 2026/03/01 02:12:47 DEBUG : Looking for writers 2026/03/01 02:12:47 DEBUG : dir: reading active writers 2026/03/01 02:12:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:47 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:12:48 DEBUG : dir: Looking for writers 2026/03/01 02:12:48 DEBUG : file1: reading active writers 2026/03/01 02:12:48 DEBUG : Looking for writers 2026/03/01 02:12:48 DEBUG : dir: reading active writers 2026/03/01 02:12:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:49 DEBUG : dir: Looking for writers 2026/03/01 02:12:49 DEBUG : file1: reading active writers 2026/03/01 02:12:49 DEBUG : Looking for writers 2026/03/01 02:12:49 DEBUG : dir: reading active writers 2026/03/01 02:12:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:50 DEBUG : dir: Looking for writers 2026/03/01 02:12:50 DEBUG : file1: reading active writers 2026/03/01 02:12:50 DEBUG : Looking for writers 2026/03/01 02:12:50 DEBUG : dir: reading active writers 2026/03/01 02:12:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:51 DEBUG : dir: Looking for writers 2026/03/01 02:12:51 DEBUG : file1: reading active writers 2026/03/01 02:12:51 DEBUG : Looking for writers 2026/03/01 02:12:51 DEBUG : dir: reading active writers 2026/03/01 02:12:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:51 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:12:51 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:51 ERROR : dir/file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:52 DEBUG : dir: Looking for writers 2026/03/01 02:12:52 DEBUG : file1: reading active writers 2026/03/01 02:12:52 DEBUG : Looking for writers 2026/03/01 02:12:52 DEBUG : dir: reading active writers 2026/03/01 02:12:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:53 DEBUG : dir: Looking for writers 2026/03/01 02:12:53 DEBUG : file1: reading active writers 2026/03/01 02:12:53 DEBUG : Looking for writers 2026/03/01 02:12:53 DEBUG : dir: reading active writers 2026/03/01 02:12:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:54 DEBUG : dir: Looking for writers 2026/03/01 02:12:54 DEBUG : file1: reading active writers 2026/03/01 02:12:54 DEBUG : Looking for writers 2026/03/01 02:12:54 DEBUG : dir: reading active writers 2026/03/01 02:12:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:55 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:12:55 DEBUG : dir: Looking for writers 2026/03/01 02:12:55 DEBUG : file1: reading active writers 2026/03/01 02:12:55 DEBUG : Looking for writers 2026/03/01 02:12:55 DEBUG : dir: reading active writers 2026/03/01 02:12:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:55 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc000866f00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000664d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640425280} name:dir/file1 opens:0 downloaders: o:0xc000660180 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006482923748063080 ext:153461399476 loc:0x45874c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/03/01 02:12:55 DEBUG : >WaitForWriters: 2026/03/01 02:12:55 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/01 02:12:55 DEBUG : dir/file1: newRWFileHandle: 2026/03/01 02:12:55 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/01 02:12:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/01 02:12:55 DEBUG : dir/file1(0xc00047f180): _readAt: size=512, off=0 2026/03/01 02:12:55 DEBUG : dir/file1(0xc00047f180): openPending: 2026/03/01 02:12:55 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/01 02:12:55 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/01 02:12:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:12:55 DEBUG : dir/file1(0xc00047f180): >openPending: err= 2026/03/01 02:12:55 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/01 02:12:55 DEBUG : dir/file1(0xc00047f180): >_readAt: n=14, err=EOF 2026/03/01 02:12:55 DEBUG : dir/file1(0xc00047f180): close: 2026/03/01 02:12:55 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/01 02:12:55 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/01 02:12:55 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/03/01 02:12:55 DEBUG : dir/file1(0xc00047f180): >close: err= 2026/03/01 02:12:56 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.vagucax7: Error "This action is unauthorized." 2026/03/01 02:12:56 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.vagucax7: Error "This action is unauthorized." 2026/03/01 02:12:56 ERROR : dir/file1: Dir.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.vagucax7: Error "This action is unauthorized." file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to newLeaf.vagucax7: Error "This action is unauthorized." Test: TestFileRename/minimal,forceCache=true 2026/03/01 02:12:56 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:12:56 DEBUG : dir: Looking for writers 2026/03/01 02:12:56 DEBUG : file1: reading active writers 2026/03/01 02:12:56 DEBUG : Looking for writers 2026/03/01 02:12:56 DEBUG : dir: reading active writers 2026/03/01 02:12:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/01 02:12:56 DEBUG : dir: Looking for writers 2026/03/01 02:12:56 DEBUG : file1: reading active writers 2026/03/01 02:12:56 DEBUG : Looking for writers 2026/03/01 02:12:56 DEBUG : dir: reading active writers 2026/03/01 02:12:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/01 02:12:56 DEBUG : dir: Looking for writers 2026/03/01 02:12:56 DEBUG : file1: reading active writers 2026/03/01 02:12:56 DEBUG : Looking for writers 2026/03/01 02:12:56 DEBUG : dir: reading active writers 2026/03/01 02:12:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/01 02:12:56 DEBUG : dir: Looking for writers 2026/03/01 02:12:56 DEBUG : file1: reading active writers 2026/03/01 02:12:56 DEBUG : Looking for writers 2026/03/01 02:12:56 DEBUG : dir: reading active writers 2026/03/01 02:12:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/01 02:12:57 DEBUG : dir: Looking for writers 2026/03/01 02:12:57 DEBUG : file1: reading active writers 2026/03/01 02:12:57 DEBUG : Looking for writers 2026/03/01 02:12:57 DEBUG : dir: reading active writers 2026/03/01 02:12:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/01 02:12:57 DEBUG : dir: Looking for writers 2026/03/01 02:12:57 DEBUG : file1: reading active writers 2026/03/01 02:12:57 DEBUG : Looking for writers 2026/03/01 02:12:57 DEBUG : dir: reading active writers 2026/03/01 02:12:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/01 02:12:57 DEBUG : dir: Looking for writers 2026/03/01 02:12:57 DEBUG : file1: reading active writers 2026/03/01 02:12:57 DEBUG : Looking for writers 2026/03/01 02:12:57 DEBUG : dir: reading active writers 2026/03/01 02:12:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/01 02:12:58 DEBUG : dir: Looking for writers 2026/03/01 02:12:58 DEBUG : file1: reading active writers 2026/03/01 02:12:58 DEBUG : Looking for writers 2026/03/01 02:12:58 DEBUG : dir: reading active writers 2026/03/01 02:12:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:12:58 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:12:59 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:59 ERROR : dir/file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:12:59 DEBUG : dir: Looking for writers 2026/03/01 02:12:59 DEBUG : file1: reading active writers 2026/03/01 02:12:59 DEBUG : Looking for writers 2026/03/01 02:12:59 DEBUG : dir: reading active writers 2026/03/01 02:12:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:00 DEBUG : dir: Looking for writers 2026/03/01 02:13:00 DEBUG : file1: reading active writers 2026/03/01 02:13:00 DEBUG : Looking for writers 2026/03/01 02:13:00 DEBUG : dir: reading active writers 2026/03/01 02:13:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:01 DEBUG : dir: Looking for writers 2026/03/01 02:13:01 DEBUG : file1: reading active writers 2026/03/01 02:13:01 DEBUG : Looking for writers 2026/03/01 02:13:01 DEBUG : dir: reading active writers 2026/03/01 02:13:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:02 DEBUG : dir: Looking for writers 2026/03/01 02:13:02 DEBUG : file1: reading active writers 2026/03/01 02:13:02 DEBUG : Looking for writers 2026/03/01 02:13:02 DEBUG : dir: reading active writers 2026/03/01 02:13:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:03 DEBUG : dir: Looking for writers 2026/03/01 02:13:03 DEBUG : file1: reading active writers 2026/03/01 02:13:03 DEBUG : Looking for writers 2026/03/01 02:13:03 DEBUG : dir: reading active writers 2026/03/01 02:13:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:04 DEBUG : dir: Looking for writers 2026/03/01 02:13:04 DEBUG : file1: reading active writers 2026/03/01 02:13:04 DEBUG : Looking for writers 2026/03/01 02:13:04 DEBUG : dir: reading active writers 2026/03/01 02:13:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:05 DEBUG : dir: Looking for writers 2026/03/01 02:13:05 DEBUG : file1: reading active writers 2026/03/01 02:13:05 DEBUG : Looking for writers 2026/03/01 02:13:05 DEBUG : dir: reading active writers 2026/03/01 02:13:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:05 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:13:06 DEBUG : dir: Looking for writers 2026/03/01 02:13:06 DEBUG : file1: reading active writers 2026/03/01 02:13:06 DEBUG : Looking for writers 2026/03/01 02:13:06 DEBUG : dir: reading active writers 2026/03/01 02:13:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:07 DEBUG : dir: Looking for writers 2026/03/01 02:13:07 DEBUG : file1: reading active writers 2026/03/01 02:13:07 DEBUG : Looking for writers 2026/03/01 02:13:07 DEBUG : dir: reading active writers 2026/03/01 02:13:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:08 DEBUG : dir: Looking for writers 2026/03/01 02:13:08 DEBUG : file1: reading active writers 2026/03/01 02:13:08 DEBUG : Looking for writers 2026/03/01 02:13:08 DEBUG : dir: reading active writers 2026/03/01 02:13:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:09 DEBUG : dir: Looking for writers 2026/03/01 02:13:09 DEBUG : file1: reading active writers 2026/03/01 02:13:09 DEBUG : Looking for writers 2026/03/01 02:13:09 DEBUG : dir: reading active writers 2026/03/01 02:13:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:09 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:13:09 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:09 ERROR : dir/file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:10 DEBUG : dir: Looking for writers 2026/03/01 02:13:10 DEBUG : file1: reading active writers 2026/03/01 02:13:10 DEBUG : Looking for writers 2026/03/01 02:13:10 DEBUG : dir: reading active writers 2026/03/01 02:13:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:11 DEBUG : dir: Looking for writers 2026/03/01 02:13:11 DEBUG : file1: reading active writers 2026/03/01 02:13:11 DEBUG : Looking for writers 2026/03/01 02:13:11 DEBUG : dir: reading active writers 2026/03/01 02:13:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:12 DEBUG : dir: Looking for writers 2026/03/01 02:13:12 DEBUG : file1: reading active writers 2026/03/01 02:13:12 DEBUG : Looking for writers 2026/03/01 02:13:12 DEBUG : dir: reading active writers 2026/03/01 02:13:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:13 DEBUG : dir: Looking for writers 2026/03/01 02:13:13 DEBUG : file1: reading active writers 2026/03/01 02:13:13 DEBUG : Looking for writers 2026/03/01 02:13:13 DEBUG : dir: reading active writers 2026/03/01 02:13:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:14 DEBUG : dir: Looking for writers 2026/03/01 02:13:14 DEBUG : file1: reading active writers 2026/03/01 02:13:14 DEBUG : Looking for writers 2026/03/01 02:13:14 DEBUG : dir: reading active writers 2026/03/01 02:13:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:15 DEBUG : dir: Looking for writers 2026/03/01 02:13:15 DEBUG : file1: reading active writers 2026/03/01 02:13:15 DEBUG : Looking for writers 2026/03/01 02:13:15 DEBUG : dir: reading active writers 2026/03/01 02:13:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:16 DEBUG : dir: Looking for writers 2026/03/01 02:13:16 DEBUG : file1: reading active writers 2026/03/01 02:13:16 DEBUG : Looking for writers 2026/03/01 02:13:16 DEBUG : dir: reading active writers 2026/03/01 02:13:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:17 DEBUG : dir: Looking for writers 2026/03/01 02:13:17 DEBUG : file1: reading active writers 2026/03/01 02:13:17 DEBUG : Looking for writers 2026/03/01 02:13:17 DEBUG : dir: reading active writers 2026/03/01 02:13:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:18 DEBUG : dir: Looking for writers 2026/03/01 02:13:18 DEBUG : file1: reading active writers 2026/03/01 02:13:18 DEBUG : Looking for writers 2026/03/01 02:13:18 DEBUG : dir: reading active writers 2026/03/01 02:13:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:19 DEBUG : dir: Looking for writers 2026/03/01 02:13:19 DEBUG : file1: reading active writers 2026/03/01 02:13:19 DEBUG : Looking for writers 2026/03/01 02:13:19 DEBUG : dir: reading active writers 2026/03/01 02:13:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:19 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/03/01 02:13:19 INFO : drime root 'rclone-test-bewatit5quga': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 14 (was 14) 2026/03/01 02:13:20 DEBUG : dir: Looking for writers 2026/03/01 02:13:20 DEBUG : file1: reading active writers 2026/03/01 02:13:20 DEBUG : Looking for writers 2026/03/01 02:13:20 DEBUG : dir: reading active writers 2026/03/01 02:13:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:21 DEBUG : dir: Looking for writers 2026/03/01 02:13:21 DEBUG : file1: reading active writers 2026/03/01 02:13:21 DEBUG : Looking for writers 2026/03/01 02:13:21 DEBUG : dir: reading active writers 2026/03/01 02:13:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:22 DEBUG : dir: Looking for writers 2026/03/01 02:13:22 DEBUG : file1: reading active writers 2026/03/01 02:13:22 DEBUG : Looking for writers 2026/03/01 02:13:22 DEBUG : dir: reading active writers 2026/03/01 02:13:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:22 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:13:23 DEBUG : dir: Looking for writers 2026/03/01 02:13:23 DEBUG : file1: reading active writers 2026/03/01 02:13:23 DEBUG : Looking for writers 2026/03/01 02:13:23 DEBUG : dir: reading active writers 2026/03/01 02:13:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:24 DEBUG : dir: Looking for writers 2026/03/01 02:13:24 DEBUG : file1: reading active writers 2026/03/01 02:13:24 DEBUG : Looking for writers 2026/03/01 02:13:24 DEBUG : dir: reading active writers 2026/03/01 02:13:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:25 DEBUG : dir: Looking for writers 2026/03/01 02:13:25 DEBUG : file1: reading active writers 2026/03/01 02:13:25 DEBUG : Looking for writers 2026/03/01 02:13:25 DEBUG : dir: reading active writers 2026/03/01 02:13:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:26 DEBUG : dir: Looking for writers 2026/03/01 02:13:26 DEBUG : file1: reading active writers 2026/03/01 02:13:26 DEBUG : Looking for writers 2026/03/01 02:13:26 DEBUG : dir: reading active writers 2026/03/01 02:13:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:26 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc000866f00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000664d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640425280} name:dir/file1 opens:0 downloaders: o:0xc000660180 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006482955961873713 ext:183462955399 loc:0x45874c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/03/01 02:13:26 DEBUG : >WaitForWriters: 2026/03/01 02:13:26 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: cleaner exiting 2026/03/01 02:13:26 ERROR : dir/file1: Failed to copy: failed to upload file: Post "https://app.drime.cloud/api/v1/uploads": context canceled 2026/03/01 02:13:26 INFO : dir/file1: vfs cache: upload canceled run.go:130: removing dir "dir" failed - try 1/3: directory not empty === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:13:29 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:13:29 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/01 02:13:29 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:13:29 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:13:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:13:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/01 02:13:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:13:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:13:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/01 02:13:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-bewatit5quga" 2026/03/01 02:13:29 INFO : drime root 'rclone-test-bewatit5quga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/01 02:13:34 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/03/01 02:13:34 DEBUG : dir/file1: newRWFileHandle: 2026/03/01 02:13:34 DEBUG : dir/file1(0xc00071e8c0): openPending: 2026/03/01 02:13:34 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/01 02:13:34 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/01 02:13:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:13:34 DEBUG : dir/file1(0xc00071e8c0): >openPending: err= 2026/03/01 02:13:34 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/01 02:13:34 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/01 02:13:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:13:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/01 02:13:34 DEBUG : dir/file1(0xc00071e8c0): _writeAt: size=14, off=0 2026/03/01 02:13:34 DEBUG : dir/file1(0xc00071e8c0): >_writeAt: n=14, err= 2026/03/01 02:13:34 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/01 02:13:34 DEBUG : dir/file1(0xc00071e8c0): close: 2026/03/01 02:13:34 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/01 02:13:34 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/01 02:13:34 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/03/01 02:13:34 DEBUG : dir/file1(0xc00071e8c0): >close: err= 2026/03/01 02:13:34 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:13:34 DEBUG : dir: Looking for writers 2026/03/01 02:13:34 DEBUG : file1: reading active writers 2026/03/01 02:13:34 DEBUG : Looking for writers 2026/03/01 02:13:34 DEBUG : dir: reading active writers 2026/03/01 02:13:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/01 02:13:34 DEBUG : dir: Looking for writers 2026/03/01 02:13:34 DEBUG : file1: reading active writers 2026/03/01 02:13:34 DEBUG : Looking for writers 2026/03/01 02:13:34 DEBUG : dir: reading active writers 2026/03/01 02:13:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/01 02:13:34 DEBUG : dir: Looking for writers 2026/03/01 02:13:34 DEBUG : file1: reading active writers 2026/03/01 02:13:34 DEBUG : Looking for writers 2026/03/01 02:13:34 DEBUG : dir: reading active writers 2026/03/01 02:13:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/01 02:13:34 DEBUG : dir: Looking for writers 2026/03/01 02:13:34 DEBUG : file1: reading active writers 2026/03/01 02:13:34 DEBUG : Looking for writers 2026/03/01 02:13:34 DEBUG : dir: reading active writers 2026/03/01 02:13:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/01 02:13:34 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:13:34 DEBUG : dir: Looking for writers 2026/03/01 02:13:34 DEBUG : file1: reading active writers 2026/03/01 02:13:34 DEBUG : Looking for writers 2026/03/01 02:13:34 DEBUG : dir: reading active writers 2026/03/01 02:13:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/01 02:13:35 DEBUG : dir: Looking for writers 2026/03/01 02:13:35 DEBUG : file1: reading active writers 2026/03/01 02:13:35 DEBUG : Looking for writers 2026/03/01 02:13:35 DEBUG : dir: reading active writers 2026/03/01 02:13:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/01 02:13:35 DEBUG : dir: Looking for writers 2026/03/01 02:13:35 DEBUG : file1: reading active writers 2026/03/01 02:13:35 DEBUG : Looking for writers 2026/03/01 02:13:35 DEBUG : dir: reading active writers 2026/03/01 02:13:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/01 02:13:35 DEBUG : dir: Looking for writers 2026/03/01 02:13:35 DEBUG : file1: reading active writers 2026/03/01 02:13:35 DEBUG : Looking for writers 2026/03/01 02:13:35 DEBUG : dir: reading active writers 2026/03/01 02:13:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:36 DEBUG : dir: Looking for writers 2026/03/01 02:13:36 DEBUG : file1: reading active writers 2026/03/01 02:13:36 DEBUG : Looking for writers 2026/03/01 02:13:36 DEBUG : dir: reading active writers 2026/03/01 02:13:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:37 DEBUG : dir: Looking for writers 2026/03/01 02:13:37 DEBUG : file1: reading active writers 2026/03/01 02:13:37 DEBUG : Looking for writers 2026/03/01 02:13:37 DEBUG : dir: reading active writers 2026/03/01 02:13:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:38 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:13:38 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:38 ERROR : dir/file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:38 DEBUG : dir: Looking for writers 2026/03/01 02:13:38 DEBUG : file1: reading active writers 2026/03/01 02:13:38 DEBUG : Looking for writers 2026/03/01 02:13:38 DEBUG : dir: reading active writers 2026/03/01 02:13:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:39 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:13:39 DEBUG : dir: Looking for writers 2026/03/01 02:13:39 DEBUG : file1: reading active writers 2026/03/01 02:13:39 DEBUG : Looking for writers 2026/03/01 02:13:39 DEBUG : dir: reading active writers 2026/03/01 02:13:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:40 DEBUG : dir: Looking for writers 2026/03/01 02:13:40 DEBUG : file1: reading active writers 2026/03/01 02:13:40 DEBUG : Looking for writers 2026/03/01 02:13:40 DEBUG : dir: reading active writers 2026/03/01 02:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:41 DEBUG : dir: Looking for writers 2026/03/01 02:13:41 DEBUG : file1: reading active writers 2026/03/01 02:13:41 DEBUG : Looking for writers 2026/03/01 02:13:41 DEBUG : dir: reading active writers 2026/03/01 02:13:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:42 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:13:42 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:42 ERROR : dir/file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:42 DEBUG : dir: Looking for writers 2026/03/01 02:13:42 DEBUG : file1: reading active writers 2026/03/01 02:13:42 DEBUG : Looking for writers 2026/03/01 02:13:42 DEBUG : dir: reading active writers 2026/03/01 02:13:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:43 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:13:43 DEBUG : dir: Looking for writers 2026/03/01 02:13:43 DEBUG : file1: reading active writers 2026/03/01 02:13:43 DEBUG : Looking for writers 2026/03/01 02:13:43 DEBUG : dir: reading active writers 2026/03/01 02:13:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:44 DEBUG : dir: Looking for writers 2026/03/01 02:13:44 DEBUG : file1: reading active writers 2026/03/01 02:13:44 DEBUG : Looking for writers 2026/03/01 02:13:44 DEBUG : dir: reading active writers 2026/03/01 02:13:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:45 DEBUG : dir: Looking for writers 2026/03/01 02:13:45 DEBUG : file1: reading active writers 2026/03/01 02:13:45 DEBUG : Looking for writers 2026/03/01 02:13:45 DEBUG : dir: reading active writers 2026/03/01 02:13:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:46 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:13:46 DEBUG : dir: Looking for writers 2026/03/01 02:13:46 DEBUG : file1: reading active writers 2026/03/01 02:13:46 DEBUG : Looking for writers 2026/03/01 02:13:46 DEBUG : dir: reading active writers 2026/03/01 02:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:47 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:47 ERROR : dir/file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:47 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:13:47 DEBUG : dir: Looking for writers 2026/03/01 02:13:47 DEBUG : file1: reading active writers 2026/03/01 02:13:47 DEBUG : Looking for writers 2026/03/01 02:13:47 DEBUG : dir: reading active writers 2026/03/01 02:13:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:48 DEBUG : dir: Looking for writers 2026/03/01 02:13:48 DEBUG : file1: reading active writers 2026/03/01 02:13:48 DEBUG : Looking for writers 2026/03/01 02:13:48 DEBUG : dir: reading active writers 2026/03/01 02:13:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:49 DEBUG : dir: Looking for writers 2026/03/01 02:13:49 DEBUG : file1: reading active writers 2026/03/01 02:13:49 DEBUG : Looking for writers 2026/03/01 02:13:49 DEBUG : dir: reading active writers 2026/03/01 02:13:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:50 DEBUG : dir: Looking for writers 2026/03/01 02:13:50 DEBUG : file1: reading active writers 2026/03/01 02:13:50 DEBUG : Looking for writers 2026/03/01 02:13:50 DEBUG : dir: reading active writers 2026/03/01 02:13:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:51 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:13:51 DEBUG : dir: Looking for writers 2026/03/01 02:13:51 DEBUG : file1: reading active writers 2026/03/01 02:13:51 DEBUG : Looking for writers 2026/03/01 02:13:51 DEBUG : dir: reading active writers 2026/03/01 02:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:52 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:52 ERROR : dir/file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:52 DEBUG : dir: Looking for writers 2026/03/01 02:13:52 DEBUG : file1: reading active writers 2026/03/01 02:13:52 DEBUG : Looking for writers 2026/03/01 02:13:52 DEBUG : dir: reading active writers 2026/03/01 02:13:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:53 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:13:53 DEBUG : dir: Looking for writers 2026/03/01 02:13:53 DEBUG : file1: reading active writers 2026/03/01 02:13:53 DEBUG : Looking for writers 2026/03/01 02:13:53 DEBUG : dir: reading active writers 2026/03/01 02:13:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:54 DEBUG : dir: Looking for writers 2026/03/01 02:13:54 DEBUG : file1: reading active writers 2026/03/01 02:13:54 DEBUG : Looking for writers 2026/03/01 02:13:54 DEBUG : dir: reading active writers 2026/03/01 02:13:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:55 DEBUG : dir: Looking for writers 2026/03/01 02:13:55 DEBUG : file1: reading active writers 2026/03/01 02:13:55 DEBUG : Looking for writers 2026/03/01 02:13:55 DEBUG : dir: reading active writers 2026/03/01 02:13:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:56 DEBUG : dir: Looking for writers 2026/03/01 02:13:56 DEBUG : file1: reading active writers 2026/03/01 02:13:56 DEBUG : Looking for writers 2026/03/01 02:13:56 DEBUG : dir: reading active writers 2026/03/01 02:13:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:57 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:13:57 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:57 ERROR : dir/file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:13:57 DEBUG : dir: Looking for writers 2026/03/01 02:13:57 DEBUG : file1: reading active writers 2026/03/01 02:13:57 DEBUG : Looking for writers 2026/03/01 02:13:57 DEBUG : dir: reading active writers 2026/03/01 02:13:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:13:59 DEBUG : dir: Looking for writers 2026/03/01 02:13:59 DEBUG : file1: reading active writers 2026/03/01 02:13:59 DEBUG : Looking for writers 2026/03/01 02:13:59 DEBUG : dir: reading active writers 2026/03/01 02:13:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:00 DEBUG : dir: Looking for writers 2026/03/01 02:14:00 DEBUG : file1: reading active writers 2026/03/01 02:14:00 DEBUG : Looking for writers 2026/03/01 02:14:00 DEBUG : dir: reading active writers 2026/03/01 02:14:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:01 DEBUG : dir: Looking for writers 2026/03/01 02:14:01 DEBUG : file1: reading active writers 2026/03/01 02:14:01 DEBUG : Looking for writers 2026/03/01 02:14:01 DEBUG : dir: reading active writers 2026/03/01 02:14:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:01 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:14:02 DEBUG : dir: Looking for writers 2026/03/01 02:14:02 DEBUG : file1: reading active writers 2026/03/01 02:14:02 DEBUG : Looking for writers 2026/03/01 02:14:02 DEBUG : dir: reading active writers 2026/03/01 02:14:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:03 DEBUG : dir: Looking for writers 2026/03/01 02:14:03 DEBUG : file1: reading active writers 2026/03/01 02:14:03 DEBUG : Looking for writers 2026/03/01 02:14:03 DEBUG : dir: reading active writers 2026/03/01 02:14:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:04 DEBUG : dir: Looking for writers 2026/03/01 02:14:04 DEBUG : file1: reading active writers 2026/03/01 02:14:04 DEBUG : Looking for writers 2026/03/01 02:14:04 DEBUG : dir: reading active writers 2026/03/01 02:14:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:04 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc0009e1950 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00089a408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642741312} name:dir/file1 opens:0 downloaders: o:0xc0006cc380 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006482997629782937 ext:222254933507 loc:0x45874c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/03/01 02:14:04 DEBUG : >WaitForWriters: 2026/03/01 02:14:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/01 02:14:04 DEBUG : dir/file1: newRWFileHandle: 2026/03/01 02:14:04 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/01 02:14:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/01 02:14:04 DEBUG : dir/file1(0xc000916e00): _readAt: size=512, off=0 2026/03/01 02:14:04 DEBUG : dir/file1(0xc000916e00): openPending: 2026/03/01 02:14:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/01 02:14:04 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/01 02:14:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:04 DEBUG : dir/file1(0xc000916e00): >openPending: err= 2026/03/01 02:14:04 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/01 02:14:04 DEBUG : dir/file1(0xc000916e00): >_readAt: n=14, err=EOF 2026/03/01 02:14:04 DEBUG : dir/file1(0xc000916e00): close: 2026/03/01 02:14:04 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/01 02:14:04 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/01 02:14:04 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/03/01 02:14:04 DEBUG : dir/file1(0xc000916e00): >close: err= 2026/03/01 02:14:05 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.sibakur7: Error "This action is unauthorized." 2026/03/01 02:14:05 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:14:05 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.sibakur7: Error "This action is unauthorized." 2026/03/01 02:14:05 ERROR : dir/file1: Dir.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.sibakur7: Error "This action is unauthorized." file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to newLeaf.sibakur7: Error "This action is unauthorized." Test: TestFileRename/writes,forceCache=true 2026/03/01 02:14:05 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:14:05 DEBUG : dir: Looking for writers 2026/03/01 02:14:05 DEBUG : file1: reading active writers 2026/03/01 02:14:05 DEBUG : Looking for writers 2026/03/01 02:14:05 DEBUG : dir: reading active writers 2026/03/01 02:14:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/01 02:14:05 DEBUG : dir: Looking for writers 2026/03/01 02:14:05 DEBUG : file1: reading active writers 2026/03/01 02:14:05 DEBUG : Looking for writers 2026/03/01 02:14:05 DEBUG : dir: reading active writers 2026/03/01 02:14:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/01 02:14:05 DEBUG : dir: Looking for writers 2026/03/01 02:14:05 DEBUG : file1: reading active writers 2026/03/01 02:14:05 DEBUG : Looking for writers 2026/03/01 02:14:05 DEBUG : dir: reading active writers 2026/03/01 02:14:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/01 02:14:05 DEBUG : dir: Looking for writers 2026/03/01 02:14:05 DEBUG : file1: reading active writers 2026/03/01 02:14:05 DEBUG : Looking for writers 2026/03/01 02:14:05 DEBUG : dir: reading active writers 2026/03/01 02:14:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/01 02:14:05 DEBUG : dir: Looking for writers 2026/03/01 02:14:05 DEBUG : file1: reading active writers 2026/03/01 02:14:05 DEBUG : Looking for writers 2026/03/01 02:14:05 DEBUG : dir: reading active writers 2026/03/01 02:14:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/01 02:14:05 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:14:05 ERROR : dir/file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:14:05 DEBUG : dir: Looking for writers 2026/03/01 02:14:05 DEBUG : file1: reading active writers 2026/03/01 02:14:05 DEBUG : Looking for writers 2026/03/01 02:14:05 DEBUG : dir: reading active writers 2026/03/01 02:14:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/01 02:14:06 DEBUG : dir: Looking for writers 2026/03/01 02:14:06 DEBUG : file1: reading active writers 2026/03/01 02:14:06 DEBUG : Looking for writers 2026/03/01 02:14:06 DEBUG : dir: reading active writers 2026/03/01 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/01 02:14:06 DEBUG : dir: Looking for writers 2026/03/01 02:14:06 DEBUG : file1: reading active writers 2026/03/01 02:14:06 DEBUG : Looking for writers 2026/03/01 02:14:06 DEBUG : dir: reading active writers 2026/03/01 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:07 DEBUG : dir: Looking for writers 2026/03/01 02:14:07 DEBUG : file1: reading active writers 2026/03/01 02:14:07 DEBUG : Looking for writers 2026/03/01 02:14:07 DEBUG : dir: reading active writers 2026/03/01 02:14:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:08 DEBUG : dir: Looking for writers 2026/03/01 02:14:08 DEBUG : file1: reading active writers 2026/03/01 02:14:08 DEBUG : Looking for writers 2026/03/01 02:14:08 DEBUG : dir: reading active writers 2026/03/01 02:14:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:09 DEBUG : dir: Looking for writers 2026/03/01 02:14:09 DEBUG : file1: reading active writers 2026/03/01 02:14:09 DEBUG : Looking for writers 2026/03/01 02:14:09 DEBUG : dir: reading active writers 2026/03/01 02:14:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:10 DEBUG : dir: Looking for writers 2026/03/01 02:14:10 DEBUG : file1: reading active writers 2026/03/01 02:14:10 DEBUG : Looking for writers 2026/03/01 02:14:10 DEBUG : dir: reading active writers 2026/03/01 02:14:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:11 DEBUG : dir: Looking for writers 2026/03/01 02:14:11 DEBUG : file1: reading active writers 2026/03/01 02:14:11 DEBUG : Looking for writers 2026/03/01 02:14:11 DEBUG : dir: reading active writers 2026/03/01 02:14:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:12 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:14:12 DEBUG : dir: Looking for writers 2026/03/01 02:14:12 DEBUG : file1: reading active writers 2026/03/01 02:14:12 DEBUG : Looking for writers 2026/03/01 02:14:12 DEBUG : dir: reading active writers 2026/03/01 02:14:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:13 DEBUG : dir: Looking for writers 2026/03/01 02:14:13 DEBUG : file1: reading active writers 2026/03/01 02:14:13 DEBUG : Looking for writers 2026/03/01 02:14:13 DEBUG : dir: reading active writers 2026/03/01 02:14:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:14 DEBUG : dir: Looking for writers 2026/03/01 02:14:14 DEBUG : file1: reading active writers 2026/03/01 02:14:14 DEBUG : Looking for writers 2026/03/01 02:14:14 DEBUG : dir: reading active writers 2026/03/01 02:14:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:15 DEBUG : dir: Looking for writers 2026/03/01 02:14:15 DEBUG : file1: reading active writers 2026/03/01 02:14:15 DEBUG : Looking for writers 2026/03/01 02:14:15 DEBUG : dir: reading active writers 2026/03/01 02:14:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:16 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:14:16 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:14:16 ERROR : dir/file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:14:16 DEBUG : dir: Looking for writers 2026/03/01 02:14:16 DEBUG : file1: reading active writers 2026/03/01 02:14:16 DEBUG : Looking for writers 2026/03/01 02:14:16 DEBUG : dir: reading active writers 2026/03/01 02:14:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:17 DEBUG : dir: Looking for writers 2026/03/01 02:14:17 DEBUG : file1: reading active writers 2026/03/01 02:14:17 DEBUG : Looking for writers 2026/03/01 02:14:17 DEBUG : dir: reading active writers 2026/03/01 02:14:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:18 DEBUG : dir: Looking for writers 2026/03/01 02:14:18 DEBUG : file1: reading active writers 2026/03/01 02:14:18 DEBUG : Looking for writers 2026/03/01 02:14:18 DEBUG : dir: reading active writers 2026/03/01 02:14:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:19 DEBUG : dir: Looking for writers 2026/03/01 02:14:19 DEBUG : file1: reading active writers 2026/03/01 02:14:19 DEBUG : Looking for writers 2026/03/01 02:14:19 DEBUG : dir: reading active writers 2026/03/01 02:14:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:20 DEBUG : dir: Looking for writers 2026/03/01 02:14:20 DEBUG : file1: reading active writers 2026/03/01 02:14:20 DEBUG : Looking for writers 2026/03/01 02:14:20 DEBUG : dir: reading active writers 2026/03/01 02:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:21 DEBUG : dir: Looking for writers 2026/03/01 02:14:21 DEBUG : file1: reading active writers 2026/03/01 02:14:21 DEBUG : Looking for writers 2026/03/01 02:14:21 DEBUG : dir: reading active writers 2026/03/01 02:14:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:22 DEBUG : dir: Looking for writers 2026/03/01 02:14:22 DEBUG : file1: reading active writers 2026/03/01 02:14:22 DEBUG : Looking for writers 2026/03/01 02:14:22 DEBUG : dir: reading active writers 2026/03/01 02:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:23 DEBUG : dir: Looking for writers 2026/03/01 02:14:23 DEBUG : file1: reading active writers 2026/03/01 02:14:23 DEBUG : Looking for writers 2026/03/01 02:14:23 DEBUG : dir: reading active writers 2026/03/01 02:14:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:24 DEBUG : dir: Looking for writers 2026/03/01 02:14:24 DEBUG : file1: reading active writers 2026/03/01 02:14:24 DEBUG : Looking for writers 2026/03/01 02:14:24 DEBUG : dir: reading active writers 2026/03/01 02:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:25 DEBUG : dir: Looking for writers 2026/03/01 02:14:25 DEBUG : file1: reading active writers 2026/03/01 02:14:25 DEBUG : Looking for writers 2026/03/01 02:14:25 DEBUG : dir: reading active writers 2026/03/01 02:14:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:26 DEBUG : dir: Looking for writers 2026/03/01 02:14:26 DEBUG : file1: reading active writers 2026/03/01 02:14:26 DEBUG : Looking for writers 2026/03/01 02:14:26 DEBUG : dir: reading active writers 2026/03/01 02:14:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:27 DEBUG : dir: Looking for writers 2026/03/01 02:14:27 DEBUG : file1: reading active writers 2026/03/01 02:14:27 DEBUG : Looking for writers 2026/03/01 02:14:27 DEBUG : dir: reading active writers 2026/03/01 02:14:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:28 DEBUG : dir: Looking for writers 2026/03/01 02:14:28 DEBUG : file1: reading active writers 2026/03/01 02:14:28 DEBUG : Looking for writers 2026/03/01 02:14:28 DEBUG : dir: reading active writers 2026/03/01 02:14:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:29 DEBUG : dir/file1: vfs cache: starting upload 2026/03/01 02:14:29 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/03/01 02:14:29 INFO : drime root 'rclone-test-bewatit5quga': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 14 (was 14) 2026/03/01 02:14:29 DEBUG : dir: Looking for writers 2026/03/01 02:14:29 DEBUG : file1: reading active writers 2026/03/01 02:14:29 DEBUG : Looking for writers 2026/03/01 02:14:29 DEBUG : dir: reading active writers 2026/03/01 02:14:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:30 DEBUG : dir: Looking for writers 2026/03/01 02:14:30 DEBUG : file1: reading active writers 2026/03/01 02:14:30 DEBUG : Looking for writers 2026/03/01 02:14:30 DEBUG : dir: reading active writers 2026/03/01 02:14:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:31 DEBUG : dir: Looking for writers 2026/03/01 02:14:31 DEBUG : file1: reading active writers 2026/03/01 02:14:31 DEBUG : Looking for writers 2026/03/01 02:14:31 DEBUG : dir: reading active writers 2026/03/01 02:14:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:32 DEBUG : dir: Looking for writers 2026/03/01 02:14:32 DEBUG : file1: reading active writers 2026/03/01 02:14:32 DEBUG : Looking for writers 2026/03/01 02:14:32 DEBUG : dir: reading active writers 2026/03/01 02:14:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:33 DEBUG : dir/file1: Removing old object on successful upload 2026/03/01 02:14:33 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:14:33 ERROR : dir/file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/03/01 02:14:33 DEBUG : dir: Looking for writers 2026/03/01 02:14:33 DEBUG : file1: reading active writers 2026/03/01 02:14:33 DEBUG : Looking for writers 2026/03/01 02:14:33 DEBUG : dir: reading active writers 2026/03/01 02:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:34 DEBUG : dir: Looking for writers 2026/03/01 02:14:34 DEBUG : file1: reading active writers 2026/03/01 02:14:34 DEBUG : Looking for writers 2026/03/01 02:14:34 DEBUG : dir: reading active writers 2026/03/01 02:14:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/01 02:14:35 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc0009e1950 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00089a408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642741312} name:dir/file1 opens:0 downloaders: o:0xc0006cc380 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006483029843641765 ext:252256537624 loc:0x45874c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/03/01 02:14:35 DEBUG : >WaitForWriters: 2026/03/01 02:14:35 DEBUG : drime root 'rclone-test-bewatit5quga': vfs cache: cleaner exiting run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestFileRename (187.11s) --- FAIL: TestFileRename/off,forceCache=false (24.38s) --- FAIL: TestFileRename/minimal,forceCache=false (24.44s) --- FAIL: TestFileRename/minimal,forceCache=true (69.57s) --- FAIL: TestFileRename/writes,forceCache=true (68.73s) === RUN TestWriteFileHandleMethods run.go:185: Remote "drime root 'rclone-test-bewatit5quga'", Local "Local file system at /tmp/rclone618578153", Modify Window "876000h0m0s" 2026/03/01 02:14:38 INFO : drime root 'rclone-test-bewatit5quga': poll-interval is not supported by this remote 2026/03/01 02:14:38 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/01 02:14:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/01 02:14:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:38 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/01 02:14:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/01 02:14:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:38 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/03/01 02:14:38 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/03/01 02:14:38 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/03/01 02:14:38 DEBUG : drime root 'rclone-test-bewatit5quga': File to upload is small (5 bytes), uploading instead of streaming 2026/03/01 02:14:42 DEBUG : file1: size = 5 OK 2026/03/01 02:14:42 NOTICE: drime root 'rclone-test-bewatit5quga': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/03/01 02:14:42 DEBUG : file1: Size of src and dst objects identical 2026/03/01 02:14:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/01 02:14:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/01 02:14:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:42 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/01 02:14:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/01 02:14:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/01 02:14:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/01 02:14:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:42 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/01 02:14:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/01 02:14:42 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/03/01 02:14:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/03/01 02:14:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/03/01 02:14:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:42 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/01 02:14:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/01 02:14:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:42 DEBUG : drime root 'rclone-test-bewatit5quga': File to upload is small (0 bytes), uploading instead of streaming 2026/03/01 02:14:46 DEBUG : file1: Removing old object on successful upload 2026/03/01 02:14:46 ERROR : file1: WriteFileHandle.New Rcat failed: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." write_test.go:181: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:181 Error: Received unexpected error: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." Test: TestWriteFileHandleMethods 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/write_test.go:182 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"file1,5,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,0,false" + (string) (len=13) "file1,5,false" } Test: TestWriteFileHandleMethods 2026/03/01 02:14:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/03/01 02:14:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/03/01 02:14:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:46 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/01 02:14:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/01 02:14:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/01 02:14:46 DEBUG : drime root 'rclone-test-bewatit5quga': File to upload is small (7 bytes), uploading instead of streaming 2026/03/01 02:14:50 DEBUG : file1: Removing old object on successful upload 2026/03/01 02:14:50 ERROR : file1: WriteFileHandle.New Rcat failed: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." write_test.go:190: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:190 Error: Received unexpected error: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." Test: TestWriteFileHandleMethods 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/write_test.go:191 Error: Not equal: expected: []string{"file1,7,false"} actual : []string{"file1,5,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,7,false" + (string) (len=13) "file1,5,false" } Test: TestWriteFileHandleMethods 2026/03/01 02:14:50 DEBUG : WaitForWriters: timeout=30s 2026/03/01 02:14:50 DEBUG : Looking for writers 2026/03/01 02:14:50 DEBUG : file1: reading active writers 2026/03/01 02:14:50 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: TestWriteFileHandleMethods (20.86s) FAIL 2026/03/01 02:14:59 DEBUG : drime root 'rclone-test-bewatit5quga': Purge remote "./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestDirRemove|TestDirRemoveAll|TestDirRename|TestFileOpenWrite|TestWriteFileHandleMethods)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^(minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 5m7.071291043s (try 3/5): exit status 1: Failed [TestDirReadDirAll/Virtual TestDirRemove TestDirRename TestFileOpenWrite TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=true TestWriteFileHandleMethods]