Skip to content

mvs38j: sysgen driver, starter stage and condcode check (Part of #8414) - #8457

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8414-20261114T0340Z
Nov 14, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8414-20261114T0340Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8414. Slice 3: a host-side sysgen driver for the MVS 3.8J box (internal use only, Q16; no MVS numbers published, no image committed).

What changed

  • tests/tools/box/mvs38j/sysgen.py (stdlib): starts Hercules in the box image with docker run -i, feeds console commands on stdin, reads the log. sysgen.py starter IPLs the stand-alone DASDI and DUMP/RESTORE programs from tape per volume (START1, SPOOL0), keyed on the PSW low digits (FFFF / 1111 / EEEE), failing on IBC errors or timeout. sysgen.py condcode FILE JOB --expect STEP=CC parses IEF142I / IEF272I step results from a printer file.
  • mvs38j.sh sysgen starter runs it; other sysgen stages exit 3 with a pointer to the doc.
  • 9 new tests in tests/tools/test_mvs38j_box.py (16 pass); doc updated with the command and Remaining slices.

Verification

Live starter run: both volumes initialised and restored in about 11 s. pr_gates --fast 9/9, doc-refs OK, time ratchet 0 over limit, test_source_reads passes (uses backslashreplace).

Class / Sibling gaps

Class: the stages of the Moseley sysgen. The starter stage is handled here; siblings still missing are the starter-system IPL stages (smp1/smp2, telnet 3215 console at 001F, tape mounts), stage 1 and stage 2, user mods with the first IPL on mvs.cnf, the job runner (socket reader, printer capture, JSON with provenance mvs38j-run) and the probe run.

Checklist: partial [c:52d5564f] -- starter stage automated; smp1/smp2, stage1/stage2 and usermods remain
Checklist: partial [c:849065de] -- condcode parser exists; the runner itself is not built

Remaining slices

  1. smp1/smp2 over a telnet client for the 001F console, tape mounts, condcode check per job.
  2. Stage 1, stage 2, user mods, first IPL with mvs.cnf.
  3. Job runner.

Lessons for agents

  • test_source_reads rejects errors="replace" even in stdlib-only box scripts; use backslashreplace.
  • doc-refs wants the full repo path for a script named in a doc, not the bare filename.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 14, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 14, 2026 04:06
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 14, 2026 04:06
@squid-shepherd
squid-shepherd Bot merged commit 91cc042 into main Nov 14, 2026
60 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8414-20261114T0340Z branch November 14, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant