"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRemoveName|TestDirWalk|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleWriteNoWrite|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 2/5) 2025/07/04 01:22:26 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-dezemov7vozo" 2025/07/04 01:22:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/04 01:22:26 DEBUG : Starting OpenDrive session with ID: 25da5ce59e9aabec0bfe5f54d3711641d56514f4e5e11bd09e8a8a062276dfa6 2025/07/04 01:22:27 DEBUG : Creating backend with remote "/tmp/rclone2925805271" === RUN TestDirWalk run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:22:27 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:22:27 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:22:28 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/04 01:22:31 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 2025/07/04 01:22:33 DEBUG : forgetting directory cache 2025/07/04 01:22:33 DEBUG : dir: forgetting directory cache 2025/07/04 01:22:34 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:22:34 DEBUG : dir: Looking for writers 2025/07/04 01:22:34 DEBUG : fil/a/b: Looking for writers 2025/07/04 01:22:34 DEBUG : fil/a: Looking for writers 2025/07/04 01:22:34 DEBUG : b: reading active writers 2025/07/04 01:22:34 DEBUG : fil: Looking for writers 2025/07/04 01:22:34 DEBUG : a: reading active writers 2025/07/04 01:22:34 DEBUG : Looking for writers 2025/07/04 01:22:34 DEBUG : dir: reading active writers 2025/07/04 01:22:34 DEBUG : fil: reading active writers 2025/07/04 01:22:34 DEBUG : >WaitForWriters: fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- PASS: TestDirWalk (17.43s) === RUN TestDirReadDirAll run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:22:44 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:22:44 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:22:45 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/04 01:22:47 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/07/04 01:22:50 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2025/07/04 01:22:52 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/07/04 01:22:52 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/07/04 01:22:52 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/07/04 01:22:52 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/07/04 01:22:52 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2025/07/04 01:22:55 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2025/07/04 01:22:56 DEBUG : dir: invalidating directory cache 2025/07/04 01:22:57 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/07/04 01:22:57 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/07/04 01:22:57 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/07/04 01:22:57 DEBUG : dir/file1: Reset virtual modtime 2025/07/04 01:22:57 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/07/04 01:22:57 DEBUG : dir/virtualFile: Reset virtual modtime dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:300 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,20,false"} actual : []string{"file1,14,false", "subdir,0,true", "virtualDir,0,true", "virtualFile,20,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=3) { +([]string) (len=4) { (string) (len=14) "file1,14,false", + (string) (len=13) "subdir,0,true", (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2025/07/04 01:22:57 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/07/04 01:22:57 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/07/04 01:22:57 DEBUG : dir: Added virtual directory entry vDel: "file1" dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:313 Error: Not equal: expected: []string{"virtualDir,0,true", "virtualDir2,0,true", "virtualFile,20,false", "virtualFile2,100,false"} actual : []string{"subdir,0,true", "virtualDir,0,true", "virtualDir2,0,true", "virtualFile,20,false", "virtualFile2,100,false"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) (len=4) { +([]string) (len=5) { + (string) (len=13) "subdir,0,true", (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2025/07/04 01:22:57 DEBUG : dir: invalidating directory cache 2025/07/04 01:22:57 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/07/04 01:22:57 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/07/04 01:22:57 DEBUG : dir/virtualFile: Reset virtual modtime 2025/07/04 01:22:57 DEBUG : forgetting directory cache 2025/07/04 01:22:57 DEBUG : dir: forgetting directory cache 2025/07/04 01:22:57 DEBUG : dir/virtualDir: forgetting directory cache 2025/07/04 01:22:57 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:22:57 DEBUG : dir/virtualDir: Looking for writers 2025/07/04 01:22:57 DEBUG : dir: Looking for writers 2025/07/04 01:22:57 DEBUG : virtualDir: reading active writers 2025/07/04 01:22:57 DEBUG : file1: reading active writers 2025/07/04 01:22:57 DEBUG : virtualFile2: reading active writers 2025/07/04 01:22:57 DEBUG : virtualFile: reading active writers 2025/07/04 01:22:57 DEBUG : Looking for writers 2025/07/04 01:22:57 DEBUG : dir: reading active writers 2025/07/04 01:22:57 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (14.53s) --- FAIL: TestDirReadDirAll/Virtual (5.09s) === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:22:59 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:22:59 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:00 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 dir_test.go:354: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:354 Error: Should be true Test: TestDirCreate 2025/07/04 01:23:01 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/07/04 01:23:01 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/04 01:23:01 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/07/04 01:23:01 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/04 01:23:01 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': File to upload is small (5 bytes), uploading instead of streaming 2025/07/04 01:23:02 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/07/04 01:23:03 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/07/04 01:23:03 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/07/04 01:23:03 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/04 01:23:03 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:03 DEBUG : dir: Looking for writers 2025/07/04 01:23:03 DEBUG : file1: reading active writers 2025/07/04 01:23:03 DEBUG : potato: reading active writers 2025/07/04 01:23:03 DEBUG : Looking for writers 2025/07/04 01:23:03 DEBUG : dir: reading active writers 2025/07/04 01:23:03 DEBUG : >WaitForWriters: fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- FAIL: TestDirCreate (13.34s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:12 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:12 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:13 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/04 01:23:15 DEBUG : dir: Added virtual directory entry vAddDir: "sub" dir_test.go:398: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:398 Error: Should be true Test: TestDirMkdir 2025/07/04 01:23:16 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:16 DEBUG : dir/sub: Looking for writers 2025/07/04 01:23:16 DEBUG : dir: Looking for writers 2025/07/04 01:23:16 DEBUG : file1: reading active writers 2025/07/04 01:23:16 DEBUG : sub: reading active writers 2025/07/04 01:23:16 DEBUG : Looking for writers 2025/07/04 01:23:16 DEBUG : dir: reading active writers 2025/07/04 01:23:16 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (5.57s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:18 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:18 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:19 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure 2025/07/04 01:23:28 DEBUG : dir/file1: Remove: 2025/07/04 01:23:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/04 01:23:28 DEBUG : dir/file1: >Remove: err= 2025/07/04 01:23:28 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:28 DEBUG : dir: Looking for writers 2025/07/04 01:23:28 DEBUG : Looking for writers 2025/07/04 01:23:28 DEBUG : dir: reading active writers 2025/07/04 01:23:28 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (11.52s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:29 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:29 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:30 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:23:31 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:23:32 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:23:32 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/04 01:23:32 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/04 01:23:32 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:23:32 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/04 01:23:32 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/07/04 01:23:32 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:32 DEBUG : dir: Looking for writers 2025/07/04 01:23:32 DEBUG : file1: reading active writers 2025/07/04 01:23:32 DEBUG : Looking for writers 2025/07/04 01:23:32 DEBUG : dir: reading active writers 2025/07/04 01:23:32 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.06s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:33 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:33 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:34 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:23:36 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:23:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:23:36 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/04 01:23:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/04 01:23:36 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/04 01:23:36 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/04 01:23:36 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/04 01:23:36 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/04 01:23:36 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/07/04 01:23:36 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/07/04 01:23:37 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/07/04 01:23:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/07/04 01:23:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/07/04 01:23:37 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/07/04 01:23:37 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:37 DEBUG : dir: Looking for writers 2025/07/04 01:23:37 DEBUG : file1: reading active writers 2025/07/04 01:23:37 DEBUG : Looking for writers 2025/07/04 01:23:37 DEBUG : dir: reading active writers 2025/07/04 01:23:37 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (5.31s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:38 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:38 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:40 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:23:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:23:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:23:41 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/04 01:23:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/04 01:23:41 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:23:41 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/04 01:23:41 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/04 01:23:41 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/04 01:23:41 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/04 01:23:41 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/04 01:23:41 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/04 01:23:41 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/04 01:23:41 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/04 01:23:42 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/07/04 01:23:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/07/04 01:23:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/07/04 01:23:42 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/07/04 01:23:42 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/07/04 01:23:42 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/07/04 01:23:42 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/07/04 01:23:42 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/07/04 01:23:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/07/04 01:23:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/07/04 01:23:42 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/04 01:23:43 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/07/04 01:23:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/07/04 01:23:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/07/04 01:23:43 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/04 01:23:43 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/04 01:23:43 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/04 01:23:43 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/04 01:23:43 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/07/04 01:23:43 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/04 01:23:43 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/04 01:23:43 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/04 01:23:43 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/07/04 01:23:43 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:43 DEBUG : dir: Looking for writers 2025/07/04 01:23:43 DEBUG : file1: reading active writers 2025/07/04 01:23:43 DEBUG : Looking for writers 2025/07/04 01:23:43 DEBUG : dir: reading active writers 2025/07/04 01:23:43 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (5.81s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:44 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:44 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:45 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:23:47 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:23:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:23:47 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/04 01:23:47 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/04 01:23:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:23:47 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/04 01:23:47 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:47 DEBUG : dir: Looking for writers 2025/07/04 01:23:47 DEBUG : file1: reading active writers 2025/07/04 01:23:47 DEBUG : Looking for writers 2025/07/04 01:23:47 DEBUG : dir: reading active writers 2025/07/04 01:23:47 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (4.12s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:48 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:48 NOTICE: OpenDrive root 'rclone-test-dezemov7vozo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/04 01:23:49 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:23:51 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:23:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:23:52 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/04 01:23:52 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/04 01:23:52 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:23:52 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/04 01:23:52 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/07/04 01:23:52 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/07/04 01:23:52 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:52 DEBUG : dir: Looking for writers 2025/07/04 01:23:52 DEBUG : file1: reading active writers 2025/07/04 01:23:52 DEBUG : Looking for writers 2025/07/04 01:23:52 DEBUG : dir: reading active writers 2025/07/04 01:23:52 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.50s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:53 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:53 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/04 01:23:53 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:53 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:23:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:23:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:53 INFO : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/04 01:23:54 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:23:55 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:23:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:23:56 DEBUG : dir/file1: newRWFileHandle: 2025/07/04 01:23:56 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/04 01:23:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/04 01:23:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): _readAt: size=1, off=0 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): openPending: 2025/07/04 01:23:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/04 01:23:56 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/04 01:23:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): >openPending: err= 2025/07/04 01:23:56 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/04 01:23:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/04 01:23:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/04 01:23:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): >_readAt: n=1, err= 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): _readAt: size=256, off=1 2025/07/04 01:23:56 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): >_readAt: n=15, err=EOF 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): _readAt: size=16, off=16 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): >_readAt: n=0, err=EOF 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): close: 2025/07/04 01:23:56 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): >close: err= 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): close: 2025/07/04 01:23:56 DEBUG : dir/file1(0xc000a0a500): >close: err=file already closed 2025/07/04 01:23:56 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:23:56 DEBUG : dir: Looking for writers 2025/07/04 01:23:56 DEBUG : file1: reading active writers 2025/07/04 01:23:56 DEBUG : Looking for writers 2025/07/04 01:23:56 DEBUG : dir: reading active writers 2025/07/04 01:23:56 DEBUG : >WaitForWriters: 2025/07/04 01:23:56 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.12s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:23:57 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:23:57 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/04 01:23:57 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:57 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:23:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:23:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:23:57 INFO : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/04 01:23:58 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:23:59 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:24:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:24:00 DEBUG : dir/file1: newRWFileHandle: 2025/07/04 01:24:00 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/04 01:24:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/04 01:24:00 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): _readAt: size=1, off=0 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): openPending: 2025/07/04 01:24:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/04 01:24:00 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/04 01:24:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): >openPending: err= 2025/07/04 01:24:00 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/04 01:24:00 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/04 01:24:00 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/04 01:24:00 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): >_readAt: n=1, err= 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): _readAt: size=1, off=5 2025/07/04 01:24:00 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): >_readAt: n=1, err= 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): _readAt: size=1, off=3 2025/07/04 01:24:00 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): >_readAt: n=1, err= 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): _readAt: size=1, off=13 2025/07/04 01:24:00 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): >_readAt: n=1, err= 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): _readAt: size=16, off=100 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): >_readAt: n=0, err=EOF 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): close: 2025/07/04 01:24:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/04 01:24:00 DEBUG : dir/file1(0xc0003b0d00): >close: err= 2025/07/04 01:24:00 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:24:00 DEBUG : dir: Looking for writers 2025/07/04 01:24:00 DEBUG : file1: reading active writers 2025/07/04 01:24:00 DEBUG : Looking for writers 2025/07/04 01:24:00 DEBUG : dir: reading active writers 2025/07/04 01:24:00 DEBUG : >WaitForWriters: 2025/07/04 01:24:00 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (3.97s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:24:01 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:24:01 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/04 01:24:01 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:01 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:01 INFO : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/04 01:24:02 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:24:03 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:24:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:24:04 DEBUG : dir/file1: newRWFileHandle: 2025/07/04 01:24:04 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/04 01:24:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/04 01:24:04 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): _readAt: size=1, off=0 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): openPending: 2025/07/04 01:24:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/04 01:24:04 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/04 01:24:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >openPending: err= 2025/07/04 01:24:04 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/04 01:24:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/04 01:24:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/04 01:24:04 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >_readAt: n=1, err= 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): _readAt: size=1, off=5 2025/07/04 01:24:04 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >_readAt: n=1, err= 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): _readAt: size=1, off=1 2025/07/04 01:24:04 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >_readAt: n=1, err= 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): _readAt: size=6, off=10 2025/07/04 01:24:04 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >_readAt: n=6, err= 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): _readAt: size=256, off=10 2025/07/04 01:24:04 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >_readAt: n=6, err=EOF 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): _readAt: size=256, off=100 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >_readAt: n=0, err=EOF 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): close: 2025/07/04 01:24:04 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >close: err= 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): _readAt: size=256, off=100 2025/07/04 01:24:04 DEBUG : dir/file1(0xc000416bc0): >_readAt: n=0, err=file already closed 2025/07/04 01:24:04 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:24:04 DEBUG : dir: Looking for writers 2025/07/04 01:24:04 DEBUG : file1: reading active writers 2025/07/04 01:24:04 DEBUG : Looking for writers 2025/07/04 01:24:04 DEBUG : dir: reading active writers 2025/07/04 01:24:04 DEBUG : >WaitForWriters: 2025/07/04 01:24:04 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.11s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:24:05 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:24:05 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/04 01:24:05 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:05 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:05 INFO : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/04 01:24:06 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:24:08 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:24:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:24:08 DEBUG : dir/file1: newRWFileHandle: 2025/07/04 01:24:08 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/04 01:24:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/04 01:24:08 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): RWFileHandle.Flush 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): _readAt: size=256, off=0 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): openPending: 2025/07/04 01:24:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/04 01:24:08 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/04 01:24:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): >openPending: err= 2025/07/04 01:24:08 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/04 01:24:08 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/04 01:24:08 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/04 01:24:08 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): >_readAt: n=16, err=EOF 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): RWFileHandle.Flush 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): RWFileHandle.Flush 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): close: 2025/07/04 01:24:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/04 01:24:08 DEBUG : dir/file1(0xc000417580): >close: err= 2025/07/04 01:24:08 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:24:08 DEBUG : dir: Looking for writers 2025/07/04 01:24:08 DEBUG : file1: reading active writers 2025/07/04 01:24:08 DEBUG : Looking for writers 2025/07/04 01:24:08 DEBUG : dir: reading active writers 2025/07/04 01:24:08 DEBUG : >WaitForWriters: 2025/07/04 01:24:08 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.17s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:24:09 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:24:09 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/04 01:24:09 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:09 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:09 INFO : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/04 01:24:10 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/04 01:24:12 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/04 01:24:12 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/04 01:24:12 DEBUG : dir/file1: newRWFileHandle: 2025/07/04 01:24:12 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/04 01:24:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/04 01:24:12 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): _readAt: size=256, off=0 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): openPending: 2025/07/04 01:24:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/04 01:24:12 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/04 01:24:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): >openPending: err= 2025/07/04 01:24:12 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/04 01:24:12 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/04 01:24:12 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/04 01:24:12 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): >_readAt: n=16, err=EOF 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): RWFileHandle.Release 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): close: 2025/07/04 01:24:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): >close: err= 2025/07/04 01:24:12 DEBUG : dir/file1(0xc0002d0c40): RWFileHandle.Release 2025/07/04 01:24:12 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:24:12 DEBUG : dir: Looking for writers 2025/07/04 01:24:12 DEBUG : file1: reading active writers 2025/07/04 01:24:12 DEBUG : Looking for writers 2025/07/04 01:24:12 DEBUG : dir: reading active writers 2025/07/04 01:24:12 DEBUG : >WaitForWriters: 2025/07/04 01:24:12 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.02s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "OpenDrive root 'rclone-test-dezemov7vozo'", Local "Local file system at /tmp/rclone2925805271", Modify Window "1s" 2025/07/04 01:24:13 INFO : OpenDrive root 'rclone-test-dezemov7vozo': poll-interval is not supported by this remote 2025/07/04 01:24:13 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/04 01:24:13 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:13 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/04 01:24:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-dezemov7vozo" 2025/07/04 01:24:13 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/07/04 01:24:13 INFO : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/04 01:24:13 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/07/04 01:24:13 DEBUG : file1: newRWFileHandle: 2025/07/04 01:24:13 DEBUG : file1(0xc0003b0d80): openPending: 2025/07/04 01:24:13 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/07/04 01:24:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/07/04 01:24:13 DEBUG : file1(0xc0003b0d80): >openPending: err= 2025/07/04 01:24:13 DEBUG : file1: >newRWFileHandle: err= 2025/07/04 01:24:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/07/04 01:24:13 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/07/04 01:24:13 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/07/04 01:24:13 DEBUG : file1(0xc0003b0d80): close: 2025/07/04 01:24:13 DEBUG : file1: vfs cache: setting modification time to 2025-07-04 01:24:13.947804247 +0000 UTC m=+107.662415217 2025/07/04 01:24:13 INFO : file1: vfs cache: queuing for upload in 100ms 2025/07/04 01:24:13 DEBUG : file1(0xc0003b0d80): >close: err= 2025/07/04 01:24:13 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/07/04 01:24:13 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/07/04 01:24:13 DEBUG : file2: newRWFileHandle: 2025/07/04 01:24:13 DEBUG : file2(0xc0003b13c0): openPending: 2025/07/04 01:24:13 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/07/04 01:24:13 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/07/04 01:24:13 DEBUG : file2(0xc0003b13c0): >openPending: err= 2025/07/04 01:24:13 DEBUG : file2: >newRWFileHandle: err= 2025/07/04 01:24:13 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/07/04 01:24:13 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/07/04 01:24:13 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/07/04 01:24:13 DEBUG : file2(0xc0003b13c0): RWFileHandle.Flush 2025/07/04 01:24:13 DEBUG : file2(0xc0003b13c0): RWFileHandle.Release 2025/07/04 01:24:13 DEBUG : file2(0xc0003b13c0): close: 2025/07/04 01:24:13 DEBUG : file2: vfs cache: setting modification time to 2025-07-04 01:24:13.949307348 +0000 UTC m=+107.663918309 2025/07/04 01:24:13 INFO : file2: vfs cache: queuing for upload in 100ms 2025/07/04 01:24:13 DEBUG : file2(0xc0003b13c0): >close: err= 2025/07/04 01:24:13 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:24:13 DEBUG : Looking for writers 2025/07/04 01:24:13 DEBUG : file1: reading active writers 2025/07/04 01:24:13 DEBUG : file2: reading active writers 2025/07/04 01:24:13 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/07/04 01:24:13 DEBUG : Looking for writers 2025/07/04 01:24:13 DEBUG : file1: reading active writers 2025/07/04 01:24:13 DEBUG : file2: reading active writers 2025/07/04 01:24:13 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/07/04 01:24:13 DEBUG : Looking for writers 2025/07/04 01:24:13 DEBUG : file2: reading active writers 2025/07/04 01:24:13 DEBUG : file1: reading active writers 2025/07/04 01:24:13 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/07/04 01:24:14 DEBUG : Looking for writers 2025/07/04 01:24:14 DEBUG : file1: reading active writers 2025/07/04 01:24:14 DEBUG : file2: reading active writers 2025/07/04 01:24:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/07/04 01:24:14 DEBUG : file1: vfs cache: starting upload 2025/07/04 01:24:14 DEBUG : file2: vfs cache: starting upload 2025/07/04 01:24:14 DEBUG : Looking for writers 2025/07/04 01:24:14 DEBUG : file2: reading active writers 2025/07/04 01:24:14 DEBUG : file1: reading active writers 2025/07/04 01:24:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/07/04 01:24:14 DEBUG : Looking for writers 2025/07/04 01:24:14 DEBUG : file1: reading active writers 2025/07/04 01:24:14 DEBUG : file2: reading active writers 2025/07/04 01:24:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/07/04 01:24:14 DEBUG : Looking for writers 2025/07/04 01:24:14 DEBUG : file1: reading active writers 2025/07/04 01:24:14 DEBUG : file2: reading active writers 2025/07/04 01:24:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/07/04 01:24:15 DEBUG : Looking for writers 2025/07/04 01:24:15 DEBUG : file1: reading active writers 2025/07/04 01:24:15 DEBUG : file2: reading active writers 2025/07/04 01:24:15 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/07/04 01:24:15 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/07/04 01:24:15 INFO : file1: Copied (new) 2025/07/04 01:24:15 DEBUG : file1: vfs cache: fingerprint now "0,2025-07-04 01:24:13 +0000 UTC,d41d8cd98f00b204e9800998ecf8427e" 2025/07/04 01:24:15 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/07/04 01:24:15 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/07/04 01:24:15 INFO : file1: vfs cache: upload succeeded try #1 2025/07/04 01:24:15 DEBUG : file2: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/07/04 01:24:15 INFO : file2: Copied (new) 2025/07/04 01:24:15 DEBUG : file2: vfs cache: fingerprint now "0,2025-07-04 01:24:13 +0000 UTC,d41d8cd98f00b204e9800998ecf8427e" 2025/07/04 01:24:15 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/07/04 01:24:15 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/07/04 01:24:15 INFO : file2: vfs cache: upload succeeded try #1 2025/07/04 01:24:16 DEBUG : Looking for writers 2025/07/04 01:24:16 DEBUG : file1: reading active writers 2025/07/04 01:24:16 DEBUG : file2: reading active writers 2025/07/04 01:24:16 DEBUG : >WaitForWriters: 2025/07/04 01:24:16 DEBUG : WaitForWriters: timeout=30s 2025/07/04 01:24:16 DEBUG : Looking for writers 2025/07/04 01:24:16 DEBUG : file1: reading active writers 2025/07/04 01:24:16 DEBUG : file2: reading active writers 2025/07/04 01:24:16 DEBUG : >WaitForWriters: 2025/07/04 01:24:16 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (3.29s) FAIL 2025/07/04 01:24:17 DEBUG : OpenDrive root 'rclone-test-dezemov7vozo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRemoveName|TestDirWalk|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleWriteNoWrite|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 1m51.364748927s (try 2/5): exit status 1: Failed [TestDirReadDirAll/Virtual TestDirCreate TestDirMkdir]