"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease)$'" - Starting (try 2/5) 2024/11/20 04:30:48 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kihezid2rozu" 2024/11/20 04:30:48 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/20 04:30:49 DEBUG : Starting OpenDrive session with ID: b0c870ffd167d5170e8c7f05d167c3194a77e2cc99ee6bbebf07d65acafac6e9 2024/11/20 04:30:49 DEBUG : Creating backend with remote "/tmp/rclone271071223" === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:30:49 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:30:49 NOTICE: OpenDrive root 'rclone-test-kihezid2rozu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/20 04:30:51 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 fstest.go:121: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:121 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:126 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:145 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:19 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:127 Error: Should be true Test: TestReadFileHandleReadAt Messages: dir/file1: Modification time difference too big |-208584h25m44.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2024-11-20 04:30:51 +0000 UTC) (precision 1s) 2024/11/20 04:30:52 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:30:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:30:52 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/11/20 04:30:52 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/11/20 04:30:52 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/11/20 04:30:52 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/11/20 04:30:52 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/11/20 04:30:52 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/11/20 04:30:52 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2024/11/20 04:30:52 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2024/11/20 04:30:53 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2024/11/20 04:30:53 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2024/11/20 04:30:53 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2024/11/20 04:30:53 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2024/11/20 04:30:53 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2024/11/20 04:30:53 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2024/11/20 04:30:53 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/11/20 04:30:53 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2024/11/20 04:30:53 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2024/11/20 04:30:53 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2024/11/20 04:30:53 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/11/20 04:30:53 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/11/20 04:30:53 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/11/20 04:30:53 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/11/20 04:30:53 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2024/11/20 04:30:53 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/11/20 04:30:53 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/11/20 04:30:53 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/11/20 04:30:53 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2024/11/20 04:30:53 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:30:53 DEBUG : dir: Looking for writers 2024/11/20 04:30:53 DEBUG : file1: reading active writers 2024/11/20 04:30:53 DEBUG : : Looking for writers 2024/11/20 04:30:53 DEBUG : dir: reading active writers 2024/11/20 04:30:53 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (5.40s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:30:54 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:30:54 NOTICE: OpenDrive root 'rclone-test-kihezid2rozu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/20 04:30:56 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:30:57 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:30:57 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:30:57 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/11/20 04:30:57 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/11/20 04:30:57 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:30:57 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/11/20 04:30:58 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:30:58 DEBUG : dir: Looking for writers 2024/11/20 04:30:58 DEBUG : file1: reading active writers 2024/11/20 04:30:58 DEBUG : : Looking for writers 2024/11/20 04:30:58 DEBUG : dir: reading active writers 2024/11/20 04:30:58 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestReadFileHandleFlush (11.84s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:06 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:06 NOTICE: OpenDrive root 'rclone-test-kihezid2rozu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/20 04:31:07 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:09 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:31:09 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:31:09 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/11/20 04:31:09 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/11/20 04:31:09 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:31:09 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/11/20 04:31:10 DEBUG : dir/file1: ReadFileHandle.Release closing 2024/11/20 04:31:10 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2024/11/20 04:31:10 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:10 DEBUG : dir: Looking for writers 2024/11/20 04:31:10 DEBUG : file1: reading active writers 2024/11/20 04:31:10 DEBUG : : Looking for writers 2024/11/20 04:31:10 DEBUG : dir: reading active writers 2024/11/20 04:31:10 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.43s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:11 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:11 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/20 04:31:11 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:11 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:11 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:11 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:11 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/20 04:31:12 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:13 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:31:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:31:14 DEBUG : dir/file1: newRWFileHandle: 2024/11/20 04:31:14 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/20 04:31:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/20 04:31:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): _readAt: size=1, off=0 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): openPending: 2024/11/20 04:31:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/20 04:31:14 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/20 04:31:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): >openPending: err= 2024/11/20 04:31:14 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/11/20 04:31:14 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/20 04:31:14 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/20 04:31:14 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): >_readAt: n=1, err= 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): _readAt: size=256, off=1 2024/11/20 04:31:14 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): >_readAt: n=15, err=EOF 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): _readAt: size=16, off=16 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): >_readAt: n=0, err=EOF 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): close: 2024/11/20 04:31:14 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): >close: err= 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): close: 2024/11/20 04:31:14 DEBUG : dir/file1(0xc0000e03c0): >close: err=file already closed 2024/11/20 04:31:14 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:14 DEBUG : dir: Looking for writers 2024/11/20 04:31:14 DEBUG : file1: reading active writers 2024/11/20 04:31:14 DEBUG : : Looking for writers 2024/11/20 04:31:14 DEBUG : dir: reading active writers 2024/11/20 04:31:14 DEBUG : >WaitForWriters: 2024/11/20 04:31:14 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.41s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:15 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:15 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/20 04:31:15 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:15 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:15 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:15 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:15 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/20 04:31:16 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:17 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:31:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:31:18 DEBUG : dir/file1: newRWFileHandle: 2024/11/20 04:31:18 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/20 04:31:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/20 04:31:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): _readAt: size=1, off=0 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): openPending: 2024/11/20 04:31:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/20 04:31:18 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/20 04:31:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): >openPending: err= 2024/11/20 04:31:18 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/11/20 04:31:18 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/20 04:31:18 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/20 04:31:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): >_readAt: n=1, err= 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): _readAt: size=1, off=5 2024/11/20 04:31:18 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): >_readAt: n=1, err= 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): _readAt: size=1, off=3 2024/11/20 04:31:18 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): >_readAt: n=1, err= 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): _readAt: size=1, off=13 2024/11/20 04:31:18 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): >_readAt: n=1, err= 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): _readAt: size=16, off=100 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): >_readAt: n=0, err=EOF 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): close: 2024/11/20 04:31:18 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/20 04:31:18 DEBUG : dir/file1(0xc000850100): >close: err= 2024/11/20 04:31:18 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:18 DEBUG : dir: Looking for writers 2024/11/20 04:31:18 DEBUG : file1: reading active writers 2024/11/20 04:31:18 DEBUG : : Looking for writers 2024/11/20 04:31:18 DEBUG : dir: reading active writers 2024/11/20 04:31:18 DEBUG : >WaitForWriters: 2024/11/20 04:31:18 DEBUG : vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestRWFileHandleSeek (5.41s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:21 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:21 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/20 04:31:21 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:21 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:21 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/20 04:31:22 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:31:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:31:23 DEBUG : dir/file1: newRWFileHandle: 2024/11/20 04:31:23 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/20 04:31:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/20 04:31:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/20 04:31:23 DEBUG : dir/file1(0xc000850800): _readAt: size=1, off=0 2024/11/20 04:31:23 DEBUG : dir/file1(0xc000850800): openPending: 2024/11/20 04:31:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/20 04:31:23 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/20 04:31:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:23 DEBUG : dir/file1(0xc000850800): >openPending: err= 2024/11/20 04:31:23 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/11/20 04:31:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/20 04:31:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/20 04:31:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >_readAt: n=1, err= 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): _readAt: size=1, off=5 2024/11/20 04:31:24 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >_readAt: n=1, err= 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): _readAt: size=1, off=1 2024/11/20 04:31:24 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >_readAt: n=1, err= 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): _readAt: size=6, off=10 2024/11/20 04:31:24 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >_readAt: n=6, err= 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): _readAt: size=256, off=10 2024/11/20 04:31:24 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >_readAt: n=6, err=EOF 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): _readAt: size=256, off=100 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >_readAt: n=0, err=EOF 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): close: 2024/11/20 04:31:24 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >close: err= 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): _readAt: size=256, off=100 2024/11/20 04:31:24 DEBUG : dir/file1(0xc000850800): >_readAt: n=0, err=file already closed 2024/11/20 04:31:24 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:24 DEBUG : dir: Looking for writers 2024/11/20 04:31:24 DEBUG : file1: reading active writers 2024/11/20 04:31:24 DEBUG : : Looking for writers 2024/11/20 04:31:24 DEBUG : dir: reading active writers 2024/11/20 04:31:24 DEBUG : >WaitForWriters: 2024/11/20 04:31:24 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.23s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:25 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:25 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/20 04:31:25 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:25 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:25 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:25 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:25 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/20 04:31:26 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:27 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:31:27 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:31:27 DEBUG : dir/file1: newRWFileHandle: 2024/11/20 04:31:27 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/20 04:31:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/20 04:31:27 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/20 04:31:27 DEBUG : dir/file1(0xc000850180): RWFileHandle.Flush 2024/11/20 04:31:27 DEBUG : dir/file1(0xc000850180): _readAt: size=256, off=0 2024/11/20 04:31:27 DEBUG : dir/file1(0xc000850180): openPending: 2024/11/20 04:31:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/20 04:31:27 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/20 04:31:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:27 DEBUG : dir/file1(0xc000850180): >openPending: err= 2024/11/20 04:31:27 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/11/20 04:31:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/20 04:31:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/20 04:31:27 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:31:28 DEBUG : dir/file1(0xc000850180): >_readAt: n=16, err=EOF 2024/11/20 04:31:28 DEBUG : dir/file1(0xc000850180): RWFileHandle.Flush 2024/11/20 04:31:28 DEBUG : dir/file1(0xc000850180): RWFileHandle.Flush 2024/11/20 04:31:28 DEBUG : dir/file1(0xc000850180): close: 2024/11/20 04:31:28 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/20 04:31:28 DEBUG : dir/file1(0xc000850180): >close: err= 2024/11/20 04:31:28 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:28 DEBUG : dir: Looking for writers 2024/11/20 04:31:28 DEBUG : file1: reading active writers 2024/11/20 04:31:28 DEBUG : : Looking for writers 2024/11/20 04:31:28 DEBUG : dir: reading active writers 2024/11/20 04:31:28 DEBUG : >WaitForWriters: 2024/11/20 04:31:28 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.23s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:29 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:29 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/20 04:31:29 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:29 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:29 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:29 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:29 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/20 04:31:30 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:31 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/20 04:31:32 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/20 04:31:32 DEBUG : dir/file1: newRWFileHandle: 2024/11/20 04:31:32 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/20 04:31:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/20 04:31:32 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): _readAt: size=256, off=0 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): openPending: 2024/11/20 04:31:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/20 04:31:32 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/20 04:31:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): >openPending: err= 2024/11/20 04:31:32 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/11/20 04:31:32 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/20 04:31:32 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/20 04:31:32 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): >_readAt: n=16, err=EOF 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): RWFileHandle.Release 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): close: 2024/11/20 04:31:32 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): >close: err= 2024/11/20 04:31:32 DEBUG : dir/file1(0xc0000e04c0): RWFileHandle.Release 2024/11/20 04:31:32 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:32 DEBUG : dir: Looking for writers 2024/11/20 04:31:32 DEBUG : file1: reading active writers 2024/11/20 04:31:32 DEBUG : : Looking for writers 2024/11/20 04:31:32 DEBUG : dir: reading active writers 2024/11/20 04:31:32 DEBUG : >WaitForWriters: 2024/11/20 04:31:32 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.24s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:33 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:33 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/20 04:31:33 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:33 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:33 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:33 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:33 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/20 04:31:34 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:36 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2024/11/20 04:31:36 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/20 04:31:36 DEBUG : dir/file1: newRWFileHandle: 2024/11/20 04:31:36 DEBUG : dir/file1(0xc000a0a840): openPending: 2024/11/20 04:31:36 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/20 04:31:36 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/20 04:31:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:36 DEBUG : dir/file1(0xc000a0a840): >openPending: err= 2024/11/20 04:31:36 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/20 04:31:36 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/20 04:31:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/20 04:31:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/20 04:31:36 DEBUG : dir/file1(0xc000a0a840): _writeAt: size=5, off=0 2024/11/20 04:31:36 DEBUG : dir/file1(0xc000a0a840): >_writeAt: n=5, err= 2024/11/20 04:31:36 DEBUG : dir/file1(0xc000a0a840): close: 2024/11/20 04:31:36 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/11/20 04:31:36 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-20 04:31:36.458302969 +0000 UTC m=+47.886058640 2024/11/20 04:31:36 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/20 04:31:36 DEBUG : dir/file1(0xc000a0a840): >close: err= 2024/11/20 04:31:36 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:36 DEBUG : dir: Looking for writers 2024/11/20 04:31:36 DEBUG : file1: reading active writers 2024/11/20 04:31:36 DEBUG : : Looking for writers 2024/11/20 04:31:36 DEBUG : dir: reading active writers 2024/11/20 04:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/20 04:31:36 DEBUG : dir: Looking for writers 2024/11/20 04:31:36 DEBUG : file1: reading active writers 2024/11/20 04:31:36 DEBUG : : Looking for writers 2024/11/20 04:31:36 DEBUG : dir: reading active writers 2024/11/20 04:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/20 04:31:36 DEBUG : dir: Looking for writers 2024/11/20 04:31:36 DEBUG : file1: reading active writers 2024/11/20 04:31:36 DEBUG : : Looking for writers 2024/11/20 04:31:36 DEBUG : dir: reading active writers 2024/11/20 04:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/20 04:31:36 DEBUG : dir: Looking for writers 2024/11/20 04:31:36 DEBUG : file1: reading active writers 2024/11/20 04:31:36 DEBUG : : Looking for writers 2024/11/20 04:31:36 DEBUG : dir: reading active writers 2024/11/20 04:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/20 04:31:36 DEBUG : dir/file1: vfs cache: starting upload 2024/11/20 04:31:36 DEBUG : dir: Looking for writers 2024/11/20 04:31:36 DEBUG : file1: reading active writers 2024/11/20 04:31:36 DEBUG : : Looking for writers 2024/11/20 04:31:36 DEBUG : dir: reading active writers 2024/11/20 04:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/20 04:31:36 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2024/11/20 04:31:36 DEBUG : dir: Looking for writers 2024/11/20 04:31:36 DEBUG : file1: reading active writers 2024/11/20 04:31:36 DEBUG : : Looking for writers 2024/11/20 04:31:36 DEBUG : dir: reading active writers 2024/11/20 04:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/20 04:31:37 DEBUG : dir: Looking for writers 2024/11/20 04:31:37 DEBUG : file1: reading active writers 2024/11/20 04:31:37 DEBUG : : Looking for writers 2024/11/20 04:31:37 DEBUG : dir: reading active writers 2024/11/20 04:31:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/20 04:31:37 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2024/11/20 04:31:37 INFO : dir/file1: Copied (replaced existing) 2024/11/20 04:31:37 DEBUG : dir/file1: vfs cache: fingerprint now "5,2024-11-20 04:31:36 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2024/11/20 04:31:37 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/20 04:31:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:37 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/20 04:31:37 DEBUG : dir: Looking for writers 2024/11/20 04:31:37 DEBUG : file1: reading active writers 2024/11/20 04:31:37 DEBUG : : Looking for writers 2024/11/20 04:31:37 DEBUG : dir: reading active writers 2024/11/20 04:31:37 DEBUG : >WaitForWriters: 2024/11/20 04:31:37 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (5.04s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-kihezid2rozu'", Local "Local file system at /tmp/rclone271071223", Modify Window "1s" 2024/11/20 04:31:38 INFO : OpenDrive root 'rclone-test-kihezid2rozu': poll-interval is not supported by this remote 2024/11/20 04:31:38 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/20 04:31:38 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:38 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:38 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:38 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/20 04:31:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kihezid2rozu" 2024/11/20 04:31:38 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/20 04:31:39 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/20 04:31:41 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/11/20 04:31:41 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2024/11/20 04:31:41 DEBUG : dir/file1: newRWFileHandle: 2024/11/20 04:31:41 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/20 04:31:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:41 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/20 04:31:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): _writeAt: size=5, off=0 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): openPending: 2024/11/20 04:31:41 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/20 04:31:41 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/20 04:31:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): >openPending: err= 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): >_writeAt: n=5, err= 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): _writeAt: size=15, off=5 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): >_writeAt: n=15, err= 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): close: 2024/11/20 04:31:41 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2024/11/20 04:31:41 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-20 04:31:41.4823881 +0000 UTC m=+52.910143772 2024/11/20 04:31:41 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/20 04:31:41 DEBUG : dir/file1(0xc000850680): >close: err= 2024/11/20 04:31:41 DEBUG : WaitForWriters: timeout=30s 2024/11/20 04:31:41 DEBUG : dir: Looking for writers 2024/11/20 04:31:41 DEBUG : file1: reading active writers 2024/11/20 04:31:41 DEBUG : : Looking for writers 2024/11/20 04:31:41 DEBUG : dir: reading active writers 2024/11/20 04:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/20 04:31:41 DEBUG : dir: Looking for writers 2024/11/20 04:31:41 DEBUG : file1: reading active writers 2024/11/20 04:31:41 DEBUG : : Looking for writers 2024/11/20 04:31:41 DEBUG : dir: reading active writers 2024/11/20 04:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/20 04:31:41 DEBUG : dir: Looking for writers 2024/11/20 04:31:41 DEBUG : file1: reading active writers 2024/11/20 04:31:41 DEBUG : : Looking for writers 2024/11/20 04:31:41 DEBUG : dir: reading active writers 2024/11/20 04:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/20 04:31:41 DEBUG : dir: Looking for writers 2024/11/20 04:31:41 DEBUG : file1: reading active writers 2024/11/20 04:31:41 DEBUG : : Looking for writers 2024/11/20 04:31:41 DEBUG : dir: reading active writers 2024/11/20 04:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/20 04:31:41 DEBUG : dir/file1: vfs cache: starting upload 2024/11/20 04:31:41 DEBUG : dir: Looking for writers 2024/11/20 04:31:41 DEBUG : file1: reading active writers 2024/11/20 04:31:41 DEBUG : : Looking for writers 2024/11/20 04:31:41 DEBUG : dir: reading active writers 2024/11/20 04:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/20 04:31:41 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2024/11/20 04:31:41 DEBUG : dir: Looking for writers 2024/11/20 04:31:41 DEBUG : file1: reading active writers 2024/11/20 04:31:41 DEBUG : : Looking for writers 2024/11/20 04:31:41 DEBUG : dir: reading active writers 2024/11/20 04:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/20 04:31:42 DEBUG : dir: Looking for writers 2024/11/20 04:31:42 DEBUG : file1: reading active writers 2024/11/20 04:31:42 DEBUG : : Looking for writers 2024/11/20 04:31:42 DEBUG : dir: reading active writers 2024/11/20 04:31:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/20 04:31:42 DEBUG : dir: Looking for writers 2024/11/20 04:31:42 DEBUG : file1: reading active writers 2024/11/20 04:31:42 DEBUG : : Looking for writers 2024/11/20 04:31:42 DEBUG : dir: reading active writers 2024/11/20 04:31:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/20 04:31:42 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2024/11/20 04:31:42 INFO : dir/file1: Copied (replaced existing) 2024/11/20 04:31:42 DEBUG : dir/file1: vfs cache: fingerprint now "20,2024-11-20 04:31:41 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2024/11/20 04:31:42 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/20 04:31:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/20 04:31:42 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/20 04:31:43 DEBUG : dir: Looking for writers 2024/11/20 04:31:43 DEBUG : file1: reading active writers 2024/11/20 04:31:43 DEBUG : : Looking for writers 2024/11/20 04:31:43 DEBUG : dir: reading active writers 2024/11/20 04:31:43 DEBUG : >WaitForWriters: 2024/11/20 04:31:43 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (6.03s) FAIL 2024/11/20 04:31:44 DEBUG : OpenDrive root 'rclone-test-kihezid2rozu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease)$'" - Finished ERROR in 56.656834225s (try 2/5): exit status 1: Failed [TestReadFileHandleReadAt]