"./vfs.test -test.v -test.timeout 1h0m0s -remote TestLinkbox: -verbose -test.run '^(TestWriteFileHandleFlush|TestWriteFileHandleMethods)$'" - Starting (try 4/5) 2026/06/11 01:48:16 DEBUG : Creating backend with remote "TestLinkbox:rclone-test-lebixet8yoza" 2026/06/11 01:48:16 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/06/11 01:48:16 DEBUG : Linkbox root 'rclone-test-lebixet8yoza': Using cached web token 2026/06/11 01:48:17 DEBUG : Creating backend with remote "/tmp/rclone4068333736" === RUN TestWriteFileHandleMethods run.go:198: Remote "Linkbox root 'rclone-test-lebixet8yoza'", Local "Local file system at /tmp/rclone4068333736", Modify Window "876000h0m0s" 2026/06/11 01:48:17 INFO : Linkbox root 'rclone-test-lebixet8yoza': poll-interval is not supported by this remote 2026/06/11 01:48:17 NOTICE: Linkbox root 'rclone-test-lebixet8yoza': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/06/11 01:48:17 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/06/11 01:48:17 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/06/11 01:48:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:17 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:48:17 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:48:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:17 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/06/11 01:48:17 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/06/11 01:48:17 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/06/11 01:48:17 DEBUG : Linkbox root 'rclone-test-lebixet8yoza': File to upload is small (5 bytes), uploading instead of streaming 2026/06/11 01:48:21 DEBUG : file1: Trying to read object after upload: try again in 100ms (1/10) 2026/06/11 01:48:21 DEBUG : file1: Trying to read object after upload: try again in 200ms (2/10) 2026/06/11 01:48:22 DEBUG : file1: Trying to read object after upload: try again in 400ms (3/10) 2026/06/11 01:48:22 DEBUG : file1: size = 5 OK 2026/06/11 01:48:22 NOTICE: Linkbox root 'rclone-test-lebixet8yoza': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/06/11 01:48:22 DEBUG : file1: Size of src and dst objects identical 2026/06/11 01:48:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/06/11 01:48:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/06/11 01:48:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:22 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:48:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:48:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/06/11 01:48:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/06/11 01:48:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:22 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:48:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:48:22 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/06/11 01:48:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/06/11 01:48:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/06/11 01:48:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:22 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:48:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:48:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:22 DEBUG : Linkbox root 'rclone-test-lebixet8yoza': File to upload is small (0 bytes), uploading instead of streaming 2026/06/11 01:48:22 ERROR : file1: WriteFileHandle.New Rcat failed: can't upload empty files to this remote 2026/06/11 01:48:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/06/11 01:48:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/06/11 01:48:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:22 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:48:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:48:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:48:22 DEBUG : Linkbox root 'rclone-test-lebixet8yoza': File to upload is small (7 bytes), uploading instead of streaming 2026/06/11 01:48:23 DEBUG : file1: Update: removing old file 2026/06/11 01:48:26 DEBUG : file1: Trying to read object after upload: try again in 100ms (1/10) 2026/06/11 01:48:26 DEBUG : file1: Trying to read object after upload: try again in 200ms (2/10) 2026/06/11 01:48:26 DEBUG : file1: Trying to read object after upload: try again in 400ms (3/10) 2026/06/11 01:48:27 DEBUG : file1: Trying to read object after upload: try again in 800ms (4/10) 2026/06/11 01:48:28 DEBUG : file1: Trying to read object after upload: try again in 1.6s (5/10) 2026/06/11 01:48:30 DEBUG : file1: Trying to read object after upload: try again in 3.2s (6/10) 2026/06/11 01:48:33 DEBUG : file1: Trying to read object after upload: try again in 6.4s (7/10) 2026/06/11 01:48:40 DEBUG : file1: Trying to read object after upload: try again in 12.8s (8/10) 2026/06/11 01:48:53 DEBUG : file1: Trying to read object after upload: try again in 25.6s (9/10) 2026/06/11 01:49:19 DEBUG : file1: Trying to read object after upload: try again in 51.2s (10/10) 2026/06/11 01:50:10 ERROR : file1: WriteFileHandle.New Rcat failed: object not found write_test.go:190: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:190 Error: Received unexpected error: object not found 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:10 DEBUG : WaitForWriters: timeout=30s 2026/06/11 01:50:10 DEBUG : Looking for writers 2026/06/11 01:50:10 DEBUG : file1: reading active writers 2026/06/11 01:50:10 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestWriteFileHandleMethods (122.26s) === RUN TestWriteFileHandleFlush run.go:198: Remote "Linkbox root 'rclone-test-lebixet8yoza'", Local "Local file system at /tmp/rclone4068333736", Modify Window "876000h0m0s" 2026/06/11 01:50:19 INFO : Linkbox root 'rclone-test-lebixet8yoza': poll-interval is not supported by this remote 2026/06/11 01:50:19 NOTICE: Linkbox root 'rclone-test-lebixet8yoza': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/06/11 01:50:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/06/11 01:50:19 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/06/11 01:50:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:19 DEBUG : file1: >Open: fd=file1 (w), err= 2026/06/11 01:50:19 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/06/11 01:50:19 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/06/11 01:50:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:19 DEBUG : Linkbox root 'rclone-test-lebixet8yoza': File to upload is small (5 bytes), uploading instead of streaming 2026/06/11 01:50:21 DEBUG : file1: Trying to read object after upload: try again in 100ms (1/10) 2026/06/11 01:50:22 DEBUG : file1: Trying to read object after upload: try again in 200ms (2/10) 2026/06/11 01:50:22 DEBUG : file1: Trying to read object after upload: try again in 400ms (3/10) 2026/06/11 01:50:23 DEBUG : file1: size = 5 OK 2026/06/11 01:50:23 DEBUG : file1: Size of src and dst objects identical 2026/06/11 01:50:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/06/11 01:50:23 DEBUG : file1: WriteFileHandle.Flush nothing to do 2026/06/11 01:50:23 DEBUG : WaitForWriters: timeout=30s 2026/06/11 01:50:23 DEBUG : Looking for writers 2026/06/11 01:50:23 DEBUG : file1: reading active writers 2026/06/11 01:50:23 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleFlush (5.33s) FAIL 2026/06/11 01:50:24 DEBUG : Linkbox root 'rclone-test-lebixet8yoza': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestLinkbox: -verbose -test.run '^(TestWriteFileHandleFlush|TestWriteFileHandleMethods)$'" - Finished ERROR in 2m9.741216229s (try 4/5): exit status 1: Failed [TestWriteFileHandleMethods]