"./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Starting (try 5/5) 2025/06/27 02:16:56 DEBUG : Creating backend with remote "TestImageKit:rclone-test-muvicad5japo" 2025/06/27 02:16:56 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/06/27 02:16:56 DEBUG : Creating backend with remote "/tmp/rclone2647821371" === RUN TestDirMetadataExtension run.go:180: Remote "FS imagekit: /rclone-test-muvicad5japo", Local "Local file system at /tmp/rclone2647821371", Modify Window "876000h0m0s" 2025/06/27 02:16:56 INFO : FS imagekit: /rclone-test-muvicad5japo: poll-interval is not supported by this remote 2025/06/27 02:16:56 NOTICE: FS imagekit: /rclone-test-muvicad5japo: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/27 02:16:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1.metadata" 2025/06/27 02:16:59 DEBUG : dir/file1.metadata: Set virtual modtime to 2025-06-27 02:16:57.575 +0000 UTC 2025/06/27 02:16:59 DEBUG : dir/file1.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2025/06/27 02:16:59 DEBUG : dir/file1.metadata: Open: flags=O_RDONLY 2025/06/27 02:16:59 DEBUG : dir/file1.metadata: >Open: fd=dir/file1.metadata (r), err= 2025/06/27 02:16:59 DEBUG : dir/file1.metadata: >OpenFile: fd=dir/file1.metadata (r), err= 2025/06/27 02:16:59 DEBUG : dir/file1.metadata: ChunkedReader.openRange at 0 length 134217728 2025/06/27 02:16:59 DEBUG : dir/file1.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 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-27T02:16:57.575Z" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -2025-06-27T02:16:57.575Z + Test: TestDirMetadataExtension 2025/06/27 02:16:59 DEBUG : Added virtual directory entry vAddFile: "dir.metadata" 2025/06/27 02:16:59 DEBUG : dir.metadata: Set virtual modtime to 2025-06-27 02:16:57.372 +0000 UTC 2025/06/27 02:16:59 DEBUG : dir.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2025/06/27 02:16:59 DEBUG : dir.metadata: Open: flags=O_RDONLY 2025/06/27 02:16:59 DEBUG : dir.metadata: >Open: fd=dir.metadata (r), err= 2025/06/27 02:16:59 DEBUG : dir.metadata: >OpenFile: fd=dir.metadata (r), err= 2025/06/27 02:16:59 DEBUG : dir.metadata: ChunkedReader.openRange at 0 length 134217728 2025/06/27 02:16:59 DEBUG : dir.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/06/27 02:16:59 DEBUG : WaitForWriters: timeout=30s 2025/06/27 02:16:59 DEBUG : dir: Looking for writers 2025/06/27 02:16:59 DEBUG : file1: reading active writers 2025/06/27 02:16:59 DEBUG : file1.metadata: reading active writers 2025/06/27 02:16:59 DEBUG : Looking for writers 2025/06/27 02:16:59 DEBUG : dir: reading active writers 2025/06/27 02:16:59 DEBUG : dir.metadata: reading active writers 2025/06/27 02:16:59 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (4.42s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "FS imagekit: /rclone-test-muvicad5japo", Local "Local file system at /tmp/rclone2647821371", Modify Window "876000h0m0s" 2025/06/27 02:17:00 INFO : FS imagekit: /rclone-test-muvicad5japo: poll-interval is not supported by this remote 2025/06/27 02:17:00 DEBUG : FS imagekit: /rclone-test-muvicad5japo: vfs cache: root is "/home/rclone/.cache/rclone" 2025/06/27 02:17:00 DEBUG : FS imagekit: /rclone-test-muvicad5japo: vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestImageKit/rclone-test-muvicad5japo" 2025/06/27 02:17:00 DEBUG : FS imagekit: /rclone-test-muvicad5japo: vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestImageKit/rclone-test-muvicad5japo" 2025/06/27 02:17:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestImageKit/rclone-test-muvicad5japo" 2025/06/27 02:17:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/06/27 02:17:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestImageKit/rclone-test-muvicad5japo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestImageKit/rclone-test-muvicad5japo" 2025/06/27 02:17:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestImageKit/rclone-test-muvicad5japo" 2025/06/27 02:17:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/06/27 02:17:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestImageKit/rclone-test-muvicad5japo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestImageKit/rclone-test-muvicad5japo" 2025/06/27 02:17:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/27 02:17:00 INFO : FS imagekit: /rclone-test-muvicad5japo: vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/06/27 02:17:01 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/06/27 02:17:01 DEBUG : file1: newRWFileHandle: 2025/06/27 02:17:01 DEBUG : file1(0xc000412b80): openPending: 2025/06/27 02:17:01 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/06/27 02:17:01 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:17:01 DEBUG : file1(0xc000412b80): >openPending: err= 2025/06/27 02:17:01 DEBUG : file1: >newRWFileHandle: err= 2025/06/27 02:17:01 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:17:01 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/06/27 02:17:01 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/06/27 02:17:01 DEBUG : file1(0xc000412b80): close: 2025/06/27 02:17:01 DEBUG : file1: vfs cache: setting modification time to 2025-06-27 02:17:01.306895778 +0000 UTC m=+5.177271662 2025/06/27 02:17:01 INFO : file1: vfs cache: queuing for upload in 100ms 2025/06/27 02:17:01 DEBUG : file1(0xc000412b80): >close: err= 2025/06/27 02:17:01 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/06/27 02:17:01 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/06/27 02:17:01 DEBUG : file2: newRWFileHandle: 2025/06/27 02:17:01 DEBUG : file2(0xc000413080): openPending: 2025/06/27 02:17:01 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/06/27 02:17:01 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/06/27 02:17:01 DEBUG : file2(0xc000413080): >openPending: err= 2025/06/27 02:17:01 DEBUG : file2: >newRWFileHandle: err= 2025/06/27 02:17:01 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/06/27 02:17:01 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/06/27 02:17:01 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/06/27 02:17:01 DEBUG : file2(0xc000413080): RWFileHandle.Flush 2025/06/27 02:17:01 DEBUG : file2(0xc000413080): RWFileHandle.Release 2025/06/27 02:17:01 DEBUG : file2(0xc000413080): close: 2025/06/27 02:17:01 DEBUG : file2: vfs cache: setting modification time to 2025-06-27 02:17:01.308623669 +0000 UTC m=+5.178999553 2025/06/27 02:17:01 INFO : file2: vfs cache: queuing for upload in 100ms 2025/06/27 02:17:01 DEBUG : file2(0xc000413080): >close: err= 2025/06/27 02:17:01 DEBUG : WaitForWriters: timeout=30s 2025/06/27 02:17:01 DEBUG : Looking for writers 2025/06/27 02:17:01 DEBUG : file1: reading active writers 2025/06/27 02:17:01 DEBUG : file2: reading active writers 2025/06/27 02:17:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/06/27 02:17:01 DEBUG : Looking for writers 2025/06/27 02:17:01 DEBUG : file1: reading active writers 2025/06/27 02:17:01 DEBUG : file2: reading active writers 2025/06/27 02:17:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/06/27 02:17:01 DEBUG : Looking for writers 2025/06/27 02:17:01 DEBUG : file2: reading active writers 2025/06/27 02:17:01 DEBUG : file1: reading active writers 2025/06/27 02:17:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/06/27 02:17:01 DEBUG : Looking for writers 2025/06/27 02:17:01 DEBUG : file1: reading active writers 2025/06/27 02:17:01 DEBUG : file2: reading active writers 2025/06/27 02:17:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/06/27 02:17:01 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:01 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17:01 DEBUG : Looking for writers 2025/06/27 02:17:01 DEBUG : file1: reading active writers 2025/06/27 02:17:01 DEBUG : file2: reading active writers 2025/06/27 02:17:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/06/27 02:17:01 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/27 02:17:01 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/27 02:17:01 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/27 02:17:01 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/27 02:17:01 DEBUG : Looking for writers 2025/06/27 02:17:01 DEBUG : file1: reading active writers 2025/06/27 02:17:01 DEBUG : file2: reading active writers 2025/06/27 02:17:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/06/27 02:17:01 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:01 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17:01 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/27 02:17:01 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/27 02:17:01 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/27 02:17:01 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/27 02:17:01 DEBUG : Looking for writers 2025/06/27 02:17:01 DEBUG : file1: reading active writers 2025/06/27 02:17:01 DEBUG : file2: reading active writers 2025/06/27 02:17:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/06/27 02:17:02 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:02 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17:02 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/27 02:17:02 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/27 02:17:02 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/27 02:17:02 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/27 02:17:02 DEBUG : Looking for writers 2025/06/27 02:17:02 DEBUG : file1: reading active writers 2025/06/27 02:17:02 DEBUG : file2: reading active writers 2025/06/27 02:17:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:03 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:03 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17:03 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/27 02:17:03 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/27 02:17:03 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/27 02:17:03 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/27 02:17:03 DEBUG : Looking for writers 2025/06/27 02:17:03 DEBUG : file2: reading active writers 2025/06/27 02:17:03 DEBUG : file1: reading active writers 2025/06/27 02:17:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:04 DEBUG : Looking for writers 2025/06/27 02:17:04 DEBUG : file2: reading active writers 2025/06/27 02:17:04 DEBUG : file1: reading active writers 2025/06/27 02:17:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:04 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:04 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17: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/27 02:17:05 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/27 02:17: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/27 02:17:05 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/27 02:17:05 DEBUG : Looking for writers 2025/06/27 02:17:05 DEBUG : file1: reading active writers 2025/06/27 02:17:05 DEBUG : file2: reading active writers 2025/06/27 02:17:05 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:06 DEBUG : Looking for writers 2025/06/27 02:17:06 DEBUG : file1: reading active writers 2025/06/27 02:17:06 DEBUG : file2: reading active writers 2025/06/27 02:17:06 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:07 DEBUG : Looking for writers 2025/06/27 02:17:07 DEBUG : file1: reading active writers 2025/06/27 02:17:07 DEBUG : file2: reading active writers 2025/06/27 02:17:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:08 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:08 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17: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/27 02:17:08 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/27 02:17: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/27 02:17:08 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/27 02:17:08 DEBUG : Looking for writers 2025/06/27 02:17:08 DEBUG : file1: reading active writers 2025/06/27 02:17:08 DEBUG : file2: reading active writers 2025/06/27 02:17:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:09 DEBUG : Looking for writers 2025/06/27 02:17:09 DEBUG : file1: reading active writers 2025/06/27 02:17:09 DEBUG : file2: reading active writers 2025/06/27 02:17:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:10 DEBUG : Looking for writers 2025/06/27 02:17:10 DEBUG : file2: reading active writers 2025/06/27 02:17:10 DEBUG : file1: reading active writers 2025/06/27 02:17:10 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:11 DEBUG : Looking for writers 2025/06/27 02:17:11 DEBUG : file1: reading active writers 2025/06/27 02:17:11 DEBUG : file2: reading active writers 2025/06/27 02:17:11 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:12 DEBUG : Looking for writers 2025/06/27 02:17:12 DEBUG : file1: reading active writers 2025/06/27 02:17:12 DEBUG : file2: reading active writers 2025/06/27 02:17:12 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:13 DEBUG : Looking for writers 2025/06/27 02:17:13 DEBUG : file1: reading active writers 2025/06/27 02:17:13 DEBUG : file2: reading active writers 2025/06/27 02:17:13 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:14 DEBUG : Looking for writers 2025/06/27 02:17:14 DEBUG : file1: reading active writers 2025/06/27 02:17:14 DEBUG : file2: reading active writers 2025/06/27 02:17:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:14 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:14 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17:14 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/27 02:17:14 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/27 02:17:14 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/27 02:17:14 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/27 02:17:15 DEBUG : Looking for writers 2025/06/27 02:17:15 DEBUG : file1: reading active writers 2025/06/27 02:17:15 DEBUG : file2: reading active writers 2025/06/27 02:17:15 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:16 DEBUG : Looking for writers 2025/06/27 02:17:16 DEBUG : file1: reading active writers 2025/06/27 02:17:16 DEBUG : file2: reading active writers 2025/06/27 02:17:16 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:17 DEBUG : Looking for writers 2025/06/27 02:17:17 DEBUG : file1: reading active writers 2025/06/27 02:17:17 DEBUG : file2: reading active writers 2025/06/27 02:17:17 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:18 DEBUG : Looking for writers 2025/06/27 02:17:18 DEBUG : file2: reading active writers 2025/06/27 02:17:18 DEBUG : file1: reading active writers 2025/06/27 02:17:18 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:19 DEBUG : Looking for writers 2025/06/27 02:17:19 DEBUG : file1: reading active writers 2025/06/27 02:17:19 DEBUG : file2: reading active writers 2025/06/27 02:17:19 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:20 DEBUG : Looking for writers 2025/06/27 02:17:20 DEBUG : file1: reading active writers 2025/06/27 02:17:20 DEBUG : file2: reading active writers 2025/06/27 02:17:20 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:21 DEBUG : Looking for writers 2025/06/27 02:17:21 DEBUG : file1: reading active writers 2025/06/27 02:17:21 DEBUG : file2: reading active writers 2025/06/27 02:17:21 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:22 DEBUG : Looking for writers 2025/06/27 02:17:22 DEBUG : file1: reading active writers 2025/06/27 02:17:22 DEBUG : file2: reading active writers 2025/06/27 02:17:22 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:23 DEBUG : Looking for writers 2025/06/27 02:17:23 DEBUG : file1: reading active writers 2025/06/27 02:17:23 DEBUG : file2: reading active writers 2025/06/27 02:17:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:24 DEBUG : Looking for writers 2025/06/27 02:17:24 DEBUG : file1: reading active writers 2025/06/27 02:17:24 DEBUG : file2: reading active writers 2025/06/27 02:17:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:25 DEBUG : Looking for writers 2025/06/27 02:17:25 DEBUG : file2: reading active writers 2025/06/27 02:17:25 DEBUG : file1: reading active writers 2025/06/27 02:17:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:26 DEBUG : Looking for writers 2025/06/27 02:17:26 DEBUG : file1: reading active writers 2025/06/27 02:17:26 DEBUG : file2: reading active writers 2025/06/27 02:17:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:27 DEBUG : Looking for writers 2025/06/27 02:17:27 DEBUG : file1: reading active writers 2025/06/27 02:17:27 DEBUG : file2: reading active writers 2025/06/27 02:17:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:27 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:27 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17:27 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/27 02:17:27 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/27 02:17:27 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/27 02:17:27 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/27 02:17:28 DEBUG : Looking for writers 2025/06/27 02:17:28 DEBUG : file1: reading active writers 2025/06/27 02:17:28 DEBUG : file2: reading active writers 2025/06/27 02:17:28 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:29 DEBUG : Looking for writers 2025/06/27 02:17:29 DEBUG : file1: reading active writers 2025/06/27 02:17:29 DEBUG : file2: reading active writers 2025/06/27 02:17:29 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:30 DEBUG : Looking for writers 2025/06/27 02:17:30 DEBUG : file1: reading active writers 2025/06/27 02:17:30 DEBUG : file2: reading active writers 2025/06/27 02:17:30 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:31 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc00056ab40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0008aa008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642805824} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13983568709974416290 ext:5177271662 loc:0x3fe36e0} ATime:{wall:13983568709974793527 ext:5177648900 loc:0x3fe36e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc00056ab40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0008aa308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642806592} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13983568709976144181 ext:5178999553 loc:0x3fe36e0} ATime:{wall:13983568709976453932 ext:5179309315 loc:0x3fe36e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/06/27 02:17:31 DEBUG : >WaitForWriters: fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /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:200: Not found "file1" fstest.go:200: Not found "file2" fstest.go:203: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:203 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:307 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /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/27 02:17:39 DEBUG : WaitForWriters: timeout=30s 2025/06/27 02:17:39 DEBUG : Looking for writers 2025/06/27 02:17:39 DEBUG : file1: reading active writers 2025/06/27 02:17:39 DEBUG : file2: reading active writers 2025/06/27 02:17:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/06/27 02:17:39 DEBUG : Looking for writers 2025/06/27 02:17:39 DEBUG : file1: reading active writers 2025/06/27 02:17:39 DEBUG : file2: reading active writers 2025/06/27 02:17:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/06/27 02:17:39 DEBUG : Looking for writers 2025/06/27 02:17:39 DEBUG : file1: reading active writers 2025/06/27 02:17:39 DEBUG : file2: reading active writers 2025/06/27 02:17:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/06/27 02:17:39 DEBUG : Looking for writers 2025/06/27 02:17:39 DEBUG : file1: reading active writers 2025/06/27 02:17:39 DEBUG : file2: reading active writers 2025/06/27 02:17:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/06/27 02:17:39 DEBUG : Looking for writers 2025/06/27 02:17:39 DEBUG : file1: reading active writers 2025/06/27 02:17:39 DEBUG : file2: reading active writers 2025/06/27 02:17:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/06/27 02:17:39 DEBUG : Looking for writers 2025/06/27 02:17:39 DEBUG : file1: reading active writers 2025/06/27 02:17:39 DEBUG : file2: reading active writers 2025/06/27 02:17:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/06/27 02:17:40 DEBUG : Looking for writers 2025/06/27 02:17:40 DEBUG : file1: reading active writers 2025/06/27 02:17:40 DEBUG : file2: reading active writers 2025/06/27 02:17:40 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/06/27 02:17:40 DEBUG : Looking for writers 2025/06/27 02:17:40 DEBUG : file1: reading active writers 2025/06/27 02:17:40 DEBUG : file2: reading active writers 2025/06/27 02:17:40 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:41 DEBUG : Looking for writers 2025/06/27 02:17:41 DEBUG : file1: reading active writers 2025/06/27 02:17:41 DEBUG : file2: reading active writers 2025/06/27 02:17:41 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:42 DEBUG : Looking for writers 2025/06/27 02:17:42 DEBUG : file1: reading active writers 2025/06/27 02:17:42 DEBUG : file2: reading active writers 2025/06/27 02:17:42 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:43 DEBUG : Looking for writers 2025/06/27 02:17:43 DEBUG : file1: reading active writers 2025/06/27 02:17:43 DEBUG : file2: reading active writers 2025/06/27 02:17:43 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:44 DEBUG : Looking for writers 2025/06/27 02:17:44 DEBUG : file1: reading active writers 2025/06/27 02:17:44 DEBUG : file2: reading active writers 2025/06/27 02:17:44 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:45 DEBUG : Looking for writers 2025/06/27 02:17:45 DEBUG : file1: reading active writers 2025/06/27 02:17:45 DEBUG : file2: reading active writers 2025/06/27 02:17:45 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:46 DEBUG : Looking for writers 2025/06/27 02:17:46 DEBUG : file1: reading active writers 2025/06/27 02:17:46 DEBUG : file2: reading active writers 2025/06/27 02:17:46 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:47 DEBUG : Looking for writers 2025/06/27 02:17:47 DEBUG : file1: reading active writers 2025/06/27 02:17:47 DEBUG : file2: reading active writers 2025/06/27 02:17:47 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:48 DEBUG : Looking for writers 2025/06/27 02:17:48 DEBUG : file2: reading active writers 2025/06/27 02:17:48 DEBUG : file1: reading active writers 2025/06/27 02:17:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:49 DEBUG : Looking for writers 2025/06/27 02:17:49 DEBUG : file1: reading active writers 2025/06/27 02:17:49 DEBUG : file2: reading active writers 2025/06/27 02:17:49 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:50 DEBUG : Looking for writers 2025/06/27 02:17:50 DEBUG : file1: reading active writers 2025/06/27 02:17:50 DEBUG : file2: reading active writers 2025/06/27 02:17:50 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:51 DEBUG : Looking for writers 2025/06/27 02:17:51 DEBUG : file1: reading active writers 2025/06/27 02:17:51 DEBUG : file2: reading active writers 2025/06/27 02:17:51 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:52 DEBUG : Looking for writers 2025/06/27 02:17:52 DEBUG : file1: reading active writers 2025/06/27 02:17:52 DEBUG : file2: reading active writers 2025/06/27 02:17:52 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:53 DEBUG : file1: vfs cache: starting upload 2025/06/27 02:17:53 DEBUG : file2: vfs cache: starting upload 2025/06/27 02:17: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/27 02:17:53 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/27 02:17: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/27 02:17:53 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/27 02:17:53 DEBUG : Looking for writers 2025/06/27 02:17:53 DEBUG : file1: reading active writers 2025/06/27 02:17:53 DEBUG : file2: reading active writers 2025/06/27 02:17:53 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:54 DEBUG : Looking for writers 2025/06/27 02:17:54 DEBUG : file1: reading active writers 2025/06/27 02:17:54 DEBUG : file2: reading active writers 2025/06/27 02:17:54 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:55 DEBUG : Looking for writers 2025/06/27 02:17:55 DEBUG : file1: reading active writers 2025/06/27 02:17:55 DEBUG : file2: reading active writers 2025/06/27 02:17:55 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:56 DEBUG : Looking for writers 2025/06/27 02:17:56 DEBUG : file1: reading active writers 2025/06/27 02:17:56 DEBUG : file2: reading active writers 2025/06/27 02:17:56 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:57 DEBUG : Looking for writers 2025/06/27 02:17:57 DEBUG : file1: reading active writers 2025/06/27 02:17:57 DEBUG : file2: reading active writers 2025/06/27 02:17:57 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:58 DEBUG : Looking for writers 2025/06/27 02:17:58 DEBUG : file1: reading active writers 2025/06/27 02:17:58 DEBUG : file2: reading active writers 2025/06/27 02:17:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:17:59 DEBUG : Looking for writers 2025/06/27 02:17:59 DEBUG : file1: reading active writers 2025/06/27 02:17:59 DEBUG : file2: reading active writers 2025/06/27 02:17:59 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:00 DEBUG : Looking for writers 2025/06/27 02:18:00 DEBUG : file1: reading active writers 2025/06/27 02:18:00 DEBUG : file2: reading active writers 2025/06/27 02:18:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:00 DEBUG : FS imagekit: /rclone-test-muvicad5japo: vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/06/27 02:18:00 DEBUG : FS imagekit: /rclone-test-muvicad5japo: vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/06/27 02:18:00 INFO : FS imagekit: /rclone-test-muvicad5japo: vfs cache: cleaned: objects 2 (was 2) in use 2, to upload 2, uploading 0, total size 0 (was 0) 2025/06/27 02:18:01 DEBUG : Looking for writers 2025/06/27 02:18:01 DEBUG : file1: reading active writers 2025/06/27 02:18:01 DEBUG : file2: reading active writers 2025/06/27 02:18:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:02 DEBUG : Looking for writers 2025/06/27 02:18:02 DEBUG : file1: reading active writers 2025/06/27 02:18:02 DEBUG : file2: reading active writers 2025/06/27 02:18:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:03 DEBUG : Looking for writers 2025/06/27 02:18:03 DEBUG : file2: reading active writers 2025/06/27 02:18:03 DEBUG : file1: reading active writers 2025/06/27 02:18:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:04 DEBUG : Looking for writers 2025/06/27 02:18:04 DEBUG : file1: reading active writers 2025/06/27 02:18:04 DEBUG : file2: reading active writers 2025/06/27 02:18:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:05 DEBUG : Looking for writers 2025/06/27 02:18:05 DEBUG : file1: reading active writers 2025/06/27 02:18:05 DEBUG : file2: reading active writers 2025/06/27 02:18:05 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:06 DEBUG : Looking for writers 2025/06/27 02:18:06 DEBUG : file1: reading active writers 2025/06/27 02:18:06 DEBUG : file2: reading active writers 2025/06/27 02:18:06 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:07 DEBUG : Looking for writers 2025/06/27 02:18:07 DEBUG : file1: reading active writers 2025/06/27 02:18:07 DEBUG : file2: reading active writers 2025/06/27 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:08 DEBUG : Looking for writers 2025/06/27 02:18:08 DEBUG : file1: reading active writers 2025/06/27 02:18:08 DEBUG : file2: reading active writers 2025/06/27 02:18:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/06/27 02:18:09 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc00056ab40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0008aa008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642805824} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13983568709974416290 ext:5177271662 loc:0x3fe36e0} ATime:{wall:13983568709974793527 ext:5177648900 loc:0x3fe36e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc00056ab40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0008aa308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642806592} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13983568709976144181 ext:5178999553 loc:0x3fe36e0} ATime:{wall:13983568709976453932 ext:5179309315 loc:0x3fe36e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/06/27 02:18:09 DEBUG : >WaitForWriters: 2025/06/27 02:18:09 DEBUG : FS imagekit: /rclone-test-muvicad5japo: vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (70.23s) === RUN TestVFSOpenFile run.go:180: Remote "FS imagekit: /rclone-test-muvicad5japo", Local "Local file system at /tmp/rclone2647821371", Modify Window "876000h0m0s" 2025/06/27 02:18:11 INFO : FS imagekit: /rclone-test-muvicad5japo: poll-interval is not supported by this remote 2025/06/27 02:18:11 NOTICE: FS imagekit: /rclone-test-muvicad5japo: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/27 02:18:14 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/06/27 02:18:14 DEBUG : file1: Open: flags=O_RDONLY 2025/06/27 02:18:14 DEBUG : file1: >Open: fd=file1 (r), err= 2025/06/27 02:18:14 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/06/27 02:18:14 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/06/27 02:18:14 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/06/27 02:18:14 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/06/27 02:18:15 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/06/27 02:18:15 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/27 02:18:15 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/06/27 02:18:15 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/06/27 02:18:15 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/06/27 02:18:15 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/06/27 02:18:15 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/06/27 02:18:15 DEBUG : FS imagekit: /rclone-test-muvicad5japo: File to upload is small (0 bytes), uploading instead of streaming 2025/06/27 02:18:15 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 .\"}" 2025/06/27 02:18:15 DEBUG : dir/new_file.txt: Remove: 2025/06/27 02:18:15 DEBUG : dir: Added virtual directory entry vDel: "new_file.txt" 2025/06/27 02:18:15 DEBUG : dir/new_file.txt: >Remove: err= 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 2025/06/27 02:18:15 DEBUG : WaitForWriters: timeout=30s 2025/06/27 02:18:15 DEBUG : dir: Looking for writers 2025/06/27 02:18:15 DEBUG : file2: reading active writers 2025/06/27 02:18:15 DEBUG : Looking for writers 2025/06/27 02:18:15 DEBUG : dir: reading active writers 2025/06/27 02:18:15 DEBUG : file1: reading active writers 2025/06/27 02:18:15 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (5.76s) === RUN TestWriteFileHandleMethods run.go:180: Remote "FS imagekit: /rclone-test-muvicad5japo", Local "Local file system at /tmp/rclone2647821371", Modify Window "876000h0m0s" 2025/06/27 02:18:16 INFO : FS imagekit: /rclone-test-muvicad5japo: poll-interval is not supported by this remote 2025/06/27 02:18:16 NOTICE: FS imagekit: /rclone-test-muvicad5japo: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/27 02:18:16 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/27 02:18:17 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/06/27 02:18:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:17 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/27 02:18:17 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/27 02:18:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:17 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/27 02:18:17 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/06/27 02:18:17 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/06/27 02:18:17 DEBUG : FS imagekit: /rclone-test-muvicad5japo: File to upload is small (5 bytes), uploading instead of streaming 2025/06/27 02:18:18 NOTICE: FS imagekit: /rclone-test-muvicad5japo: --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/06/27 02:18:18 DEBUG : file1: Size of src and dst objects identical 2025/06/27 02:18:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:18 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/27 02:18:18 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/06/27 02:18:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:18 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/27 02:18:18 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/27 02:18:18 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/27 02:18:18 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/06/27 02:18:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:18 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/27 02:18:18 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/27 02:18:18 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/06/27 02:18:18 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/06/27 02:18:18 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/06/27 02:18:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:18 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/27 02:18:18 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/27 02:18:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:18 DEBUG : FS imagekit: /rclone-test-muvicad5japo: File to upload is small (0 bytes), uploading instead of streaming 2025/06/27 02:18:19 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 2025/06/27 02:18:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/06/27 02:18:19 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/06/27 02:18:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:19 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/27 02:18:19 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/27 02:18:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:19 DEBUG : FS imagekit: /rclone-test-muvicad5japo: File to upload is small (7 bytes), uploading instead of streaming 2025/06/27 02:18:20 DEBUG : file1: Size of src and dst objects identical 2025/06/27 02:18:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:20 DEBUG : WaitForWriters: timeout=30s 2025/06/27 02:18:20 DEBUG : Looking for writers 2025/06/27 02:18:20 DEBUG : file1: reading active writers 2025/06/27 02:18:20 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (4.35s) === RUN TestWriteFileHandleRelease run.go:180: Remote "FS imagekit: /rclone-test-muvicad5japo", Local "Local file system at /tmp/rclone2647821371", Modify Window "876000h0m0s" 2025/06/27 02:18:21 INFO : FS imagekit: /rclone-test-muvicad5japo: poll-interval is not supported by this remote 2025/06/27 02:18:21 NOTICE: FS imagekit: /rclone-test-muvicad5japo: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/27 02:18:21 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/27 02:18:21 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/06/27 02:18:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:21 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/27 02:18:21 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/27 02:18:21 DEBUG : file1: WriteFileHandle.Release closing 2025/06/27 02:18:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:21 DEBUG : FS imagekit: /rclone-test-muvicad5japo: File to upload is small (0 bytes), uploading instead of streaming 2025/06/27 02:18:21 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/27 02:18:21 DEBUG : file1: Remove: 2025/06/27 02:18:21 DEBUG : Added virtual directory entry vDel: "file1" 2025/06/27 02:18:21 DEBUG : file1: >Remove: err= 2025/06/27 02:18:21 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 2025/06/27 02:18:21 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/06/27 02:18:21 DEBUG : WaitForWriters: timeout=30s 2025/06/27 02:18:21 DEBUG : Looking for writers 2025/06/27 02:18:21 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (1.12s) === RUN TestFileReadAtZeroLength run.go:180: Remote "FS imagekit: /rclone-test-muvicad5japo", Local "Local file system at /tmp/rclone2647821371", Modify Window "876000h0m0s" 2025/06/27 02:18:22 INFO : FS imagekit: /rclone-test-muvicad5japo: poll-interval is not supported by this remote 2025/06/27 02:18:22 NOTICE: FS imagekit: /rclone-test-muvicad5japo: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/27 02:18:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/27 02:18:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/06/27 02:18:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:22 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/27 02:18:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/27 02:18:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/27 02:18:22 DEBUG : FS imagekit: /rclone-test-muvicad5japo: File to upload is small (0 bytes), uploading instead of streaming 2025/06/27 02:18:22 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/27 02:18:22 DEBUG : file1: Remove: 2025/06/27 02:18:22 DEBUG : Added virtual directory entry vDel: "file1" 2025/06/27 02:18:22 DEBUG : file1: >Remove: err= 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 2025/06/27 02:18:22 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/06/27 02:18:22 DEBUG : file1: >OpenFile: fd=, err=file does not exist 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 2025/06/27 02:18:22 DEBUG : WaitForWriters: timeout=30s 2025/06/27 02:18:22 DEBUG : Looking for writers 2025/06/27 02:18:22 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.13s) FAIL 2025/06/27 02:18:23 DEBUG : FS imagekit: /rclone-test-muvicad5japo: Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestImageKit: -verbose -test.run '^(TestDirMetadataExtension|TestFileReadAtZeroLength|TestRWFileHandleWriteNoWrite|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease)$'" - Finished ERROR in 1m27.552472615s (try 5/5): exit status 1: Failed [TestDirMetadataExtension TestRWFileHandleWriteNoWrite TestVFSOpenFile TestWriteFileHandleMethods TestWriteFileHandleRelease TestFileReadAtZeroLength]