"./vfs.test -test.v -test.timeout 1h0m0s -remote TestLinkbox: -verbose -test.run '^(TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt)$'" - Starting (try 2/5) 2026/07/14 05:16:07 DEBUG : Creating backend with remote "TestLinkbox:rclone-test-dopepah8tefe" 2026/07/14 05:16:07 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/14 05:16:07 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': Using cached web token 2026/07/14 05:16:07 DEBUG : Creating backend with remote "/tmp/rclone1431054001" === RUN TestVFSMkdir run.go:198: Remote "Linkbox root 'rclone-test-dopepah8tefe'", Local "Local file system at /tmp/rclone1431054001", Modify Window "876000h0m0s" 2026/07/14 05:16:07 INFO : Linkbox root 'rclone-test-dopepah8tefe': poll-interval is not supported by this remote 2026/07/14 05:16:07 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/14 05:16:08 ERROR : error listing: directory not found 2026/07/14 05:16:09 DEBUG : Added virtual directory entry vAddDir: "/" 2026/07/14 05:16:11 DEBUG : Added virtual directory entry vAddDir: "a" 2026/07/14 05:16:13 DEBUG : Added virtual directory entry vAddDir: "b" 2026/07/14 05:16:16 DEBUG : Added virtual directory entry vAddDir: "c" 2026/07/14 05:16:18 DEBUG : Added virtual directory entry vAddDir: "d" 2026/07/14 05:16:19 DEBUG : WaitForWriters: timeout=30s 2026/07/14 05:16:19 DEBUG : Looking for writers 2026/07/14 05:16:19 DEBUG : a: Looking for writers 2026/07/14 05:16:19 DEBUG : b: Looking for writers 2026/07/14 05:16:19 DEBUG : c: Looking for writers 2026/07/14 05:16:19 DEBUG : d: Looking for writers 2026/07/14 05:16:19 DEBUG : Looking for writers 2026/07/14 05:16:19 DEBUG : d: reading active writers 2026/07/14 05:16:19 DEBUG : /: reading active writers 2026/07/14 05:16:19 DEBUG : a: reading active writers 2026/07/14 05:16:19 DEBUG : b: reading active writers 2026/07/14 05:16:19 DEBUG : c: reading active writers 2026/07/14 05:16:19 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (18.94s) === RUN TestVFSMkdirAll run.go:198: Remote "Linkbox root 'rclone-test-dopepah8tefe'", Local "Local file system at /tmp/rclone1431054001", Modify Window "876000h0m0s" 2026/07/14 05:16:26 INFO : Linkbox root 'rclone-test-dopepah8tefe': poll-interval is not supported by this remote 2026/07/14 05:16:26 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/14 05:16:28 DEBUG : Added virtual directory entry vAddDir: "a" 2026/07/14 05:16:30 DEBUG : a: Added virtual directory entry vAddDir: "b" 2026/07/14 05:16:32 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2026/07/14 05:16:34 DEBUG : a/b/c: Added virtual directory entry vAddDir: "d" 2026/07/14 05:16:37 DEBUG : WaitForWriters: timeout=30s 2026/07/14 05:16:37 DEBUG : a/b/c/d: Looking for writers 2026/07/14 05:16:37 DEBUG : a/b/c: Looking for writers 2026/07/14 05:16:37 DEBUG : d: reading active writers 2026/07/14 05:16:37 DEBUG : a/b: Looking for writers 2026/07/14 05:16:37 DEBUG : c: reading active writers 2026/07/14 05:16:37 DEBUG : a: Looking for writers 2026/07/14 05:16:37 DEBUG : b: reading active writers 2026/07/14 05:16:37 DEBUG : Looking for writers 2026/07/14 05:16:37 DEBUG : a: reading active writers 2026/07/14 05:16:37 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdirAll (17.70s) === RUN TestVFSIsMetadataFile run.go:198: Remote "Linkbox root 'rclone-test-dopepah8tefe'", Local "Local file system at /tmp/rclone1431054001", Modify Window "876000h0m0s" 2026/07/14 05:16:44 INFO : Linkbox root 'rclone-test-dopepah8tefe': poll-interval is not supported by this remote 2026/07/14 05:16:44 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/14 05:16:44 DEBUG : WaitForWriters: timeout=30s 2026/07/14 05:16:44 DEBUG : Looking for writers 2026/07/14 05:16:44 DEBUG : >WaitForWriters: --- PASS: TestVFSIsMetadataFile (0.40s) === RUN TestWriteFileHandleMethods run.go:198: Remote "Linkbox root 'rclone-test-dopepah8tefe'", Local "Local file system at /tmp/rclone1431054001", Modify Window "876000h0m0s" 2026/07/14 05:16:44 INFO : Linkbox root 'rclone-test-dopepah8tefe': poll-interval is not supported by this remote 2026/07/14 05:16:44 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/14 05:16:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/14 05:16:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/07/14 05:16:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:45 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/14 05:16:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/14 05:16:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:45 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/07/14 05:16:45 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/07/14 05:16:45 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/07/14 05:16:45 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': File to upload is small (5 bytes), uploading instead of streaming 2026/07/14 05:16:47 DEBUG : file1: size = 5 OK 2026/07/14 05:16:47 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/07/14 05:16:47 DEBUG : file1: Size of src and dst objects identical 2026/07/14 05:16:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/14 05:16:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/07/14 05:16:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:47 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/14 05:16:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/14 05:16:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/14 05:16:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/07/14 05:16:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:47 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/14 05:16:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/14 05:16:47 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/07/14 05:16:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/07/14 05:16:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/07/14 05:16:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:47 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/14 05:16:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/14 05:16:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:47 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': File to upload is small (0 bytes), uploading instead of streaming 2026/07/14 05:16:47 ERROR : file1: WriteFileHandle.New Rcat failed: can't upload empty files to this remote 2026/07/14 05:16:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/07/14 05:16:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/07/14 05:16:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:47 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/14 05:16:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/14 05:16:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:47 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': File to upload is small (7 bytes), uploading instead of streaming 2026/07/14 05:16:47 DEBUG : file1: Update: removing old file 2026/07/14 05:16:51 DEBUG : file1: size = 7 OK 2026/07/14 05:16:51 DEBUG : file1: Size of src and dst objects identical 2026/07/14 05:16:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:51 DEBUG : WaitForWriters: timeout=30s 2026/07/14 05:16:51 DEBUG : Looking for writers 2026/07/14 05:16:51 DEBUG : file1: reading active writers 2026/07/14 05:16:51 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (7.86s) === RUN TestWriteFileHandleWriteAt run.go:198: Remote "Linkbox root 'rclone-test-dopepah8tefe'", Local "Local file system at /tmp/rclone1431054001", Modify Window "876000h0m0s" 2026/07/14 05:16:52 INFO : Linkbox root 'rclone-test-dopepah8tefe': poll-interval is not supported by this remote 2026/07/14 05:16:52 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/14 05:16:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/14 05:16:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/07/14 05:16:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:52 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/14 05:16:52 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/14 05:16:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:52 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2026/07/14 05:16:53 DEBUG : file1: aborting in-sequence write wait, off=100 2026/07/14 05:16:53 DEBUG : file1: failed to wait for in-sequence write to 100 2026/07/14 05:16:53 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2026/07/14 05:16:53 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': File to upload is small (11 bytes), uploading instead of streaming 2026/07/14 05:16:56 DEBUG : file1: size = 11 OK 2026/07/14 05:16:56 DEBUG : file1: Size of src and dst objects identical 2026/07/14 05:16:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:56 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2026/07/14 05:16:56 DEBUG : WaitForWriters: timeout=30s 2026/07/14 05:16:56 DEBUG : Looking for writers 2026/07/14 05:16:56 DEBUG : file1: reading active writers 2026/07/14 05:16:56 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (5.24s) === RUN TestWriteFileHandleFlush run.go:198: Remote "Linkbox root 'rclone-test-dopepah8tefe'", Local "Local file system at /tmp/rclone1431054001", Modify Window "876000h0m0s" 2026/07/14 05:16:57 INFO : Linkbox root 'rclone-test-dopepah8tefe': poll-interval is not supported by this remote 2026/07/14 05:16:57 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/14 05:16:57 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/14 05:16:58 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/07/14 05:16:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:58 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/14 05:16:58 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/14 05:16:58 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/07/14 05:16:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/14 05:16:58 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': File to upload is small (5 bytes), uploading instead of streaming 2026/07/14 05:16:58 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': Web API returned error "Linkbox error 0: " - refreshing token 2026/07/14 05:16:58 ERROR : file1: WriteFileHandle.New Rcat failed: Update err in unmarshaling response: invalid character '<' looking for beginning of value 2026/07/14 05:16:58 DEBUG : file1: Remove: 2026/07/14 05:16:58 DEBUG : Added virtual directory entry vDel: "file1" 2026/07/14 05:16:58 DEBUG : file1: >Remove: err= 2026/07/14 05:16:58 ERROR : file1: WriteFileHandle.Flush error: Update err in unmarshaling response: invalid character '<' looking for beginning of value write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: Update err in unmarshaling response: invalid character '<' looking for beginning of value Test: TestWriteFileHandleFlush 2026/07/14 05:16:58 DEBUG : file1: WriteFileHandle.Flush nothing to do 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/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2026/07/14 05:16:58 DEBUG : WaitForWriters: timeout=30s 2026/07/14 05:16:58 DEBUG : Looking for writers 2026/07/14 05:16:58 DEBUG : >WaitForWriters: 2026/07/14 05:16:58 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': Web API returned error "Linkbox error 0: " - refreshing token 2026/07/14 05:16:59 ERROR : error listing: getting files failed: login failed: invalid character '<' looking for beginning of value run.go:182: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:182 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:406 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: getting files failed: login failed: invalid character '<' looking for beginning of value Test: TestWriteFileHandleFlush --- FAIL: TestWriteFileHandleFlush (1.04s) === RUN TestWriteFileHandleRelease run.go:198: Remote "Linkbox root 'rclone-test-dopepah8tefe'", Local "Local file system at /tmp/rclone1431054001", Modify Window "876000h0m0s" 2026/07/14 05:16:59 INFO : Linkbox root 'rclone-test-dopepah8tefe': poll-interval is not supported by this remote 2026/07/14 05:16:59 NOTICE: Linkbox root 'rclone-test-dopepah8tefe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/14 05:16:59 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/14 05:16:59 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': Web API returned error "Linkbox error 0: " - refreshing token 2026/07/14 05:16:59 ERROR : /: Dir.Stat error: getting files failed: login failed: invalid character '<' looking for beginning of value 2026/07/14 05:16:59 DEBUG : file1: >OpenFile: fd=, err=getting files failed: login failed: invalid character '<' looking for beginning of value write_test.go:25: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:271 Error: Received unexpected error: getting files failed: login failed: invalid character '<' looking for beginning of value Test: TestWriteFileHandleRelease 2026/07/14 05:16:59 DEBUG : WaitForWriters: timeout=30s 2026/07/14 05:16:59 DEBUG : Looking for writers 2026/07/14 05:16:59 DEBUG : >WaitForWriters: 2026/07/14 05:16:59 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': Web API returned error "Linkbox error 0: " - refreshing token 2026/07/14 05:16:59 ERROR : error listing: getting files failed: login failed: invalid character '<' looking for beginning of value run.go:182: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:182 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:406 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/panic.go:694 /usr/local/go/src/testing/testing.go:1022 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:271 Error: Received unexpected error: getting files failed: login failed: invalid character '<' looking for beginning of value Test: TestWriteFileHandleRelease --- FAIL: TestWriteFileHandleRelease (0.84s) FAIL 2026/07/14 05:16:59 DEBUG : Linkbox root 'rclone-test-dopepah8tefe': Purge remote 2026/07/14 05:17:00 NOTICE: purge failed: purge error: invalid character '<' looking for beginning of value "./vfs.test -test.v -test.timeout 1h0m0s -remote TestLinkbox: -verbose -test.run '^(TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt)$'" - Finished ERROR in 53.03919339s (try 2/5): exit status 1: Failed [TestWriteFileHandleFlush TestWriteFileHandleRelease]