note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead. RUN v5.0.5 /tmp/lead-33554-r1/evidence-capture-1 stdout | regression-before.test.ts > ssh tunnel scripts > waits for a tunnel whose ssh connection outlasts the readiness timeout [23:54:26.977] ERROR (#1): Error [SshReadinessError]: Timed out waiting 20000ms for backend readiness at http://127.0.0.1:41773/. at makeError (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1051:18) at fail (/home/ubuntu/wt/pr-33554-before/packages/shared/src/httpReadiness.ts:62:19) at /home/ubuntu/wt/pr-33554-before/packages/shared/src/httpReadiness.ts:134:9 at ssh/tunnel.runWithSshAuthAttempt.handleFailure (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1490:37) at ssh/tunnel.runWithSshAuthAttempt.handleFailure (definition) (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1434:39) at ssh/tunnel.runWithSshAuthAttempt (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1496:19) at ssh/tunnel.runWithSshAuthAttempt (definition) (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1472:40) at ssh/tunnel.runWithSshAuth (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1536:32) at ssh/tunnel.runWithSshAuth (definition) (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1493:33) at ssh/tunnel.ensureTunnelEntry.create (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1657:19) at ssh/tunnel.ensureTunnelEntry.create (definition) (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1503:36) at ssh/tunnel.ensureTunnelEntry (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1705:30) at ssh/tunnel.ensureTunnelEntry (definition) (/home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1619:36) { _tag: 'SshReadinessError', [cause]: [Error: {"attempt":200,"cause":{"_tag":"SshReadinessError","message":"Backend readiness probe failed at http://127.0.0.1:41773/.","cause":{"_tag":"HttpClientError","message":"Transport: connect ECONNREFUSED 127.0.0.1:41773 (GET http://127.0.0.1:41773/)"}}}] { attempt: 200, [cause]: [Error: Backend readiness probe failed at http://127.0.0.1:41773/.] { _tag: 'SshReadinessError', [cause]: [Error] } } } ❯ regression-before.test.ts (12 tests | 2 failed | 10 skipped) 936ms ❯ ssh tunnel scripts (12) × waits for a tunnel whose ssh connection outlasts the readiness timeout 761ms × fails with a readiness error when ssh never connects 172ms stdout | regression-before.test.ts > ssh tunnel scripts > fails with a readiness error when ssh never connects [23:54:27.179] ERROR (#42): Error [AssertionError]: expected 'Timed out waiting 20000ms for backend…' to include 'SSH connection to devbox did not come…' at /tmp/lead-33554-r1/evidence-capture-1/regression-before.test.ts:398:18 { actual: 'Timed out waiting 20000ms for backend readiness at http://127.0.0.1:41773/.', expected: undefined, showDiff: false, operator: 'notStrictEqual', [cause]: undefined } ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ FAIL regression-before.test.ts > ssh tunnel scripts > waits for a tunnel whose ssh connection outlasts the readiness timeout SshReadinessError: Timed out waiting 20000ms for backend readiness at http://127.0.0.1:41773/. ❯ makeError ../../../home/ubuntu/wt/pr-33554-before/packages/ssh/src/tunnel.ts:1051:18 1049| readonly lastFailure: unknown; 1050| }; 1051| return new SshReadinessError({ | ^ 1052| message: `Timed out waiting ${overall.timeoutMs}ms for bac… 1053| cause: overall.lastFailure, ❯ fail ../../../home/ubuntu/wt/pr-33554-before/packages/shared/src/httpReadiness.ts:62:19 ❯ ../../../home/ubuntu/wt/pr-33554-before/packages/shared/src/httpReadiness.ts:134:9 ❯ ~effect/Effect/successCont ../../../home/ubuntu/wt/pr-33554-before/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:1482:28 ❯ ~effect/Effect/evaluate ../../../home/ubuntu/wt/pr-33554-before/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/core.ts:587:30 ❯ FiberImpl.runLoop ../../../home/ubuntu/wt/pr-33554-before/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:700:41 ❯ FiberImpl.evaluate ../../../home/ubuntu/wt/pr-33554-before/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:635:23 ❯ FiberImpl.evaluate ../../../home/ubuntu/wt/pr-33554-before/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:624:29 { attempt: 200, cause: { _tag: 'SshReadinessError', message: 'Backend readiness probe failed at http://127.0.0.1:41773/.', cause: { _tag: 'HttpClientError', message: 'Transport: connect ECONNREFUSED 127.0.0.1:41773 (GET http://127.0.0.1:41773/)' } }, name: 'Caused by', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { attempt: 200 } Caused by: Backend readiness probe failed at http://127.0.0.1:41773/. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _tag: 'SshReadinessError' } Caused by: Transport: connect ECONNREFUSED 127.0.0.1:41773 (GET http://127.0.0.1:41773/) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _tag: 'HttpClientError' } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL regression-before.test.ts > ssh tunnel scripts > fails with a readiness error when ssh never connects AssertionError: expected 'Timed out waiting 20000ms for backend…' to include 'SSH connection to devbox did not come…' ❯ regression-before.test.ts:398:18 396| if (Result.isFailure(result)) { 397| assert.instanceOf(result.failure, SshReadinessError); 398| assert.include(result.failure.message, "SSH connection to de… | ^ 399| } 400| assert.isTrue(tunnelKilled); ❯ ~effect/Effect/successCont ../../../home/ubuntu/wt/pr-33554-after/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:1482:28 ❯ ~effect/Effect/evaluate ../../../home/ubuntu/wt/pr-33554-after/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/core.ts:587:30 ❯ FiberImpl.runLoop ../../../home/ubuntu/wt/pr-33554-after/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:700:41 ❯ FiberImpl.evaluate ../../../home/ubuntu/wt/pr-33554-after/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:635:23 ❯ FiberImpl.evaluate ../../../home/ubuntu/wt/pr-33554-after/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:624:29 ❯ Array. ../../../home/ubuntu/wt/pr-33554-after/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:1210:17 ❯ FiberImpl.evaluate ../../../home/ubuntu/wt/pr-33554-after/node_modules/.pnpm/effect@4.1.2/node_modules/effect/src/internal/effect.ts:658:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 1 failed (1) Tests 2 failed | 10 skipped (12) Start at 23:54:22 Duration 5.31s (import 49%, transform 30%, tests 21%)