[BUG] Dynamic Rootd compilation rejects dependency-qualified features #50

Closed
opened 2026-09-14 12:33:43 +02:00 by erikinkinen · 0 comments
Owner

Summary

The shared dynamic compiler's manifest feature resolver treats dependency-qualified selectors as local package features. Existing Rootd scenario builds fail before their VM can execute. Both current Integration workflows report 54 scenario passes and 432 failures out of 486.

Reproduction

At Integration 4b65755f1f2774798d4a909212db4e64c0349b86, run an existing Rootd smoke scenario through the ordinary dynamic builder. The selected Rootd manifest receives rootd-runtime,rootd-integration-policy,rootd_integration_orchestration/integration-smoke. The shared-object builder resolves the orchestration feature, but Rootd's own compiler configuration then rejects the same qualified selector.

The smaller regression calls enabled_features from scripts/dynlink_package_features.py with a declared local feature and a declared dependency-qualified feature, using replace_defaults=(). It should return only the local compiler feature closure.

Expected and actual behavior

Expected: local compiler cfg values belong to the selected package. Dependency-qualified selections are validated and routed to their owning dependency, without inventing local cfg values or silently accepting unknown local features.

Actual: selected unknown package feature rootd_integration_orchestration/integration-smoke, followed by dynamic artifact build failed: rootd and exit status 1. Both complete catalog jobs fail; the subsequent isolated native diagnostic, canonical images and terminal modes are not reached in those workflows.

Environment and identity

  • Integration: signed 4b65755f1f2774798d4a909212db4e64c0349b86, feature branch feature/posix-compat.
  • Rootd selected by the existing catalog: ac3c1847af9915164d4a819f5f15e1827884e8b1.
  • Linux x86_64 CI host, release dynamic compilation for freestanding x86_64; 12 scenario workers.
  • This is a source feature-selection error before the affected guest execution. No additional guest capability is involved.
  • The preceding Integration 47c27a1614c02323db7bbebfdbd0ca6b09bc9d45 push workflow 1601 passed the full catalog; no unchanged rerun is requested.

Evidence and prior checks

Push CI 1603 and PR CI 1604 retain the original failures. All six terminal logs were inspected, totaling 14,427,322 bytes with zero warning candidates. Rust and Markdown jobs pass in both runs. Each catalog reports 54 passes, 432 failures and 486 total scenarios; these are scenario results, not a claim that every failure has an identical cause.

The separate local lifetime diagnostic at this revision passed its actual VM markers and expected exit. That result does not establish full catalog acceptance. The existing helper tests missed a qualified selector entering the shared compiler path.

Close this scoped defect while the separate quota bug and whole-suite gate remain open.

Tracking

Related: #49, the broader component audit #11 and Integration PR 12. Add direct, transitive, malformed and real-compiler regressions; preserve strict local and dependency validation. Keep this issue open until the signed fix and relevant new-head CI are classified.

## Summary The shared dynamic compiler's manifest feature resolver treats dependency-qualified selectors as local package features. Existing Rootd scenario builds fail before their VM can execute. Both current Integration workflows report 54 scenario passes and 432 failures out of 486. ## Reproduction At Integration `4b65755f1f2774798d4a909212db4e64c0349b86`, run an existing Rootd smoke scenario through the ordinary dynamic builder. The selected Rootd manifest receives `rootd-runtime,rootd-integration-policy,rootd_integration_orchestration/integration-smoke`. The shared-object builder resolves the orchestration feature, but Rootd's own compiler configuration then rejects the same qualified selector. The smaller regression calls `enabled_features` from `scripts/dynlink_package_features.py` with a declared local feature and a declared dependency-qualified feature, using `replace_defaults=()`. It should return only the local compiler feature closure. ## Expected and actual behavior Expected: local compiler cfg values belong to the selected package. Dependency-qualified selections are validated and routed to their owning dependency, without inventing local cfg values or silently accepting unknown local features. Actual: `selected unknown package feature rootd_integration_orchestration/integration-smoke`, followed by `dynamic artifact build failed: rootd` and exit status 1. Both complete catalog jobs fail; the subsequent isolated native diagnostic, canonical images and terminal modes are not reached in those workflows. ## Environment and identity - Integration: signed `4b65755f1f2774798d4a909212db4e64c0349b86`, feature branch `feature/posix-compat`. - Rootd selected by the existing catalog: `ac3c1847af9915164d4a819f5f15e1827884e8b1`. - Linux x86_64 CI host, release dynamic compilation for freestanding x86_64; 12 scenario workers. - This is a source feature-selection error before the affected guest execution. No additional guest capability is involved. - The preceding Integration `47c27a1614c02323db7bbebfdbd0ca6b09bc9d45` push workflow 1601 passed the full catalog; no unchanged rerun is requested. ## Evidence and prior checks [Push CI 1603](https://git.erikinkinen.fi/erix/integration/actions/runs/1603) and [PR CI 1604](https://git.erikinkinen.fi/erix/integration/actions/runs/1604) retain the original failures. All six terminal logs were inspected, totaling 14,427,322 bytes with zero warning candidates. Rust and Markdown jobs pass in both runs. Each catalog reports 54 passes, 432 failures and 486 total scenarios; these are scenario results, not a claim that every failure has an identical cause. The separate local lifetime diagnostic at this revision passed its actual VM markers and expected exit. That result does not establish full catalog acceptance. The existing helper tests missed a qualified selector entering the shared compiler path. Close this scoped defect while the separate quota bug and whole-suite gate remain open. ## Tracking Related: #49, the broader component audit #11 and [Integration PR 12](https://git.erikinkinen.fi/erix/integration/pulls/12). Add direct, transitive, malformed and real-compiler regressions; preserve strict local and dependency validation. Keep this issue open until the signed fix and relevant new-head CI are classified.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:14 +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#50
No description provided.