"./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Starting (try 5/5) === RUN TestDirMetadataExtension run.go:180: Remote "FS imagekit: /rclone-test-jidoduh3bica", Local "Local file system at /tmp/rclone1219180586", Modify Window "876000h0m0s" 2025/06/13 01:35:33 NOTICE: FS imagekit: /rclone-test-jidoduh3bica: --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:35:34.881Z" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -2025-06-13T01:35:34.881Z + Test: TestDirMetadataExtension --- FAIL: TestDirMetadataExtension (4.78s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "FS imagekit: /rclone-test-jidoduh3bica", Local "Local file system at /tmp/rclone1219180586", Modify Window "876000h0m0s" 2025/06/13 01:35:39 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:35:39 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:35:39 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:35:39 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:35:39 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:35:39 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:35:39 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:35:39 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:35:40 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:35:40 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:35:40 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:35:40 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:35:41 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:35:41 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:35:41 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:35:41 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:35: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:35:42 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:35: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:35:42 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:35:46 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:35:46 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:35:46 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:35:46 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:35: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/13 01:35:52 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:35: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/13 01:35:52 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:36:05 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:36:05 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:36:05 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:36:05 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:36:09 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file2": &{c:0xc000255770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00015f308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635159360} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267246605316625 ext:5577519645 loc:0x3fd9600} ATime:{wall:13982267246605603694 ext:5577806643 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, "file1": &{c:0xc000255770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00015f208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635159104} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267246603696744 ext:5575899684 loc:0x3fd9600} ATime:{wall:13982267246603964467 ext:5576167406 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 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 "file1" fstest.go:197: Not found "file2" 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:36:31 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:36:31 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:36:31 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:36:31 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:36:47 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file2": &{c:0xc000255770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00015f308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635159360} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267246605316625 ext:5577519645 loc:0x3fd9600} ATime:{wall:13982267246605603694 ext:5577806643 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, "file1": &{c:0xc000255770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00015f208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635159104} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13982267246603696744 ext:5575899684 loc:0x3fd9600} ATime:{wall:13982267246603964467 ext:5576167406 loc:0x3fd9600} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } --- FAIL: TestRWFileHandleWriteNoWrite (70.60s) === RUN TestVFSOpenFile run.go:180: Remote "FS imagekit: /rclone-test-jidoduh3bica", Local "Local file system at /tmp/rclone1219180586", Modify Window "876000h0m0s" 2025/06/13 01:36:49 NOTICE: FS imagekit: /rclone-test-jidoduh3bica: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:36:53 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.08s) === RUN TestWriteFileHandleMethods run.go:180: Remote "FS imagekit: /rclone-test-jidoduh3bica", Local "Local file system at /tmp/rclone1219180586", Modify Window "876000h0m0s" 2025/06/13 01:36:55 NOTICE: FS imagekit: /rclone-test-jidoduh3bica: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:36:55 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/13 01:36:55 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/13 01:36:55 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/06/13 01:36:57 NOTICE: FS imagekit: /rclone-test-jidoduh3bica: --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/06/13 01:36:57 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/06/13 01:36:57 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.54s) === RUN TestWriteFileHandleRelease run.go:180: Remote "FS imagekit: /rclone-test-jidoduh3bica", Local "Local file system at /tmp/rclone1219180586", Modify Window "876000h0m0s" 2025/06/13 01:36:59 NOTICE: FS imagekit: /rclone-test-jidoduh3bica: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:37:00 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:37:00 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.19s) === RUN TestFileReadAtZeroLength run.go:180: Remote "FS imagekit: /rclone-test-jidoduh3bica", Local "Local file system at /tmp/rclone1219180586", Modify Window "876000h0m0s" 2025/06/13 01:37:01 NOTICE: FS imagekit: /rclone-test-jidoduh3bica: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/13 01:37:01 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.21s) FAIL "./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Finished ERROR in 1m28.951922979s (try 5/5): exit status 1: Failed [TestDirMetadataExtension TestRWFileHandleWriteNoWrite TestVFSOpenFile TestWriteFileHandleMethods TestWriteFileHandleRelease TestFileReadAtZeroLength]