[BUG] Dynamic scenario parser loading omits its profile module #119

Open
opened 2026-10-14 14:04:10 +02:00 by erikinkinen · 1 comment
Owner

Summary

Maintained kernel policy fixtures load the scenario parser dynamically without making its declared image-profile module available. The integration job stops before its lifetime policy and later VM controls can run.

Reproduction

Run Integration CI 2597 at 07225ffe5f8ded40bf8184f581169ba4ba26cf0b. The kernel lifetime revocation policy fixture loads scripts/parse-scenario.py through importlib and fails on image_profile_model at its import on line 14.

Expected and actual behavior

Every maintained direct or dynamic parser consumer must provide the complete selected parser/profile source cohort. Instead, the dynamic policy fixture raises ModuleNotFoundError before its assertions. A separate copied scenario fixture also omits the newly declared profile inputs and needs coherent fixture adoption.

Environment and identity

Integration revision above, Linux 6.14 x86-64 Docker CI. This is a host Python fixture-loading defect; no failure of guest lifetime semantics is inferred. A last working complete parser/fixture cohort is not established here.

Evidence and prior checks

The original integration job reaches this failure after fetching its exact dependency sources and passing earlier helper controls. The missing parser import is independent of the command owner's reserved-signal refusal in the Rust job.

Tracking

Repository audit, implementation PR, phase completion.

  • Inventory and repair every maintained dynamic or copied parser fixture with explicit selected inputs.
  • Preserve parser semantics, profile checks and VM limits, and exercise the corrected fixtures.
  • Complete the original integration workflow at the repaired revision.
## Summary Maintained kernel policy fixtures load the scenario parser dynamically without making its declared image-profile module available. The integration job stops before its lifetime policy and later VM controls can run. ## Reproduction Run [Integration CI 2597](https://git.erikinkinen.fi/erix/integration/actions/runs/2597) at `07225ffe5f8ded40bf8184f581169ba4ba26cf0b`. The kernel lifetime revocation policy fixture loads `scripts/parse-scenario.py` through importlib and fails on `image_profile_model` at its import on line 14. ## Expected and actual behavior Every maintained direct or dynamic parser consumer must provide the complete selected parser/profile source cohort. Instead, the dynamic policy fixture raises ModuleNotFoundError before its assertions. A separate copied scenario fixture also omits the newly declared profile inputs and needs coherent fixture adoption. ## Environment and identity Integration revision above, Linux 6.14 x86-64 Docker CI. This is a host Python fixture-loading defect; no failure of guest lifetime semantics is inferred. A last working complete parser/fixture cohort is not established here. ## Evidence and prior checks The original integration job reaches this failure after fetching its exact dependency sources and passing earlier helper controls. The missing parser import is independent of the command owner's reserved-signal refusal in the Rust job. ## Tracking [Repository audit](https://git.erikinkinen.fi/erix/integration/issues/11), [implementation PR](https://git.erikinkinen.fi/erix/integration/pulls/12), [phase completion](https://git.erikinkinen.fi/erix/integration/issues/65). - [x] Inventory and repair every maintained dynamic or copied parser fixture with explicit selected inputs. - [x] Preserve parser semantics, profile checks and VM limits, and exercise the corrected fixtures. - [ ] Complete the original integration workflow at the repaired revision.
Author
Owner

The fixture repair is published in b727bf511deae9d97afaaf6c31117fd5f0a2852b and included in the current Integration helper. Dynamic policy fixtures now select the parser’s script directory, and the copied timeout fixture includes its complete declared profile inputs. Parser behavior and the existing timeout assertions are unchanged.

All three affected fixtures pass their focused checks. The complete integration workflow remains the final open criterion.

The fixture repair is published in `b727bf511deae9d97afaaf6c31117fd5f0a2852b` and included in the current Integration helper. Dynamic policy fixtures now select the parser’s script directory, and the copied timeout fixture includes its complete declared profile inputs. Parser behavior and the existing timeout assertions are unchanged. All three affected fixtures pass their focused checks. The complete integration workflow remains the final open criterion.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:15 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/integration#119
No description provided.