Files
stack/agents/magica/work/queue-329/gate/cli-case1-accept.test.txt

97 lines
6.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/case1-accept.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ row253 socket observation uses configured root, metadata and the Console peer without sending bytes (1991.79972ms)
✔ row253 P10 refuses unsafe metadata, wrong peers and an unsafe Python without claiming closure (32084.661392ms)
✔ row253 acceptance rejects bad config and unsupported copies before talk (1624.159624ms)
✔ row253 stalled peer observation ends within its bound without leaving a reader (4763.960817ms)
✔ row253 P8 refuses both retired TCP and board listeners (4535.022332ms)
✔ row253 C4 acceptance query inner reason holds under both sudo models (10743.491133ms)
✔ row253 C4 acceptance query outer reason discards stdout and names residual cleanup (14201.175623ms)
✔ row253 C4 acceptance query overflow is output-limit in both models (668.579818ms)
✔ row299 P10 timing copy preserves shipped bytes and isolates observer variables (1.014443ms)
✔ row299 P10 observers preserve stdout stderr status and the EXIT trap (4.725295ms)
✔ row299 P10 observer records are complete and ordered (0.781512ms)
✔ row253 C4 P10 inner reason holds under both sudo models (12150.066526ms)
ℹ {"fault":"inner","mode":"exec","baselineSeconds":1.999850372999994,"faultSeconds":4.035798971000011,"probeSeconds":2.26}
ℹ {"fault":"inner","mode":"hop","baselineSeconds":1.9548580479999946,"faultSeconds":4.088207892999999,"probeSeconds":2.27}
✔ row253 C4 P10 outer reason holds under both sudo models (15959.434566ms)
ℹ {"fault":"outer","mode":"exec","baselineSeconds":1.9756706330000016,"faultSeconds":5.805479731999992,"probeSeconds":4}
ℹ {"fault":"outer","mode":"hop","baselineSeconds":2.12305976199999,"faultSeconds":5.957335126999999,"probeSeconds":4}
✔ row253 C4 P10 overflow reason holds under both sudo models (4156.09995ms)
✔ row 195 accept: every check passing exits 0, with each P mark and counts that match the lines (1966.977541ms)
✔ row 195 accept: exits 1 with each F check failing alone, and its line names it (22181.142728ms)
✖ row 195 accept: F3 fails on exit 0 with no reply line, and its evidence takes talk's error (2140.091658ms)
✔ row 195 accept: F1 fails on a unit that isn't active or isn't User=mosaic (3920.577865ms)
✔ row 195 accept: F2 fails when healthz doesn't answer and when another pid holds the port (3958.805464ms)
✔ row 195 accept: F5 fails on unpriv_bwrap (enforce), on complain and on a trailing space (9192.632329ms)
✔ row 195 accept: F5 fails with no bwrap of mosaic's, and passes on comm alone (4559.931251ms)
✔ row 195 accept: F6 fails on a stub that prints nothing, on a path outside claude-<pin> and on a .. segment (5538.000564ms)
✔ row 195 accept: F7 fails on two live PM launches, one for another business, and no launch.by (5996.454249ms)
✔ row 195 accept: F8 fails on 0640, on another owner and on a symlink, and never prints the credential (6061.018901ms)
✔ row 195 accept: F9 fails on another owner, a group-writable mode and a number for the flag (6319.175759ms)
✔ row 195 accept: F9 won't run --node as root off the pin path or with a writable directory above it (5541.967278ms)
✔ row 195 accept: F11 fails on one *.json under discord/ and passes on an empty directory (4245.760876ms)
✔ row 195 accept: each P check reports unnamed on its fault, and the exit stays 0 (18233.073343ms)
✔ row 195 accept: P2 is unnamed with a supplementary group, and P5 names docker (3986.988455ms)
✔ row 195 accept: P5 is closed with no jarvis account, and P2 with an empty authorized_keys (1953.974962ms)
✔ row 195 accept: P9 is unnamed once for each item missing (9888.030598ms)
✔ row253 accept: P10 fails its observation with another peer; P11 with the unit disabled (3846.030039ms)
✔ row 195 accept: every P check unnamed together still exits 0 (1692.507538ms)
✔ row 195 accept: a bad args file refuses with exit 2 before any check, each for its own reason (111.061478ms)
✔ row 195 accept: usage errors and a run without --root as a user exit 2 (12.97852ms)
✔ row 195 accept: every in-instance call goes through sudo -u mosaic -H env PATH=<node dir>:... (1901.03719ms)
✔ row 195 accept: the host check runs with --check and never --enforce (2109.741337ms)
✔ row276 legacy call inventory pins every production bound and the conversation contract (0.375877ms)
✔ row276 talk legacy inner timeout cleans both sudo models (1737.229989ms)
✔ row276 precheck legacy inner timeout cleans both sudo models (1693.35693ms)
✔ row276 claude-version legacy inner timeout cleans both sudo models (1715.556601ms)
✔ row276 pm-list legacy inner timeout cleans both sudo models (1697.656074ms)
✔ row276 node-version legacy inner timeout cleans both sudo models (1754.30434ms)
✔ row276 legacy streams and display status preserve failures without granting success (2740.659486ms)
✔ row276 trailer grammar cannot make supervisor failure pass (2234.728335ms)
✔ row276 earlier forged trailer and appended zero remain failures (624.022292ms)
✔ row276 precheck outer bound discards success status and fixture cleans residual (2326.866419ms)
✔ row276 case1 capture and legacy tools refuse unsafe system tools (82.378576ms)
✔ row276 stderr retention is bounded and keeps the final diagnostic (271.692841ms)
✔ row276 version and PM checks refuse successful-looking stdout on supervisor failure (26.789446ms)
✔ row276 full acceptance keeps all five healthy calls in both sudo models (3978.337914ms)
✔ row276 vanished pid stat read returns 3 with empty stderr in both scripts (13.950069ms)
✔ row276 legacy stdout snapshot preserves exact bytes on success and command failure (3323.562374ms)
ℹ tests 53
ℹ suites 0
ℹ pass 52
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 252577.471202
✖ failing tests:
test at packages/cli/tests/case1-accept.test.mjs:503:1
✖ row 195 accept: F3 fails on exit 0 with no reply line, and its evidence takes talk's error (2140.091658ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'F3',
+ 'F7'
]
at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/case1-accept.test.mjs:507:10)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1402:25)
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
at Test.postRun (node:internal/test_runner/test:1542:19)
at Test.run (node:internal/test_runner/test:1467:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'F3', 'F7' ],
expected: [ 'F3' ],
operator: 'deepStrictEqual',
diff: 'simple'
}