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