"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$'" - Starting (try 5/5) 2025/09/22 01:39:19 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-veqovec0gubo" 2025/09/22 01:39:19 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/09/22 01:39:19 DEBUG : Starting OpenDrive session with ID: 1601835facc492cf7e81c2f631fdcf11a5e770bc1b70287f93237afb481be42b 2025/09/22 01:39:20 DEBUG : Creating backend with remote "/tmp/rclone2827585078" === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:39:20 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:39:20 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:39:21 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:39:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:39:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:39:23 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/22 01:39:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/22 01:39:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:39:23 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/09/22 01:39:23 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/09/22 01:39:23 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/09/22 01:39:23 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/09/22 01:39:23 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/09/22 01:39:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/09/22 01:39:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/09/22 01:39:23 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/09/22 01:39:24 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/09/22 01:39:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/09/22 01:39:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/09/22 01:39:24 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/09/22 01:39:24 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/09/22 01:39:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/09/22 01:39:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/09/22 01:39:24 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/09/22 01:39:25 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:39:25 DEBUG : dir: Looking for writers 2025/09/22 01:39:25 DEBUG : file1: reading active writers 2025/09/22 01:39:25 DEBUG : Looking for writers 2025/09/22 01:39:25 DEBUG : dir: reading active writers 2025/09/22 01:39:25 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (6.40s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:39:26 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:39:26 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:39:27 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:39:29 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:39:29 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:39:29 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/22 01:39:29 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/22 01:39:29 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:39:29 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/09/22 01:39:29 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/09/22 01:39:29 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/09/22 01:39:29 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/09/22 01:39:29 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/09/22 01:39:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/09/22 01:39:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/09/22 01:39:29 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/09/22 01:39:30 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/09/22 01:39:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/09/22 01:39:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/09/22 01:39:30 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/09/22 01:39:30 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/09/22 01:39:30 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/09/22 01:39:30 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/09/22 01:39:30 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/09/22 01:39:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/09/22 01:39:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/09/22 01:39:30 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/09/22 01:39:31 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/09/22 01:39:31 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/09/22 01:39:31 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/09/22 01:39:31 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/09/22 01:39:31 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/09/22 01:39:31 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/09/22 01:39:31 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/09/22 01:39:31 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/09/22 01:39:31 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/09/22 01:39:31 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/09/22 01:39:31 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/09/22 01:39:31 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/09/22 01:39:31 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:39:31 DEBUG : dir: Looking for writers 2025/09/22 01:39:31 DEBUG : file1: reading active writers 2025/09/22 01:39:31 DEBUG : Looking for writers 2025/09/22 01:39:31 DEBUG : dir: reading active writers 2025/09/22 01:39:31 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (6.27s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:39:32 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:39:32 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:39:34 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:39:35 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:39:35 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:39:35 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/22 01:39:35 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/22 01:39:35 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:39:35 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/09/22 01:39:35 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:39:35 DEBUG : dir: Looking for writers 2025/09/22 01:39:35 DEBUG : file1: reading active writers 2025/09/22 01:39:35 DEBUG : Looking for writers 2025/09/22 01:39:35 DEBUG : dir: reading active writers 2025/09/22 01:39:35 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty 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:327: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:327 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Not equal: expected: []string{} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=3) "dir" } Test: TestReadFileHandleFlush Messages: directories --- FAIL: TestReadFileHandleFlush (13.68s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:39:46 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:39:46 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:39:48 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:39:49 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:39:49 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:39:49 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/22 01:39:49 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/22 01:39:49 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:39:49 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/09/22 01:39:49 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/09/22 01:39:49 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/09/22 01:39:49 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:39:49 DEBUG : dir: Looking for writers 2025/09/22 01:39:49 DEBUG : file1: reading active writers 2025/09/22 01:39:49 DEBUG : Looking for writers 2025/09/22 01:39:49 DEBUG : dir: reading active writers 2025/09/22 01:39:49 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.70s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:39:51 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:39:51 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:39:51 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:51 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:39:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:39:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:51 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:39:52 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:39:53 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:39:54 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:39:54 DEBUG : dir/file1: newRWFileHandle: 2025/09/22 01:39:54 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/22 01:39:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/22 01:39:54 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): _readAt: size=1, off=0 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): openPending: 2025/09/22 01:39:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/09/22 01:39:54 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/22 01:39:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): >openPending: err= 2025/09/22 01:39:54 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/09/22 01:39:54 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:39:54 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:39:54 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): >_readAt: n=1, err= 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): _readAt: size=256, off=1 2025/09/22 01:39:54 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): >_readAt: n=15, err=EOF 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): _readAt: size=16, off=16 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): >_readAt: n=0, err=EOF 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): close: 2025/09/22 01:39:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): >close: err= 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): close: 2025/09/22 01:39:54 DEBUG : dir/file1(0xc000a12400): >close: err=file already closed 2025/09/22 01:39:54 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:39:54 DEBUG : dir: Looking for writers 2025/09/22 01:39:54 DEBUG : file1: reading active writers 2025/09/22 01:39:54 DEBUG : Looking for writers 2025/09/22 01:39:54 DEBUG : dir: reading active writers 2025/09/22 01:39:54 DEBUG : >WaitForWriters: 2025/09/22 01:39:54 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.39s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:39:55 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:39:55 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:39:55 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:55 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:39:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:39:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:39:55 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:39:57 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:39:58 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:39:58 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:39:58 DEBUG : dir/file1: newRWFileHandle: 2025/09/22 01:39:58 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/22 01:39:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/22 01:39:58 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): _readAt: size=1, off=0 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): openPending: 2025/09/22 01:39:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/09/22 01:39:58 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/22 01:39:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): >openPending: err= 2025/09/22 01:39:58 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/09/22 01:39:58 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:39:58 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:39:58 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): >_readAt: n=1, err= 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): _readAt: size=1, off=5 2025/09/22 01:39:58 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): >_readAt: n=1, err= 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): _readAt: size=1, off=3 2025/09/22 01:39:58 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): >_readAt: n=1, err= 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): _readAt: size=1, off=13 2025/09/22 01:39:58 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): >_readAt: n=1, err= 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): _readAt: size=16, off=100 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): >_readAt: n=0, err=EOF 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): close: 2025/09/22 01:39:58 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/09/22 01:39:58 DEBUG : dir/file1(0xc000a13680): >close: err= 2025/09/22 01:39:58 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:39:58 DEBUG : dir: Looking for writers 2025/09/22 01:39:58 DEBUG : file1: reading active writers 2025/09/22 01:39:58 DEBUG : Looking for writers 2025/09/22 01:39:58 DEBUG : dir: reading active writers 2025/09/22 01:39:58 DEBUG : >WaitForWriters: 2025/09/22 01:39:58 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.52s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:00 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:00 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:00 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:00 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:00 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:01 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:40:02 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:40:03 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:40:03 DEBUG : dir/file1: newRWFileHandle: 2025/09/22 01:40:03 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/22 01:40:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/22 01:40:03 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): _readAt: size=1, off=0 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): openPending: 2025/09/22 01:40:03 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/09/22 01:40:03 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/22 01:40:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >openPending: err= 2025/09/22 01:40:03 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/09/22 01:40:03 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:40:03 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:40:03 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >_readAt: n=1, err= 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): _readAt: size=1, off=5 2025/09/22 01:40:03 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >_readAt: n=1, err= 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): _readAt: size=1, off=1 2025/09/22 01:40:03 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >_readAt: n=1, err= 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): _readAt: size=6, off=10 2025/09/22 01:40:03 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >_readAt: n=6, err= 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): _readAt: size=256, off=10 2025/09/22 01:40:03 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >_readAt: n=6, err=EOF 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): _readAt: size=256, off=100 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >_readAt: n=0, err=EOF 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): close: 2025/09/22 01:40:03 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >close: err= 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): _readAt: size=256, off=100 2025/09/22 01:40:03 DEBUG : dir/file1(0xc000a8a4c0): >_readAt: n=0, err=file already closed 2025/09/22 01:40:03 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:03 DEBUG : dir: Looking for writers 2025/09/22 01:40:03 DEBUG : file1: reading active writers 2025/09/22 01:40:03 DEBUG : Looking for writers 2025/09/22 01:40:03 DEBUG : dir: reading active writers 2025/09/22 01:40:03 DEBUG : >WaitForWriters: 2025/09/22 01:40:03 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.42s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:04 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:04 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:04 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:04 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:04 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:05 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:40:07 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:40:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:40:07 DEBUG : dir/file1: newRWFileHandle: 2025/09/22 01:40:07 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/22 01:40:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/22 01:40:07 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): RWFileHandle.Flush 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): _readAt: size=256, off=0 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): openPending: 2025/09/22 01:40:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/09/22 01:40:07 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/22 01:40:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): >openPending: err= 2025/09/22 01:40:07 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/09/22 01:40:07 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:40:07 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:40:07 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): >_readAt: n=16, err=EOF 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): RWFileHandle.Flush 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): RWFileHandle.Flush 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): close: 2025/09/22 01:40:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/09/22 01:40:07 DEBUG : dir/file1(0xc000690880): >close: err= 2025/09/22 01:40:07 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:07 DEBUG : dir: Looking for writers 2025/09/22 01:40:07 DEBUG : file1: reading active writers 2025/09/22 01:40:07 DEBUG : Looking for writers 2025/09/22 01:40:07 DEBUG : dir: reading active writers 2025/09/22 01:40:07 DEBUG : >WaitForWriters: 2025/09/22 01:40:07 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.25s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:08 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:08 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:08 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:08 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:08 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:10 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:40:11 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:40:12 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/22 01:40:12 DEBUG : dir/file1: newRWFileHandle: 2025/09/22 01:40:12 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/22 01:40:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/22 01:40:12 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): _readAt: size=256, off=0 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): openPending: 2025/09/22 01:40:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/09/22 01:40:12 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/22 01:40:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): >openPending: err= 2025/09/22 01:40:12 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/09/22 01:40:12 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:40:12 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:40:12 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): >_readAt: n=16, err=EOF 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): RWFileHandle.Release 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): close: 2025/09/22 01:40:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): >close: err= 2025/09/22 01:40:12 DEBUG : dir/file1(0xc000992340): RWFileHandle.Release 2025/09/22 01:40:12 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:12 DEBUG : dir: Looking for writers 2025/09/22 01:40:12 DEBUG : file1: reading active writers 2025/09/22 01:40:12 DEBUG : Looking for writers 2025/09/22 01:40:12 DEBUG : dir: reading active writers 2025/09/22 01:40:12 DEBUG : >WaitForWriters: 2025/09/22 01:40:12 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.65s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:13 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:13 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:13 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:13 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:13 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:13 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:13 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:13 DEBUG : file1: newRWFileHandle: 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): openPending: 2025/09/22 01:40:13 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): >openPending: err= 2025/09/22 01:40:13 DEBUG : file1: >newRWFileHandle: err= 2025/09/22 01:40:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:13 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/09/22 01:40:13 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): _writeAt: size=5, off=0 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): >_writeAt: n=5, err= 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): _writeAt: size=7, off=5 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): >_writeAt: n=7, err= 2025/09/22 01:40:13 DEBUG : file1: vfs cache: truncate to size=11 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): close: 2025/09/22 01:40:13 DEBUG : file1: vfs cache: setting modification time to 2025-09-22 01:40:13.641201743 +0000 UTC m=+54.425756110 2025/09/22 01:40:13 INFO : file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): >close: err= 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): close: 2025/09/22 01:40:13 DEBUG : file1(0xc000690900): >close: err=file already closed 2025/09/22 01:40:13 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:13 DEBUG : Looking for writers 2025/09/22 01:40:13 DEBUG : file1: reading active writers 2025/09/22 01:40:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:13 DEBUG : Looking for writers 2025/09/22 01:40:13 DEBUG : file1: reading active writers 2025/09/22 01:40:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:13 DEBUG : Looking for writers 2025/09/22 01:40:13 DEBUG : file1: reading active writers 2025/09/22 01:40:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:13 DEBUG : Looking for writers 2025/09/22 01:40:13 DEBUG : file1: reading active writers 2025/09/22 01:40:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:13 DEBUG : file1: vfs cache: starting upload 2025/09/22 01:40:13 DEBUG : Looking for writers 2025/09/22 01:40:13 DEBUG : file1: reading active writers 2025/09/22 01:40:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:13 DEBUG : Looking for writers 2025/09/22 01:40:13 DEBUG : file1: reading active writers 2025/09/22 01:40:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:14 DEBUG : Looking for writers 2025/09/22 01:40:14 DEBUG : file1: reading active writers 2025/09/22 01:40:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:14 DEBUG : file1: Uploading chunk 0, size=11, remain=0 2025/09/22 01:40:14 DEBUG : Looking for writers 2025/09/22 01:40:14 DEBUG : file1: reading active writers 2025/09/22 01:40:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/22 01:40:15 DEBUG : file1: md5 = 5eb63bbbe01eeed093cb22bb8f5acdc3 OK 2025/09/22 01:40:15 INFO : file1: Copied (new) 2025/09/22 01:40:15 DEBUG : file1: vfs cache: fingerprint now "11,2025-09-22 01:40:13 +0000 UTC,5eb63bbbe01eeed093cb22bb8f5acdc3" 2025/09/22 01:40:15 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:15 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:15 INFO : file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:15 DEBUG : Looking for writers 2025/09/22 01:40:15 DEBUG : file1: reading active writers 2025/09/22 01:40:15 DEBUG : >WaitForWriters: 2025/09/22 01:40:16 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:16 DEBUG : Looking for writers 2025/09/22 01:40:16 DEBUG : file1: reading active writers 2025/09/22 01:40:16 DEBUG : >WaitForWriters: 2025/09/22 01:40:16 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (3.20s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:16 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:16 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:16 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:16 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:16 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:16 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:16 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:16 DEBUG : file1: newRWFileHandle: 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): openPending: 2025/09/22 01:40:16 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): >openPending: err= 2025/09/22 01:40:16 DEBUG : file1: >newRWFileHandle: err= 2025/09/22 01:40:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:16 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/09/22 01:40:16 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): _writeAt: size=7, off=0 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): >_writeAt: n=7, err= 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): _writeAt: size=6, off=5 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): >_writeAt: n=6, err= 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): close: 2025/09/22 01:40:16 DEBUG : file1: vfs cache: setting modification time to 2025-09-22 01:40:16.833200217 +0000 UTC m=+57.617754564 2025/09/22 01:40:16 INFO : file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): >close: err= 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): _writeAt: size=5, off=0 2025/09/22 01:40:16 DEBUG : file1(0xc00050f780): >_writeAt: n=0, err=file already closed 2025/09/22 01:40:16 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:16 DEBUG : Looking for writers 2025/09/22 01:40:16 DEBUG : file1: reading active writers 2025/09/22 01:40:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:16 DEBUG : Looking for writers 2025/09/22 01:40:16 DEBUG : file1: reading active writers 2025/09/22 01:40:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:16 DEBUG : Looking for writers 2025/09/22 01:40:16 DEBUG : file1: reading active writers 2025/09/22 01:40:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:16 DEBUG : Looking for writers 2025/09/22 01:40:16 DEBUG : file1: reading active writers 2025/09/22 01:40:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:16 DEBUG : file1: vfs cache: starting upload 2025/09/22 01:40:16 DEBUG : Looking for writers 2025/09/22 01:40:16 DEBUG : file1: reading active writers 2025/09/22 01:40:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:17 DEBUG : Looking for writers 2025/09/22 01:40:17 DEBUG : file1: reading active writers 2025/09/22 01:40:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:17 DEBUG : Looking for writers 2025/09/22 01:40:17 DEBUG : file1: reading active writers 2025/09/22 01:40:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:17 DEBUG : file1: Uploading chunk 0, size=11, remain=0 2025/09/22 01:40:18 DEBUG : Looking for writers 2025/09/22 01:40:18 DEBUG : file1: reading active writers 2025/09/22 01:40:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/22 01:40:18 DEBUG : file1: md5 = 5eb63bbbe01eeed093cb22bb8f5acdc3 OK 2025/09/22 01:40:18 INFO : file1: Copied (new) 2025/09/22 01:40:18 DEBUG : file1: vfs cache: fingerprint now "11,2025-09-22 01:40:16 +0000 UTC,5eb63bbbe01eeed093cb22bb8f5acdc3" 2025/09/22 01:40:18 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:18 INFO : file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:19 DEBUG : Looking for writers 2025/09/22 01:40:19 DEBUG : file1: reading active writers 2025/09/22 01:40:19 DEBUG : >WaitForWriters: 2025/09/22 01:40:19 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:19 DEBUG : Looking for writers 2025/09/22 01:40:19 DEBUG : file1: reading active writers 2025/09/22 01:40:19 DEBUG : >WaitForWriters: 2025/09/22 01:40:19 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting 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 --- PASS: TestRWFileHandleWriteAt (10.56s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:27 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:27 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:27 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:27 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:27 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:27 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:27 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:27 DEBUG : file1: newRWFileHandle: 2025/09/22 01:40:27 DEBUG : file1(0xc000a8ab80): openPending: 2025/09/22 01:40:27 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:27 DEBUG : file1(0xc000a8ab80): >openPending: err= 2025/09/22 01:40:27 DEBUG : file1: >newRWFileHandle: err= 2025/09/22 01:40:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:27 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/09/22 01:40:27 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/09/22 01:40:27 DEBUG : file1(0xc000a8ab80): close: 2025/09/22 01:40:27 DEBUG : file1: vfs cache: setting modification time to 2025-09-22 01:40:27.391502442 +0000 UTC m=+68.176056779 2025/09/22 01:40:27 INFO : file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:27 DEBUG : file1(0xc000a8ab80): >close: err= 2025/09/22 01:40:27 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/09/22 01:40:27 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/09/22 01:40:27 DEBUG : file2: newRWFileHandle: 2025/09/22 01:40:27 DEBUG : file2(0xc000a8b040): openPending: 2025/09/22 01:40:27 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:27 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/09/22 01:40:27 DEBUG : file2(0xc000a8b040): >openPending: err= 2025/09/22 01:40:27 DEBUG : file2: >newRWFileHandle: err= 2025/09/22 01:40:27 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/09/22 01:40:27 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/09/22 01:40:27 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/09/22 01:40:27 DEBUG : file2(0xc000a8b040): RWFileHandle.Flush 2025/09/22 01:40:27 DEBUG : file2(0xc000a8b040): RWFileHandle.Release 2025/09/22 01:40:27 DEBUG : file2(0xc000a8b040): close: 2025/09/22 01:40:27 DEBUG : file2: vfs cache: setting modification time to 2025-09-22 01:40:27.392802053 +0000 UTC m=+68.177356380 2025/09/22 01:40:27 INFO : file2: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:27 DEBUG : file2(0xc000a8b040): >close: err= 2025/09/22 01:40:27 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:27 DEBUG : Looking for writers 2025/09/22 01:40:27 DEBUG : file1: reading active writers 2025/09/22 01:40:27 DEBUG : file2: reading active writers 2025/09/22 01:40:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/09/22 01:40:27 DEBUG : Looking for writers 2025/09/22 01:40:27 DEBUG : file1: reading active writers 2025/09/22 01:40:27 DEBUG : file2: reading active writers 2025/09/22 01:40:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/09/22 01:40:27 DEBUG : Looking for writers 2025/09/22 01:40:27 DEBUG : file1: reading active writers 2025/09/22 01:40:27 DEBUG : file2: reading active writers 2025/09/22 01:40:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/09/22 01:40:27 DEBUG : Looking for writers 2025/09/22 01:40:27 DEBUG : file1: reading active writers 2025/09/22 01:40:27 DEBUG : file2: reading active writers 2025/09/22 01:40:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/09/22 01:40:27 DEBUG : file1: vfs cache: starting upload 2025/09/22 01:40:27 DEBUG : file2: vfs cache: starting upload 2025/09/22 01:40:27 DEBUG : Looking for writers 2025/09/22 01:40:27 DEBUG : file1: reading active writers 2025/09/22 01:40:27 DEBUG : file2: reading active writers 2025/09/22 01:40:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/09/22 01:40:27 DEBUG : Looking for writers 2025/09/22 01:40:27 DEBUG : file2: reading active writers 2025/09/22 01:40:27 DEBUG : file1: reading active writers 2025/09/22 01:40:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/09/22 01:40:28 DEBUG : Looking for writers 2025/09/22 01:40:28 DEBUG : file1: reading active writers 2025/09/22 01:40:28 DEBUG : file2: reading active writers 2025/09/22 01:40:28 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/09/22 01:40:28 DEBUG : Looking for writers 2025/09/22 01:40:28 DEBUG : file2: reading active writers 2025/09/22 01:40:28 DEBUG : file1: reading active writers 2025/09/22 01:40:28 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/09/22 01:40:29 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/09/22 01:40:29 INFO : file1: Copied (new) 2025/09/22 01:40:29 DEBUG : file1: vfs cache: fingerprint now "0,2025-09-22 01:40:27 +0000 UTC,d41d8cd98f00b204e9800998ecf8427e" 2025/09/22 01:40:29 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:29 INFO : file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:29 DEBUG : file2: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/09/22 01:40:29 INFO : file2: Copied (new) 2025/09/22 01:40:29 DEBUG : file2: vfs cache: fingerprint now "0,2025-09-22 01:40:27 +0000 UTC,d41d8cd98f00b204e9800998ecf8427e" 2025/09/22 01:40:29 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/09/22 01:40:29 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/09/22 01:40:29 INFO : file2: vfs cache: upload succeeded try #1 2025/09/22 01:40:29 DEBUG : Looking for writers 2025/09/22 01:40:29 DEBUG : file2: reading active writers 2025/09/22 01:40:29 DEBUG : file1: reading active writers 2025/09/22 01:40:29 DEBUG : >WaitForWriters: 2025/09/22 01:40:29 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:29 DEBUG : Looking for writers 2025/09/22 01:40:29 DEBUG : file1: reading active writers 2025/09/22 01:40:29 DEBUG : file2: reading active writers 2025/09/22 01:40:29 DEBUG : >WaitForWriters: 2025/09/22 01:40:29 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (3.34s) === RUN TestRWFileHandleFlushWrite run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:30 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:30 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:30 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:30 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:30 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:30 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:30 DEBUG : file1: newRWFileHandle: 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): openPending: 2025/09/22 01:40:30 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:30 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): >openPending: err= 2025/09/22 01:40:30 DEBUG : file1: >newRWFileHandle: err= 2025/09/22 01:40:30 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:30 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/09/22 01:40:30 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): _writeAt: size=5, off=0 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): >_writeAt: n=5, err= 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): RWFileHandle.Flush 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): RWFileHandle.Flush 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): close: 2025/09/22 01:40:30 DEBUG : file1: vfs cache: setting modification time to 2025-09-22 01:40:30.739654172 +0000 UTC m=+71.524208510 2025/09/22 01:40:30 INFO : file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:30 DEBUG : file1(0xc000a8a1c0): >close: err= 2025/09/22 01:40:30 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:30 DEBUG : Looking for writers 2025/09/22 01:40:30 DEBUG : file1: reading active writers 2025/09/22 01:40:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:30 DEBUG : Looking for writers 2025/09/22 01:40:30 DEBUG : file1: reading active writers 2025/09/22 01:40:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:30 DEBUG : Looking for writers 2025/09/22 01:40:30 DEBUG : file1: reading active writers 2025/09/22 01:40:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:30 DEBUG : Looking for writers 2025/09/22 01:40:30 DEBUG : file1: reading active writers 2025/09/22 01:40:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:30 DEBUG : file1: vfs cache: starting upload 2025/09/22 01:40:30 DEBUG : Looking for writers 2025/09/22 01:40:30 DEBUG : file1: reading active writers 2025/09/22 01:40:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:31 DEBUG : Looking for writers 2025/09/22 01:40:31 DEBUG : file1: reading active writers 2025/09/22 01:40:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:31 DEBUG : Looking for writers 2025/09/22 01:40:31 DEBUG : file1: reading active writers 2025/09/22 01:40:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:31 DEBUG : file1: Uploading chunk 0, size=5, remain=0 2025/09/22 01:40:32 DEBUG : Looking for writers 2025/09/22 01:40:32 DEBUG : file1: reading active writers 2025/09/22 01:40:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/22 01:40:32 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/09/22 01:40:32 INFO : file1: Copied (new) 2025/09/22 01:40:32 DEBUG : file1: vfs cache: fingerprint now "5,2025-09-22 01:40:30 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/09/22 01:40:32 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:32 INFO : file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:33 DEBUG : Looking for writers 2025/09/22 01:40:33 DEBUG : file1: reading active writers 2025/09/22 01:40:33 DEBUG : >WaitForWriters: 2025/09/22 01:40:33 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushWrite (3.02s) === RUN TestRWFileHandleReleaseWrite run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:33 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:33 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:33 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:33 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:33 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:33 DEBUG : file1: newRWFileHandle: 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): openPending: 2025/09/22 01:40:33 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): >openPending: err= 2025/09/22 01:40:33 DEBUG : file1: >newRWFileHandle: err= 2025/09/22 01:40:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:33 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/09/22 01:40:33 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): _writeAt: size=5, off=0 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): >_writeAt: n=5, err= 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): RWFileHandle.Release 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): close: 2025/09/22 01:40:33 DEBUG : file1: vfs cache: setting modification time to 2025-09-22 01:40:33.746918534 +0000 UTC m=+74.531472881 2025/09/22 01:40:33 INFO : file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): >close: err= 2025/09/22 01:40:33 DEBUG : file1(0xc000a8a400): RWFileHandle.Release 2025/09/22 01:40:33 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:33 DEBUG : Looking for writers 2025/09/22 01:40:33 DEBUG : file1: reading active writers 2025/09/22 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:33 DEBUG : Looking for writers 2025/09/22 01:40:33 DEBUG : file1: reading active writers 2025/09/22 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:33 DEBUG : Looking for writers 2025/09/22 01:40:33 DEBUG : file1: reading active writers 2025/09/22 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:33 DEBUG : Looking for writers 2025/09/22 01:40:33 DEBUG : file1: reading active writers 2025/09/22 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:33 DEBUG : file1: vfs cache: starting upload 2025/09/22 01:40:33 DEBUG : Looking for writers 2025/09/22 01:40:33 DEBUG : file1: reading active writers 2025/09/22 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:34 DEBUG : Looking for writers 2025/09/22 01:40:34 DEBUG : file1: reading active writers 2025/09/22 01:40:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:34 DEBUG : Looking for writers 2025/09/22 01:40:34 DEBUG : file1: reading active writers 2025/09/22 01:40:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:34 DEBUG : file1: Uploading chunk 0, size=5, remain=0 2025/09/22 01:40:35 DEBUG : Looking for writers 2025/09/22 01:40:35 DEBUG : file1: reading active writers 2025/09/22 01:40:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/22 01:40:35 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/09/22 01:40:35 INFO : file1: Copied (new) 2025/09/22 01:40:35 DEBUG : file1: vfs cache: fingerprint now "5,2025-09-22 01:40:33 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/09/22 01:40:35 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:35 INFO : file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:36 DEBUG : Looking for writers 2025/09/22 01:40:36 DEBUG : file1: reading active writers 2025/09/22 01:40:36 DEBUG : >WaitForWriters: 2025/09/22 01:40:36 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseWrite (2.98s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:36 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:36 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:36 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:36 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:36 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:37 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:40:39 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2025/09/22 01:40:39 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/09/22 01:40:39 DEBUG : dir/file1: newRWFileHandle: 2025/09/22 01:40:39 DEBUG : dir/file1(0xc00034f580): openPending: 2025/09/22 01:40:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/09/22 01:40:39 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/22 01:40:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:39 DEBUG : dir/file1(0xc00034f580): >openPending: err= 2025/09/22 01:40:39 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/09/22 01:40:39 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/22 01:40:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/22 01:40:39 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/22 01:40:39 DEBUG : dir/file1(0xc00034f580): _writeAt: size=5, off=0 2025/09/22 01:40:39 DEBUG : dir/file1(0xc00034f580): >_writeAt: n=5, err= 2025/09/22 01:40:39 DEBUG : dir/file1(0xc00034f580): close: 2025/09/22 01:40:39 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:39 DEBUG : dir/file1: vfs cache: setting modification time to 2025-09-22 01:40:39.648909667 +0000 UTC m=+80.433463964 2025/09/22 01:40:39 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:39 DEBUG : dir/file1(0xc00034f580): >close: err= 2025/09/22 01:40:39 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:39 DEBUG : dir: Looking for writers 2025/09/22 01:40:39 DEBUG : file1: reading active writers 2025/09/22 01:40:39 DEBUG : Looking for writers 2025/09/22 01:40:39 DEBUG : dir: reading active writers 2025/09/22 01:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:39 DEBUG : dir: Looking for writers 2025/09/22 01:40:39 DEBUG : file1: reading active writers 2025/09/22 01:40:39 DEBUG : Looking for writers 2025/09/22 01:40:39 DEBUG : dir: reading active writers 2025/09/22 01:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:39 DEBUG : dir: Looking for writers 2025/09/22 01:40:39 DEBUG : file1: reading active writers 2025/09/22 01:40:39 DEBUG : Looking for writers 2025/09/22 01:40:39 DEBUG : dir: reading active writers 2025/09/22 01:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:39 DEBUG : dir: Looking for writers 2025/09/22 01:40:39 DEBUG : file1: reading active writers 2025/09/22 01:40:39 DEBUG : Looking for writers 2025/09/22 01:40:39 DEBUG : dir: reading active writers 2025/09/22 01:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:39 DEBUG : dir/file1: vfs cache: starting upload 2025/09/22 01:40:39 DEBUG : dir: Looking for writers 2025/09/22 01:40:39 DEBUG : file1: reading active writers 2025/09/22 01:40:39 DEBUG : Looking for writers 2025/09/22 01:40:39 DEBUG : dir: reading active writers 2025/09/22 01:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:39 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/09/22 01:40:39 DEBUG : dir: Looking for writers 2025/09/22 01:40:39 DEBUG : file1: reading active writers 2025/09/22 01:40:39 DEBUG : Looking for writers 2025/09/22 01:40:39 DEBUG : dir: reading active writers 2025/09/22 01:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:40 DEBUG : dir: Looking for writers 2025/09/22 01:40:40 DEBUG : file1: reading active writers 2025/09/22 01:40:40 DEBUG : Looking for writers 2025/09/22 01:40:40 DEBUG : dir: reading active writers 2025/09/22 01:40:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:40 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/09/22 01:40:40 INFO : dir/file1: Copied (replaced existing) 2025/09/22 01:40:40 DEBUG : dir/file1: vfs cache: fingerprint now "5,2025-09-22 01:40:39 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/09/22 01:40:40 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:40 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:40 DEBUG : dir: Looking for writers 2025/09/22 01:40:40 DEBUG : file1: reading active writers 2025/09/22 01:40:40 DEBUG : Looking for writers 2025/09/22 01:40:40 DEBUG : dir: reading active writers 2025/09/22 01:40:40 DEBUG : >WaitForWriters: 2025/09/22 01:40:40 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (5.46s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:42 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:42 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:42 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:42 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:42 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:43 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/09/22 01:40:44 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:44 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:44 DEBUG : dir/file1: newRWFileHandle: 2025/09/22 01:40:44 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/22 01:40:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:44 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/22 01:40:44 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): _writeAt: size=5, off=0 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): openPending: 2025/09/22 01:40:44 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/09/22 01:40:44 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/22 01:40:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): >openPending: err= 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): >_writeAt: n=5, err= 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): _writeAt: size=15, off=5 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): >_writeAt: n=15, err= 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): close: 2025/09/22 01:40:44 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/09/22 01:40:44 DEBUG : dir/file1: vfs cache: setting modification time to 2025-09-22 01:40:44.817913843 +0000 UTC m=+85.602468181 2025/09/22 01:40:44 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:44 DEBUG : dir/file1(0xc000a8a140): >close: err= 2025/09/22 01:40:44 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:44 DEBUG : dir: Looking for writers 2025/09/22 01:40:44 DEBUG : file1: reading active writers 2025/09/22 01:40:44 DEBUG : Looking for writers 2025/09/22 01:40:44 DEBUG : dir: reading active writers 2025/09/22 01:40:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:44 DEBUG : dir: Looking for writers 2025/09/22 01:40:44 DEBUG : file1: reading active writers 2025/09/22 01:40:44 DEBUG : Looking for writers 2025/09/22 01:40:44 DEBUG : dir: reading active writers 2025/09/22 01:40:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:44 DEBUG : dir: Looking for writers 2025/09/22 01:40:44 DEBUG : file1: reading active writers 2025/09/22 01:40:44 DEBUG : Looking for writers 2025/09/22 01:40:44 DEBUG : dir: reading active writers 2025/09/22 01:40:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:44 DEBUG : dir: Looking for writers 2025/09/22 01:40:44 DEBUG : file1: reading active writers 2025/09/22 01:40:44 DEBUG : Looking for writers 2025/09/22 01:40:44 DEBUG : dir: reading active writers 2025/09/22 01:40:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:44 DEBUG : dir/file1: vfs cache: starting upload 2025/09/22 01:40:44 DEBUG : dir: Looking for writers 2025/09/22 01:40:44 DEBUG : file1: reading active writers 2025/09/22 01:40:44 DEBUG : Looking for writers 2025/09/22 01:40:44 DEBUG : dir: reading active writers 2025/09/22 01:40:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:45 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2025/09/22 01:40:45 DEBUG : dir: Looking for writers 2025/09/22 01:40:45 DEBUG : file1: reading active writers 2025/09/22 01:40:45 DEBUG : Looking for writers 2025/09/22 01:40:45 DEBUG : dir: reading active writers 2025/09/22 01:40:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:45 DEBUG : dir: Looking for writers 2025/09/22 01:40:45 DEBUG : file1: reading active writers 2025/09/22 01:40:45 DEBUG : Looking for writers 2025/09/22 01:40:45 DEBUG : dir: reading active writers 2025/09/22 01:40:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:46 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2025/09/22 01:40:46 INFO : dir/file1: Copied (replaced existing) 2025/09/22 01:40:46 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-09-22 01:40:44 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2025/09/22 01:40:46 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:46 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:46 DEBUG : dir: Looking for writers 2025/09/22 01:40:46 DEBUG : file1: reading active writers 2025/09/22 01:40:46 DEBUG : Looking for writers 2025/09/22 01:40:46 DEBUG : dir: reading active writers 2025/09/22 01:40:46 DEBUG : >WaitForWriters: 2025/09/22 01:40:46 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (5.14s) === RUN TestRWFileHandleSizeCreateNew run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:47 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:47 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:47 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:47 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:47 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:47 DEBUG : file1: newRWFileHandle: 2025/09/22 01:40:47 DEBUG : file1(0xc000a8b880): openPending: 2025/09/22 01:40:47 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:47 DEBUG : file1(0xc000a8b880): >openPending: err= 2025/09/22 01:40:47 DEBUG : file1: >newRWFileHandle: err= 2025/09/22 01:40:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:47 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/09/22 01:40:47 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/09/22 01:40:47 DEBUG : file1(0xc000a8b880): _writeAt: size=5, off=0 2025/09/22 01:40:47 DEBUG : file1(0xc000a8b880): >_writeAt: n=5, err= 2025/09/22 01:40:47 DEBUG : file1(0xc000a8b880): close: 2025/09/22 01:40:47 DEBUG : file1: vfs cache: setting modification time to 2025-09-22 01:40:47.327466037 +0000 UTC m=+88.112020334 2025/09/22 01:40:47 INFO : file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:47 DEBUG : file1(0xc000a8b880): >close: err= 2025/09/22 01:40:47 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:47 DEBUG : Looking for writers 2025/09/22 01:40:47 DEBUG : file1: reading active writers 2025/09/22 01:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:47 DEBUG : Looking for writers 2025/09/22 01:40:47 DEBUG : file1: reading active writers 2025/09/22 01:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:47 DEBUG : Looking for writers 2025/09/22 01:40:47 DEBUG : file1: reading active writers 2025/09/22 01:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:47 DEBUG : Looking for writers 2025/09/22 01:40:47 DEBUG : file1: reading active writers 2025/09/22 01:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:47 DEBUG : file1: vfs cache: starting upload 2025/09/22 01:40:47 DEBUG : Looking for writers 2025/09/22 01:40:47 DEBUG : file1: reading active writers 2025/09/22 01:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:47 DEBUG : Looking for writers 2025/09/22 01:40:47 DEBUG : file1: reading active writers 2025/09/22 01:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:47 DEBUG : Looking for writers 2025/09/22 01:40:47 DEBUG : file1: reading active writers 2025/09/22 01:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:48 DEBUG : file1: Uploading chunk 0, size=5, remain=0 2025/09/22 01:40:48 DEBUG : Looking for writers 2025/09/22 01:40:48 DEBUG : file1: reading active writers 2025/09/22 01:40:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/22 01:40:49 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/09/22 01:40:49 INFO : file1: Copied (new) 2025/09/22 01:40:49 DEBUG : file1: vfs cache: fingerprint now "5,2025-09-22 01:40:47 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/09/22 01:40:49 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:49 INFO : file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:49 DEBUG : Looking for writers 2025/09/22 01:40:49 DEBUG : file1: reading active writers 2025/09/22 01:40:49 DEBUG : >WaitForWriters: 2025/09/22 01:40:49 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateNew (3.00s) === RUN TestRWFileHandleOpenTests === RUN TestRWFileHandleOpenTests/writes run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:50 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) === RUN TestRWFileHandleOpenTests/writes/os.O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12700): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12700): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12700): _writeAt: size=5, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12700): >_writeAt: n=5, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12700): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.332672957 +0000 UTC m=+91.117227294 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12700): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): _readAt: size=2, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): >_readAt: n=2, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): _writeAt: size=3, off=2 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): >_writeAt: n=0, err=Bad file descriptor 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.332672957 +0000 UTC m=+91.117227294 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12bc0): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a13080): _readAt: size=512, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a13080): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a13080): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a13080): >_readAt: n=5, err=EOF 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a13080): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.332672957 +0000 UTC m=+91.117227294 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a13080): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: Remove: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0004c90a0 item 1 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_WRONLY 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c819c0): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c819c0): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c819c0): _writeAt: size=5, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c819c0): >_writeAt: n=5, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c819c0): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.349439115 +0000 UTC m=+91.133993422 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c819c0): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): _readAt: size=2, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): >_readAt: n=0, err=Bad file descriptor 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): _writeAt: size=3, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000e10230 item 2 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): >_writeAt: n=3, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.351144408 +0000 UTC m=+91.135698756 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000c81e80): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000e1e400): _readAt: size=512, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000e1e400): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000e1e400): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000e1e400): >_readAt: n=5, err=EOF 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000e1e400): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.351144408 +0000 UTC m=+91.135698756 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000e1e400): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: Remove: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000e103f0 item 2 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_RDWR 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file(0xc00116bb40): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc00116bb40): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc00116bb40): _writeAt: size=5, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc00116bb40): >_writeAt: n=5, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc00116bb40): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.372876374 +0000 UTC m=+91.157430722 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc00116bb40): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDWR 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): _readAt: size=2, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): >_readAt: n=2, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): _writeAt: size=3, off=2 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc00132aaf0 item 3 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): >_writeAt: n=3, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.374117125 +0000 UTC m=+91.158671462 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332040): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332540): _readAt: size=512, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332540): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332540): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332540): >_readAt: n=5, err=EOF 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332540): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.374117125 +0000 UTC m=+91.158671462 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc001332540): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: Remove: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc00132acb0 item 3 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Remove: err= 2025/09/22 01:40:50 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:50 DEBUG : Looking for writers 2025/09/22 01:40:50 DEBUG : >WaitForWriters: 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting === RUN TestRWFileHandleOpenTests/full run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:50 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" === RUN TestRWFileHandleOpenTests/full/os.O_RDONLY 2025/09/22 01:40:50 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8a840): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8a840): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8a840): _writeAt: size=5, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8a840): >_writeAt: n=5, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8a840): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.923682629 +0000 UTC m=+91.708236957 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8a840): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): _readAt: size=2, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): >_readAt: n=2, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): _writeAt: size=3, off=2 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): >_writeAt: n=0, err=Bad file descriptor 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.923682629 +0000 UTC m=+91.708236957 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8acc0): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8b380): _readAt: size=512, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8b380): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8b380): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8b380): >_readAt: n=5, err=EOF 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8b380): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.923682629 +0000 UTC m=+91.708236957 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a8b380): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: Remove: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000903500 item 1 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_WRONLY 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000992940): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000992940): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000992940): _writeAt: size=5, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000992940): >_writeAt: n=5, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000992940): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.936004618 +0000 UTC m=+91.720558924 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000992940): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): _readAt: size=2, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): >_readAt: n=0, err=Bad file descriptor 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): _writeAt: size=3, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000a60e70 item 2 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): >_writeAt: n=3, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.936791386 +0000 UTC m=+91.721345693 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000993040): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc0009936c0): _readAt: size=512, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc0009936c0): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc0009936c0): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc0009936c0): >_readAt: n=5, err=EOF 2025/09/22 01:40:50 DEBUG : open-test-file(0xc0009936c0): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.936791386 +0000 UTC m=+91.721345693 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc0009936c0): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: Remove: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000a61030 item 2 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_RDWR 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a128c0): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a128c0): >openPending: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a128c0): _writeAt: size=5, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a128c0): >_writeAt: n=5, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a128c0): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.948221418 +0000 UTC m=+91.732775726 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a128c0): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDWR 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): _readAt: size=2, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): >_readAt: n=2, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): _writeAt: size=3, off=2 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc00098c460 item 3 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): >_writeAt: n=3, err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.948901587 +0000 UTC m=+91.733455894 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a12dc0): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:40:50 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/09/22 01:40:50 DEBUG : open-test-file: newRWFileHandle: 2025/09/22 01:40:50 DEBUG : open-test-file: >newRWFileHandle: err= 2025/09/22 01:40:50 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a132c0): _readAt: size=512, off=0 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a132c0): openPending: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a132c0): >openPending: err= 2025/09/22 01:40:50 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a132c0): >_readAt: n=5, err=EOF 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a132c0): close: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: setting modification time to 2025-09-22 01:40:50.948901587 +0000 UTC m=+91.733455894 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:50 DEBUG : open-test-file(0xc000a132c0): >close: err= 2025/09/22 01:40:50 DEBUG : open-test-file: Remove: 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc00098c620 item 3 2025/09/22 01:40:50 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/09/22 01:40:50 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/09/22 01:40:50 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/09/22 01:40:50 DEBUG : open-test-file: >Remove: err= 2025/09/22 01:40:50 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:50 DEBUG : Looking for writers 2025/09/22 01:40:50 DEBUG : >WaitForWriters: 2025/09/22 01:40:50 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleOpenTests (1.16s) --- PASS: TestRWFileHandleOpenTests/writes (0.60s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDONLY (0.18s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_WRONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDWR (0.00s) --- PASS: TestRWFileHandleOpenTests/full (0.56s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDONLY (0.17s) --- PASS: TestRWFileHandleOpenTests/full/os.O_WRONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDWR (0.00s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:51 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:51 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:51 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:51 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:51 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:51 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:51 DEBUG : file1: newRWFileHandle: 2025/09/22 01:40:51 DEBUG : file1(0xc000a8a940): openPending: 2025/09/22 01:40:51 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:51 DEBUG : file1(0xc000a8a940): >openPending: err= 2025/09/22 01:40:51 DEBUG : file1: >newRWFileHandle: err= 2025/09/22 01:40:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:51 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/09/22 01:40:51 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/09/22 01:40:52 DEBUG : time_test: Uploading chunk 0, size=5, remain=0 2025/09/22 01:40:53 DEBUG : Can set mod time: true 2025/09/22 01:40:53 DEBUG : file1(0xc000a8a940): _writeAt: size=2, off=0 2025/09/22 01:40:53 DEBUG : file1(0xc000a8a940): >_writeAt: n=2, err= 2025/09/22 01:40:53 DEBUG : file1: vfs cache: setting modification time to 2012-11-18 17:32:31 +0000 UTC 2025/09/22 01:40:53 DEBUG : file1(0xc000a8a940): RWFileHandle.Flush 2025/09/22 01:40:53 DEBUG : file1(0xc000a8a940): RWFileHandle.Release 2025/09/22 01:40:53 DEBUG : file1(0xc000a8a940): close: 2025/09/22 01:40:53 DEBUG : file1: vfs cache: setting modification time to 2012-11-18 17:32:31 +0000 UTC 2025/09/22 01:40:53 INFO : file1: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:53 DEBUG : file1(0xc000a8a940): >close: err= 2025/09/22 01:40:53 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:53 DEBUG : Looking for writers 2025/09/22 01:40:53 DEBUG : file1: reading active writers 2025/09/22 01:40:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:53 DEBUG : Looking for writers 2025/09/22 01:40:53 DEBUG : file1: reading active writers 2025/09/22 01:40:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:53 DEBUG : Looking for writers 2025/09/22 01:40:53 DEBUG : file1: reading active writers 2025/09/22 01:40:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:54 DEBUG : Looking for writers 2025/09/22 01:40:54 DEBUG : file1: reading active writers 2025/09/22 01:40:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:54 DEBUG : file1: vfs cache: starting upload 2025/09/22 01:40:54 DEBUG : Looking for writers 2025/09/22 01:40:54 DEBUG : file1: reading active writers 2025/09/22 01:40:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:54 DEBUG : Looking for writers 2025/09/22 01:40:54 DEBUG : file1: reading active writers 2025/09/22 01:40:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:54 DEBUG : Looking for writers 2025/09/22 01:40:54 DEBUG : file1: reading active writers 2025/09/22 01:40:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:54 DEBUG : file1: Uploading chunk 0, size=2, remain=0 2025/09/22 01:40:55 DEBUG : Looking for writers 2025/09/22 01:40:55 DEBUG : file1: reading active writers 2025/09/22 01:40:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/22 01:40:55 DEBUG : file1: md5 = 49f68a5c8493ec2c0bf489821c21fc3b OK 2025/09/22 01:40:55 INFO : file1: Copied (new) 2025/09/22 01:40:55 DEBUG : file1: vfs cache: fingerprint now "2,2012-11-18 17:32:31 +0000 UTC,49f68a5c8493ec2c0bf489821c21fc3b" 2025/09/22 01:40:55 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/09/22 01:40:55 DEBUG : file1: Not setting pending mod time 2012-11-18 17:32:31 +0000 UTC as it is already set 2025/09/22 01:40:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:40:55 INFO : file1: vfs cache: upload succeeded try #1 2025/09/22 01:40:56 DEBUG : Looking for writers 2025/09/22 01:40:56 DEBUG : file1: reading active writers 2025/09/22 01:40:56 DEBUG : >WaitForWriters: 2025/09/22 01:40:56 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:56 DEBUG : Looking for writers 2025/09/22 01:40:56 DEBUG : file1: reading active writers 2025/09/22 01:40:56 DEBUG : >WaitForWriters: 2025/09/22 01:40:56 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWFileModTimeWithOpenWriters (5.63s) === RUN TestRWCacheRename run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:56 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:56 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:56 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:56 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:56 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:40:56 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:40:57 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:40:57 DEBUG : rename_me: newRWFileHandle: 2025/09/22 01:40:57 DEBUG : rename_me(0xc000a8a7c0): openPending: 2025/09/22 01:40:57 DEBUG : rename_me: vfs cache: truncate to size=0 (not needed as size correct) 2025/09/22 01:40:57 DEBUG : Added virtual directory entry vAddFile: "rename_me" 2025/09/22 01:40:57 DEBUG : rename_me(0xc000a8a7c0): >openPending: err= 2025/09/22 01:40:57 DEBUG : rename_me: >newRWFileHandle: err= 2025/09/22 01:40:57 DEBUG : Added virtual directory entry vAddFile: "rename_me" 2025/09/22 01:40:57 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2025/09/22 01:40:57 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2025/09/22 01:40:57 DEBUG : rename_me(0xc000a8a7c0): _writeAt: size=5, off=0 2025/09/22 01:40:57 DEBUG : rename_me(0xc000a8a7c0): >_writeAt: n=5, err= 2025/09/22 01:40:57 DEBUG : rename_me(0xc000a8a7c0): close: 2025/09/22 01:40:57 DEBUG : rename_me: vfs cache: setting modification time to 2025-09-22 01:40:57.123469386 +0000 UTC m=+97.908023683 2025/09/22 01:40:57 INFO : rename_me: vfs cache: queuing for upload in 100ms 2025/09/22 01:40:57 DEBUG : rename_me(0xc000a8a7c0): >close: err= 2025/09/22 01:40:57 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2025/09/22 01:40:57 DEBUG : i_was_renamed: Updating file with 0xc0007d4000 2025/09/22 01:40:57 DEBUG : Added virtual directory entry vDel: "rename_me" 2025/09/22 01:40:57 DEBUG : Added virtual directory entry vAddFile: "i_was_renamed" 2025/09/22 01:40:57 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:40:57 DEBUG : Looking for writers 2025/09/22 01:40:57 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/22 01:40:57 DEBUG : Looking for writers 2025/09/22 01:40:57 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/22 01:40:57 DEBUG : Looking for writers 2025/09/22 01:40:57 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/22 01:40:57 DEBUG : Looking for writers 2025/09/22 01:40:57 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/22 01:40:57 DEBUG : i_was_renamed: vfs cache: starting upload 2025/09/22 01:40:57 DEBUG : Looking for writers 2025/09/22 01:40:57 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/22 01:40:57 DEBUG : Looking for writers 2025/09/22 01:40:57 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/22 01:40:57 DEBUG : Looking for writers 2025/09/22 01:40:57 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/22 01:40:58 DEBUG : i_was_renamed: Uploading chunk 0, size=5, remain=0 2025/09/22 01:40:58 DEBUG : Looking for writers 2025/09/22 01:40:58 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/22 01:40:58 DEBUG : i_was_renamed: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/09/22 01:40:58 INFO : i_was_renamed: Copied (new) 2025/09/22 01:40:58 DEBUG : i_was_renamed: vfs cache: fingerprint now "5,2025-09-22 01:40:57 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/09/22 01:40:58 DEBUG : i_was_renamed: vfs cache: writeback object to VFS layer 2025/09/22 01:40:58 DEBUG : Added virtual directory entry vAddFile: "i_was_renamed" 2025/09/22 01:40:58 INFO : i_was_renamed: vfs cache: upload succeeded try #1 2025/09/22 01:40:59 DEBUG : Looking for writers 2025/09/22 01:40:59 DEBUG : i_was_renamed: reading active writers 2025/09/22 01:40:59 DEBUG : >WaitForWriters: 2025/09/22 01:40:59 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting --- PASS: TestRWCacheRename (2.99s) === RUN TestRWCacheUpdate run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:40:59 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:40:59 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/22 01:40:59 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:59 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/22 01:40:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-veqovec0gubo" 2025/09/22 01:40:59 INFO : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/22 01:41:00 DEBUG : forgetting directory cache 2025/09/22 01:41:00 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate(0xc00012f900): _readAt: size=512, off=0 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate(0xc00012f900): openPending: 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-09-22 00:41:59 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" against cached fingerprint "" 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/09/22 01:41:02 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate(0xc00012f900): >openPending: err= 2025/09/22 01:41:02 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate(0xc00012f900): >_readAt: n=20, err=EOF 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate(0xc00012f900): close: 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:41:59 +0000 UTC 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate(0xc00012f900): >close: err= 2025/09/22 01:41:02 DEBUG : Re-reading directory (198.4707ms old) 2025/09/22 01:41:02 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:02 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:02 DEBUG : forgetting directory cache 2025/09/22 01:41:03 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate(0xc0006905c0): _readAt: size=512, off=0 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate(0xc0006905c0): openPending: 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-09-22 00:42:59 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" against cached fingerprint "20,2025-09-22 00:41:59 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-09-22 00:42:59 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" != cached fingerprint "20,2025-09-22 00:41:59 +0000 UTC,8558f20bbf1a5777c862752b37ad49be") 2025/09/22 01:41:04 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/09/22 01:41:04 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate(0xc0006905c0): >openPending: err= 2025/09/22 01:41:04 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:04 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:05 DEBUG : TestRWCacheUpdate(0xc0006905c0): >_readAt: n=20, err=EOF 2025/09/22 01:41:05 DEBUG : TestRWCacheUpdate(0xc0006905c0): close: 2025/09/22 01:41:05 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:42:59 +0000 UTC 2025/09/22 01:41:05 DEBUG : TestRWCacheUpdate(0xc0006905c0): >close: err= 2025/09/22 01:41:05 DEBUG : Re-reading directory (200.03614ms old) 2025/09/22 01:41:05 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:05 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:05 DEBUG : forgetting directory cache 2025/09/22 01:41:05 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate(0xc000691940): _readAt: size=512, off=0 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate(0xc000691940): openPending: 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-09-22 00:43:59 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" against cached fingerprint "20,2025-09-22 00:42:59 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-09-22 00:43:59 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" != cached fingerprint "20,2025-09-22 00:42:59 +0000 UTC,944a242d910e2bbacae0d0db8c64490a") 2025/09/22 01:41:07 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/09/22 01:41:07 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate(0xc000691940): >openPending: err= 2025/09/22 01:41:07 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate(0xc000691940): >_readAt: n=20, err=EOF 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate(0xc000691940): close: 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:43:59 +0000 UTC 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate(0xc000691940): >close: err= 2025/09/22 01:41:07 DEBUG : Re-reading directory (190.270677ms old) 2025/09/22 01:41:07 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:07 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:08 DEBUG : forgetting directory cache 2025/09/22 01:41:08 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate(0xc000a8a4c0): _readAt: size=512, off=0 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate(0xc000a8a4c0): openPending: 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-09-22 00:44:59 +0000 UTC,a8c7956852282e88c22a986150cb5a68" against cached fingerprint "20,2025-09-22 00:43:59 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-09-22 00:44:59 +0000 UTC,a8c7956852282e88c22a986150cb5a68" != cached fingerprint "20,2025-09-22 00:43:59 +0000 UTC,4e063366550d230fc1fb85c19dbb494d") 2025/09/22 01:41:09 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/09/22 01:41:09 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate(0xc000a8a4c0): >openPending: err= 2025/09/22 01:41:09 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate(0xc000a8a4c0): >_readAt: n=20, err=EOF 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate(0xc000a8a4c0): close: 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:44:59 +0000 UTC 2025/09/22 01:41:09 DEBUG : TestRWCacheUpdate(0xc000a8a4c0): >close: err= 2025/09/22 01:41:09 DEBUG : Re-reading directory (192.248241ms old) 2025/09/22 01:41:10 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:10 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:10 DEBUG : forgetting directory cache 2025/09/22 01:41:10 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate(0xc000a8b0c0): _readAt: size=512, off=0 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate(0xc000a8b0c0): openPending: 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-09-22 00:45:59 +0000 UTC,25074c7237d5f7774d304950950b2d66" against cached fingerprint "20,2025-09-22 00:44:59 +0000 UTC,a8c7956852282e88c22a986150cb5a68" 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-09-22 00:45:59 +0000 UTC,25074c7237d5f7774d304950950b2d66" != cached fingerprint "20,2025-09-22 00:44:59 +0000 UTC,a8c7956852282e88c22a986150cb5a68") 2025/09/22 01:41:12 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/09/22 01:41:12 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate(0xc000a8b0c0): >openPending: err= 2025/09/22 01:41:12 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate(0xc000a8b0c0): >_readAt: n=20, err=EOF 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate(0xc000a8b0c0): close: 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:45:59 +0000 UTC 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate(0xc000a8b0c0): >close: err= 2025/09/22 01:41:12 DEBUG : Re-reading directory (176.946996ms old) 2025/09/22 01:41:12 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:12 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:12 DEBUG : forgetting directory cache 2025/09/22 01:41:13 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate(0xc000a8a5c0): _readAt: size=512, off=0 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate(0xc000a8a5c0): openPending: 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-09-22 00:46:59 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" against cached fingerprint "20,2025-09-22 00:45:59 +0000 UTC,25074c7237d5f7774d304950950b2d66" 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-09-22 00:46:59 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" != cached fingerprint "20,2025-09-22 00:45:59 +0000 UTC,25074c7237d5f7774d304950950b2d66") 2025/09/22 01:41:14 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/09/22 01:41:14 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate(0xc000a8a5c0): >openPending: err= 2025/09/22 01:41:14 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:14 DEBUG : forgetting directory cache 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate(0xc000a8a5c0): >_readAt: n=20, err=EOF 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate(0xc000a8a5c0): close: 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:46:59 +0000 UTC 2025/09/22 01:41:14 DEBUG : TestRWCacheUpdate(0xc000a8a5c0): >close: err= 2025/09/22 01:41:14 DEBUG : Re-reading directory (207.011115ms old) 2025/09/22 01:41:15 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:15 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:15 DEBUG : forgetting directory cache 2025/09/22 01:41:15 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=21, remain=0 2025/09/22 01:41:16 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate(0xc000a8b000): _readAt: size=512, off=0 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate(0xc000a8b000): openPending: 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "21,2025-09-22 00:47:59 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" against cached fingerprint "20,2025-09-22 00:46:59 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "21,2025-09-22 00:47:59 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" != cached fingerprint "20,2025-09-22 00:46:59 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00") 2025/09/22 01:41:17 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=21 2025/09/22 01:41:17 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate(0xc000a8b000): >openPending: err= 2025/09/22 01:41:17 DEBUG : vfs cache: looking for range={Pos:0 Size:21} in [] - present false 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate(0xc000a8b000): >_readAt: n=21, err=EOF 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate(0xc000a8b000): close: 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:47:59 +0000 UTC 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate(0xc000a8b000): >close: err= 2025/09/22 01:41:17 DEBUG : Re-reading directory (192.423009ms old) 2025/09/22 01:41:17 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:17 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:17 DEBUG : forgetting directory cache 2025/09/22 01:41:18 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=22, remain=0 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate(0xc00050e600): _readAt: size=512, off=0 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate(0xc00050e600): openPending: 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "22,2025-09-22 00:48:59 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" against cached fingerprint "21,2025-09-22 00:47:59 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "22,2025-09-22 00:48:59 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" != cached fingerprint "21,2025-09-22 00:47:59 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7") 2025/09/22 01:41:19 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=22 2025/09/22 01:41:19 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate(0xc00050e600): >openPending: err= 2025/09/22 01:41:19 DEBUG : vfs cache: looking for range={Pos:0 Size:22} in [] - present false 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate(0xc00050e600): >_readAt: n=22, err=EOF 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate(0xc00050e600): close: 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:48:59 +0000 UTC 2025/09/22 01:41:19 DEBUG : TestRWCacheUpdate(0xc00050e600): >close: err= 2025/09/22 01:41:19 DEBUG : Re-reading directory (178.714486ms old) 2025/09/22 01:41:20 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:20 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:20 DEBUG : forgetting directory cache 2025/09/22 01:41:20 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=23, remain=0 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate(0xc000690680): _readAt: size=512, off=0 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate(0xc000690680): openPending: 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "23,2025-09-22 00:49:59 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" against cached fingerprint "22,2025-09-22 00:48:59 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "23,2025-09-22 00:49:59 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" != cached fingerprint "22,2025-09-22 00:48:59 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca") 2025/09/22 01:41:22 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=23 2025/09/22 01:41:22 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate(0xc000690680): >openPending: err= 2025/09/22 01:41:22 DEBUG : vfs cache: looking for range={Pos:0 Size:23} in [] - present false 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate(0xc000690680): >_readAt: n=23, err=EOF 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate(0xc000690680): close: 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:49:59 +0000 UTC 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate(0xc000690680): >close: err= 2025/09/22 01:41:22 DEBUG : Re-reading directory (189.852118ms old) 2025/09/22 01:41:22 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:22 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:23 DEBUG : forgetting directory cache 2025/09/22 01:41:23 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=24, remain=0 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate(0xc000992200): _readAt: size=512, off=0 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate(0xc000992200): openPending: 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "24,2025-09-22 00:50:59 +0000 UTC,074978d6705e58530a3c8d378a08fa37" against cached fingerprint "23,2025-09-22 00:49:59 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "24,2025-09-22 00:50:59 +0000 UTC,074978d6705e58530a3c8d378a08fa37" != cached fingerprint "23,2025-09-22 00:49:59 +0000 UTC,a04b60cad5c51870e80f668df3d720c0") 2025/09/22 01:41:24 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=24 2025/09/22 01:41:24 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate(0xc000992200): >openPending: err= 2025/09/22 01:41:24 DEBUG : vfs cache: looking for range={Pos:0 Size:24} in [] - present false 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate(0xc000992200): >_readAt: n=24, err=EOF 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate(0xc000992200): close: 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-09-22 00:50:59 +0000 UTC 2025/09/22 01:41:24 DEBUG : TestRWCacheUpdate(0xc000992200): >close: err= 2025/09/22 01:41:24 DEBUG : Re-reading directory (182.008925ms old) 2025/09/22 01:41:25 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/09/22 01:41:25 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/09/22 01:41:25 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:25 DEBUG : Looking for writers 2025/09/22 01:41:25 DEBUG : TestRWCacheUpdate: reading active writers 2025/09/22 01:41:25 DEBUG : >WaitForWriters: 2025/09/22 01:41:25 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': vfs cache: cleaner exiting 2025/09/22 01:41:25 DEBUG : forgetting directory cache --- PASS: TestRWCacheUpdate (25.88s) === RUN TestCaseSensitivity run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" vfs_case_test.go:20: Can't test case sensitivity - this remote is officially not case-sensitive --- SKIP: TestCaseSensitivity (0.35s) === RUN TestUnicodeNormalization run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:41:26 DEBUG : normal name with no special characters.txt: Uploading chunk 0, size=5, remain=0 2025/09/22 01:41:28 DEBUG : 測試_Русский___ě_áñ: Uploading chunk 0, size=5, remain=0 2025/09/22 01:41:30 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:41:30 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:30 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:41:30 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2025/09/22 01:41:30 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2025/09/22 01:41:30 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2025/09/22 01:41:30 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:30 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2025/09/22 01:41:30 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:41:31 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/09/22 01:41:31 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:41:31 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2025/09/22 01:41:31 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:31 DEBUG : Looking for writers 2025/09/22 01:41:31 DEBUG : normal name with no special characters.txt: reading active writers 2025/09/22 01:41:31 DEBUG : 測試_Русский___ě_áñ: reading active writers 2025/09/22 01:41:31 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (5.83s) === RUN TestVFSNew run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:41:31 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:41:31 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:41:31 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': Reusing VFS from active cache 2025/09/22 01:41:31 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:31 DEBUG : Looking for writers 2025/09/22 01:41:31 DEBUG : >WaitForWriters: 2025/09/22 01:41:31 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:31 DEBUG : Looking for writers 2025/09/22 01:41:31 DEBUG : >WaitForWriters: --- PASS: TestVFSNew (0.35s) === RUN TestVFSNewWithOpts run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:41:32 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:41:32 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:41:32 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:32 DEBUG : Looking for writers 2025/09/22 01:41:32 DEBUG : >WaitForWriters: --- PASS: TestVFSNewWithOpts (0.35s) === RUN TestVFSRoot run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:41:32 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:41:32 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:41:32 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:32 DEBUG : Looking for writers 2025/09/22 01:41:32 DEBUG : >WaitForWriters: --- PASS: TestVFSRoot (0.37s) === RUN TestVFSStat run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:41:33 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:41:33 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:41:34 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/09/22 01:41:36 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/09/22 01:41:37 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:37 DEBUG : dir: Looking for writers 2025/09/22 01:41:37 DEBUG : file2: reading active writers 2025/09/22 01:41:37 DEBUG : Looking for writers 2025/09/22 01:41:37 DEBUG : dir: reading active writers 2025/09/22 01:41:37 DEBUG : file1: reading active writers 2025/09/22 01:41:37 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 --- PASS: TestVFSStat (13.63s) === RUN TestVFSStatParent run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:41:46 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:41:46 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:41:47 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/09/22 01:41:49 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/09/22 01:41:51 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:51 DEBUG : dir: Looking for writers 2025/09/22 01:41:51 DEBUG : Looking for writers 2025/09/22 01:41:51 DEBUG : file1: reading active writers 2025/09/22 01:41:51 DEBUG : dir: reading active writers 2025/09/22 01:41:51 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (5.81s) === RUN TestVFSOpenFile run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:41:52 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:41:52 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:41:53 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/09/22 01:41:55 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/09/22 01:41:56 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:41:56 DEBUG : file1: Open: flags=O_RDONLY 2025/09/22 01:41:56 DEBUG : file1: >Open: fd=file1 (r), err= 2025/09/22 01:41:56 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/09/22 01:41:56 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:41:56 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/09/22 01:41:56 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/22 01:41:57 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/09/22 01:41:57 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:41:57 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:41:57 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/09/22 01:41:57 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/09/22 01:41:57 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/09/22 01:41:57 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/09/22 01:41:57 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (0 bytes), uploading instead of streaming 2025/09/22 01:41:58 DEBUG : dir/new_file.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/09/22 01:41:58 DEBUG : dir/new_file.txt: Size and md5 of src and dst objects identical 2025/09/22 01:41:58 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/09/22 01:41:58 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:41:58 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/09/22 01:41:58 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:41:58 DEBUG : dir: Looking for writers 2025/09/22 01:41:58 DEBUG : new_file.txt: reading active writers 2025/09/22 01:41:58 DEBUG : file2: reading active writers 2025/09/22 01:41:58 DEBUG : Looking for writers 2025/09/22 01:41:58 DEBUG : file1: reading active writers 2025/09/22 01:41:58 DEBUG : dir: reading active writers 2025/09/22 01:41:58 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 --- PASS: TestVFSOpenFile (15.33s) === RUN TestVFSRename run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:07 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:07 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:08 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/09/22 01:42:10 DEBUG : dir/file2: same parent dir (ODFfOTQ1ODg5MV9FeUR6Wg) - using file/rename instead of move_copy for dir/file1 2025/09/22 01:42:11 INFO : dir/file2: Moved (server-side) to: dir/file1 2025/09/22 01:42:11 DEBUG : dir/file1: Updating file with dir/file1 0xc000a4bd40 2025/09/22 01:42:11 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/09/22 01:42:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:12 INFO : dir/file1: Moved (server-side) to: file0 2025/09/22 01:42:12 DEBUG : file0: Updating file with file0 0xc000a4bd40 2025/09/22 01:42:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/22 01:42:12 DEBUG : Added virtual directory entry vAddFile: "file0" 2025/09/22 01:42:12 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:12 DEBUG : dir: Looking for writers 2025/09/22 01:42:12 DEBUG : Looking for writers 2025/09/22 01:42:12 DEBUG : file0: reading active writers 2025/09/22 01:42:12 DEBUG : dir: reading active writers 2025/09/22 01:42:12 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (5.72s) === RUN TestVFSStatfs run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:13 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:13 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:13 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:13 DEBUG : Looking for writers 2025/09/22 01:42:13 DEBUG : >WaitForWriters: --- PASS: TestVFSStatfs (0.53s) === RUN TestVFSMkdir run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:14 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:14 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:14 DEBUG : Added virtual directory entry vAddDir: "/" 2025/09/22 01:42:14 DEBUG : Added virtual directory entry vAddDir: "a" 2025/09/22 01:42:16 DEBUG : Added virtual directory entry vAddDir: "b" 2025/09/22 01:42:16 DEBUG : Added virtual directory entry vAddDir: "c" 2025/09/22 01:42:17 DEBUG : Added virtual directory entry vAddDir: "d" 2025/09/22 01:42:18 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:18 DEBUG : c: Looking for writers 2025/09/22 01:42:18 DEBUG : d: Looking for writers 2025/09/22 01:42:18 DEBUG : Looking for writers 2025/09/22 01:42:18 DEBUG : a: Looking for writers 2025/09/22 01:42:18 DEBUG : b: Looking for writers 2025/09/22 01:42:18 DEBUG : Looking for writers 2025/09/22 01:42:18 DEBUG : /: reading active writers 2025/09/22 01:42:18 DEBUG : a: reading active writers 2025/09/22 01:42:18 DEBUG : b: reading active writers 2025/09/22 01:42:18 DEBUG : c: reading active writers 2025/09/22 01:42:18 DEBUG : d: reading active writers 2025/09/22 01:42:18 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (6.29s) === RUN TestVFSMkdirAll run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:20 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:20 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:21 DEBUG : Added virtual directory entry vAddDir: "a" 2025/09/22 01:42:21 DEBUG : a: Added virtual directory entry vAddDir: "b" 2025/09/22 01:42:22 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2025/09/22 01:42:22 DEBUG : a/b/c: Added virtual directory entry vAddDir: "d" 2025/09/22 01:42:25 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:25 DEBUG : a/b/c/d: Looking for writers 2025/09/22 01:42:25 DEBUG : a/b/c: Looking for writers 2025/09/22 01:42:25 DEBUG : d: reading active writers 2025/09/22 01:42:25 DEBUG : a/b: Looking for writers 2025/09/22 01:42:25 DEBUG : c: reading active writers 2025/09/22 01:42:25 DEBUG : a: Looking for writers 2025/09/22 01:42:25 DEBUG : b: reading active writers 2025/09/22 01:42:25 DEBUG : Looking for writers 2025/09/22 01:42:25 DEBUG : a: reading active writers 2025/09/22 01:42:25 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdirAll (7.96s) === RUN TestVFSIsMetadataFile run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:28 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:28 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:28 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:28 DEBUG : Looking for writers 2025/09/22 01:42:28 DEBUG : >WaitForWriters: --- PASS: TestVFSIsMetadataFile (0.37s) === RUN TestWriteFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:28 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:28 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:28 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:42:28 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:42:28 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:28 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:28 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:28 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:28 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/09/22 01:42:28 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/09/22 01:42:28 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/09/22 01:42:28 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (5 bytes), uploading instead of streaming 2025/09/22 01:42:29 DEBUG : file1: Uploading chunk 0, size=5, remain=0 2025/09/22 01:42:30 DEBUG : file1: Sizes differ (src 5 vs dst 0) 2025/09/22 01:42:30 ERROR : file1: corrupted on transfer 2025/09/22 01:42:30 ERROR : file1: WriteFileHandle.New Rcat failed: corrupted on transfer 2025/09/22 01:42:30 DEBUG : file1: Remove: 2025/09/22 01:42:30 DEBUG : Added virtual directory entry vDel: "file1" 2025/09/22 01:42:30 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: corrupted on transfer 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:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods 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:292: Sleeping for 7s just to make sure 2025/09/22 01:42:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:42:41 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:42:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:41 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:41 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:41 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (0 bytes), uploading instead of streaming 2025/09/22 01:42:42 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/09/22 01:42:42 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:42:42 DEBUG : Added virtual directory entry vAddFile: "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/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"file1,0,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,5,false" + (string) (len=13) "file1,0,false" } Test: TestWriteFileHandleMethods 2025/09/22 01:42:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:42:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:42:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:42 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:42 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 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:173 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"file1,0,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,5,false" + (string) (len=13) "file1,0,false" } Test: TestWriteFileHandleMethods 2025/09/22 01:42:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/09/22 01:42:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/09/22 01:42:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:42 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:42 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (0 bytes), uploading instead of streaming 2025/09/22 01:42:43 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/09/22 01:42:43 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:42:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/09/22 01:42:43 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/09/22 01:42:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:43 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:43 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:43 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (7 bytes), uploading instead of streaming 2025/09/22 01:42:44 DEBUG : file1: Uploading chunk 0, size=7, remain=0 2025/09/22 01:42:45 DEBUG : file1: md5 = 9141de76717e095d4dd05f1e686ad6a8 OK 2025/09/22 01:42:45 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:42:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:45 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:45 DEBUG : Looking for writers 2025/09/22 01:42:45 DEBUG : file1: reading active writers 2025/09/22 01:42:45 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (17.33s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:46 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:46 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:42:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:42:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:46 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:46 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/09/22 01:42:47 DEBUG : file1: aborting in-sequence write wait, off=100 2025/09/22 01:42:47 DEBUG : file1: failed to wait for in-sequence write to 100 2025/09/22 01:42:47 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/09/22 01:42:47 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (11 bytes), uploading instead of streaming 2025/09/22 01:42:48 DEBUG : file1: Uploading chunk 0, size=11, remain=0 2025/09/22 01:42:48 DEBUG : file1: md5 = 5eb63bbbe01eeed093cb22bb8f5acdc3 OK 2025/09/22 01:42:48 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:42:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:48 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2025/09/22 01:42:49 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:49 DEBUG : Looking for writers 2025/09/22 01:42:49 DEBUG : file1: reading active writers 2025/09/22 01:42:49 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (3.65s) === RUN TestWriteFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:49 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:49 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:42:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:42:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:49 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:49 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:49 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/09/22 01:42:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:49 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (5 bytes), uploading instead of streaming 2025/09/22 01:42:50 DEBUG : file1: Uploading chunk 0, size=5, remain=0 2025/09/22 01:42:51 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/09/22 01:42:51 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:42:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:51 DEBUG : file1: WriteFileHandle.Flush nothing to do 2025/09/22 01:42:51 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:42:51 DEBUG : Looking for writers 2025/09/22 01:42:51 DEBUG : file1: reading active writers 2025/09/22 01:42:51 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleFlush (9.84s) === RUN TestWriteFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:42:59 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:42:59 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:42:59 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:42:59 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:42:59 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:59 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:42:59 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:42:59 DEBUG : file1: WriteFileHandle.Release closing 2025/09/22 01:42:59 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:42:59 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (0 bytes), uploading instead of streaming 2025/09/22 01:43:01 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/09/22 01:43:01 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:43:01 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:01 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/09/22 01:43:01 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:43:01 DEBUG : Looking for writers 2025/09/22 01:43:01 DEBUG : file1: reading active writers 2025/09/22 01:43:01 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleRelease (2.32s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:43:01 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:43:01 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:43:01 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:43:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:43:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:02 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:43:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:43:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:02 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (2 bytes), uploading instead of streaming 2025/09/22 01:43:02 DEBUG : file1: Uploading chunk 0, size=2, remain=0 2025/09/22 01:43:03 DEBUG : file1: md5 = 49f68a5c8493ec2c0bf489821c21fc3b OK 2025/09/22 01:43:03 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:43:04 DEBUG : file1: Applied pending mod time 2012-11-18 17:32:31 +0000 UTC OK 2025/09/22 01:43:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:04 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:43:04 DEBUG : Looking for writers 2025/09/22 01:43:04 DEBUG : file1: reading active writers 2025/09/22 01:43:04 DEBUG : >WaitForWriters: --- PASS: TestWriteFileModTimeWithOpenWriters (2.83s) === RUN TestFileReadAtZeroLength run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:43:04 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:43:04 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:43:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:43:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:43:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:04 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:43:04 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:43:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:04 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (0 bytes), uploading instead of streaming 2025/09/22 01:43:06 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/09/22 01:43:06 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:43:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:06 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:43:06 DEBUG : file1: Open: flags=O_RDONLY 2025/09/22 01:43:06 DEBUG : file1: >Open: fd=file1 (r), err= 2025/09/22 01:43:06 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/09/22 01:43:06 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:43:06 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/09/22 01:43:06 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:43:06 DEBUG : Looking for writers 2025/09/22 01:43:06 DEBUG : file1: reading active writers 2025/09/22 01:43:06 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 --- PASS: TestFileReadAtZeroLength (9.88s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "OpenDrive root 'rclone-test-veqovec0gubo'", Local "Local file system at /tmp/rclone2827585078", Modify Window "1s" 2025/09/22 01:43:14 INFO : OpenDrive root 'rclone-test-veqovec0gubo': poll-interval is not supported by this remote 2025/09/22 01:43:14 NOTICE: OpenDrive root 'rclone-test-veqovec0gubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/22 01:43:14 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/09/22 01:43:14 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/09/22 01:43:14 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:14 DEBUG : file1: >Open: fd=file1 (w), err= 2025/09/22 01:43:14 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/09/22 01:43:14 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:14 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': File to upload is small (100 bytes), uploading instead of streaming 2025/09/22 01:43:15 DEBUG : file1: Uploading chunk 0, size=100, remain=0 2025/09/22 01:43:16 DEBUG : file1: md5 = fcecb78b97ce1f7b5d53e360f88b0bbf OK 2025/09/22 01:43:16 DEBUG : file1: Size and md5 of src and dst objects identical 2025/09/22 01:43:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/09/22 01:43:16 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/22 01:43:16 DEBUG : file1: Open: flags=O_RDONLY 2025/09/22 01:43:16 DEBUG : file1: >Open: fd=file1 (r), err= 2025/09/22 01:43:16 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/09/22 01:43:16 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/09/22 01:43:16 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/09/22 01:43:16 DEBUG : WaitForWriters: timeout=30s 2025/09/22 01:43:16 DEBUG : Looking for writers 2025/09/22 01:43:16 DEBUG : file1: reading active writers 2025/09/22 01:43:16 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (2.89s) FAIL 2025/09/22 01:43:17 DEBUG : OpenDrive root 'rclone-test-veqovec0gubo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$'" - Finished ERROR in 3m58.902248155s (try 5/5): exit status 1: Failed [TestReadFileHandleFlush TestWriteFileHandleMethods]