"./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Starting (try 4/5) === RUN TestDirMetadataExtension run.go:180: Remote "FS imagekit: /rclone-test-keleyec3weba", Local "Local file system at /tmp/rclone2326837240", Modify Window "876000h0m0s" 2025/06/04 01:39:47 NOTICE: FS imagekit: /rclone-test-keleyec3weba: --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-04T01:39:48.742Z" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -2025-06-04T01:39:48.742Z + Test: TestDirMetadataExtension --- FAIL: TestDirMetadataExtension (4.30s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "FS imagekit: /rclone-test-keleyec3weba", Local "Local file system at /tmp/rclone2326837240", Modify Window "876000h0m0s" 2025/06/04 01:39:52 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/04 01:39:52 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/04 01:39:52 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/04 01:39:52 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/04 01:39:53 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/04 01:39:53 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/04 01:39:53 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/04 01:39:53 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/04 01:39:53 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/04 01:39:53 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/04 01:39:53 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/04 01:39:53 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/04 01:39:54 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/04 01:39:54 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/04 01:39:54 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/04 01:39:54 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/04 01:39:56 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/04 01:39:56 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/04 01:39:56 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/04 01:39:56 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/04 01:39:59 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/04 01:39:59 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/04 01:39:59 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/04 01:39:59 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/04 01:40:06 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/04 01:40:06 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/04 01:40:06 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/04 01:40:06 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/04 01:40:19 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/04 01:40:19 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/04 01:40:19 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/04 01:40:19 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/04 01:40:22 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc0002232c0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001c8a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635591232} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13981432577010326663 ext:5088619577 loc:0x3ea6140} ATime:{wall:13981432577010412774 ext:5088705689 loc:0x3ea6140} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0002232c0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001c9208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635593280} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13981432577011223877 ext:5089516792 loc:0x3ea6140} ATime:{wall:13981432577011317815 ext:5089610729 loc:0x3ea6140} 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/04 01:40:44 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/04 01:40:44 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/04 01:40:44 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/04 01:40:44 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/04 01:41:00 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc0002232c0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001c8a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635591232} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13981432577010326663 ext:5088619577 loc:0x3ea6140} ATime:{wall:13981432577010412774 ext:5088705689 loc:0x3ea6140} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0002232c0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001c9208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635593280} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13981432577011223877 ext:5089516792 loc:0x3ea6140} ATime:{wall:13981432577011317815 ext:5089610729 loc:0x3ea6140} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } --- FAIL: TestRWFileHandleWriteNoWrite (69.62s) === RUN TestVFSOpenFile run.go:180: Remote "FS imagekit: /rclone-test-keleyec3weba", Local "Local file system at /tmp/rclone2326837240", Modify Window "876000h0m0s" 2025/06/04 01:41:01 NOTICE: FS imagekit: /rclone-test-keleyec3weba: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/04 01:41:05 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 (5.65s) === RUN TestWriteFileHandleMethods run.go:180: Remote "FS imagekit: /rclone-test-keleyec3weba", Local "Local file system at /tmp/rclone2326837240", Modify Window "876000h0m0s" 2025/06/04 01:41:07 NOTICE: FS imagekit: /rclone-test-keleyec3weba: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/04 01:41:07 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/04 01:41:07 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/04 01:41:07 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/06/04 01:41:09 NOTICE: FS imagekit: /rclone-test-keleyec3weba: --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/06/04 01:41:09 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/06/04 01:41:09 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.28s) === RUN TestWriteFileHandleRelease run.go:180: Remote "FS imagekit: /rclone-test-keleyec3weba", Local "Local file system at /tmp/rclone2326837240", Modify Window "876000h0m0s" 2025/06/04 01:41:11 NOTICE: FS imagekit: /rclone-test-keleyec3weba: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/04 01:41:12 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/04 01:41:12 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.11s) === RUN TestFileReadAtZeroLength run.go:180: Remote "FS imagekit: /rclone-test-keleyec3weba", Local "Local file system at /tmp/rclone2326837240", Modify Window "876000h0m0s" 2025/06/04 01:41:12 NOTICE: FS imagekit: /rclone-test-keleyec3weba: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/04 01:41:13 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.11s) FAIL "./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Finished ERROR in 1m26.66999159s (try 4/5): exit status 1: Failed [TestDirMetadataExtension TestRWFileHandleWriteNoWrite TestVFSOpenFile TestWriteFileHandleMethods TestWriteFileHandleRelease TestFileReadAtZeroLength]