"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease)$|^TestFileSetModTime$/^cache=off,open=true,write=true$'" - Starting (try 2/5) 2025/07/11 02:47:05 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-wujonaj4tapu" 2025/07/11 02:47:05 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/11 02:47:05 DEBUG : Starting OpenDrive session with ID: 2a69d4b818dfd3af4acd28d7d9ad88bc1e77cf70d03315f233de4875632cbfef 2025/07/11 02:47:06 DEBUG : Creating backend with remote "/tmp/rclone2432699128" === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:06 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:06 NOTICE: OpenDrive root 'rclone-test-wujonaj4tapu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:285: Failed to put "dir/file1" to "OpenDrive root 'rclone-test-wujonaj4tapu'": failed to get folder list: Directory doesn't exist (Error 404) 2025/07/11 02:47:06 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:06 DEBUG : Looking for writers 2025/07/11 02:47:06 DEBUG : >WaitForWriters: 2025/07/11 02:47:06 ERROR : error listing: failed to get folder list: Directory doesn't exist (Error 404) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /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 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:347 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestDirCreate --- FAIL: TestDirCreate (0.68s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:06 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:06 NOTICE: OpenDrive root 'rclone-test-wujonaj4tapu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/11 02:47:08 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/11 02:47:10 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/07/11 02:47:10 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:10 DEBUG : dir/sub: Looking for writers 2025/07/11 02:47:10 DEBUG : dir: Looking for writers 2025/07/11 02:47:10 DEBUG : file1: reading active writers 2025/07/11 02:47:10 DEBUG : sub: reading active writers 2025/07/11 02:47:10 DEBUG : Looking for writers 2025/07/11 02:47:10 DEBUG : dir: reading active writers 2025/07/11 02:47:10 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (5.42s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:12 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:12 NOTICE: OpenDrive root 'rclone-test-wujonaj4tapu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/11 02:47:13 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/11 02:47:16 DEBUG : time_test: Uploading chunk 0, size=5, remain=0 2025/07/11 02:47:17 DEBUG : Can set mod time: true 2025/07/11 02:47:17 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/11 02:47:17 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/07/11 02:47:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:47:17 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': File to upload is small (5 bytes), uploading instead of streaming 2025/07/11 02:47:18 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/07/11 02:47:19 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/07/11 02:47:19 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2025/07/11 02:47:19 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2025/07/11 02:47:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:47:19 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:19 DEBUG : dir: Looking for writers 2025/07/11 02:47:19 DEBUG : file1: reading active writers 2025/07/11 02:47:19 DEBUG : Looking for writers 2025/07/11 02:47:19 DEBUG : dir: reading active writers 2025/07/11 02:47:19 DEBUG : >WaitForWriters: 2025/07/11 02:47:19 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:19 DEBUG : dir: Looking for writers 2025/07/11 02:47:19 DEBUG : file1: reading active writers 2025/07/11 02:47:19 DEBUG : Looking for writers 2025/07/11 02:47:19 DEBUG : dir: reading active writers 2025/07/11 02:47:19 DEBUG : >WaitForWriters: --- PASS: TestFileSetModTime (8.37s) --- PASS: TestFileSetModTime/cache=off,open=true,write=true (8.37s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:20 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:20 NOTICE: OpenDrive root 'rclone-test-wujonaj4tapu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/11 02:47:21 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:47:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:47:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:47:23 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/11 02:47:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/11 02:47:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:47:23 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/11 02:47:23 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/11 02:47:23 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/11 02:47:23 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/11 02:47:23 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/11 02:47:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/11 02:47:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/11 02:47:23 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/11 02:47:24 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/07/11 02:47:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/07/11 02:47:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/07/11 02:47:24 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/07/11 02:47:24 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/07/11 02:47:24 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/07/11 02:47:24 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/07/11 02:47:24 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/07/11 02:47:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/07/11 02:47:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/07/11 02:47:24 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/11 02:47:25 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/07/11 02:47:25 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/07/11 02:47:25 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/07/11 02:47:25 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/11 02:47:25 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/11 02:47:25 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/11 02:47:25 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/11 02:47:25 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/07/11 02:47:25 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/11 02:47:25 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/11 02:47:25 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/11 02:47:25 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/07/11 02:47:25 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:25 DEBUG : dir: Looking for writers 2025/07/11 02:47:25 DEBUG : file1: reading active writers 2025/07/11 02:47:25 DEBUG : Looking for writers 2025/07/11 02:47:25 DEBUG : dir: reading active writers 2025/07/11 02:47:25 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (5.95s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:26 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:26 NOTICE: OpenDrive root 'rclone-test-wujonaj4tapu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/11 02:47:27 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:47:29 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:47:29 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:47:29 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/11 02:47:29 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/11 02:47:29 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:47:29 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/11 02:47:29 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:29 DEBUG : dir: Looking for writers 2025/07/11 02:47:29 DEBUG : file1: reading active writers 2025/07/11 02:47:29 DEBUG : Looking for writers 2025/07/11 02:47:29 DEBUG : dir: reading active writers 2025/07/11 02:47:29 DEBUG : >WaitForWriters: fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- PASS: TestReadFileHandleFlush (11.79s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:38 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:38 NOTICE: OpenDrive root 'rclone-test-wujonaj4tapu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/11 02:47:39 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:47:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:47:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:47:41 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/11 02:47:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/11 02:47:41 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:47:41 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/11 02:47:41 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/07/11 02:47:41 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/07/11 02:47:41 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:41 DEBUG : dir: Looking for writers 2025/07/11 02:47:41 DEBUG : file1: reading active writers 2025/07/11 02:47:41 DEBUG : Looking for writers 2025/07/11 02:47:41 DEBUG : dir: reading active writers 2025/07/11 02:47:41 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.29s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:42 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:42 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/11 02:47:42 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:42 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:47:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:47:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:42 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/11 02:47:43 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:47:45 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:47:45 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:47:45 DEBUG : dir/file1: newRWFileHandle: 2025/07/11 02:47:45 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/11 02:47:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/11 02:47:45 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): _readAt: size=1, off=0 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): openPending: 2025/07/11 02:47:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/11 02:47:45 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/11 02:47:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): >openPending: err= 2025/07/11 02:47:45 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/11 02:47:45 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/11 02:47:45 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/11 02:47:45 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): >_readAt: n=1, err= 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): _readAt: size=256, off=1 2025/07/11 02:47:45 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): >_readAt: n=15, err=EOF 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): _readAt: size=16, off=16 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): >_readAt: n=0, err=EOF 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): close: 2025/07/11 02:47:45 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): >close: err= 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): close: 2025/07/11 02:47:45 DEBUG : dir/file1(0xc0002d0bc0): >close: err=file already closed 2025/07/11 02:47:45 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:45 DEBUG : dir: Looking for writers 2025/07/11 02:47:45 DEBUG : file1: reading active writers 2025/07/11 02:47:45 DEBUG : Looking for writers 2025/07/11 02:47:45 DEBUG : dir: reading active writers 2025/07/11 02:47:45 DEBUG : >WaitForWriters: 2025/07/11 02:47:45 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaner exiting fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleMethodsRead (11.84s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:54 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:54 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/11 02:47:54 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:54 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:47:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:47:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:54 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/11 02:47:55 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:47:57 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:47:57 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:47:57 DEBUG : dir/file1: newRWFileHandle: 2025/07/11 02:47:57 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/11 02:47:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/11 02:47:57 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/11 02:47:57 DEBUG : dir/file1(0xc000820600): _readAt: size=1, off=0 2025/07/11 02:47:57 DEBUG : dir/file1(0xc000820600): openPending: 2025/07/11 02:47:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/11 02:47:57 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/11 02:47:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:47:57 DEBUG : dir/file1(0xc000820600): >openPending: err= 2025/07/11 02:47:57 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/11 02:47:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/11 02:47:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/11 02:47:57 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): >_readAt: n=1, err= 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): _readAt: size=1, off=5 2025/07/11 02:47:58 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): >_readAt: n=1, err= 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): _readAt: size=1, off=3 2025/07/11 02:47:58 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): >_readAt: n=1, err= 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): _readAt: size=1, off=13 2025/07/11 02:47:58 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): >_readAt: n=1, err= 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): _readAt: size=16, off=100 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): >_readAt: n=0, err=EOF 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): close: 2025/07/11 02:47:58 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/11 02:47:58 DEBUG : dir/file1(0xc000820600): >close: err= 2025/07/11 02:47:58 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:47:58 DEBUG : dir: Looking for writers 2025/07/11 02:47:58 DEBUG : file1: reading active writers 2025/07/11 02:47:58 DEBUG : Looking for writers 2025/07/11 02:47:58 DEBUG : dir: reading active writers 2025/07/11 02:47:58 DEBUG : >WaitForWriters: 2025/07/11 02:47:58 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.72s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:47:59 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:47:59 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/11 02:47:59 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:59 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:47:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:47:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:47:59 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/11 02:48:00 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:48:01 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:48:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:48:02 DEBUG : dir/file1: newRWFileHandle: 2025/07/11 02:48:02 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/11 02:48:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/11 02:48:02 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): _readAt: size=1, off=0 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): openPending: 2025/07/11 02:48:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/11 02:48:02 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/11 02:48:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >openPending: err= 2025/07/11 02:48:02 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/11 02:48:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/11 02:48:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/11 02:48:02 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >_readAt: n=1, err= 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): _readAt: size=1, off=5 2025/07/11 02:48:02 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >_readAt: n=1, err= 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): _readAt: size=1, off=1 2025/07/11 02:48:02 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >_readAt: n=1, err= 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): _readAt: size=6, off=10 2025/07/11 02:48:02 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >_readAt: n=6, err= 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): _readAt: size=256, off=10 2025/07/11 02:48:02 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >_readAt: n=6, err=EOF 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): _readAt: size=256, off=100 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >_readAt: n=0, err=EOF 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): close: 2025/07/11 02:48:02 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >close: err= 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): _readAt: size=256, off=100 2025/07/11 02:48:02 DEBUG : dir/file1(0xc000a3aa00): >_readAt: n=0, err=file already closed 2025/07/11 02:48:02 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:48:02 DEBUG : dir: Looking for writers 2025/07/11 02:48:02 DEBUG : file1: reading active writers 2025/07/11 02:48:02 DEBUG : Looking for writers 2025/07/11 02:48:02 DEBUG : dir: reading active writers 2025/07/11 02:48:02 DEBUG : >WaitForWriters: 2025/07/11 02:48:02 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestRWFileHandleReadAt (5.35s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:48:04 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:48:04 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/11 02:48:04 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:04 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:04 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/11 02:48:05 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:48:07 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:48:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:48:07 DEBUG : dir/file1: newRWFileHandle: 2025/07/11 02:48:07 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/11 02:48:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/11 02:48:07 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): RWFileHandle.Flush 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): _readAt: size=256, off=0 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): openPending: 2025/07/11 02:48:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/11 02:48:07 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/11 02:48:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): >openPending: err= 2025/07/11 02:48:07 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/11 02:48:07 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/11 02:48:07 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/11 02:48:07 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): >_readAt: n=16, err=EOF 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): RWFileHandle.Flush 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): RWFileHandle.Flush 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): close: 2025/07/11 02:48:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/11 02:48:07 DEBUG : dir/file1(0xc0008205c0): >close: err= 2025/07/11 02:48:07 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:48:07 DEBUG : dir: Looking for writers 2025/07/11 02:48:07 DEBUG : file1: reading active writers 2025/07/11 02:48:07 DEBUG : Looking for writers 2025/07/11 02:48:07 DEBUG : dir: reading active writers 2025/07/11 02:48:07 DEBUG : >WaitForWriters: 2025/07/11 02:48:07 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.18s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:48:08 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:48:08 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/11 02:48:08 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:08 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:08 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/11 02:48:10 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:48:11 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/11 02:48:11 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/11 02:48:11 DEBUG : dir/file1: newRWFileHandle: 2025/07/11 02:48:11 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/11 02:48:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/11 02:48:11 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): _readAt: size=256, off=0 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): openPending: 2025/07/11 02:48:11 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/11 02:48:11 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/11 02:48:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): >openPending: err= 2025/07/11 02:48:11 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/11 02:48:11 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/11 02:48:11 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/11 02:48:11 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): >_readAt: n=16, err=EOF 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): RWFileHandle.Release 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): close: 2025/07/11 02:48:11 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): >close: err= 2025/07/11 02:48:11 DEBUG : dir/file1(0xc000a3a9c0): RWFileHandle.Release 2025/07/11 02:48:11 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:48:11 DEBUG : dir: Looking for writers 2025/07/11 02:48:11 DEBUG : file1: reading active writers 2025/07/11 02:48:11 DEBUG : Looking for writers 2025/07/11 02:48:11 DEBUG : dir: reading active writers 2025/07/11 02:48:11 DEBUG : >WaitForWriters: 2025/07/11 02:48:11 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.28s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:48:13 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:48:13 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/11 02:48:13 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:13 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:13 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/11 02:48:14 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:48:15 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2025/07/11 02:48:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/11 02:48:15 DEBUG : dir/file1: newRWFileHandle: 2025/07/11 02:48:15 DEBUG : dir/file1(0xc000820540): openPending: 2025/07/11 02:48:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/11 02:48:15 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/11 02:48:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:15 DEBUG : dir/file1(0xc000820540): >openPending: err= 2025/07/11 02:48:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/11 02:48:15 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/11 02:48:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/11 02:48:15 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/11 02:48:15 DEBUG : dir/file1(0xc000820540): _writeAt: size=5, off=0 2025/07/11 02:48:15 DEBUG : dir/file1(0xc000820540): >_writeAt: n=5, err= 2025/07/11 02:48:15 DEBUG : dir/file1(0xc000820540): close: 2025/07/11 02:48:15 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/07/11 02:48:15 DEBUG : dir/file1: vfs cache: setting modification time to 2025-07-11 02:48:15.895850438 +0000 UTC m=+70.504149582 2025/07/11 02:48:15 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/07/11 02:48:15 DEBUG : dir/file1(0xc000820540): >close: err= 2025/07/11 02:48:15 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:48:15 DEBUG : dir: Looking for writers 2025/07/11 02:48:15 DEBUG : file1: reading active writers 2025/07/11 02:48:15 DEBUG : Looking for writers 2025/07/11 02:48:15 DEBUG : dir: reading active writers 2025/07/11 02:48:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/11 02:48:15 DEBUG : dir: Looking for writers 2025/07/11 02:48:15 DEBUG : file1: reading active writers 2025/07/11 02:48:15 DEBUG : Looking for writers 2025/07/11 02:48:15 DEBUG : dir: reading active writers 2025/07/11 02:48:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/11 02:48:15 DEBUG : dir: Looking for writers 2025/07/11 02:48:15 DEBUG : file1: reading active writers 2025/07/11 02:48:15 DEBUG : Looking for writers 2025/07/11 02:48:15 DEBUG : dir: reading active writers 2025/07/11 02:48:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/11 02:48:15 DEBUG : dir: Looking for writers 2025/07/11 02:48:15 DEBUG : file1: reading active writers 2025/07/11 02:48:15 DEBUG : Looking for writers 2025/07/11 02:48:15 DEBUG : dir: reading active writers 2025/07/11 02:48:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/11 02:48:15 DEBUG : dir/file1: vfs cache: starting upload 2025/07/11 02:48:16 DEBUG : dir: Looking for writers 2025/07/11 02:48:16 DEBUG : file1: reading active writers 2025/07/11 02:48:16 DEBUG : Looking for writers 2025/07/11 02:48:16 DEBUG : dir: reading active writers 2025/07/11 02:48:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/11 02:48:16 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/07/11 02:48:16 DEBUG : dir: Looking for writers 2025/07/11 02:48:16 DEBUG : file1: reading active writers 2025/07/11 02:48:16 DEBUG : Looking for writers 2025/07/11 02:48:16 DEBUG : dir: reading active writers 2025/07/11 02:48:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/11 02:48:16 DEBUG : dir: Looking for writers 2025/07/11 02:48:16 DEBUG : file1: reading active writers 2025/07/11 02:48:16 DEBUG : Looking for writers 2025/07/11 02:48:16 DEBUG : dir: reading active writers 2025/07/11 02:48:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/11 02:48:17 DEBUG : dir: Looking for writers 2025/07/11 02:48:17 DEBUG : file1: reading active writers 2025/07/11 02:48:17 DEBUG : Looking for writers 2025/07/11 02:48:17 DEBUG : dir: reading active writers 2025/07/11 02:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/07/11 02:48:17 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/07/11 02:48:17 INFO : dir/file1: Copied (replaced existing) 2025/07/11 02:48:17 DEBUG : dir/file1: vfs cache: fingerprint now "5,2025-07-11 02:48:15 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/07/11 02:48:17 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/07/11 02:48:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:17 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/07/11 02:48:18 DEBUG : dir: Looking for writers 2025/07/11 02:48:18 DEBUG : file1: reading active writers 2025/07/11 02:48:18 DEBUG : Looking for writers 2025/07/11 02:48:18 DEBUG : dir: reading active writers 2025/07/11 02:48:18 DEBUG : >WaitForWriters: 2025/07/11 02:48:18 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (6.05s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-wujonaj4tapu'", Local "Local file system at /tmp/rclone2432699128", Modify Window "1s" 2025/07/11 02:48:19 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': poll-interval is not supported by this remote 2025/07/11 02:48:19 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/11 02:48:19 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:19 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/11 02:48:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-wujonaj4tapu" 2025/07/11 02:48:19 INFO : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/11 02:48:20 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/11 02:48:21 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/07/11 02:48:22 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/07/11 02:48:22 DEBUG : dir/file1: newRWFileHandle: 2025/07/11 02:48:22 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/11 02:48:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/11 02:48:22 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): _writeAt: size=5, off=0 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): openPending: 2025/07/11 02:48:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/11 02:48:22 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/11 02:48:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): >openPending: err= 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): >_writeAt: n=5, err= 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): _writeAt: size=15, off=5 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): >_writeAt: n=15, err= 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): close: 2025/07/11 02:48:22 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/07/11 02:48:22 DEBUG : dir/file1: vfs cache: setting modification time to 2025-07-11 02:48:22.087681989 +0000 UTC m=+76.695981133 2025/07/11 02:48:22 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/07/11 02:48:22 DEBUG : dir/file1(0xc000680200): >close: err= 2025/07/11 02:48:22 DEBUG : WaitForWriters: timeout=30s 2025/07/11 02:48:22 DEBUG : dir: Looking for writers 2025/07/11 02:48:22 DEBUG : file1: reading active writers 2025/07/11 02:48:22 DEBUG : Looking for writers 2025/07/11 02:48:22 DEBUG : dir: reading active writers 2025/07/11 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/11 02:48:22 DEBUG : dir: Looking for writers 2025/07/11 02:48:22 DEBUG : file1: reading active writers 2025/07/11 02:48:22 DEBUG : Looking for writers 2025/07/11 02:48:22 DEBUG : dir: reading active writers 2025/07/11 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/11 02:48:22 DEBUG : dir: Looking for writers 2025/07/11 02:48:22 DEBUG : file1: reading active writers 2025/07/11 02:48:22 DEBUG : Looking for writers 2025/07/11 02:48:22 DEBUG : dir: reading active writers 2025/07/11 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/11 02:48:22 DEBUG : dir: Looking for writers 2025/07/11 02:48:22 DEBUG : file1: reading active writers 2025/07/11 02:48:22 DEBUG : Looking for writers 2025/07/11 02:48:22 DEBUG : dir: reading active writers 2025/07/11 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/11 02:48:22 DEBUG : dir/file1: vfs cache: starting upload 2025/07/11 02:48:22 DEBUG : dir: Looking for writers 2025/07/11 02:48:22 DEBUG : file1: reading active writers 2025/07/11 02:48:22 DEBUG : Looking for writers 2025/07/11 02:48:22 DEBUG : dir: reading active writers 2025/07/11 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/11 02:48:22 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2025/07/11 02:48:22 DEBUG : dir: Looking for writers 2025/07/11 02:48:22 DEBUG : file1: reading active writers 2025/07/11 02:48:22 DEBUG : Looking for writers 2025/07/11 02:48:22 DEBUG : dir: reading active writers 2025/07/11 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/11 02:48:22 DEBUG : dir: Looking for writers 2025/07/11 02:48:22 DEBUG : file1: reading active writers 2025/07/11 02:48:22 DEBUG : Looking for writers 2025/07/11 02:48:22 DEBUG : dir: reading active writers 2025/07/11 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/11 02:48:23 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2025/07/11 02:48:23 INFO : dir/file1: Copied (replaced existing) 2025/07/11 02:48:23 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-07-11 02:48:22 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2025/07/11 02:48:23 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/07/11 02:48:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/11 02:48:23 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/07/11 02:48:23 DEBUG : dir: Looking for writers 2025/07/11 02:48:23 DEBUG : file1: reading active writers 2025/07/11 02:48:23 DEBUG : Looking for writers 2025/07/11 02:48:23 DEBUG : dir: reading active writers 2025/07/11 02:48:23 DEBUG : >WaitForWriters: 2025/07/11 02:48:23 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (5.17s) FAIL 2025/07/11 02:48:24 DEBUG : OpenDrive root 'rclone-test-wujonaj4tapu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease)$|^TestFileSetModTime$/^cache=off,open=true,write=true$'" - Finished ERROR in 1m19.492352779s (try 2/5): exit status 1: Failed [TestDirCreate]