"./vfs.test -test.v -test.timeout 1h0m0s -remote TestSia: -verbose -test.run '^(TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileRemove|TestFileRemoveAll|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2024/09/30 01:49:18 DEBUG : Creating backend with remote "TestSia:rclone-test-qacagez1cilu" 2024/09/30 01:49:18 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/09/30 01:49:18 DEBUG : Setting type="sia" for "TestSia" from environment variable RCLONE_CONFIG_TESTSIA_TYPE 2024/09/30 01:49:18 DEBUG : Setting api_url="http://127.0.0.1:39980/" for "TestSia" from environment variable RCLONE_CONFIG_TESTSIA_API_URL 2024/09/30 01:49:18 DEBUG : TestSia: detected overridden config - adding "{-5W69}" suffix to name 2024/09/30 01:49:18 DEBUG : Setting api_url="http://127.0.0.1:39980/" for "TestSia" from environment variable RCLONE_CONFIG_TESTSIA_API_URL 2024/09/30 01:49:18 DEBUG : Creating backend with remote "/tmp/rclone1715181498" === RUN TestFileOpenRead run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:18 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:19 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:19 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/09/30 01:49:19 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:19 DEBUG : dir/file1: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:19 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:19 DEBUG : dir: Looking for writers 2024/09/30 01:49:19 DEBUG : file1: reading active writers 2024/09/30 01:49:19 DEBUG : : Looking for writers 2024/09/30 01:49:19 DEBUG : dir: reading active writers 2024/09/30 01:49:19 DEBUG : >WaitForWriters: --- PASS: TestFileOpenRead (0.31s) === RUN TestFileOpenWrite run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:19 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/09/30 01:49:19 DEBUG : Sia http://127.0.0.1:39980: File to upload is small (25 bytes), uploading instead of streaming 2024/09/30 01:49:19 NOTICE: Sia http://127.0.0.1:39980: --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2024/09/30 01:49:19 DEBUG : dir/file1: Size of src and dst objects identical 2024/09/30 01:49:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/09/30 01:49:19 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:19 DEBUG : dir: Looking for writers 2024/09/30 01:49:19 DEBUG : file1: reading active writers 2024/09/30 01:49:19 DEBUG : : Looking for writers 2024/09/30 01:49:19 DEBUG : dir: reading active writers 2024/09/30 01:49:19 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (0.70s) === RUN TestFileRemove run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:19 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:20 DEBUG : dir/file1: Remove: 2024/09/30 01:49:20 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/09/30 01:49:20 DEBUG : dir/file1: >Remove: err= 2024/09/30 01:49:20 DEBUG : dir/file1: Remove: 2024/09/30 01:49:20 DEBUG : dir/file1: >Remove: err=Read only file system 2024/09/30 01:49:20 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:20 DEBUG : dir: Looking for writers 2024/09/30 01:49:20 DEBUG : : Looking for writers 2024/09/30 01:49:20 DEBUG : dir: reading active writers 2024/09/30 01:49:20 DEBUG : >WaitForWriters: --- PASS: TestFileRemove (0.41s) === RUN TestFileRemoveAll run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:20 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:20 DEBUG : dir/file1: Remove: 2024/09/30 01:49:20 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/09/30 01:49:20 DEBUG : dir/file1: >Remove: err= 2024/09/30 01:49:20 DEBUG : dir/file1: Remove: 2024/09/30 01:49:20 DEBUG : dir/file1: >Remove: err=Read only file system 2024/09/30 01:49:20 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:20 DEBUG : dir: Looking for writers 2024/09/30 01:49:20 DEBUG : : Looking for writers 2024/09/30 01:49:20 DEBUG : dir: reading active writers 2024/09/30 01:49:20 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (0.31s) === RUN TestFileOpen run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:20 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:20 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:20 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/09/30 01:49:20 DEBUG : dir/file1: Open: flags=O_WRONLY 2024/09/30 01:49:20 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/09/30 01:49:20 DEBUG : dir/file1: Open: flags=O_RDWR 2024/09/30 01:49:20 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/09/30 01:49:20 DEBUG : dir/file1: Open: flags=0x3 2024/09/30 01:49:20 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2024/09/30 01:49:20 DEBUG : dir/file1: >Open: fd=, err=permission denied 2024/09/30 01:49:20 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:20 DEBUG : dir: Looking for writers 2024/09/30 01:49:20 DEBUG : file1: reading active writers 2024/09/30 01:49:20 DEBUG : : Looking for writers 2024/09/30 01:49:20 DEBUG : dir: reading active writers 2024/09/30 01:49:20 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (0.48s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:20 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote file_test.go:305: skip as can't rename files 2024/09/30 01:49:21 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:21 DEBUG : dir: Looking for writers 2024/09/30 01:49:21 DEBUG : file1: reading active writers 2024/09/30 01:49:21 DEBUG : : Looking for writers 2024/09/30 01:49:21 DEBUG : dir: reading active writers 2024/09/30 01:49:21 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:21 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:21 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:21 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : Config file has changed externally - reloading 2024/09/30 01:49:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) file_test.go:305: skip as can't rename files 2024/09/30 01:49:21 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:21 DEBUG : dir: Looking for writers 2024/09/30 01:49:21 DEBUG : file1: reading active writers 2024/09/30 01:49:21 DEBUG : : Looking for writers 2024/09/30 01:49:21 DEBUG : dir: reading active writers 2024/09/30 01:49:21 DEBUG : >WaitForWriters: 2024/09/30 01:49:21 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:21 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:21 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:21 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:21 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) file_test.go:305: skip as can't rename files 2024/09/30 01:49:22 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:22 DEBUG : dir: Looking for writers 2024/09/30 01:49:22 DEBUG : file1: reading active writers 2024/09/30 01:49:22 DEBUG : : Looking for writers 2024/09/30 01:49:22 DEBUG : dir: reading active writers 2024/09/30 01:49:22 DEBUG : >WaitForWriters: 2024/09/30 01:49:22 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:22 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:22 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:22 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) file_test.go:305: skip as can't rename files 2024/09/30 01:49:22 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:22 DEBUG : dir: Looking for writers 2024/09/30 01:49:22 DEBUG : file1: reading active writers 2024/09/30 01:49:22 DEBUG : : Looking for writers 2024/09/30 01:49:22 DEBUG : dir: reading active writers 2024/09/30 01:49:22 DEBUG : >WaitForWriters: 2024/09/30 01:49:22 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:22 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:22 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:22 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) file_test.go:305: skip as can't rename files 2024/09/30 01:49:22 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:22 DEBUG : dir: Looking for writers 2024/09/30 01:49:22 DEBUG : file1: reading active writers 2024/09/30 01:49:22 DEBUG : : Looking for writers 2024/09/30 01:49:22 DEBUG : dir: reading active writers 2024/09/30 01:49:22 DEBUG : >WaitForWriters: 2024/09/30 01:49:22 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:22 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:22 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:22 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:22 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) file_test.go:305: skip as can't rename files 2024/09/30 01:49:23 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:23 DEBUG : dir: Looking for writers 2024/09/30 01:49:23 DEBUG : file1: reading active writers 2024/09/30 01:49:23 DEBUG : : Looking for writers 2024/09/30 01:49:23 DEBUG : dir: reading active writers 2024/09/30 01:49:23 DEBUG : >WaitForWriters: 2024/09/30 01:49:23 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (2.37s) --- SKIP: TestFileRename/off,forceCache=false (0.52s) --- SKIP: TestFileRename/minimal,forceCache=false (0.34s) --- SKIP: TestFileRename/minimal,forceCache=true (0.35s) --- SKIP: TestFileRename/writes,forceCache=false (0.40s) --- SKIP: TestFileRename/writes,forceCache=true (0.26s) --- SKIP: TestFileRename/full,forceCache=false (0.50s) === RUN TestReadFileHandleMethods run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:23 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:23 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/09/30 01:49:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:23 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:23 DEBUG : dir: Looking for writers 2024/09/30 01:49:23 DEBUG : file1: reading active writers 2024/09/30 01:49:23 DEBUG : : Looking for writers 2024/09/30 01:49:23 DEBUG : dir: reading active writers 2024/09/30 01:49:23 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (0.35s) === RUN TestReadFileHandleSeek run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:23 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:23 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/09/30 01:49:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:23 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/09/30 01:49:23 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/09/30 01:49:23 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/09/30 01:49:23 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/09/30 01:49:23 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2024/09/30 01:49:24 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:24 DEBUG : dir: Looking for writers 2024/09/30 01:49:24 DEBUG : file1: reading active writers 2024/09/30 01:49:24 DEBUG : : Looking for writers 2024/09/30 01:49:24 DEBUG : dir: reading active writers 2024/09/30 01:49:24 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (0.37s) === RUN TestReadFileHandleReadAt run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:24 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:24 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:24 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:24 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/09/30 01:49:24 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/09/30 01:49:24 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/09/30 01:49:24 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/09/30 01:49:24 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2024/09/30 01:49:24 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2024/09/30 01:49:24 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2024/09/30 01:49:24 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/09/30 01:49:24 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/09/30 01:49:24 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/09/30 01:49:24 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/09/30 01:49:24 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2024/09/30 01:49:24 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/09/30 01:49:24 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/09/30 01:49:24 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/09/30 01:49:24 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2024/09/30 01:49:24 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:24 DEBUG : dir: Looking for writers 2024/09/30 01:49:24 DEBUG : file1: reading active writers 2024/09/30 01:49:24 DEBUG : : Looking for writers 2024/09/30 01:49:24 DEBUG : dir: reading active writers 2024/09/30 01:49:24 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (0.66s) === RUN TestReadFileHandleFlush run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:24 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:25 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:25 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:25 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/09/30 01:49:25 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/09/30 01:49:25 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:25 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:25 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:25 DEBUG : dir: Looking for writers 2024/09/30 01:49:25 DEBUG : file1: reading active writers 2024/09/30 01:49:25 DEBUG : : Looking for writers 2024/09/30 01:49:25 DEBUG : dir: reading active writers 2024/09/30 01:49:25 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (0.49s) === RUN TestReadFileHandleRelease run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:25 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:25 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:25 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:25 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/09/30 01:49:25 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/09/30 01:49:25 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:25 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:25 DEBUG : dir/file1: ReadFileHandle.Release closing 2024/09/30 01:49:25 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2024/09/30 01:49:25 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:25 DEBUG : dir: Looking for writers 2024/09/30 01:49:25 DEBUG : file1: reading active writers 2024/09/30 01:49:25 DEBUG : : Looking for writers 2024/09/30 01:49:25 DEBUG : dir: reading active writers 2024/09/30 01:49:25 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (0.41s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:25 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:25 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:25 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:25 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:25 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:25 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:25 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/09/30 01:49:25 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:25 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:25 DEBUG : dir/file1: newRWFileHandle: 2024/09/30 01:49:25 DEBUG : dir/file1: >newRWFileHandle: err= 2024/09/30 01:49:25 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/09/30 01:49:25 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): _readAt: size=1, off=0 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): openPending: 2024/09/30 01:49:25 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2024/09/30 01:49:25 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/09/30 01:49:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): >openPending: err= 2024/09/30 01:49:25 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/09/30 01:49:25 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/09/30 01:49:25 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:25 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): >_readAt: n=1, err= 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): _readAt: size=256, off=1 2024/09/30 01:49:25 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): >_readAt: n=15, err=EOF 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): _readAt: size=16, off=16 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): >_readAt: n=0, err=EOF 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): close: 2024/09/30 01:49:25 DEBUG : dir/file1: vfs cache: setting modification time to 2024-09-30 01:49:25.920580949 +0000 UTC 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): >close: err= 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): close: 2024/09/30 01:49:25 DEBUG : dir/file1(0xc000a8e0c0): >close: err=file already closed 2024/09/30 01:49:25 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:25 DEBUG : dir: Looking for writers 2024/09/30 01:49:25 DEBUG : file1: reading active writers 2024/09/30 01:49:25 DEBUG : : Looking for writers 2024/09/30 01:49:25 DEBUG : dir: reading active writers 2024/09/30 01:49:25 DEBUG : >WaitForWriters: 2024/09/30 01:49:25 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (0.40s) === RUN TestRWFileHandleSeek run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:26 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:26 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:26 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/09/30 01:49:26 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:26 DEBUG : dir/file1: newRWFileHandle: 2024/09/30 01:49:26 DEBUG : dir/file1: >newRWFileHandle: err= 2024/09/30 01:49:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/09/30 01:49:26 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): _readAt: size=1, off=0 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): openPending: 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/09/30 01:49:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): >openPending: err= 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): >_readAt: n=1, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): _readAt: size=1, off=5 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): >_readAt: n=1, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): _readAt: size=1, off=3 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): >_readAt: n=1, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): _readAt: size=1, off=13 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): >_readAt: n=1, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): _readAt: size=16, off=100 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): >_readAt: n=0, err=EOF 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): close: 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: setting modification time to 2024-09-30 01:49:26.42508521 +0000 UTC 2024/09/30 01:49:26 DEBUG : dir/file1(0xc000a8e640): >close: err= 2024/09/30 01:49:26 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:26 DEBUG : dir: Looking for writers 2024/09/30 01:49:26 DEBUG : file1: reading active writers 2024/09/30 01:49:26 DEBUG : : Looking for writers 2024/09/30 01:49:26 DEBUG : dir: reading active writers 2024/09/30 01:49:26 DEBUG : >WaitForWriters: 2024/09/30 01:49:26 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (0.51s) === RUN TestRWFileHandleReadAt run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:26 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:26 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:26 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/09/30 01:49:26 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:26 DEBUG : dir/file1: newRWFileHandle: 2024/09/30 01:49:26 DEBUG : dir/file1: >newRWFileHandle: err= 2024/09/30 01:49:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/09/30 01:49:26 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): _readAt: size=1, off=0 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): openPending: 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/09/30 01:49:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >openPending: err= 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >_readAt: n=1, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): _readAt: size=1, off=5 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >_readAt: n=1, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): _readAt: size=1, off=1 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >_readAt: n=1, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): _readAt: size=6, off=10 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >_readAt: n=6, err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): _readAt: size=256, off=10 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >_readAt: n=6, err=EOF 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): _readAt: size=256, off=100 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >_readAt: n=0, err=EOF 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): close: 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: setting modification time to 2024-09-30 01:49:26.624279481 +0000 UTC 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >close: err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): _readAt: size=256, off=100 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2340): >_readAt: n=0, err=file already closed 2024/09/30 01:49:26 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:26 DEBUG : dir: Looking for writers 2024/09/30 01:49:26 DEBUG : file1: reading active writers 2024/09/30 01:49:26 DEBUG : : Looking for writers 2024/09/30 01:49:26 DEBUG : dir: reading active writers 2024/09/30 01:49:26 DEBUG : >WaitForWriters: 2024/09/30 01:49:26 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (0.19s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:26 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:26 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:26 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/09/30 01:49:26 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:26 DEBUG : dir/file1: newRWFileHandle: 2024/09/30 01:49:26 DEBUG : dir/file1: >newRWFileHandle: err= 2024/09/30 01:49:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/09/30 01:49:26 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2740): RWFileHandle.Flush 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2740): _readAt: size=256, off=0 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2740): openPending: 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2024/09/30 01:49:26 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/09/30 01:49:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/09/30 01:49:26 DEBUG : dir/file1(0xc0006d2740): >openPending: err= 2024/09/30 01:49:26 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:26 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0006d2740): >_readAt: n=16, err=EOF 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0006d2740): RWFileHandle.Flush 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0006d2740): RWFileHandle.Flush 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0006d2740): close: 2024/09/30 01:49:27 DEBUG : dir/file1: vfs cache: setting modification time to 2024-09-30 01:49:26.934310945 +0000 UTC 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0006d2740): >close: err= 2024/09/30 01:49:27 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:27 DEBUG : dir: Looking for writers 2024/09/30 01:49:27 DEBUG : file1: reading active writers 2024/09/30 01:49:27 DEBUG : : Looking for writers 2024/09/30 01:49:27 DEBUG : dir: reading active writers 2024/09/30 01:49:27 DEBUG : >WaitForWriters: 2024/09/30 01:49:27 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (0.31s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "Sia http://127.0.0.1:39980", Local "Local file system at /tmp/rclone1715181498", Modify Window "876000h0m0s" 2024/09/30 01:49:27 INFO : Sia http://127.0.0.1:39980: poll-interval is not supported by this remote 2024/09/30 01:49:27 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/09/30 01:49:27 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:27 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:27 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:27 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/09/30 01:49:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSia{-5W69}/rclone-test-qacagez1cilu" 2024/09/30 01:49:27 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/09/30 01:49:27 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/09/30 01:49:27 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/09/30 01:49:27 DEBUG : dir/file1: newRWFileHandle: 2024/09/30 01:49:27 DEBUG : dir/file1: >newRWFileHandle: err= 2024/09/30 01:49:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/09/30 01:49:27 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): _readAt: size=256, off=0 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): openPending: 2024/09/30 01:49:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2024/09/30 01:49:27 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/09/30 01:49:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): >openPending: err= 2024/09/30 01:49:27 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/09/30 01:49:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/09/30 01:49:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/09/30 01:49:27 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): >_readAt: n=16, err=EOF 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): RWFileHandle.Release 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): close: 2024/09/30 01:49:27 DEBUG : dir/file1: vfs cache: setting modification time to 2024-09-30 01:49:27.283176162 +0000 UTC 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): >close: err= 2024/09/30 01:49:27 DEBUG : dir/file1(0xc0008e07c0): RWFileHandle.Release 2024/09/30 01:49:27 DEBUG : WaitForWriters: timeout=30s 2024/09/30 01:49:27 DEBUG : dir: Looking for writers 2024/09/30 01:49:27 DEBUG : file1: reading active writers 2024/09/30 01:49:27 DEBUG : : Looking for writers 2024/09/30 01:49:27 DEBUG : dir: reading active writers 2024/09/30 01:49:27 DEBUG : >WaitForWriters: 2024/09/30 01:49:27 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (0.35s) PASS 2024/09/30 01:49:27 DEBUG : Sia http://127.0.0.1:39980: Purge dir "" "./vfs.test -test.v -test.timeout 1h0m0s -remote TestSia: -verbose -test.run '^(TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileRemove|TestFileRemoveAll|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished OK in 8.788637953s (try 2/5)