Skip to content

test

test #76

Triggered via push June 5, 2024 05:51
Status Failure
Total duration 1m 3s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/pool.test.ts > instance: 'stackup' > stop / destroy: src/pool.test.ts#L81
AssertionError: expected 'stopped' to be 'started' // Object.is equality - Expected + Received - started + stopped ❯ src/pool.test.ts:81:31
src/pool.test.ts > instance: 'stackup' > restart: src/pool.test.ts#L119
AssertionError: expected 'stopped' to be 'started' // Object.is equality - Expected + Received - started + stopped ❯ src/pool.test.ts:119:31
src/pool.test.ts > instance: 'stackup' > error: start more than once on same port: src/pool.test.ts#L257
AssertionError: promise resolved "{ _internal: { …(2) }, …(14) }" instead of rejecting - Expected + Received - [Error: rejected promise] + Object { + "_internal": Object { + "args": Object { + "ethClientUrl": "http://localhost:42697", + "privateKey": "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80", + }, + "process": ChildProcess { + "_closesGot": 0, + "_closesNeeded": 3, + "_events": Object { + "close": Array [ + [Function anonymous], + [Function anonymous], + ], + "error": Array [ + [Function bound onceWrapper], + [Function bound onceWrapper], + ], + "exit": Array [ + [Function bound onceWrapper], + [Function anonymous], + ], + }, + "_eventsCount": 3, + "_handle": Process { + "onexit": [Function anonymous], + "pid": 9841, + Symbol(owner_symbol): [Circular], + }, + "_maxListeners": undefined, + "all": undefined, + "connected": false, + "duplex": [Function bound createDuplex], + "exitCode": null, + "iterable": [Function bound createIterable], + "kill": [Function bound subprocessKill], + "killed": true, + "pid": 9841, + "pipe": [Function bound pipeToSubprocess], + "readable": [Function bound createReadable], + "signalCode": null, + "spawnargs": Array [ + "docker", + "run", + "--add-host", + "host.docker.internal:host-gateway", + "-p", + "38091:38091", + "-e", + "ERC4337_BUNDLER_PORT=38091", + "-e", + "ERC4337_BUNDLER_ETH_CLIENT_URL=http://host.docker.internal:42697", + "-e", + "ERC4337_BUNDLER_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80", + "stackupwallet/stackup-bundler:latest", + "/app/stackup-bundler", + "start", + "--mode", + "private", + ], + "spawnfile": "docker", + "stderr": Socket { + "_closeAfterHandlingError": false, + "_events": Object { + "close": Array [ + [Function anonymous], + [Function onclose], + ], + "data": Array [ + [Function anonymous], + [Function anonymous], + [Function anonymous], + ], + "drain": undefined, + "end": Array [ + [Function onReadableStreamEnd], + [Function onend], + ], + "error": Array [ + [Function onerror], + [Function errorHandler], + ], + "finish": [Function onfinish], + "prefinish": undefined, + "readable": undefined, + }, + "_eventsCount": 5, + "_hadError": false, + "_host": null, + "_maxListeners": undefined, + "_parent": null, + "_pendingData": null, + "_pendingEncoding": "", + "_readableState": ReadableState { + "awaitDrainWriters": null, + "buffer": Array [], + "bufferIndex": 0, + "highWaterMark": 65536, + "length": 0, + "pipes": Array [], + Symbol(kState): 194521348, + }, + "_server": null, + "_sockname": null, + "_writableState": WritableState { + "bufferedIndex": 0, + "corked": 0, + "highWaterMark": 65536, + "length": 0, + "onwrite": [Function bound onwrite], + "pendingcb": 0, + "writelen": 0, + Symbol(kState): 17564420, + Symbol(kBufferedValue): null, + }, + "allowHalfOpen": false, + "connecting": false, + "server": null, + Symbol(async_id_symbol): 2986, + Symbol(kHandle): Pipe { + "reading": true, + Symbol(owner_symbol): [Circular], + }, + Symbol(lastWriteQueueSize): 0, + Symbol(timeout): null, +
src/instances/stackup.test.ts > behavior: instance errored (duplicate ports): src/instances/stackup.test.ts#L63
AssertionError: promise resolved "[Function bound stop]" instead of rejecting - Expected: [Error: rejected promise] + Received: [Function bound stop] ❯ src/instances/stackup.test.ts:63:40
src/instances/stackup.test.ts > behavior: can subscribe to stderr: src/instances/stackup.test.ts#L87
AssertionError: promise resolved "[Function bound stop]" instead of rejecting - Expected: [Error: rejected promise] + Received: [Function bound stop] ❯ src/instances/stackup.test.ts:87:34
src/instances/stackup.test.ts > behavior: exit: src/instances/stackup.test.ts#L104
AssertionError: expected 'started' to deeply equal 'stopped' - Expected + Received - stopped + started ❯ src/instances/stackup.test.ts:104:27
Verify / Test
Process completed with exit code 1.