"./vfs.test -test.v -test.timeout 1h0m0s -remote TestLinkbox: -verbose -test.run '^TestWriteFileHandleMethods$'" - Starting (try 5/5) 2026/06/11 01:50:26 DEBUG : Creating backend with remote "TestLinkbox:rclone-test-goyopas0poku" 2026/06/11 01:50:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/06/11 01:50:26 DEBUG : Linkbox root 'rclone-test-goyopas0poku': Using cached web token 2026/06/11 01:50:26 DEBUG : Creating backend with remote "/tmp/rclone1332301332" === RUN TestWriteFileHandleMethods run.go:198: Remote "Linkbox root 'rclone-test-goyopas0poku'", Local "Local file system at /tmp/rclone1332301332", Modify Window "876000h0m0s" 2026/06/11 01:50:26 INFO : Linkbox root 'rclone-test-goyopas0poku': poll-interval is not supported by this remote 2026/06/11 01:50:26 NOTICE: Linkbox root 'rclone-test-goyopas0poku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/06/11 01:50:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/06/11 01:50:27 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/06/11 01:50:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:27 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:50:27 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:50:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:27 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/06/11 01:50:27 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/06/11 01:50:27 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/06/11 01:50:27 DEBUG : Linkbox root 'rclone-test-goyopas0poku': File to upload is small (5 bytes), uploading instead of streaming 2026/06/11 01:50:30 DEBUG : file1: Trying to read object after upload: try again in 100ms (1/10) 2026/06/11 01:50:31 DEBUG : file1: Trying to read object after upload: try again in 200ms (2/10) 2026/06/11 01:50:31 DEBUG : file1: Trying to read object after upload: try again in 400ms (3/10) 2026/06/11 01:50:32 DEBUG : file1: size = 5 OK 2026/06/11 01:50:32 NOTICE: Linkbox root 'rclone-test-goyopas0poku': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/06/11 01:50:32 DEBUG : file1: Size of src and dst objects identical 2026/06/11 01:50:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/06/11 01:50:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/06/11 01:50:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:32 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:50:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:50:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/06/11 01:50:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/06/11 01:50:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:32 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:50:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:50:32 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/06/11 01:50:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/06/11 01:50:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/06/11 01:50:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:32 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:50:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:50:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:32 DEBUG : Linkbox root 'rclone-test-goyopas0poku': File to upload is small (0 bytes), uploading instead of streaming 2026/06/11 01:50:32 ERROR : file1: WriteFileHandle.New Rcat failed: can't upload empty files to this remote 2026/06/11 01:50:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/06/11 01:50:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/06/11 01:50:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:32 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:50:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:50:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:32 DEBUG : Linkbox root 'rclone-test-goyopas0poku': File to upload is small (7 bytes), uploading instead of streaming 2026/06/11 01:50:32 DEBUG : file1: Update: removing old file 2026/06/11 01:50:35 DEBUG : file1: size = 7 (Linkbox root 'rclone-test-goyopas0poku') 2026/06/11 01:50:35 DEBUG : file1: size = 5 (Linkbox root 'rclone-test-goyopas0poku') 2026/06/11 01:50:35 DEBUG : file1: Sizes differ 2026/06/11 01:50:35 ERROR : file1: corrupted on transfer 2026/06/11 01:50:35 ERROR : file1: WriteFileHandle.New Rcat failed: corrupted on transfer write_test.go:190: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:190 Error: Received unexpected error: corrupted on transfer Test: TestWriteFileHandleMethods 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:191 Error: Not equal: expected: []string{"file1,7,false"} actual : []string{"file1,5,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,7,false" + (string) (len=13) "file1,5,false" } Test: TestWriteFileHandleMethods 2026/06/11 01:50:35 DEBUG : WaitForWriters: timeout=30s 2026/06/11 01:50:35 DEBUG : Looking for writers 2026/06/11 01:50:35 DEBUG : file1: reading active writers 2026/06/11 01:50:35 DEBUG : >WaitForWriters: run.go:172: removing file "file1" failed - try 1/3: sleeping 1s: could not Remove: Linkbox error 403: not permit run.go:172: removing file "file1" failed - try 2/3: sleeping 1.5s: could not Remove: Linkbox error 403: not permit run.go:172: removing file "file1" failed: could not Remove: Linkbox error 403: not permit fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:191 /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 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want got file1(1) (7) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:191 /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 Error: Should be true Test: TestWriteFileHandleMethods Messages: Unexpected file "file1(1)" --- FAIL: TestWriteFileHandleMethods (20.40s) FAIL 2026/06/11 01:50:47 DEBUG : Linkbox root 'rclone-test-goyopas0poku': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestLinkbox: -verbose -test.run '^TestWriteFileHandleMethods$'" - Finished ERROR in 22.730755661s (try 5/5): exit status 1: Failed [TestWriteFileHandleMethods]