Files
stack/agents/gander/work/v574/run1/proof-lifecycle.test.log

316 lines
17 KiB
Plaintext

TAP version 13
# Subtest: row 194 T2: the human's launch runs an unlisted instance and launch.by through the pm branch, and closes with the run
not ok 1 - row 194 T2: the human's launch runs an unlisted instance and launch.by through the pm branch, and closes with the run
---
duration_ms: 241.465115
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:254:1'
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
+ actual - expected
+ 'launch-failed'
- null
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: ~
actual: 'launch-failed'
operator: 'strictEqual'
stack: |-
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:261:10)
async Test.run (node:internal/test_runner/test:1409:7)
async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
...
# Subtest: row 194 T2: a request past its 60 s never launches, and a refused check closes the request with its code
ok 2 - row 194 T2: a request past its 60 s never launches, and a refused check closes the request with its code
---
duration_ms: 104.950111
type: 'test'
...
# Subtest: row 194 T3: a --no-launch host closes each request launches-disabled and starts nothing
ok 3 - row 194 T3: a --no-launch host closes each request launches-disabled and starts nothing
---
duration_ms: 97.928829
type: 'test'
...
# Subtest: row 194 T3: a limit refusal closes the request with its code and the limit in the launch log
not ok 4 - row 194 T3: a limit refusal closes the request with its code and the limit in the launch log
---
duration_ms: 185.151451
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:315:1'
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
+ actual - expected
+ 'launch-failed'
- null
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: ~
actual: 'launch-failed'
operator: 'strictEqual'
stack: |-
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:319:10)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 T4: terminate revokes and cancels at the verb, then the pass signals the run, which ends once
not ok 5 - row 194 T4: terminate revokes and cancels at the verb, then the pass signals the run, which ends once
---
duration_ms: 179.987235
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:333:1'
failureType: 'testCodeFailure'
error: 'The "path" argument must be of type string. Received null'
code: 'ERR_INVALID_ARG_TYPE'
name: 'TypeError'
stack: |-
join (node:path:1339:7)
file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:156:18
until (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:40:21)
Object.claimed (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:155:28)
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:338:11)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 T5: regenerate ends the run in the registry and starts a new run on the same workspace
not ok 6 - row 194 T5: regenerate ends the run in the registry and starts a new run on the same workspace
---
duration_ms: 156.725879
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:355:1'
failureType: 'testCodeFailure'
error: 'The "path" argument must be of type string. Received null'
code: 'ERR_INVALID_ARG_TYPE'
name: 'TypeError'
stack: |-
join (node:path:1339:7)
file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:156:18
until (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:40:21)
Object.claimed (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:155:28)
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:359:11)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 T5: a run that outlasts the request's mark closes the regenerate regenerate-timeout and starts nothing
not ok 7 - row 194 T5: a run that outlasts the request's mark closes the regenerate regenerate-timeout and starts nothing
---
duration_ms: 157.746899
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:376:1'
failureType: 'testCodeFailure'
error: 'The "path" argument must be of type string. Received null'
code: 'ERR_INVALID_ARG_TYPE'
name: 'TypeError'
stack: |-
join (node:path:1339:7)
file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:156:18
until (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:40:21)
Object.claimed (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:155:28)
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:380:11)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 V5: delete retires the name, renames the workspace to .retired/I-<transaction> at 0700, and a retry renames after workspace-rename-failed
ok 8 - row 194 V5: delete retires the name, renames the workspace to .retired/I-<transaction> at 0700, and a retry renames after workspace-rename-failed
---
duration_ms: 145.725288
type: 'test'
...
# Subtest: row 194 V5: a delete with no workspace commits and closes with the transaction
ok 9 - row 194 V5: a delete with no workspace commits and closes with the transaction
---
duration_ms: 99.367007
type: 'test'
...
# Subtest: row 281 T10: the delete pass closes a granted instance's first request grants-revoking and the host channel stays up
ok 10 - row 281 T10: the delete pass closes a granted instance's first request grants-revoking and the host channel stays up
---
duration_ms: 107.765472
type: 'test'
...
# Subtest: row 194 D1.1 item 5: the CLI's launch, regenerate, terminate and delete end to end through the pass, and a closed refusal exits 3 with the request id
not ok 11 - row 194 D1.1 item 5: the CLI's launch, regenerate, terminate and delete end to end through the pass, and a closed refusal exits 3 with the request id
---
duration_ms: 160.023021
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:473:1'
failureType: 'testCodeFailure'
error: |-
mosaic: request 5cf73c8d-886f-4eb9-ac5b-3dc40730d7e2, waiting up to 30 s
mosaic: launch-failed: the launcher refused the request (request 5cf73c8d-886f-4eb9-ac5b-3dc40730d7e2)
3 !== 0
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: 0
actual: 3
operator: 'strictEqual'
stack: |-
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:477:10)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 T20: a store-only delete with a tracker bot closes naming the bot, and the CLI says to remove it in Vikunja
ok 12 - row 194 T20: a store-only delete with a tracker bot closes naming the bot, and the CLI says to remove it in Vikunja
---
duration_ms: 104.835728
type: 'test'
...
# Subtest: row 194 T2a: a launch.revoke between the request and the pass closes it launch-revoked with no process; a done that fails once leaves the request taken and the next pass starts nothing
not ok 13 - row 194 T2a: a launch.revoke between the request and the pass closes it launch-revoked with no process; a done that fails once leaves the request taken and the next pass starts nothing
---
duration_ms: 164.80178
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:535:1'
failureType: 'testCodeFailure'
error: "Cannot read properties of undefined (reading 'run')"
code: 'ERR_TEST_FAILURE'
name: 'TypeError'
stack: |-
file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:550:112
Array.some (<anonymous>)
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:550:20)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 T4: terminate signals a spawned run in the registry that the bus never bound, and not a run whose start time differs
ok 14 - row 194 T4: terminate signals a spawned run in the registry that the bus never bound, and not a run whose start time differs
---
duration_ms: 390.70473
type: 'test'
...
# Subtest: row 194 T9a: fire signals its bound run and a spawned but unbound registry run; a SIGTERM-ignoring runner gets SIGKILL and lifecycle.end.killed, and one whose kill fails gets lifecycle.end.alive
ok 15 - row 194 T9a: fire signals its bound run and a spawned but unbound registry run; a SIGTERM-ignoring runner gets SIGKILL and lifecycle.end.killed, and one whose kill fails gets lifecycle.end.alive
---
duration_ms: 1083.662145
type: 'test'
...
# Subtest: row 194 T9a: fire of a registry run with no runtime record reads lifecycle.end.alive with reason unknown, never killed
ok 16 - row 194 T9a: fire of a registry run with no runtime record reads lifecycle.end.alive with reason unknown, never killed
---
duration_ms: 533.23242
type: 'test'
...
# Subtest: row 194 T9a: a runner whose identity changed before the SIGTERM gets no signal, and one whose identity changed between the SIGTERM and the SIGKILL gets no SIGKILL
ok 17 - row 194 T9a: a runner whose identity changed before the SIGTERM gets no signal, and one whose identity changed between the SIGTERM and the SIGKILL gets no SIGKILL
---
duration_ms: 215.445779
type: 'test'
...
# Subtest: row 194 T9a: V3 terminate of a SIGTERM-ignoring runner sends no SIGKILL
ok 18 - row 194 T9a: V3 terminate of a SIGTERM-ignoring runner sends no SIGKILL
---
duration_ms: 990.193662
type: 'test'
...
# Subtest: row 194 T9b: a halt during a fire's stop sends no second SIGTERM, keeps the fire's deadline, writes one stop receipt with reason fire and the request, and counts the run; a fire while halted refuses
ok 19 - row 194 T9b: a halt during a fire's stop sends no second SIGTERM, keeps the fire's deadline, writes one stop receipt with reason fire and the request, and counts the run; a fire while halted refuses
---
duration_ms: 1692.249795
type: 'test'
...
# Subtest: row 194 T15: while halted the pass closes a launch and a regenerate processing-halted and runs no thread pass, terminate signals, and after a resume a launch starts
not ok 20 - row 194 T15: while halted the pass closes a launch and a regenerate processing-halted and runs no thread pass, terminate signals, and after a resume a launch starts
---
duration_ms: 227.947082
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:745:1'
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
+ actual - expected
+ 'launch-failed'
- null
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: ~
actual: 'launch-failed'
operator: 'strictEqual'
stack: |-
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:773:10)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 N6: a run spawned after a terminate's verb survives its pass, and the next terminate ends it
ok 21 - row 194 N6: a run spawned after a terminate's verb survives its pass, and the next terminate ends it
---
duration_ms: 518.443678
type: 'test'
...
# Subtest: row 194 T6: a delete leaves the run evidence bytes unchanged, and the retired name refuses a create and a launch
not ok 22 - row 194 T6: a delete leaves the run evidence bytes unchanged, and the retired name refuses a create and a launch
---
duration_ms: 197.938847
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:803:1'
failureType: 'testCodeFailure'
error: 'The "path" argument must be of type string. Received null'
code: 'ERR_INVALID_ARG_TYPE'
name: 'TypeError'
stack: |-
join (node:path:1339:7)
file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:156:18
until (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:40:21)
Object.claimed (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:155:28)
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:807:11)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 T11: two stack roots with the same business id; a launch, a terminate and a delete in one leave the other byte-identical
not ok 23 - row 194 T11: two stack roots with the same business id; a launch, a terminate and a delete in one leave the other byte-identical
---
duration_ms: 275.031993
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:825:1'
failureType: 'testCodeFailure'
error: 'The "path" argument must be of type string. Received null'
code: 'ERR_INVALID_ARG_TYPE'
name: 'TypeError'
stack: |-
join (node:path:1339:7)
file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:156:18
until (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:40:21)
Object.claimed (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:155:28)
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:833:11)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: row 194 D3 item 5: the chief's session hires with its tool and launches its hire in the same session, then fires it
not ok 24 - row 194 D3 item 5: the chief's session hires with its tool and launches its hire in the same session, then fires it
---
duration_ms: 168.778985
type: 'test'
location: '/home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:847:1'
failureType: 'testCodeFailure'
error: 'The "path" argument must be of type string. Received null'
code: 'ERR_INVALID_ARG_TYPE'
name: 'TypeError'
stack: |-
join (node:path:1339:7)
file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:156:18
until (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:40:21)
Object.claimed (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:155:28)
TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/gander-row196/packages/cli/tests/lifecycle.test.mjs:857:11)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
1..24
# tests 24
# suites 0
# pass 13
# fail 11
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8422.671592