- `nix run .#offchain:hello-world-cli:test:local`
- Fails with same issue: `nix run .#offchain:hello-world-cli:test:testnet`
[evan@tower:~/Repos/dUSD]$ nix run .#offchain:hello-world-cli:test:local
shell sanity checks
✓︎ ls err
✓︎ ls pass
help page
✓︎ knows its own name
lock
✓︎ fails on no conf
✓︎ fails on no state
✓︎ fails on no inc
(node:543438) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use node --trace-warnings ... to show where the warning was created)
✓︎ fails on no param
✓︎ fails on bad conf
✓︎ fails when state exists
increment
✓︎ fails on no conf
✓︎ fails on no state
✓︎ fails when state doesn't exists
unlock
✓︎ fails on no conf
✓︎ fails on no state
✓︎ fails when state doesn't exists
query
✓︎ fails on no conf
✓︎ fails on no state
✓︎ fails when state doesn't exists
integration test
✗ locks the value:
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Error: Can't use lock when state file already exists
at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10)
at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232
at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19
at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11)
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27
at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
The following test suites are failing on master:
[evan@tower:~/Repos/dUSD]$ nix run .#offchain:hello-world-cli:test:local shell sanity checks ✓︎ ls err ✓︎ ls pass help page ✓︎ knows its own name lock ✓︎ fails on no conf ✓︎ fails on no state ✓︎ fails on no inc (node:543438) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit (Use
node --trace-warnings ...
to show where the warning was created) ✓︎ fails on no param ✓︎ fails on bad conf ✓︎ fails when state exists increment ✓︎ fails on no conf ✓︎ fails on no state ✓︎ fails when state doesn't exists unlock ✓︎ fails on no conf ✓︎ fails on no state ✓︎ fails when state doesn't exists query ✓︎ fails on no conf ✓︎ fails on no state ✓︎ fails when state doesn't exists integration test ✗ locks the value:unexpected failure running: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 exited with: Error: Command failed: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
output was: :/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
✗ querys the state:
unexpected failure running: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 exited with: Error: Command failed: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
output was: :/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
✗ increments the datum:
unexpected failure running: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 exited with: Error: Command failed: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
output was: :/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
✗ querys the new state:
unexpected failure running: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 exited with: Error: Command failed: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
output was: :/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
✗ it unlocks the value:
unexpected failure running: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 exited with: Error: Command failed: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
output was: :/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
✗ removed the state file:
unexpected failure running: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 exited with: Error: Command failed: hello-world-cli --ctl-port 8085 --ogmios-port 1339 --odc-port 10001 -c ./plutip-cfg.json -s script.clistate lock -i 0 -p 1 /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
output was: :/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:532 throw util.fromLeft(step); ^
Error: Can't use lock when state file already exists at Object.exports.error (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/foreign.js:8:10) at Object.$$throw [as throw] (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Exception/index.js:18:45) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/HelloWorld.Cli.Runners/index.js:223:232 at run (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:278:22) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:348:19 at drain (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:120:9) at Object.enqueue (/nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:141:11) at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Effect.Aff/foreign.js:339:27 at /nix/store/48imzg3qy52sysc5wj489lmwjimxah7n-Main-compiled/Node.FS.Async/foreign.js:8:22 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Summary 18/24 tests passed