"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^full,forceCache=false$'" - Starting (try 3/5) 2025/04/24 01:44:49 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-fozidax9xera" 2025/04/24 01:44:49 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/24 01:44:50 DEBUG : Starting OpenDrive session with ID: 15781c6e4c06a81b010b0572a082783c532784e6fdf143de08104c62faa75be5 2025/04/24 01:44:50 DEBUG : Creating backend with remote "/tmp/rclone1031659794" === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:44:50 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:44:50 NOTICE: OpenDrive root 'rclone-test-fozidax9xera': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/24 01:44:52 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/24 01:44:54 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/04/24 01:44:54 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/04/24 01:44:54 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/04/24 01:44:54 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/04/24 01:44:54 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': File to upload is small (5 bytes), uploading instead of streaming 2025/04/24 01:44:55 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/04/24 01:44:55 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/04/24 01:44:55 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/04/24 01:44:55 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/04/24 01:44:55 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:44:55 DEBUG : dir: Looking for writers 2025/04/24 01:44:55 DEBUG : file1: reading active writers 2025/04/24 01:44:55 DEBUG : potato: reading active writers 2025/04/24 01:44:55 DEBUG : : Looking for writers 2025/04/24 01:44:55 DEBUG : dir: reading active writers 2025/04/24 01:44:55 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestDirCreate (7.74s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:44:58 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:44:58 NOTICE: OpenDrive root 'rclone-test-fozidax9xera': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/24 01:44:59 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/24 01:45:01 DEBUG : dir/file1: Remove: 2025/04/24 01:45:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/24 01:45:01 DEBUG : dir/file1: >Remove: err= dir_test.go:504: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:504 Error: Should be true Test: TestDirRemoveName 2025/04/24 01:45:02 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:02 DEBUG : dir: Looking for writers 2025/04/24 01:45:02 DEBUG : : Looking for writers 2025/04/24 01:45:02 DEBUG : dir: reading active writers 2025/04/24 01:45:02 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (4.67s) === RUN TestFileRename === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:03 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:03 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:45:03 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:03 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:03 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:45:04 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/24 01:45:06 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:06 DEBUG : dir: Looking for writers 2025/04/24 01:45:06 DEBUG : file1: reading active writers 2025/04/24 01:45:06 DEBUG : : Looking for writers 2025/04/24 01:45:06 DEBUG : dir: reading active writers 2025/04/24 01:45:06 DEBUG : >WaitForWriters: 2025/04/24 01:45:06 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:06 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:45:06 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:45:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:45:06 DEBUG : dir/file1(0xc000138b80): _readAt: size=512, off=0 2025/04/24 01:45:06 DEBUG : dir/file1(0xc000138b80): openPending: 2025/04/24 01:45:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/04/24 01:45:06 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/24 01:45:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:06 DEBUG : dir/file1(0xc000138b80): >openPending: err= 2025/04/24 01:45:06 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/04/24 01:45:06 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/24 01:45:06 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:06 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:06 DEBUG : dir/file1(0xc000138b80): >_readAt: n=14, err=EOF 2025/04/24 01:45:06 DEBUG : dir/file1(0xc000138b80): close: 2025/04/24 01:45:06 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/24 01:45:06 DEBUG : dir/file1(0xc000138b80): >close: err= 2025/04/24 01:45:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/24 01:45:07 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/24 01:45:07 DEBUG : newLeaf: Updating file with newLeaf 0xc000594a80 2025/04/24 01:45:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/24 01:45:07 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/24 01:45:08 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/24 01:45:08 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/04/24 01:45:08 DEBUG : dir/file1: Updating file with dir/file1 0xc000594a80 2025/04/24 01:45:08 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/24 01:45:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:08 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/24 01:45:08 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:45:08 DEBUG : dir/file1(0xc0007ac180): openPending: 2025/04/24 01:45:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2025/04/24 01:45:08 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2025/04/24 01:45:08 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/04/24 01:45:08 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/24 01:45:08 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/24 01:45:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:08 DEBUG : dir/file1(0xc0007ac180): >openPending: err= 2025/04/24 01:45:08 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/24 01:45:08 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:45:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:45:08 DEBUG : dir/file1(0xc0007ac180): _writeAt: size=25, off=0 2025/04/24 01:45:08 DEBUG : dir/file1(0xc0007ac180): >_writeAt: n=25, err= 2025/04/24 01:45:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/24 01:45:09 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/24 01:45:09 DEBUG : newLeaf: Updating file with newLeaf 0xc000594a80 2025/04/24 01:45:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/24 01:45:09 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/24 01:45:09 DEBUG : newLeaf(0xc0007ac180): close: 2025/04/24 01:45:09 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/04/24 01:45:09 DEBUG : newLeaf: vfs cache: setting modification time to 2025-04-24 01:45:08.607246702 +0000 UTC m=+18.954195544 2025/04/24 01:45:09 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/04/24 01:45:09 DEBUG : newLeaf(0xc0007ac180): >close: err= 2025/04/24 01:45:09 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:09 DEBUG : dir: Looking for writers 2025/04/24 01:45:09 DEBUG : : Looking for writers 2025/04/24 01:45:09 DEBUG : dir: reading active writers 2025/04/24 01:45:09 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/24 01:45:09 DEBUG : dir: Looking for writers 2025/04/24 01:45:09 DEBUG : : Looking for writers 2025/04/24 01:45:09 DEBUG : dir: reading active writers 2025/04/24 01:45:09 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/24 01:45:09 DEBUG : dir: Looking for writers 2025/04/24 01:45:09 DEBUG : : Looking for writers 2025/04/24 01:45:09 DEBUG : dir: reading active writers 2025/04/24 01:45:09 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/24 01:45:09 DEBUG : dir: Looking for writers 2025/04/24 01:45:09 DEBUG : : Looking for writers 2025/04/24 01:45:09 DEBUG : dir: reading active writers 2025/04/24 01:45:09 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/24 01:45:09 DEBUG : newLeaf: vfs cache: starting upload 2025/04/24 01:45:09 DEBUG : dir: Looking for writers 2025/04/24 01:45:09 DEBUG : : Looking for writers 2025/04/24 01:45:09 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:09 DEBUG : dir: reading active writers 2025/04/24 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/24 01:45:09 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/04/24 01:45:09 DEBUG : dir: Looking for writers 2025/04/24 01:45:09 DEBUG : : Looking for writers 2025/04/24 01:45:09 DEBUG : dir: reading active writers 2025/04/24 01:45:09 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/24 01:45:09 DEBUG : dir: Looking for writers 2025/04/24 01:45:09 DEBUG : : Looking for writers 2025/04/24 01:45:09 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:09 DEBUG : dir: reading active writers 2025/04/24 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/24 01:45:10 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/24 01:45:10 INFO : newLeaf: Copied (replaced existing) 2025/04/24 01:45:10 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-04-24 01:45:08 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/04/24 01:45:10 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/04/24 01:45:10 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/24 01:45:10 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/04/24 01:45:10 DEBUG : dir: Looking for writers 2025/04/24 01:45:10 DEBUG : : Looking for writers 2025/04/24 01:45:10 DEBUG : dir: reading active writers 2025/04/24 01:45:10 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:10 DEBUG : >WaitForWriters: 2025/04/24 01:45:10 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:10 DEBUG : dir: Looking for writers 2025/04/24 01:45:10 DEBUG : : Looking for writers 2025/04/24 01:45:10 DEBUG : dir: reading active writers 2025/04/24 01:45:10 DEBUG : newLeaf: reading active writers 2025/04/24 01:45:10 DEBUG : >WaitForWriters: 2025/04/24 01:45:10 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting --- PASS: TestFileRename (8.77s) --- PASS: TestFileRename/full,forceCache=false (8.76s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:11 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:11 NOTICE: OpenDrive root 'rclone-test-fozidax9xera': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/24 01:45:13 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:14 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:14 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/24 01:45:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/24 01:45:14 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:15 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:15 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:15 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:15 DEBUG : dir: Looking for writers 2025/04/24 01:45:15 DEBUG : file1: reading active writers 2025/04/24 01:45:15 DEBUG : : Looking for writers 2025/04/24 01:45:15 DEBUG : dir: reading active writers 2025/04/24 01:45:15 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.33s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:16 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:16 NOTICE: OpenDrive root 'rclone-test-fozidax9xera': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/24 01:45:17 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:19 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:19 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:19 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/24 01:45:19 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/24 01:45:19 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:19 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:19 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/04/24 01:45:19 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/04/24 01:45:19 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/04/24 01:45:19 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/04/24 01:45:19 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/04/24 01:45:19 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/04/24 01:45:19 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/04/24 01:45:20 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/04/24 01:45:20 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/04/24 01:45:20 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/04/24 01:45:20 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/04/24 01:45:20 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/04/24 01:45:20 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/04/24 01:45:20 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/04/24 01:45:20 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/04/24 01:45:21 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:21 DEBUG : dir: Looking for writers 2025/04/24 01:45:21 DEBUG : file1: reading active writers 2025/04/24 01:45:21 DEBUG : : Looking for writers 2025/04/24 01:45:21 DEBUG : dir: reading active writers 2025/04/24 01:45:21 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (6.20s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:22 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:22 NOTICE: OpenDrive root 'rclone-test-fozidax9xera': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/24 01:45:23 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:24 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:25 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:25 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/24 01:45:25 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/24 01:45:25 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:25 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:25 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/04/24 01:45:25 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/04/24 01:45:25 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/04/24 01:45:25 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/04/24 01:45:25 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/04/24 01:45:25 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/04/24 01:45:25 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/04/24 01:45:26 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/04/24 01:45:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/04/24 01:45:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/04/24 01:45:26 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/04/24 01:45:26 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/04/24 01:45:26 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/04/24 01:45:26 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/04/24 01:45:26 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/04/24 01:45:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/04/24 01:45:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/04/24 01:45:26 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/04/24 01:45:27 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/04/24 01:45:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/04/24 01:45:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/04/24 01:45:27 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/04/24 01:45:27 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/04/24 01:45:27 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/04/24 01:45:27 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/04/24 01:45:27 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/04/24 01:45:27 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/04/24 01:45:27 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/04/24 01:45:27 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/04/24 01:45:27 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/04/24 01:45:27 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:27 DEBUG : dir: Looking for writers 2025/04/24 01:45:27 DEBUG : file1: reading active writers 2025/04/24 01:45:27 DEBUG : : Looking for writers 2025/04/24 01:45:27 DEBUG : dir: reading active writers 2025/04/24 01:45:27 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (6.29s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:28 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:28 NOTICE: OpenDrive root 'rclone-test-fozidax9xera': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/24 01:45:29 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:31 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:31 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:31 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/24 01:45:31 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/24 01:45:31 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:32 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:32 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:32 DEBUG : dir: Looking for writers 2025/04/24 01:45:32 DEBUG : file1: reading active writers 2025/04/24 01:45:32 DEBUG : : Looking for writers 2025/04/24 01:45:32 DEBUG : dir: reading active writers 2025/04/24 01:45:32 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (4.55s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:33 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:33 NOTICE: OpenDrive root 'rclone-test-fozidax9xera': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/24 01:45:34 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:35 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:36 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/24 01:45:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/24 01:45:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:36 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:36 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/04/24 01:45:36 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/04/24 01:45:36 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:36 DEBUG : dir: Looking for writers 2025/04/24 01:45:36 DEBUG : file1: reading active writers 2025/04/24 01:45:36 DEBUG : : Looking for writers 2025/04/24 01:45:36 DEBUG : dir: reading active writers 2025/04/24 01:45:36 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.31s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:37 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:37 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:45:37 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:37 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:37 DEBUG : Config file has changed externally - reloading 2025/04/24 01:45:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:37 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:45:38 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:40 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:40 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:40 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:45:40 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:45:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:45:40 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): _readAt: size=1, off=0 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): openPending: 2025/04/24 01:45:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/24 01:45:40 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/24 01:45:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): >openPending: err= 2025/04/24 01:45:40 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/04/24 01:45:40 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/24 01:45:40 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:40 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): >_readAt: n=1, err= 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): _readAt: size=256, off=1 2025/04/24 01:45:40 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): >_readAt: n=15, err=EOF 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): _readAt: size=16, off=16 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): >_readAt: n=0, err=EOF 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): close: 2025/04/24 01:45:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): >close: err= 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): close: 2025/04/24 01:45:40 DEBUG : dir/file1(0xc0009502c0): >close: err=file already closed 2025/04/24 01:45:40 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:40 DEBUG : dir: Looking for writers 2025/04/24 01:45:40 DEBUG : file1: reading active writers 2025/04/24 01:45:40 DEBUG : : Looking for writers 2025/04/24 01:45:40 DEBUG : dir: reading active writers 2025/04/24 01:45:40 DEBUG : >WaitForWriters: 2025/04/24 01:45:40 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.57s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:42 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:42 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:45:42 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:42 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:42 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:45:43 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:44 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:45 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:45 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:45:45 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:45:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:45:45 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): _readAt: size=1, off=0 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): openPending: 2025/04/24 01:45:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/24 01:45:45 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/24 01:45:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): >openPending: err= 2025/04/24 01:45:45 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/04/24 01:45:45 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/24 01:45:45 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:45 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): >_readAt: n=1, err= 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): _readAt: size=1, off=5 2025/04/24 01:45:45 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): >_readAt: n=1, err= 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): _readAt: size=1, off=3 2025/04/24 01:45:45 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): >_readAt: n=1, err= 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): _readAt: size=1, off=13 2025/04/24 01:45:45 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): >_readAt: n=1, err= 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): _readAt: size=16, off=100 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): >_readAt: n=0, err=EOF 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): close: 2025/04/24 01:45:45 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/24 01:45:45 DEBUG : dir/file1(0xc000138500): >close: err= 2025/04/24 01:45:45 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:45 DEBUG : dir: Looking for writers 2025/04/24 01:45:45 DEBUG : file1: reading active writers 2025/04/24 01:45:45 DEBUG : : Looking for writers 2025/04/24 01:45:45 DEBUG : dir: reading active writers 2025/04/24 01:45:45 DEBUG : >WaitForWriters: 2025/04/24 01:45:45 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.55s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:46 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:46 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:45:46 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:46 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:46 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:45:47 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:49 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:49 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:49 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:45:49 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:45:49 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:45:49 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): _readAt: size=1, off=0 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): openPending: 2025/04/24 01:45:49 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/24 01:45:49 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/24 01:45:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >openPending: err= 2025/04/24 01:45:49 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/04/24 01:45:49 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/24 01:45:49 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:49 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >_readAt: n=1, err= 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): _readAt: size=1, off=5 2025/04/24 01:45:49 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >_readAt: n=1, err= 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): _readAt: size=1, off=1 2025/04/24 01:45:49 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >_readAt: n=1, err= 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): _readAt: size=6, off=10 2025/04/24 01:45:49 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >_readAt: n=6, err= 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): _readAt: size=256, off=10 2025/04/24 01:45:49 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >_readAt: n=6, err=EOF 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): _readAt: size=256, off=100 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >_readAt: n=0, err=EOF 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): close: 2025/04/24 01:45:49 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >close: err= 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): _readAt: size=256, off=100 2025/04/24 01:45:49 DEBUG : dir/file1(0xc000138500): >_readAt: n=0, err=file already closed 2025/04/24 01:45:49 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:49 DEBUG : dir: Looking for writers 2025/04/24 01:45:49 DEBUG : file1: reading active writers 2025/04/24 01:45:49 DEBUG : : Looking for writers 2025/04/24 01:45:49 DEBUG : dir: reading active writers 2025/04/24 01:45:49 DEBUG : >WaitForWriters: 2025/04/24 01:45:49 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.45s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:51 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:51 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:45:51 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:51 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:51 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:45:52 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:53 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:54 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:54 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:45:54 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:45:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:45:54 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): RWFileHandle.Flush 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): _readAt: size=256, off=0 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): openPending: 2025/04/24 01:45:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/24 01:45:54 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/24 01:45:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): >openPending: err= 2025/04/24 01:45:54 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/04/24 01:45:54 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/24 01:45:54 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:54 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): >_readAt: n=16, err=EOF 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): RWFileHandle.Flush 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): RWFileHandle.Flush 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): close: 2025/04/24 01:45:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/24 01:45:54 DEBUG : dir/file1(0xc000950500): >close: err= 2025/04/24 01:45:54 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:54 DEBUG : dir: Looking for writers 2025/04/24 01:45:54 DEBUG : file1: reading active writers 2025/04/24 01:45:54 DEBUG : : Looking for writers 2025/04/24 01:45:54 DEBUG : dir: reading active writers 2025/04/24 01:45:54 DEBUG : >WaitForWriters: 2025/04/24 01:45:54 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestRWFileHandleFlushRead (5.60s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:45:56 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:45:56 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:45:56 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:56 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:45:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:45:56 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:45:57 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:45:59 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/24 01:45:59 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/24 01:45:59 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:45:59 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:45:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:45:59 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): _readAt: size=256, off=0 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): openPending: 2025/04/24 01:45:59 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/24 01:45:59 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/24 01:45:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): >openPending: err= 2025/04/24 01:45:59 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/04/24 01:45:59 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/24 01:45:59 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/24 01:45:59 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): >_readAt: n=16, err=EOF 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): RWFileHandle.Release 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): close: 2025/04/24 01:45:59 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): >close: err= 2025/04/24 01:45:59 DEBUG : dir/file1(0xc0007ac440): RWFileHandle.Release 2025/04/24 01:45:59 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:45:59 DEBUG : dir: Looking for writers 2025/04/24 01:45:59 DEBUG : file1: reading active writers 2025/04/24 01:45:59 DEBUG : : Looking for writers 2025/04/24 01:45:59 DEBUG : dir: reading active writers 2025/04/24 01:45:59 DEBUG : >WaitForWriters: 2025/04/24 01:45:59 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestRWFileHandleReleaseRead (5.63s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:46:02 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:46:02 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:46:02 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:02 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:46:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:46:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:02 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:46:03 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:46:05 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2025/04/24 01:46:05 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/24 01:46:05 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:46:05 DEBUG : dir/file1(0xc000138c80): openPending: 2025/04/24 01:46:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/24 01:46:05 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/24 01:46:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:46:05 DEBUG : dir/file1(0xc000138c80): >openPending: err= 2025/04/24 01:46:05 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/24 01:46:05 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:46:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:46:05 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/24 01:46:05 DEBUG : dir/file1(0xc000138c80): _writeAt: size=5, off=0 2025/04/24 01:46:05 DEBUG : dir/file1(0xc000138c80): >_writeAt: n=5, err= 2025/04/24 01:46:05 DEBUG : dir/file1(0xc000138c80): close: 2025/04/24 01:46:05 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/04/24 01:46:05 DEBUG : dir/file1: vfs cache: setting modification time to 2025-04-24 01:46:05.738185578 +0000 UTC m=+76.085134439 2025/04/24 01:46:05 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/04/24 01:46:05 DEBUG : dir/file1(0xc000138c80): >close: err= 2025/04/24 01:46:05 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:46:05 DEBUG : dir: Looking for writers 2025/04/24 01:46:05 DEBUG : file1: reading active writers 2025/04/24 01:46:05 DEBUG : : Looking for writers 2025/04/24 01:46:05 DEBUG : dir: reading active writers 2025/04/24 01:46:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/24 01:46:05 DEBUG : dir: Looking for writers 2025/04/24 01:46:05 DEBUG : file1: reading active writers 2025/04/24 01:46:05 DEBUG : : Looking for writers 2025/04/24 01:46:05 DEBUG : dir: reading active writers 2025/04/24 01:46:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/24 01:46:05 DEBUG : dir: Looking for writers 2025/04/24 01:46:05 DEBUG : file1: reading active writers 2025/04/24 01:46:05 DEBUG : : Looking for writers 2025/04/24 01:46:05 DEBUG : dir: reading active writers 2025/04/24 01:46:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/24 01:46:05 DEBUG : dir: Looking for writers 2025/04/24 01:46:05 DEBUG : file1: reading active writers 2025/04/24 01:46:05 DEBUG : : Looking for writers 2025/04/24 01:46:05 DEBUG : dir: reading active writers 2025/04/24 01:46:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/24 01:46:05 DEBUG : dir/file1: vfs cache: starting upload 2025/04/24 01:46:05 DEBUG : dir: Looking for writers 2025/04/24 01:46:05 DEBUG : file1: reading active writers 2025/04/24 01:46:05 DEBUG : : Looking for writers 2025/04/24 01:46:05 DEBUG : dir: reading active writers 2025/04/24 01:46:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/24 01:46:06 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/04/24 01:46:06 DEBUG : dir: Looking for writers 2025/04/24 01:46:06 DEBUG : file1: reading active writers 2025/04/24 01:46:06 DEBUG : : Looking for writers 2025/04/24 01:46:06 DEBUG : dir: reading active writers 2025/04/24 01:46:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/24 01:46:06 DEBUG : dir: Looking for writers 2025/04/24 01:46:06 DEBUG : file1: reading active writers 2025/04/24 01:46:06 DEBUG : : Looking for writers 2025/04/24 01:46:06 DEBUG : dir: reading active writers 2025/04/24 01:46:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/24 01:46:07 DEBUG : dir: Looking for writers 2025/04/24 01:46:07 DEBUG : file1: reading active writers 2025/04/24 01:46:07 DEBUG : : Looking for writers 2025/04/24 01:46:07 DEBUG : dir: reading active writers 2025/04/24 01:46:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/04/24 01:46:07 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/04/24 01:46:07 INFO : dir/file1: Copied (replaced existing) 2025/04/24 01:46:07 DEBUG : dir/file1: vfs cache: fingerprint now "5,2025-04-24 01:46:05 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/04/24 01:46:07 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/04/24 01:46:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:46:07 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/04/24 01:46:08 DEBUG : dir: Looking for writers 2025/04/24 01:46:08 DEBUG : file1: reading active writers 2025/04/24 01:46:08 DEBUG : : Looking for writers 2025/04/24 01:46:08 DEBUG : dir: reading active writers 2025/04/24 01:46:08 DEBUG : >WaitForWriters: 2025/04/24 01:46:08 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (6.73s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-fozidax9xera'", Local "Local file system at /tmp/rclone1031659794", Modify Window "1s" 2025/04/24 01:46:09 INFO : OpenDrive root 'rclone-test-fozidax9xera': poll-interval is not supported by this remote 2025/04/24 01:46:09 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/24 01:46:09 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:09 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:46:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/24 01:46:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-fozidax9xera" 2025/04/24 01:46:09 INFO : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/24 01:46:10 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/24 01:46:11 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/04/24 01:46:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/04/24 01:46:12 DEBUG : dir/file1: newRWFileHandle: 2025/04/24 01:46:12 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/24 01:46:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:46:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/24 01:46:12 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): _writeAt: size=5, off=0 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): openPending: 2025/04/24 01:46:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/24 01:46:12 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/24 01:46:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): >openPending: err= 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): >_writeAt: n=5, err= 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): _writeAt: size=15, off=5 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): >_writeAt: n=15, err= 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): close: 2025/04/24 01:46:12 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/04/24 01:46:12 DEBUG : dir/file1: vfs cache: setting modification time to 2025-04-24 01:46:12.255679193 +0000 UTC m=+82.602628044 2025/04/24 01:46:12 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/04/24 01:46:12 DEBUG : dir/file1(0xc0009508c0): >close: err= 2025/04/24 01:46:12 DEBUG : WaitForWriters: timeout=30s 2025/04/24 01:46:12 DEBUG : dir: Looking for writers 2025/04/24 01:46:12 DEBUG : file1: reading active writers 2025/04/24 01:46:12 DEBUG : : Looking for writers 2025/04/24 01:46:12 DEBUG : dir: reading active writers 2025/04/24 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/24 01:46:12 DEBUG : dir: Looking for writers 2025/04/24 01:46:12 DEBUG : file1: reading active writers 2025/04/24 01:46:12 DEBUG : : Looking for writers 2025/04/24 01:46:12 DEBUG : dir: reading active writers 2025/04/24 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/24 01:46:12 DEBUG : dir: Looking for writers 2025/04/24 01:46:12 DEBUG : file1: reading active writers 2025/04/24 01:46:12 DEBUG : : Looking for writers 2025/04/24 01:46:12 DEBUG : dir: reading active writers 2025/04/24 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/24 01:46:12 DEBUG : dir: Looking for writers 2025/04/24 01:46:12 DEBUG : file1: reading active writers 2025/04/24 01:46:12 DEBUG : : Looking for writers 2025/04/24 01:46:12 DEBUG : dir: reading active writers 2025/04/24 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/24 01:46:12 DEBUG : dir/file1: vfs cache: starting upload 2025/04/24 01:46:12 DEBUG : dir: Looking for writers 2025/04/24 01:46:12 DEBUG : file1: reading active writers 2025/04/24 01:46:12 DEBUG : : Looking for writers 2025/04/24 01:46:12 DEBUG : dir: reading active writers 2025/04/24 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/24 01:46:12 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2025/04/24 01:46:12 DEBUG : dir: Looking for writers 2025/04/24 01:46:12 DEBUG : file1: reading active writers 2025/04/24 01:46:12 DEBUG : : Looking for writers 2025/04/24 01:46:12 DEBUG : dir: reading active writers 2025/04/24 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/24 01:46:12 DEBUG : dir: Looking for writers 2025/04/24 01:46:12 DEBUG : file1: reading active writers 2025/04/24 01:46:12 DEBUG : : Looking for writers 2025/04/24 01:46:12 DEBUG : dir: reading active writers 2025/04/24 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/24 01:46:13 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2025/04/24 01:46:13 INFO : dir/file1: Copied (replaced existing) 2025/04/24 01:46:13 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-04-24 01:46:12 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2025/04/24 01:46:13 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/04/24 01:46:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/24 01:46:13 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/04/24 01:46:13 DEBUG : dir: Looking for writers 2025/04/24 01:46:13 DEBUG : file1: reading active writers 2025/04/24 01:46:13 DEBUG : : Looking for writers 2025/04/24 01:46:13 DEBUG : dir: reading active writers 2025/04/24 01:46:13 DEBUG : >WaitForWriters: 2025/04/24 01:46:13 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (5.53s) FAIL 2025/04/24 01:46:14 DEBUG : OpenDrive root 'rclone-test-fozidax9xera': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^full,forceCache=false$'" - Finished ERROR in 1m25.495131252s (try 3/5): exit status 1: Failed [TestDirRemoveName]