"./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Starting (try 3/5) === RUN TestDirMetadataExtension run.go:180: Remote "FS imagekit: /rclone-test-qohuziv2hoye", Local "Local file system at /tmp/rclone949720175", Modify Window "876000h0m0s" 2025/06/13 01:32:36 NOTICE: FS imagekit: /rclone-test-qohuziv2hoye: --vfs-cache-mode writes or full is recommended for this remote as it can't stream dir_test.go:741: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:741 Error: Not equal: expected: "2025-06-13T01:32:37.731Z" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -2025-06-13T01:32:37.731Z + Test: TestDirMetadataExtension --- FAIL: TestDirMetadataExtension (4.71s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "FS imagekit: /rclone-test-qohuziv2hoye", Local "Local file system at /tmp/rclone949720175", Modify Window "876000h0m0s" 2025/06/13 01:32:42 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file2: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file2: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:42 ERROR : file2: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:43 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:43 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:43 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:43 ERROR : file2: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:43 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:43 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:45 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:45 ERROR : file2: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:45 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:45 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:48 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:48 ERROR : file2: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:49 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:49 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:55 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:55 ERROR : file2: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:55 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:32:55 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:08 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:08 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:08 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:08 ERROR : file2: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:11 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc000782960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000478e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824638410304} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267056312344873 ext:5522686850 loc:0x3fd9600} ATime:{wall:13982267056312579573 ext:5522921561 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000782960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000478f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824638410560} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267056313470567 ext:5523812543 loc:0x3fd9600} ATime:{wall:13982267056313644553 ext:5523986540 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got fstest.go:197: Not found "file2" fstest.go:197: Not found "file1" fstest.go:200: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:200 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:304 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 2 Test: TestRWFileHandleWriteNoWrite Messages: 2 objects not found 2025/06/13 01:33:34 ERROR : file1: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:34 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:34 ERROR : file2: Failed to copy: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:34 ERROR : file2: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:33:50 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc000782960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000478e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824638410304} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267056312344873 ext:5522686850 loc:0x3fd9600} ATime:{wall:13982267056312579573 ext:5522921561 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000782960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000478f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824638410560} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267056313470567 ext:5523812543 loc:0x3fd9600} ATime:{wall:13982267056313644553 ext:5523986540 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } --- FAIL: TestRWFileHandleWriteNoWrite (69.83s) === RUN TestVFSOpenFile run.go:180: Remote "FS imagekit: /rclone-test-qohuziv2hoye", Local "Local file system at /tmp/rclone949720175", Modify Window "876000h0m0s" 2025/06/13 01:33:51 NOTICE: FS imagekit: /rclone-test-qohuziv2hoye: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:33:55 ERROR : dir/new_file.txt: WriteFileHandle.New Rcat failed: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" vfs_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:279 Error: Received unexpected error: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" Test: TestVFSOpenFile --- FAIL: TestVFSOpenFile (6.23s) === RUN TestWriteFileHandleMethods run.go:180: Remote "FS imagekit: /rclone-test-qohuziv2hoye", Local "Local file system at /tmp/rclone949720175", Modify Window "876000h0m0s" 2025/06/13 01:33:57 NOTICE: FS imagekit: /rclone-test-qohuziv2hoye: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:33:57 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/13 01:33:57 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/13 01:33:57 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/06/13 01:33:59 NOTICE: FS imagekit: /rclone-test-qohuziv2hoye: --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/06/13 01:33:59 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/06/13 01:33:59 ERROR : file1: WriteFileHandle.New Rcat failed: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" write_test.go:181: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:181 Error: Received unexpected error: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 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:182 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"file1,5,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,0,false" + (string) (len=13) "file1,5,false" } Test: TestWriteFileHandleMethods --- FAIL: TestWriteFileHandleMethods (4.59s) === RUN TestWriteFileHandleRelease run.go:180: Remote "FS imagekit: /rclone-test-qohuziv2hoye", Local "Local file system at /tmp/rclone949720175", Modify Window "876000h0m0s" 2025/06/13 01:34:02 NOTICE: FS imagekit: /rclone-test-qohuziv2hoye: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:34:02 ERROR : file1: WriteFileHandle.New Rcat failed: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" 2025/06/13 01:34:02 ERROR : file1: WriteFileHandle.Release error: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" Test: TestWriteFileHandleRelease --- FAIL: TestWriteFileHandleRelease (1.25s) === RUN TestFileReadAtZeroLength run.go:180: Remote "FS imagekit: /rclone-test-qohuziv2hoye", Local "Local file system at /tmp/rclone949720175", Modify Window "876000h0m0s" 2025/06/13 01:34:03 NOTICE: FS imagekit: /rclone-test-qohuziv2hoye: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:34:03 ERROR : file1: WriteFileHandle.New Rcat failed: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: HTTP error 400 (400 Bad Request) returned body: "{\"message\":\"Your request is missing file parameter.\",\"help\":\"For support kindly contact us at support@imagekit.io .\"}" Test: TestFileReadAtZeroLength write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength --- FAIL: TestFileReadAtZeroLength (1.25s) FAIL "./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Finished ERROR in 1m28.415447353s (try 3/5): exit status 1: Failed [TestDirMetadataExtension TestRWFileHandleWriteNoWrite TestVFSOpenFile TestWriteFileHandleMethods TestWriteFileHandleRelease TestFileReadAtZeroLength]