-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Came across this writing tests which are run with deno. Not a problem when I remove kvmserver from the mix and run the deno subprocess directly. I assume we must be missing some functionality here in the way file locking is implemented.
$ deno
Deno 2.3.5
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> using proc = new Deno.Command("sh", { args: ["-c", `exec /home/lrowe/devel/kvmserver/.build/kvmserver --allow-all -- deno run --allow-all --v8-flags=--single-threaded 'data:,Deno.serve(() => new Response("Hello, World!"))'`] }).spawn()
undefined
# After about 20 seconds
> Could not initialize cache database '/home/lrowe/.cache/deno/dep_analysis_cache_v2', deleting and retrying... (SqliteFailure(Error { code: FileLockingProtocolFailed, extended_code: 15 }, Some("locking protocol")))
Failed to open cache file '/home/lrowe/.cache/deno/dep_analysis_cache_v2', opening in-memory cache.
Could not initialize cache database '/home/lrowe/.cache/deno/node_analysis_cache_v2', deleting and retrying... (SqliteFailure(Error { code: FileLockingProtocolFailed, extended_code: 15 }, Some("locking protocol")))
Failed to open cache file '/home/lrowe/.cache/deno/node_analysis_cache_v2', opening in-memory cache.
# After about a minute
Listening on http://0.0.0.0:8000/ (http://localhost:8000/)
Program '/home/lrowe/.deno/bin/deno' loaded. epoll vm=1 huge=0/0 init=60328ms rss=131MB
Metadata
Metadata
Assignees
Labels
No labels