"./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestFileOpenWrite|TestWriteFileHandleMethods)$|^TestFileRename$/^(minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=true)$'" - Starting (try 5/5) 2026/02/27 02:27:58 DEBUG : Creating backend with remote "TestDrime:rclone-test-covazod3qefe" 2026/02/27 02:27:58 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/02/27 02:27:59 DEBUG : Creating backend with remote "/tmp/rclone2816649949" === RUN TestFileOpenWrite run.go:185: Remote "drime root 'rclone-test-covazod3qefe'", Local "Local file system at /tmp/rclone2816649949", Modify Window "876000h0m0s" 2026/02/27 02:27:59 INFO : drime root 'rclone-test-covazod3qefe': poll-interval is not supported by this remote 2026/02/27 02:28:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:28:05 DEBUG : drime root 'rclone-test-covazod3qefe': File to upload is small (25 bytes), uploading instead of streaming 2026/02/27 02:28:08 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:28:08 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/02/27 02:28:08 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:28:08 DEBUG : dir: Looking for writers 2026/02/27 02:28:08 DEBUG : file1: reading active writers 2026/02/27 02:28:08 DEBUG : Looking for writers 2026/02/27 02:28:08 DEBUG : dir: reading active writers 2026/02/27 02:28:08 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestFileOpenWrite (10.92s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "drime root 'rclone-test-covazod3qefe'", Local "Local file system at /tmp/rclone2816649949", Modify Window "876000h0m0s" 2026/02/27 02:28:10 INFO : drime root 'rclone-test-covazod3qefe': poll-interval is not supported by this remote 2026/02/27 02:28:14 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:28:14 DEBUG : dir: Looking for writers 2026/02/27 02:28:14 DEBUG : file1: reading active writers 2026/02/27 02:28:14 DEBUG : Looking for writers 2026/02/27 02:28:14 DEBUG : dir: reading active writers 2026/02/27 02:28:14 DEBUG : >WaitForWriters: 2026/02/27 02:28:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/27 02:28:15 DEBUG : newLeaf: Updating file with newLeaf 0xc0004e8480 2026/02/27 02:28:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/27 02:28:15 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/02/27 02:28:24 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/27 02:28:24 DEBUG : dir/file1: Updating file with dir/file1 0xc0004e8480 2026/02/27 02:28:24 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/27 02:28:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/02/27 02:28:32 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/27 02:28:32 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/02/27 02:28:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:28:32 DEBUG : dir/file1: File is currently open, delaying rename 0xc0004e8480 2026/02/27 02:28:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/27 02:28:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/27 02:28:32 DEBUG : drime root 'rclone-test-covazod3qefe': File to upload is small (25 bytes), uploading instead of streaming 2026/02/27 02:28:35 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:28:35 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:28:35 DEBUG : newLeaf: Running delayed rename now 2026/02/27 02:28:35 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.duretap4: Error "No query results for model [App\\FileEntry] 512641594" 2026/02/27 02:28:35 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.duretap4: Error "No query results for model [App\\FileEntry] 512641594" 2026/02/27 02:28:35 ERROR : newLeaf: delayed File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.duretap4: Error "No query results for model [App\\FileEntry] 512641594" 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/02/27 02:28:35 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:28:35 DEBUG : dir: Looking for writers 2026/02/27 02:28:35 DEBUG : Looking for writers 2026/02/27 02:28:35 DEBUG : dir: reading active writers 2026/02/27 02:28:35 DEBUG : newLeaf: reading active writers 2026/02/27 02:28:35 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-covazod3qefe'", Local "Local file system at /tmp/rclone2816649949", Modify Window "876000h0m0s" 2026/02/27 02:28:38 INFO : drime root 'rclone-test-covazod3qefe': poll-interval is not supported by this remote 2026/02/27 02:28:38 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/27 02:28:38 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:28:38 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:28:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:28:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/27 02:28:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:28:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:28:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/27 02:28:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:28:38 INFO : drime root 'rclone-test-covazod3qefe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/27 02:28:44 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:28:44 DEBUG : dir: Looking for writers 2026/02/27 02:28:44 DEBUG : file1: reading active writers 2026/02/27 02:28:44 DEBUG : Looking for writers 2026/02/27 02:28:44 DEBUG : dir: reading active writers 2026/02/27 02:28:44 DEBUG : >WaitForWriters: 2026/02/27 02:28:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/27 02:28:46 DEBUG : newLeaf: Updating file with newLeaf 0xc000838180 2026/02/27 02:28:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/27 02:28:46 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/02/27 02:28:54 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/27 02:28:54 DEBUG : dir/file1: Updating file with dir/file1 0xc000838180 2026/02/27 02:28:54 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/27 02:28:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/02/27 02:29:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/27 02:29:02 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/02/27 02:29:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:29:02 DEBUG : dir/file1: File is currently open, delaying rename 0xc000838180 2026/02/27 02:29:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/27 02:29:02 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/27 02:29:02 DEBUG : drime root 'rclone-test-covazod3qefe': File to upload is small (25 bytes), uploading instead of streaming 2026/02/27 02:29:05 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:06 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:06 DEBUG : newLeaf: Running delayed rename now 2026/02/27 02:29:06 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.himixub5: Error "No query results for model [App\\FileEntry] 512641850" 2026/02/27 02:29:06 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.himixub5: Error "No query results for model [App\\FileEntry] 512641850" 2026/02/27 02:29:06 ERROR : newLeaf: delayed File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.himixub5: Error "No query results for model [App\\FileEntry] 512641850" 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/02/27 02:29:06 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:29:06 DEBUG : dir: Looking for writers 2026/02/27 02:29:06 DEBUG : Looking for writers 2026/02/27 02:29:06 DEBUG : newLeaf: reading active writers 2026/02/27 02:29:06 DEBUG : dir: reading active writers 2026/02/27 02:29:06 DEBUG : >WaitForWriters: 2026/02/27 02:29:06 DEBUG : drime root 'rclone-test-covazod3qefe': 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-covazod3qefe'", Local "Local file system at /tmp/rclone2816649949", Modify Window "876000h0m0s" 2026/02/27 02:29:08 INFO : drime root 'rclone-test-covazod3qefe': poll-interval is not supported by this remote 2026/02/27 02:29:08 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/27 02:29:08 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:29:08 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:29:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:29:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/27 02:29:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:29:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:29:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/27 02:29:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:29:08 INFO : drime root 'rclone-test-covazod3qefe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/27 02:29:13 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/02/27 02:29:13 DEBUG : dir/file1: newRWFileHandle: 2026/02/27 02:29:13 DEBUG : dir/file1(0xc00047d800): openPending: 2026/02/27 02:29:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/02/27 02:29:13 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/02/27 02:29:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:29:13 DEBUG : dir/file1(0xc00047d800): >openPending: err= 2026/02/27 02:29:13 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/27 02:29:13 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/27 02:29:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:29:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/27 02:29:13 DEBUG : dir/file1(0xc00047d800): _writeAt: size=14, off=0 2026/02/27 02:29:13 DEBUG : dir/file1(0xc00047d800): >_writeAt: n=14, err= 2026/02/27 02:29:13 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/27 02:29:13 DEBUG : dir/file1(0xc00047d800): close: 2026/02/27 02:29:13 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/27 02:29:13 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/27 02:29:13 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/02/27 02:29:13 DEBUG : dir/file1(0xc00047d800): >close: err= 2026/02/27 02:29:13 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:29:13 DEBUG : dir: Looking for writers 2026/02/27 02:29:13 DEBUG : file1: reading active writers 2026/02/27 02:29:13 DEBUG : Looking for writers 2026/02/27 02:29:13 DEBUG : dir: reading active writers 2026/02/27 02:29:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/27 02:29:13 DEBUG : dir: Looking for writers 2026/02/27 02:29:13 DEBUG : file1: reading active writers 2026/02/27 02:29:13 DEBUG : Looking for writers 2026/02/27 02:29:13 DEBUG : dir: reading active writers 2026/02/27 02:29:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/27 02:29:13 DEBUG : dir: Looking for writers 2026/02/27 02:29:13 DEBUG : file1: reading active writers 2026/02/27 02:29:13 DEBUG : Looking for writers 2026/02/27 02:29:13 DEBUG : dir: reading active writers 2026/02/27 02:29:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/27 02:29:13 DEBUG : dir: Looking for writers 2026/02/27 02:29:13 DEBUG : file1: reading active writers 2026/02/27 02:29:13 DEBUG : Looking for writers 2026/02/27 02:29:13 DEBUG : dir: reading active writers 2026/02/27 02:29:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/27 02:29:13 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:29:13 DEBUG : dir: Looking for writers 2026/02/27 02:29:13 DEBUG : file1: reading active writers 2026/02/27 02:29:13 DEBUG : Looking for writers 2026/02/27 02:29:13 DEBUG : dir: reading active writers 2026/02/27 02:29:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/27 02:29:14 DEBUG : dir: Looking for writers 2026/02/27 02:29:14 DEBUG : file1: reading active writers 2026/02/27 02:29:14 DEBUG : Looking for writers 2026/02/27 02:29:14 DEBUG : dir: reading active writers 2026/02/27 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/27 02:29:14 DEBUG : dir: Looking for writers 2026/02/27 02:29:14 DEBUG : file1: reading active writers 2026/02/27 02:29:14 DEBUG : Looking for writers 2026/02/27 02:29:14 DEBUG : dir: reading active writers 2026/02/27 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/02/27 02:29:15 DEBUG : dir: Looking for writers 2026/02/27 02:29:15 DEBUG : file1: reading active writers 2026/02/27 02:29:15 DEBUG : Looking for writers 2026/02/27 02:29:15 DEBUG : dir: reading active writers 2026/02/27 02:29:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:16 DEBUG : dir: Looking for writers 2026/02/27 02:29:16 DEBUG : file1: reading active writers 2026/02/27 02:29:16 DEBUG : Looking for writers 2026/02/27 02:29:16 DEBUG : dir: reading active writers 2026/02/27 02:29:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:17 DEBUG : dir: Looking for writers 2026/02/27 02:29:17 DEBUG : file1: reading active writers 2026/02/27 02:29:17 DEBUG : Looking for writers 2026/02/27 02:29:17 DEBUG : dir: reading active writers 2026/02/27 02:29:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:18 DEBUG : dir: Looking for writers 2026/02/27 02:29:18 DEBUG : file1: reading active writers 2026/02/27 02:29:18 DEBUG : Looking for writers 2026/02/27 02:29:18 DEBUG : dir: reading active writers 2026/02/27 02:29:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:19 DEBUG : dir: Looking for writers 2026/02/27 02:29:19 DEBUG : file1: reading active writers 2026/02/27 02:29:19 DEBUG : Looking for writers 2026/02/27 02:29:19 DEBUG : dir: reading active writers 2026/02/27 02:29:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:19 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:19 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:19 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/02/27 02:29:19 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:29:20 DEBUG : dir: Looking for writers 2026/02/27 02:29:20 DEBUG : file1: reading active writers 2026/02/27 02:29:20 DEBUG : Looking for writers 2026/02/27 02:29:20 DEBUG : dir: reading active writers 2026/02/27 02:29:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:21 DEBUG : dir: Looking for writers 2026/02/27 02:29:21 DEBUG : file1: reading active writers 2026/02/27 02:29:21 DEBUG : Looking for writers 2026/02/27 02:29:21 DEBUG : dir: reading active writers 2026/02/27 02:29:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:22 DEBUG : dir: Looking for writers 2026/02/27 02:29:22 DEBUG : file1: reading active writers 2026/02/27 02:29:22 DEBUG : Looking for writers 2026/02/27 02:29:22 DEBUG : dir: reading active writers 2026/02/27 02:29:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:23 DEBUG : dir: Looking for writers 2026/02/27 02:29:23 DEBUG : file1: reading active writers 2026/02/27 02:29:23 DEBUG : Looking for writers 2026/02/27 02:29:23 DEBUG : dir: reading active writers 2026/02/27 02:29:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:24 DEBUG : dir: Looking for writers 2026/02/27 02:29:24 DEBUG : file1: reading active writers 2026/02/27 02:29:24 DEBUG : Looking for writers 2026/02/27 02:29:24 DEBUG : dir: reading active writers 2026/02/27 02:29:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:24 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:24 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:24 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/02/27 02:29:24 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:29:25 DEBUG : dir: Looking for writers 2026/02/27 02:29:25 DEBUG : file1: reading active writers 2026/02/27 02:29:25 DEBUG : Looking for writers 2026/02/27 02:29:25 DEBUG : dir: reading active writers 2026/02/27 02:29:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:26 DEBUG : dir: Looking for writers 2026/02/27 02:29:26 DEBUG : file1: reading active writers 2026/02/27 02:29:26 DEBUG : Looking for writers 2026/02/27 02:29:26 DEBUG : dir: reading active writers 2026/02/27 02:29:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:27 DEBUG : dir: Looking for writers 2026/02/27 02:29:27 DEBUG : file1: reading active writers 2026/02/27 02:29:27 DEBUG : Looking for writers 2026/02/27 02:29:27 DEBUG : dir: reading active writers 2026/02/27 02:29:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:27 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:28 DEBUG : dir: Looking for writers 2026/02/27 02:29:28 DEBUG : file1: reading active writers 2026/02/27 02:29:28 DEBUG : Looking for writers 2026/02/27 02:29:28 DEBUG : dir: reading active writers 2026/02/27 02:29:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:28 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:28 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/02/27 02:29:28 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:29:29 DEBUG : dir: Looking for writers 2026/02/27 02:29:29 DEBUG : file1: reading active writers 2026/02/27 02:29:29 DEBUG : Looking for writers 2026/02/27 02:29:29 DEBUG : dir: reading active writers 2026/02/27 02:29:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:30 DEBUG : dir: Looking for writers 2026/02/27 02:29:30 DEBUG : file1: reading active writers 2026/02/27 02:29:30 DEBUG : Looking for writers 2026/02/27 02:29:30 DEBUG : dir: reading active writers 2026/02/27 02:29:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:31 DEBUG : dir: Looking for writers 2026/02/27 02:29:31 DEBUG : file1: reading active writers 2026/02/27 02:29:31 DEBUG : Looking for writers 2026/02/27 02:29:31 DEBUG : dir: reading active writers 2026/02/27 02:29:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:31 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:31 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:31 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/02/27 02:29:32 DEBUG : dir: Looking for writers 2026/02/27 02:29:32 DEBUG : file1: reading active writers 2026/02/27 02:29:32 DEBUG : Looking for writers 2026/02/27 02:29:32 DEBUG : dir: reading active writers 2026/02/27 02:29:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:33 DEBUG : dir: Looking for writers 2026/02/27 02:29:33 DEBUG : file1: reading active writers 2026/02/27 02:29:33 DEBUG : Looking for writers 2026/02/27 02:29:33 DEBUG : dir: reading active writers 2026/02/27 02:29:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:33 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:29:34 DEBUG : dir: Looking for writers 2026/02/27 02:29:34 DEBUG : file1: reading active writers 2026/02/27 02:29:34 DEBUG : Looking for writers 2026/02/27 02:29:34 DEBUG : dir: reading active writers 2026/02/27 02:29:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:35 DEBUG : dir: Looking for writers 2026/02/27 02:29:35 DEBUG : file1: reading active writers 2026/02/27 02:29:35 DEBUG : Looking for writers 2026/02/27 02:29:35 DEBUG : dir: reading active writers 2026/02/27 02:29:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:36 DEBUG : dir: Looking for writers 2026/02/27 02:29:36 DEBUG : file1: reading active writers 2026/02/27 02:29:36 DEBUG : Looking for writers 2026/02/27 02:29:36 DEBUG : dir: reading active writers 2026/02/27 02:29:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:37 DEBUG : dir: Looking for writers 2026/02/27 02:29:37 DEBUG : file1: reading active writers 2026/02/27 02:29:37 DEBUG : Looking for writers 2026/02/27 02:29:37 DEBUG : dir: reading active writers 2026/02/27 02:29:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:37 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:38 DEBUG : dir: Looking for writers 2026/02/27 02:29:38 DEBUG : file1: reading active writers 2026/02/27 02:29:38 DEBUG : Looking for writers 2026/02/27 02:29:38 DEBUG : dir: reading active writers 2026/02/27 02:29:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:38 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:38 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/02/27 02:29:39 DEBUG : dir: Looking for writers 2026/02/27 02:29:39 DEBUG : file1: reading active writers 2026/02/27 02:29:39 DEBUG : Looking for writers 2026/02/27 02:29:39 DEBUG : dir: reading active writers 2026/02/27 02:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:40 DEBUG : dir: Looking for writers 2026/02/27 02:29:40 DEBUG : file1: reading active writers 2026/02/27 02:29:40 DEBUG : Looking for writers 2026/02/27 02:29:40 DEBUG : dir: reading active writers 2026/02/27 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:41 DEBUG : dir: Looking for writers 2026/02/27 02:29:41 DEBUG : file1: reading active writers 2026/02/27 02:29:41 DEBUG : Looking for writers 2026/02/27 02:29:41 DEBUG : dir: reading active writers 2026/02/27 02:29:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:41 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:29:42 DEBUG : dir: Looking for writers 2026/02/27 02:29:42 DEBUG : file1: reading active writers 2026/02/27 02:29:42 DEBUG : Looking for writers 2026/02/27 02:29:42 DEBUG : dir: reading active writers 2026/02/27 02:29:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:43 DEBUG : dir: Looking for writers 2026/02/27 02:29:43 DEBUG : file1: reading active writers 2026/02/27 02:29:43 DEBUG : Looking for writers 2026/02/27 02:29:43 DEBUG : dir: reading active writers 2026/02/27 02:29:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:43 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc0004d4780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000672a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640481856} name:dir/file1 opens:0 downloaders: o:0xc00037c900 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006298463302533216 ext:74836996729 loc:0x45864c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/02/27 02:29:43 DEBUG : >WaitForWriters: 2026/02/27 02:29:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/02/27 02:29:43 DEBUG : dir/file1: newRWFileHandle: 2026/02/27 02:29:43 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/27 02:29:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/27 02:29:43 DEBUG : dir/file1(0xc0008fcf40): _readAt: size=512, off=0 2026/02/27 02:29:43 DEBUG : dir/file1(0xc0008fcf40): openPending: 2026/02/27 02:29:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/02/27 02:29:43 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/02/27 02:29:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:29:43 DEBUG : dir/file1(0xc0008fcf40): >openPending: err= 2026/02/27 02:29:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/27 02:29:43 DEBUG : dir/file1(0xc0008fcf40): >_readAt: n=14, err=EOF 2026/02/27 02:29:43 DEBUG : dir/file1(0xc0008fcf40): close: 2026/02/27 02:29:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/27 02:29:43 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/27 02:29:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/02/27 02:29:43 DEBUG : dir/file1(0xc0008fcf40): >close: err= 2026/02/27 02:29:44 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:44 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.fifivuh6: Error "This action is unauthorized." 2026/02/27 02:29:44 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.fifivuh6: Error "This action is unauthorized." 2026/02/27 02:29:44 ERROR : dir/file1: Dir.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.fifivuh6: 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.fifivuh6: Error "This action is unauthorized." Test: TestFileRename/minimal,forceCache=true 2026/02/27 02:29:44 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:29:44 DEBUG : dir: Looking for writers 2026/02/27 02:29:44 DEBUG : file1: reading active writers 2026/02/27 02:29:44 DEBUG : Looking for writers 2026/02/27 02:29:44 DEBUG : dir: reading active writers 2026/02/27 02:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/27 02:29:44 DEBUG : dir: Looking for writers 2026/02/27 02:29:44 DEBUG : file1: reading active writers 2026/02/27 02:29:44 DEBUG : Looking for writers 2026/02/27 02:29:44 DEBUG : dir: reading active writers 2026/02/27 02:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/27 02:29:44 DEBUG : dir: Looking for writers 2026/02/27 02:29:44 DEBUG : file1: reading active writers 2026/02/27 02:29:44 DEBUG : Looking for writers 2026/02/27 02:29:44 DEBUG : dir: reading active writers 2026/02/27 02:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/27 02:29:44 DEBUG : dir: Looking for writers 2026/02/27 02:29:44 DEBUG : file1: reading active writers 2026/02/27 02:29:44 DEBUG : Looking for writers 2026/02/27 02:29:44 DEBUG : dir: reading active writers 2026/02/27 02:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/27 02:29:44 DEBUG : dir: Looking for writers 2026/02/27 02:29:44 DEBUG : file1: reading active writers 2026/02/27 02:29:44 DEBUG : Looking for writers 2026/02/27 02:29:44 DEBUG : dir: reading active writers 2026/02/27 02:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/27 02:29:44 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:44 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/02/27 02:29:44 DEBUG : dir: Looking for writers 2026/02/27 02:29:44 DEBUG : file1: reading active writers 2026/02/27 02:29:44 DEBUG : Looking for writers 2026/02/27 02:29:44 DEBUG : dir: reading active writers 2026/02/27 02:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/27 02:29:45 DEBUG : dir: Looking for writers 2026/02/27 02:29:45 DEBUG : file1: reading active writers 2026/02/27 02:29:45 DEBUG : Looking for writers 2026/02/27 02:29:45 DEBUG : dir: reading active writers 2026/02/27 02:29:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/02/27 02:29:45 DEBUG : dir: Looking for writers 2026/02/27 02:29:45 DEBUG : file1: reading active writers 2026/02/27 02:29:45 DEBUG : Looking for writers 2026/02/27 02:29:45 DEBUG : dir: reading active writers 2026/02/27 02:29:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:46 DEBUG : dir: Looking for writers 2026/02/27 02:29:46 DEBUG : file1: reading active writers 2026/02/27 02:29:46 DEBUG : Looking for writers 2026/02/27 02:29:46 DEBUG : dir: reading active writers 2026/02/27 02:29:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:47 DEBUG : dir: Looking for writers 2026/02/27 02:29:47 DEBUG : file1: reading active writers 2026/02/27 02:29:47 DEBUG : Looking for writers 2026/02/27 02:29:47 DEBUG : dir: reading active writers 2026/02/27 02:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:48 DEBUG : dir: Looking for writers 2026/02/27 02:29:48 DEBUG : file1: reading active writers 2026/02/27 02:29:48 DEBUG : Looking for writers 2026/02/27 02:29:48 DEBUG : dir: reading active writers 2026/02/27 02:29:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:49 DEBUG : dir: Looking for writers 2026/02/27 02:29:49 DEBUG : file1: reading active writers 2026/02/27 02:29:49 DEBUG : Looking for writers 2026/02/27 02:29:49 DEBUG : dir: reading active writers 2026/02/27 02:29:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:50 DEBUG : dir: Looking for writers 2026/02/27 02:29:50 DEBUG : file1: reading active writers 2026/02/27 02:29:50 DEBUG : Looking for writers 2026/02/27 02:29:50 DEBUG : dir: reading active writers 2026/02/27 02:29:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:51 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:29:51 DEBUG : dir: Looking for writers 2026/02/27 02:29:51 DEBUG : file1: reading active writers 2026/02/27 02:29:51 DEBUG : Looking for writers 2026/02/27 02:29:51 DEBUG : dir: reading active writers 2026/02/27 02:29:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:52 DEBUG : dir: Looking for writers 2026/02/27 02:29:52 DEBUG : file1: reading active writers 2026/02/27 02:29:52 DEBUG : Looking for writers 2026/02/27 02:29:52 DEBUG : dir: reading active writers 2026/02/27 02:29:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:53 DEBUG : dir: Looking for writers 2026/02/27 02:29:53 DEBUG : file1: reading active writers 2026/02/27 02:29:53 DEBUG : Looking for writers 2026/02/27 02:29:53 DEBUG : dir: reading active writers 2026/02/27 02:29:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:54 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:29:54 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:29:54 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/02/27 02:29:54 DEBUG : dir: Looking for writers 2026/02/27 02:29:54 DEBUG : file1: reading active writers 2026/02/27 02:29:54 DEBUG : Looking for writers 2026/02/27 02:29:54 DEBUG : dir: reading active writers 2026/02/27 02:29:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:55 DEBUG : dir: Looking for writers 2026/02/27 02:29:55 DEBUG : file1: reading active writers 2026/02/27 02:29:55 DEBUG : Looking for writers 2026/02/27 02:29:55 DEBUG : dir: reading active writers 2026/02/27 02:29:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:56 DEBUG : dir: Looking for writers 2026/02/27 02:29:56 DEBUG : file1: reading active writers 2026/02/27 02:29:56 DEBUG : Looking for writers 2026/02/27 02:29:56 DEBUG : dir: reading active writers 2026/02/27 02:29:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:57 DEBUG : dir: Looking for writers 2026/02/27 02:29:57 DEBUG : file1: reading active writers 2026/02/27 02:29:57 DEBUG : Looking for writers 2026/02/27 02:29:57 DEBUG : dir: reading active writers 2026/02/27 02:29:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:58 DEBUG : dir: Looking for writers 2026/02/27 02:29:58 DEBUG : file1: reading active writers 2026/02/27 02:29:58 DEBUG : Looking for writers 2026/02/27 02:29:58 DEBUG : dir: reading active writers 2026/02/27 02:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:29:59 DEBUG : dir: Looking for writers 2026/02/27 02:29:59 DEBUG : file1: reading active writers 2026/02/27 02:29:59 DEBUG : Looking for writers 2026/02/27 02:29:59 DEBUG : dir: reading active writers 2026/02/27 02:29:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:00 DEBUG : dir: Looking for writers 2026/02/27 02:30:00 DEBUG : file1: reading active writers 2026/02/27 02:30:00 DEBUG : Looking for writers 2026/02/27 02:30:00 DEBUG : dir: reading active writers 2026/02/27 02:30:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:01 DEBUG : dir: Looking for writers 2026/02/27 02:30:01 DEBUG : file1: reading active writers 2026/02/27 02:30:01 DEBUG : Looking for writers 2026/02/27 02:30:01 DEBUG : dir: reading active writers 2026/02/27 02:30:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:02 DEBUG : dir: Looking for writers 2026/02/27 02:30:02 DEBUG : file1: reading active writers 2026/02/27 02:30:02 DEBUG : Looking for writers 2026/02/27 02:30:02 DEBUG : dir: reading active writers 2026/02/27 02:30:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:03 DEBUG : dir: Looking for writers 2026/02/27 02:30:03 DEBUG : file1: reading active writers 2026/02/27 02:30:03 DEBUG : Looking for writers 2026/02/27 02:30:03 DEBUG : dir: reading active writers 2026/02/27 02:30:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:04 DEBUG : dir: Looking for writers 2026/02/27 02:30:04 DEBUG : file1: reading active writers 2026/02/27 02:30:04 DEBUG : Looking for writers 2026/02/27 02:30:04 DEBUG : dir: reading active writers 2026/02/27 02:30:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:05 DEBUG : dir: Looking for writers 2026/02/27 02:30:05 DEBUG : file1: reading active writers 2026/02/27 02:30:05 DEBUG : Looking for writers 2026/02/27 02:30:05 DEBUG : dir: reading active writers 2026/02/27 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:06 DEBUG : dir: Looking for writers 2026/02/27 02:30:06 DEBUG : file1: reading active writers 2026/02/27 02:30:06 DEBUG : Looking for writers 2026/02/27 02:30:06 DEBUG : dir: reading active writers 2026/02/27 02:30:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:07 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:30:07 DEBUG : dir: Looking for writers 2026/02/27 02:30:07 DEBUG : file1: reading active writers 2026/02/27 02:30:07 DEBUG : Looking for writers 2026/02/27 02:30:07 DEBUG : dir: reading active writers 2026/02/27 02:30:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:08 DEBUG : dir: Looking for writers 2026/02/27 02:30:08 DEBUG : file1: reading active writers 2026/02/27 02:30:08 DEBUG : Looking for writers 2026/02/27 02:30:08 DEBUG : dir: reading active writers 2026/02/27 02:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:08 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/02/27 02:30:08 INFO : drime root 'rclone-test-covazod3qefe': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 14 (was 14) 2026/02/27 02:30:09 DEBUG : dir: Looking for writers 2026/02/27 02:30:09 DEBUG : file1: reading active writers 2026/02/27 02:30:09 DEBUG : Looking for writers 2026/02/27 02:30:09 DEBUG : dir: reading active writers 2026/02/27 02:30:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:10 DEBUG : dir: Looking for writers 2026/02/27 02:30:10 DEBUG : file1: reading active writers 2026/02/27 02:30:10 DEBUG : Looking for writers 2026/02/27 02:30:10 DEBUG : dir: reading active writers 2026/02/27 02:30:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:11 DEBUG : dir: Looking for writers 2026/02/27 02:30:11 DEBUG : file1: reading active writers 2026/02/27 02:30:11 DEBUG : Looking for writers 2026/02/27 02:30:11 DEBUG : dir: reading active writers 2026/02/27 02:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:11 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:30:12 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:30:12 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/02/27 02:30:12 DEBUG : dir: Looking for writers 2026/02/27 02:30:12 DEBUG : file1: reading active writers 2026/02/27 02:30:12 DEBUG : Looking for writers 2026/02/27 02:30:12 DEBUG : dir: reading active writers 2026/02/27 02:30:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:13 DEBUG : dir: Looking for writers 2026/02/27 02:30:13 DEBUG : file1: reading active writers 2026/02/27 02:30:13 DEBUG : Looking for writers 2026/02/27 02:30:13 DEBUG : dir: reading active writers 2026/02/27 02:30:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:14 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc0004d4780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000672a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640481856} name:dir/file1 opens:0 downloaders: o:0xc00037c900 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006298495516955287 ext:104839164080 loc:0x45864c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/02/27 02:30:14 DEBUG : >WaitForWriters: 2026/02/27 02:30:14 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: cleaner exiting 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-covazod3qefe'", Local "Local file system at /tmp/rclone2816649949", Modify Window "876000h0m0s" 2026/02/27 02:30:16 INFO : drime root 'rclone-test-covazod3qefe': poll-interval is not supported by this remote 2026/02/27 02:30:16 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/27 02:30:16 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:30:16 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:30:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:30:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/27 02:30:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:30:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:30:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/27 02:30:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestDrime/rclone-test-covazod3qefe" 2026/02/27 02:30:16 INFO : drime root 'rclone-test-covazod3qefe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/27 02:30:22 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/02/27 02:30:22 DEBUG : dir/file1: newRWFileHandle: 2026/02/27 02:30:22 DEBUG : dir/file1(0xc00081b480): openPending: 2026/02/27 02:30:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/02/27 02:30:22 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/02/27 02:30:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:30:22 DEBUG : dir/file1(0xc00081b480): >openPending: err= 2026/02/27 02:30:22 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/27 02:30:22 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/27 02:30:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:30:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/27 02:30:22 DEBUG : dir/file1(0xc00081b480): _writeAt: size=14, off=0 2026/02/27 02:30:22 DEBUG : dir/file1(0xc00081b480): >_writeAt: n=14, err= 2026/02/27 02:30:22 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/27 02:30:22 DEBUG : dir/file1(0xc00081b480): close: 2026/02/27 02:30:22 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/27 02:30:22 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/27 02:30:22 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/02/27 02:30:22 DEBUG : dir/file1(0xc00081b480): >close: err= 2026/02/27 02:30:22 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:30:22 DEBUG : dir: Looking for writers 2026/02/27 02:30:22 DEBUG : file1: reading active writers 2026/02/27 02:30:22 DEBUG : Looking for writers 2026/02/27 02:30:22 DEBUG : dir: reading active writers 2026/02/27 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/27 02:30:22 DEBUG : dir: Looking for writers 2026/02/27 02:30:22 DEBUG : file1: reading active writers 2026/02/27 02:30:22 DEBUG : Looking for writers 2026/02/27 02:30:22 DEBUG : dir: reading active writers 2026/02/27 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/27 02:30:22 DEBUG : dir: Looking for writers 2026/02/27 02:30:22 DEBUG : file1: reading active writers 2026/02/27 02:30:22 DEBUG : Looking for writers 2026/02/27 02:30:22 DEBUG : dir: reading active writers 2026/02/27 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/27 02:30:22 DEBUG : dir: Looking for writers 2026/02/27 02:30:22 DEBUG : file1: reading active writers 2026/02/27 02:30:22 DEBUG : Looking for writers 2026/02/27 02:30:22 DEBUG : dir: reading active writers 2026/02/27 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/27 02:30:22 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:30:22 DEBUG : dir: Looking for writers 2026/02/27 02:30:22 DEBUG : file1: reading active writers 2026/02/27 02:30:22 DEBUG : Looking for writers 2026/02/27 02:30:22 DEBUG : dir: reading active writers 2026/02/27 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/27 02:30:22 DEBUG : dir: Looking for writers 2026/02/27 02:30:22 DEBUG : file1: reading active writers 2026/02/27 02:30:22 DEBUG : Looking for writers 2026/02/27 02:30:22 DEBUG : dir: reading active writers 2026/02/27 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/27 02:30:22 DEBUG : dir: Looking for writers 2026/02/27 02:30:22 DEBUG : file1: reading active writers 2026/02/27 02:30:22 DEBUG : Looking for writers 2026/02/27 02:30:22 DEBUG : dir: reading active writers 2026/02/27 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/02/27 02:30:23 DEBUG : dir: Looking for writers 2026/02/27 02:30:23 DEBUG : file1: reading active writers 2026/02/27 02:30:23 DEBUG : Looking for writers 2026/02/27 02:30:23 DEBUG : dir: reading active writers 2026/02/27 02:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:24 DEBUG : dir: Looking for writers 2026/02/27 02:30:24 DEBUG : file1: reading active writers 2026/02/27 02:30:24 DEBUG : Looking for writers 2026/02/27 02:30:24 DEBUG : dir: reading active writers 2026/02/27 02:30:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:25 DEBUG : dir: Looking for writers 2026/02/27 02:30:25 DEBUG : file1: reading active writers 2026/02/27 02:30:25 DEBUG : Looking for writers 2026/02/27 02:30:25 DEBUG : dir: reading active writers 2026/02/27 02:30:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:26 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:30:26 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:30:26 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/02/27 02:30:26 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:30:26 DEBUG : dir: Looking for writers 2026/02/27 02:30:26 DEBUG : file1: reading active writers 2026/02/27 02:30:26 DEBUG : Looking for writers 2026/02/27 02:30:26 DEBUG : dir: reading active writers 2026/02/27 02:30:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:27 DEBUG : dir: Looking for writers 2026/02/27 02:30:27 DEBUG : file1: reading active writers 2026/02/27 02:30:27 DEBUG : Looking for writers 2026/02/27 02:30:27 DEBUG : dir: reading active writers 2026/02/27 02:30:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:28 DEBUG : dir: Looking for writers 2026/02/27 02:30:28 DEBUG : file1: reading active writers 2026/02/27 02:30:28 DEBUG : Looking for writers 2026/02/27 02:30:28 DEBUG : dir: reading active writers 2026/02/27 02:30:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:29 DEBUG : dir: Looking for writers 2026/02/27 02:30:29 DEBUG : file1: reading active writers 2026/02/27 02:30:29 DEBUG : Looking for writers 2026/02/27 02:30:29 DEBUG : dir: reading active writers 2026/02/27 02:30:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:30 DEBUG : dir: Looking for writers 2026/02/27 02:30:30 DEBUG : file1: reading active writers 2026/02/27 02:30:30 DEBUG : Looking for writers 2026/02/27 02:30:30 DEBUG : dir: reading active writers 2026/02/27 02:30:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:31 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:30:31 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:30:31 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/02/27 02:30:31 DEBUG : dir: Looking for writers 2026/02/27 02:30:31 DEBUG : file1: reading active writers 2026/02/27 02:30:31 DEBUG : Looking for writers 2026/02/27 02:30:31 DEBUG : dir: reading active writers 2026/02/27 02:30:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:31 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:30:32 DEBUG : dir: Looking for writers 2026/02/27 02:30:32 DEBUG : file1: reading active writers 2026/02/27 02:30:32 DEBUG : Looking for writers 2026/02/27 02:30:32 DEBUG : dir: reading active writers 2026/02/27 02:30:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:33 DEBUG : dir: Looking for writers 2026/02/27 02:30:33 DEBUG : file1: reading active writers 2026/02/27 02:30:33 DEBUG : Looking for writers 2026/02/27 02:30:33 DEBUG : dir: reading active writers 2026/02/27 02:30:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:34 DEBUG : dir: Looking for writers 2026/02/27 02:30:34 DEBUG : file1: reading active writers 2026/02/27 02:30:34 DEBUG : Looking for writers 2026/02/27 02:30:34 DEBUG : dir: reading active writers 2026/02/27 02:30:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:35 DEBUG : dir: Looking for writers 2026/02/27 02:30:35 DEBUG : file1: reading active writers 2026/02/27 02:30:35 DEBUG : Looking for writers 2026/02/27 02:30:35 DEBUG : dir: reading active writers 2026/02/27 02:30:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:35 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:30:36 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:30:36 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/02/27 02:30:36 DEBUG : dir: Looking for writers 2026/02/27 02:30:36 DEBUG : file1: reading active writers 2026/02/27 02:30:36 DEBUG : Looking for writers 2026/02/27 02:30:36 DEBUG : dir: reading active writers 2026/02/27 02:30:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:37 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:30:37 DEBUG : dir: Looking for writers 2026/02/27 02:30:37 DEBUG : file1: reading active writers 2026/02/27 02:30:37 DEBUG : Looking for writers 2026/02/27 02:30:37 DEBUG : dir: reading active writers 2026/02/27 02:30:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:38 DEBUG : dir: Looking for writers 2026/02/27 02:30:38 DEBUG : file1: reading active writers 2026/02/27 02:30:38 DEBUG : Looking for writers 2026/02/27 02:30:38 DEBUG : dir: reading active writers 2026/02/27 02:30:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:39 DEBUG : dir: Looking for writers 2026/02/27 02:30:39 DEBUG : file1: reading active writers 2026/02/27 02:30:39 DEBUG : Looking for writers 2026/02/27 02:30:39 DEBUG : dir: reading active writers 2026/02/27 02:30:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:40 DEBUG : dir: Looking for writers 2026/02/27 02:30:40 DEBUG : file1: reading active writers 2026/02/27 02:30:40 DEBUG : Looking for writers 2026/02/27 02:30:40 DEBUG : dir: reading active writers 2026/02/27 02:30:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:41 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:30:41 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:30:41 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/02/27 02:30:41 DEBUG : dir: Looking for writers 2026/02/27 02:30:41 DEBUG : file1: reading active writers 2026/02/27 02:30:41 DEBUG : Looking for writers 2026/02/27 02:30:41 DEBUG : dir: reading active writers 2026/02/27 02:30:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:42 DEBUG : dir: Looking for writers 2026/02/27 02:30:42 DEBUG : file1: reading active writers 2026/02/27 02:30:42 DEBUG : Looking for writers 2026/02/27 02:30:42 DEBUG : dir: reading active writers 2026/02/27 02:30:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:42 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:30:43 DEBUG : dir: Looking for writers 2026/02/27 02:30:43 DEBUG : file1: reading active writers 2026/02/27 02:30:43 DEBUG : Looking for writers 2026/02/27 02:30:43 DEBUG : dir: reading active writers 2026/02/27 02:30:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:44 DEBUG : dir: Looking for writers 2026/02/27 02:30:44 DEBUG : file1: reading active writers 2026/02/27 02:30:44 DEBUG : Looking for writers 2026/02/27 02:30:44 DEBUG : dir: reading active writers 2026/02/27 02:30:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:45 DEBUG : dir: Looking for writers 2026/02/27 02:30:45 DEBUG : file1: reading active writers 2026/02/27 02:30:45 DEBUG : Looking for writers 2026/02/27 02:30:45 DEBUG : dir: reading active writers 2026/02/27 02:30:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:45 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:30:45 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:30:45 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/02/27 02:30:46 DEBUG : dir: Looking for writers 2026/02/27 02:30:46 DEBUG : file1: reading active writers 2026/02/27 02:30:46 DEBUG : Looking for writers 2026/02/27 02:30:46 DEBUG : dir: reading active writers 2026/02/27 02:30:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:47 DEBUG : dir: Looking for writers 2026/02/27 02:30:47 DEBUG : file1: reading active writers 2026/02/27 02:30:47 DEBUG : Looking for writers 2026/02/27 02:30:47 DEBUG : dir: reading active writers 2026/02/27 02:30:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:48 DEBUG : dir: Looking for writers 2026/02/27 02:30:48 DEBUG : file1: reading active writers 2026/02/27 02:30:48 DEBUG : Looking for writers 2026/02/27 02:30:48 DEBUG : dir: reading active writers 2026/02/27 02:30:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:49 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:30:49 DEBUG : dir: Looking for writers 2026/02/27 02:30:49 DEBUG : file1: reading active writers 2026/02/27 02:30:49 DEBUG : Looking for writers 2026/02/27 02:30:49 DEBUG : dir: reading active writers 2026/02/27 02:30:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:50 DEBUG : dir: Looking for writers 2026/02/27 02:30:50 DEBUG : file1: reading active writers 2026/02/27 02:30:50 DEBUG : Looking for writers 2026/02/27 02:30:50 DEBUG : dir: reading active writers 2026/02/27 02:30:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:51 DEBUG : dir: Looking for writers 2026/02/27 02:30:51 DEBUG : file1: reading active writers 2026/02/27 02:30:51 DEBUG : Looking for writers 2026/02/27 02:30:51 DEBUG : dir: reading active writers 2026/02/27 02:30:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:52 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc00095cc30 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000672e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640482880} name:dir/file1 opens:0 downloaders: o:0xc00037d400 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006298536931719681 ext:143377997348 loc:0x45864c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/02/27 02:30:52 DEBUG : >WaitForWriters: 2026/02/27 02:30:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/02/27 02:30:52 DEBUG : dir/file1: newRWFileHandle: 2026/02/27 02:30:52 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/27 02:30:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/27 02:30:52 DEBUG : dir/file1(0xc00079cf00): _readAt: size=512, off=0 2026/02/27 02:30:52 DEBUG : dir/file1(0xc00079cf00): openPending: 2026/02/27 02:30:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/02/27 02:30:52 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/02/27 02:30:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/27 02:30:52 DEBUG : dir/file1(0xc00079cf00): >openPending: err= 2026/02/27 02:30:52 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/27 02:30:52 DEBUG : dir/file1(0xc00079cf00): >_readAt: n=14, err=EOF 2026/02/27 02:30:52 DEBUG : dir/file1(0xc00079cf00): close: 2026/02/27 02:30:52 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/27 02:30:52 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/27 02:30:52 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/02/27 02:30:52 DEBUG : dir/file1(0xc00079cf00): >close: err= 2026/02/27 02:30:53 ERROR : dir/file1: Couldn't move: Move rename leaf: failed to patch item "name" to newLeaf.posilod2: Error "This action is unauthorized." 2026/02/27 02:30:53 ERROR : newLeaf: File.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.posilod2: Error "This action is unauthorized." 2026/02/27 02:30:53 ERROR : dir/file1: Dir.Rename error: Move rename leaf: failed to patch item "name" to newLeaf.posilod2: 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.posilod2: Error "This action is unauthorized." Test: TestFileRename/writes,forceCache=true 2026/02/27 02:30:53 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:30:53 DEBUG : dir: Looking for writers 2026/02/27 02:30:53 DEBUG : file1: reading active writers 2026/02/27 02:30:53 DEBUG : Looking for writers 2026/02/27 02:30:53 DEBUG : dir: reading active writers 2026/02/27 02:30:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/27 02:30:53 DEBUG : dir: Looking for writers 2026/02/27 02:30:53 DEBUG : file1: reading active writers 2026/02/27 02:30:53 DEBUG : Looking for writers 2026/02/27 02:30:53 DEBUG : dir: reading active writers 2026/02/27 02:30:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/27 02:30:53 DEBUG : dir: Looking for writers 2026/02/27 02:30:53 DEBUG : file1: reading active writers 2026/02/27 02:30:53 DEBUG : Looking for writers 2026/02/27 02:30:53 DEBUG : dir: reading active writers 2026/02/27 02:30:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/27 02:30:53 DEBUG : dir: Looking for writers 2026/02/27 02:30:53 DEBUG : file1: reading active writers 2026/02/27 02:30:53 DEBUG : Looking for writers 2026/02/27 02:30:53 DEBUG : dir: reading active writers 2026/02/27 02:30:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/27 02:30:53 DEBUG : dir: Looking for writers 2026/02/27 02:30:53 DEBUG : file1: reading active writers 2026/02/27 02:30:53 DEBUG : Looking for writers 2026/02/27 02:30:53 DEBUG : dir: reading active writers 2026/02/27 02:30:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/27 02:30:53 DEBUG : dir: Looking for writers 2026/02/27 02:30:53 DEBUG : file1: reading active writers 2026/02/27 02:30:53 DEBUG : Looking for writers 2026/02/27 02:30:53 DEBUG : dir: reading active writers 2026/02/27 02:30:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/27 02:30:53 DEBUG : dir: Looking for writers 2026/02/27 02:30:53 DEBUG : file1: reading active writers 2026/02/27 02:30:53 DEBUG : Looking for writers 2026/02/27 02:30:53 DEBUG : dir: reading active writers 2026/02/27 02:30:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/02/27 02:30:54 DEBUG : dir: Looking for writers 2026/02/27 02:30:54 DEBUG : file1: reading active writers 2026/02/27 02:30:54 DEBUG : Looking for writers 2026/02/27 02:30:54 DEBUG : dir: reading active writers 2026/02/27 02:30:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:55 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:30:55 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:30:55 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/02/27 02:30:55 DEBUG : dir: Looking for writers 2026/02/27 02:30:55 DEBUG : file1: reading active writers 2026/02/27 02:30:55 DEBUG : Looking for writers 2026/02/27 02:30:55 DEBUG : dir: reading active writers 2026/02/27 02:30:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:56 DEBUG : dir: Looking for writers 2026/02/27 02:30:56 DEBUG : file1: reading active writers 2026/02/27 02:30:56 DEBUG : Looking for writers 2026/02/27 02:30:56 DEBUG : dir: reading active writers 2026/02/27 02:30:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:57 DEBUG : dir: Looking for writers 2026/02/27 02:30:57 DEBUG : file1: reading active writers 2026/02/27 02:30:57 DEBUG : Looking for writers 2026/02/27 02:30:57 DEBUG : dir: reading active writers 2026/02/27 02:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:58 DEBUG : dir: Looking for writers 2026/02/27 02:30:58 DEBUG : file1: reading active writers 2026/02/27 02:30:58 DEBUG : Looking for writers 2026/02/27 02:30:58 DEBUG : dir: reading active writers 2026/02/27 02:30:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:30:59 DEBUG : dir: Looking for writers 2026/02/27 02:30:59 DEBUG : file1: reading active writers 2026/02/27 02:30:59 DEBUG : Looking for writers 2026/02/27 02:30:59 DEBUG : dir: reading active writers 2026/02/27 02:30:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:00 DEBUG : dir: Looking for writers 2026/02/27 02:31:00 DEBUG : file1: reading active writers 2026/02/27 02:31:00 DEBUG : Looking for writers 2026/02/27 02:31:00 DEBUG : dir: reading active writers 2026/02/27 02:31:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:01 DEBUG : dir: Looking for writers 2026/02/27 02:31:01 DEBUG : file1: reading active writers 2026/02/27 02:31:01 DEBUG : Looking for writers 2026/02/27 02:31:01 DEBUG : dir: reading active writers 2026/02/27 02:31:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:01 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:31:02 DEBUG : dir: Looking for writers 2026/02/27 02:31:02 DEBUG : file1: reading active writers 2026/02/27 02:31:02 DEBUG : Looking for writers 2026/02/27 02:31:02 DEBUG : dir: reading active writers 2026/02/27 02:31:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:03 DEBUG : dir: Looking for writers 2026/02/27 02:31:03 DEBUG : file1: reading active writers 2026/02/27 02:31:03 DEBUG : Looking for writers 2026/02/27 02:31:03 DEBUG : dir: reading active writers 2026/02/27 02:31:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:04 DEBUG : dir: Looking for writers 2026/02/27 02:31:04 DEBUG : file1: reading active writers 2026/02/27 02:31:04 DEBUG : Looking for writers 2026/02/27 02:31:04 DEBUG : dir: reading active writers 2026/02/27 02:31:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:05 DEBUG : dir: Looking for writers 2026/02/27 02:31:05 DEBUG : file1: reading active writers 2026/02/27 02:31:05 DEBUG : Looking for writers 2026/02/27 02:31:05 DEBUG : dir: reading active writers 2026/02/27 02:31:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:05 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:31:05 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:31:05 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/02/27 02:31:06 DEBUG : dir: Looking for writers 2026/02/27 02:31:06 DEBUG : file1: reading active writers 2026/02/27 02:31:06 DEBUG : Looking for writers 2026/02/27 02:31:06 DEBUG : dir: reading active writers 2026/02/27 02:31:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:07 DEBUG : dir: Looking for writers 2026/02/27 02:31:07 DEBUG : file1: reading active writers 2026/02/27 02:31:07 DEBUG : Looking for writers 2026/02/27 02:31:07 DEBUG : dir: reading active writers 2026/02/27 02:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:08 DEBUG : dir: Looking for writers 2026/02/27 02:31:08 DEBUG : file1: reading active writers 2026/02/27 02:31:08 DEBUG : Looking for writers 2026/02/27 02:31:08 DEBUG : dir: reading active writers 2026/02/27 02:31:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:09 DEBUG : dir: Looking for writers 2026/02/27 02:31:09 DEBUG : file1: reading active writers 2026/02/27 02:31:09 DEBUG : Looking for writers 2026/02/27 02:31:09 DEBUG : dir: reading active writers 2026/02/27 02:31:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:10 DEBUG : dir: Looking for writers 2026/02/27 02:31:10 DEBUG : file1: reading active writers 2026/02/27 02:31:10 DEBUG : Looking for writers 2026/02/27 02:31:10 DEBUG : dir: reading active writers 2026/02/27 02:31:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:11 DEBUG : dir: Looking for writers 2026/02/27 02:31:11 DEBUG : file1: reading active writers 2026/02/27 02:31:11 DEBUG : Looking for writers 2026/02/27 02:31:11 DEBUG : dir: reading active writers 2026/02/27 02:31:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:12 DEBUG : dir: Looking for writers 2026/02/27 02:31:12 DEBUG : file1: reading active writers 2026/02/27 02:31:12 DEBUG : Looking for writers 2026/02/27 02:31:12 DEBUG : dir: reading active writers 2026/02/27 02:31:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:13 DEBUG : dir: Looking for writers 2026/02/27 02:31:13 DEBUG : file1: reading active writers 2026/02/27 02:31:13 DEBUG : Looking for writers 2026/02/27 02:31:13 DEBUG : dir: reading active writers 2026/02/27 02:31:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:14 DEBUG : dir: Looking for writers 2026/02/27 02:31:14 DEBUG : file1: reading active writers 2026/02/27 02:31:14 DEBUG : Looking for writers 2026/02/27 02:31:14 DEBUG : dir: reading active writers 2026/02/27 02:31:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:15 DEBUG : dir: Looking for writers 2026/02/27 02:31:15 DEBUG : file1: reading active writers 2026/02/27 02:31:15 DEBUG : Looking for writers 2026/02/27 02:31:15 DEBUG : dir: reading active writers 2026/02/27 02:31:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:16 DEBUG : dir: Looking for writers 2026/02/27 02:31:16 DEBUG : file1: reading active writers 2026/02/27 02:31:16 DEBUG : Looking for writers 2026/02/27 02:31:16 DEBUG : dir: reading active writers 2026/02/27 02:31:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:16 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/02/27 02:31:16 INFO : drime root 'rclone-test-covazod3qefe': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 14 (was 14) 2026/02/27 02:31:17 DEBUG : dir: Looking for writers 2026/02/27 02:31:17 DEBUG : file1: reading active writers 2026/02/27 02:31:17 DEBUG : Looking for writers 2026/02/27 02:31:17 DEBUG : dir: reading active writers 2026/02/27 02:31:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:18 DEBUG : dir: Looking for writers 2026/02/27 02:31:18 DEBUG : file1: reading active writers 2026/02/27 02:31:18 DEBUG : Looking for writers 2026/02/27 02:31:18 DEBUG : dir: reading active writers 2026/02/27 02:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:18 DEBUG : dir/file1: vfs cache: starting upload 2026/02/27 02:31:19 DEBUG : dir: Looking for writers 2026/02/27 02:31:19 DEBUG : file1: reading active writers 2026/02/27 02:31:19 DEBUG : Looking for writers 2026/02/27 02:31:19 DEBUG : dir: reading active writers 2026/02/27 02:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:20 DEBUG : dir: Looking for writers 2026/02/27 02:31:20 DEBUG : file1: reading active writers 2026/02/27 02:31:20 DEBUG : Looking for writers 2026/02/27 02:31:20 DEBUG : dir: reading active writers 2026/02/27 02:31:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:21 DEBUG : dir: Looking for writers 2026/02/27 02:31:21 DEBUG : file1: reading active writers 2026/02/27 02:31:21 DEBUG : Looking for writers 2026/02/27 02:31:21 DEBUG : dir: reading active writers 2026/02/27 02:31:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:22 DEBUG : dir/file1: Removing old object on successful upload 2026/02/27 02:31:22 ERROR : dir/file1: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." 2026/02/27 02:31:22 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/02/27 02:31:22 DEBUG : dir: Looking for writers 2026/02/27 02:31:22 DEBUG : file1: reading active writers 2026/02/27 02:31:22 DEBUG : Looking for writers 2026/02/27 02:31:22 DEBUG : dir: reading active writers 2026/02/27 02:31:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/27 02:31:23 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc00095cc30 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000672e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640482880} name:dir/file1 opens:0 downloaders: o:0xc00037d400 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14006298569145990400 ext:173380013337 loc:0x45864c0} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/02/27 02:31:23 DEBUG : >WaitForWriters: 2026/02/27 02:31:23 DEBUG : drime root 'rclone-test-covazod3qefe': vfs cache: cleaner exiting run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestFileRename (194.85s) --- FAIL: TestFileRename/off,forceCache=false (27.65s) --- FAIL: TestFileRename/minimal,forceCache=false (30.67s) --- FAIL: TestFileRename/minimal,forceCache=true (67.99s) --- FAIL: TestFileRename/writes,forceCache=true (68.54s) === RUN TestWriteFileHandleMethods run.go:185: Remote "drime root 'rclone-test-covazod3qefe'", Local "Local file system at /tmp/rclone2816649949", Modify Window "876000h0m0s" 2026/02/27 02:31:25 INFO : drime root 'rclone-test-covazod3qefe': poll-interval is not supported by this remote 2026/02/27 02:31:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/27 02:31:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/27 02:31:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:25 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/27 02:31:25 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/27 02:31:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:25 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/02/27 02:31:25 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/02/27 02:31:25 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/02/27 02:31:25 DEBUG : drime root 'rclone-test-covazod3qefe': File to upload is small (5 bytes), uploading instead of streaming 2026/02/27 02:31:29 DEBUG : file1: size = 5 OK 2026/02/27 02:31:29 NOTICE: drime root 'rclone-test-covazod3qefe': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/02/27 02:31:29 DEBUG : file1: Size of src and dst objects identical 2026/02/27 02:31:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/27 02:31:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/27 02:31:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/27 02:31:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/27 02:31:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/27 02:31:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/27 02:31:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/27 02:31:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/27 02:31:29 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/02/27 02:31:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/02/27 02:31:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/02/27 02:31:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/27 02:31:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/27 02:31:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:29 DEBUG : drime root 'rclone-test-covazod3qefe': File to upload is small (0 bytes), uploading instead of streaming 2026/02/27 02:31:32 DEBUG : file1: Removing old object on successful upload 2026/02/27 02:31:32 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/02/27 02:31:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/02/27 02:31:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/02/27 02:31:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:32 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/27 02:31:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/27 02:31:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/27 02:31:32 DEBUG : drime root 'rclone-test-covazod3qefe': File to upload is small (7 bytes), uploading instead of streaming 2026/02/27 02:31:36 DEBUG : file1: Removing old object on successful upload 2026/02/27 02:31:36 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/02/27 02:31:36 DEBUG : WaitForWriters: timeout=30s 2026/02/27 02:31:36 DEBUG : Looking for writers 2026/02/27 02:31:36 DEBUG : file1: reading active writers 2026/02/27 02:31:36 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 (19.70s) FAIL 2026/02/27 02:31:45 DEBUG : drime root 'rclone-test-covazod3qefe': Purge remote "./vfs.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestFileOpenWrite|TestWriteFileHandleMethods)$|^TestFileRename$/^(minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 3m46.589944646s (try 5/5): exit status 1: Failed [TestFileOpenWrite TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=true TestWriteFileHandleMethods]