Repository navigation
java-ported: plan.json carries the CSD's TDQUEUEs, so an undefined queue is QIDERR (Part of #7956) - #8403
Merged
Conversation
…eue is QIDERR (Part of #7956) The java-ported side answered NORMAL where the CSD defines no such transient-data queue: `java_plan` put no TDQUEUE list in plan.json, so `CicsTask.tdQueues` stayed null and the task took every queue as defined. The cobol-stub side got the same facts through tdqueues.cfg, so the two runtimes disagreed on the oracle's QIDERR. The plan now emits `tdqueues` (name -> "TYPE KEY=VALUE...") when, and only when, the case's CSD defines some -- an always-present empty key would break the exact-equality plan tests -- and the generated test hands them to the task through withTdQueues / withTdQueueTypes, plus withTdQueueAttributes for the rest (RECOVSTATUS and friends, #5168 X61). The Java runtime already had all three setters; only the harness side was missing. This is the gap that held PR #8288. `hc-tdqueue-enable` also had no committed deterministic port, so java-ported could not run it at all ("no port of any of its programs"), so this registers the case in cics_crucible_det.PROGRAMS and commits HCTDEN's det port (52/52 statements, no holes). Measured on cics-crucible d0e7ebe, same det port both times, the harness change the only difference: without 2 pass / 2 fail (`inquire`, `undefined`: 'R=44 R2=01' expected, got 'R=00 R2=00') with 4 pass / 0 fail PROVEN tests/cics_crucible: 1113 passed, 15 skipped. Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Unblocks #8288. The java-ported side answered NORMAL where the case CSD defines no such transient-data queue, so
hc-tdqueue-enableran 2 of 4 scenarios.java_plan(tests/tools/cics_crucible.py) put no TDQUEUE list in plan.json, soCicsTask.tdQueuesstayed null and the Java task took every queue as defined. The cobol-stub side gets the same facts throughtdqueues.cfg, so the two runtimes disagreed on the oracle's QIDERR. The Java runtime already hadwithTdQueues,withTdQueueTypesandwithTdQueueAttributes— only the harness side was missing.tdqueues(name ->"TYPE KEY=VALUE...") only when the case's CSD defines some; an always-present empty key would break the exact-equality plan tests.withTdQueueAttributesso RECOVSTATUS and the rest (Siblings of #5079: CICS transient-data queue commands (SET, extrapartition, NOSUSPEND, ATI, recoverability, remote) #5168, X61) reach the task.The second half of the blocker
hc-tdqueue-enablehad no committed deterministic port, so java-ported could not run it at all — a plain run reportsno port of any of its programs(0/4), not 2/4. The 2/4 in #8288 came from a scratch build that was never committed, since that PR is body-only. This registers the case incics_crucible_det.PROGRAMSand commits HCTDEN's det port, 52/52 statements, no holes.Evidence
Measured on cics-crucible
d0e7ebe(the case is on crucible main, squashed in via squid-protocol/cics-crucible#104; it is not in the pinned v0.18.0). Same det port both runs; the harness change is the only difference.inquire,undefined:'R=44 R2=01'expected, got'R=00 R2=00'tests/cics_crucible: 1113 passed, 15 skipped.Follow-ups (not in this PR)
GG-FLAGSstill truncates a four-option INQUIRE TDQUEUE; the case keeps to three, as before.Note for agents
/usr/lib/jvm/java-21-openjdk-amd64on this box is a JRE — it has nojavac. Maven defaults to it and fails with the misleadingrelease version 17 not supported. ExportJAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64before any crucible run that compiles.🤖 Generated with Claude Code