Repository navigation
Conversation
|
🌿 Preview your docs: https://nvidia-preview-pr-4120.docs.buildwithfern.com/openshell |
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
1e34f20 to
e85a46c
Compare
33424e8 to
846fa93
Compare
|
Label |
|
/ok-to-test 846fa93 |
846fa93 to
b10ab39
Compare
|
/ok-to-test b10ab39 |
|
/ok-to-test 6148ef6 |
2cc51ca to
702405c
Compare
702405c to
3d591af
Compare
8ec7a7e to
0a925bd
Compare
|
Thanks for this, @elezar. I've been working through the Podman exclusion list in #3712 and read the driver-suite part of this PR. Nothing here is a blocker, just a few ideas from that angle, mostly about what the next tests that need the same machinery would want. 1. The gateway fixture is shaped around user namespaces. 2. Maybe keep the host-control calls in one small module. The config path, the systemd unit name, the fixture directory and the sudo use are constants inside 3. The fixture pulls a registry image. Mostly I wanted to check the direction with you before I start on |
Yes, I think the "change config, restart, check, restore" workflow is the way to think about it. I haven't spent the right number of cycles cleaning that up here. I'll look at it a bit more closely before continuing. The first step for me was to move these out of Ansible.
Getting the orgainisation cleaner is definitely something we want to look into, although we could also lean towards pulling out the common code once we have another consumer. Not going to push too hard if you think that this makes sense already.
I'll look into this. That's a good callout. At the very least we should pull and prepare the input images beforehand to better allow the tests to operate in non-connected environments. The choice of ubuntu here is also most likely arbitrary.
Are you pulling |
4450756 to
930f026
Compare
84eda57 to
b08802b
Compare
Keep the expected draft type, pure assertion helper, and its three unit tests together in a dedicated scenario module before reorganizing the conformance suite. Preserve the policy behavior and assertion checks. Signed-off-by: Evan Lezar <elezar@nvidia.com>
Move behavioral suites under e2e/suites and extract shared Rust tooling into e2e/support/rust. Organize conformance tests into one Cargo target per area with story modules containing the tests and assertions. Remove the separate scenario crate and registry, and split lifecycle coverage into independent stop/start and stopped-deletion stories. Reuse shared helpers from the existing Rust harness, preserve artifact packaging and focused test selection, and include tooling and pure assertion tests in test:rust and branch checks. Update authoring guidance for required behavior and retained failures with explicit waivers. Closes #4119 Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
b08802b to
2081449
Compare
2081449 to
f703015
Compare
Summary
Reorganize conformance, feature, and driver suites under
e2e/suitesand move shared Rust tooling toe2e/support/rust. Conformance stories are implemented directly in area modules rather than through a separate scenario crate and registry, aligning suite ownership and authoring with the testing-strategy proposal in #3460.Based directly on main
a9a635ab4. The shared-gateway Podman fixture work is in #4464, stacked on this PR.Related Issue
Closes #4119. Part of #3954.
Changes
tests/suitestoe2e/suites; retain target provisioning and artifact construction undertests.openshell-e2e-support. Existing Rust e2e tests re-export the common helpers, and driver/feature suites use the shared dependency.crates/openshell-conformanceand its scenario registry. Organize conformance intofile_transfer,lifecycle,policy_advisor, andsmokearea binaries with story modules containing the tests and assertions.draft_assertion.rsand preserve focused Cargo/nextest selection by story name.e2e/suitespaths; retain the existing Ansible profile execution sequence.Broader coverage migrations, result/waiver reporting, CI stream selection, disruption testing, and standalone distribution remain follow-ups.
Testing
Reduced-parent verification on 2026-10-13:
nix develop --command mise run --jobs 1 pre-commitpasses.The combined tree (including #4464) passed the full configured unit suite and pre-commit on 2026-10-13 before splitting. Earlier conformance archive validation built all four area binaries. Live conformance and Keycloak runs have not been repeated on the current main base; full
mise run ciand an x86_64 CI pass are not claimed.Checklist