Repository navigation
test(e2e): port gateway-configuration tests that need no restart to feature suites - #5792
Draft
matthewgrossman wants to merge 20 commits into
Conversation
|
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. |
4 of 5 tasks
matthewgrossman
force-pushed
the
test/5728-share-environment-helpers/matthewgrossman
branch
from
November 20, 2026 05:50
d1cf453 to
8005863
Compare
Member
Author
|
/ok to test 4b82ab0 |
|
Label |
Member
Author
|
/ok to test 702e06f |
This was referenced Nov 23, 2026
matthewgrossman
force-pushed
the
test/5728-share-environment-helpers/matthewgrossman
branch
from
November 24, 2026 03:29
09028e6 to
f718748
Compare
This was referenced Nov 24, 2026
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…ay at a test collector Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…ress Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…the Podman archive filter Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Each test target now has a unique name, harness = false and a testkit main, so tests/suites/unsupported.yaml can skip a test per environment. The manifests also point at the ai-openshell repository. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…efresh test Build the refresh-handle and readiness profiles with testkit::Profile and the probe policy with policy::allow, and create every provider with install_provider. The stable-placeholder and token-exchange profiles stay YAML because Profile has no stable_placeholder or token_grant setter. The legacy refresh-handle test now waits for the probe after each rotation, sends the token as Bearer and as Basic x-access-token, and after reconfiguring rotates again, waits for a new process to succeed and checks the old handle stays revoked. Do the same here. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
matthewgrossman
force-pushed
the
test/5729-port-gateway-config-tests/matthewgrossman
branch
from
November 24, 2026 06:05
ad0f0cd to
6eca7f3
Compare
This branch has not been deployed
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.
Summary
Port the #5729 gateway-configuration tests that need no gateway restart from
e2e/rustto testkit feature suites, and remove the legacy tests and their wrapper wiring. Each suite runs on a tmachine environment that sets the gateway configuration it needs, so no test edits gateway config.This stacks on #5780 (#5728) and uses its
gateway_overridesrole, host TLS recorder and typedProfile/Credential/install_providertestkit API. #5907 adds the GitHub App provider test tofeatures/provider-refreshon top of this PR.Related Issue
Closes #5729
Part of #5281
Changes
features/provider-refresh: the refresh-managed credential handle test. Addscx.provider_refresh(provider, key)(configure,rotate,status) to the testkit context. It matches the legacy test as feat(provider): add a refresh strategy for github app installations #3676 strengthened it: the probe runs after every rotation, sends the token as bothBearerand Basicx-access-token, and after reconfiguring the test rotates again, waits for a fresh process to succeed and checks that the old handle stays revoked.features/otlp-relay: the agent trace relay tests, with an OTLP collector fixture intests/supportand afedora-podman-rootless-otlpenvironment that points the gateway at it.features/provider-token-exchange: the SPIFFE token exchange tests, with a SPIFFE Workload API fixture intests/supportand SPIFFE environments.features/provider-rotation:provider_readinessandstable_external_placeholders. The TLS servers now run on the test host, signed by a new additional-CA environment (<base>-additional-ca). Before, they ran in containers on the e2e network, with a supervisor image rebuilt to trust their CA. The wrong-host checks use the host's primary IPv4 address, and the tests check that it differs from the addresshost.openshell.internalreaches.e2e-suites.yml: rows for the new suites, plus an optional per-rowfilter(a nextest filterset). It lets the inert OTLP test run onubuntu-docker-rootfulwhile the collector tests run onfedora-podman-rootless-otlp.testkit::Profile, and every suite creates providers withinstall_provider. The stable-placeholder and token-exchange profiles stay YAML becauseProfilehas nostable_placeholderortoken_grantsetter yet.harness = falsewithtestkit::main()(test(testkit): support per-environment skips in all suites #5789).e2e/rust: removes the five legacy tests, their[[test]]entries and dependencies, thePODMAN_CI_TESTSentries, and the SPIFFE and OTLP wiring in the Docker and Podman wrappers.provider_github_app(feat(provider): add a refresh strategy for github app installations #3676) and its support files stay for test(e2e): port the tests added to e2e/rust after the migration inventory #5907 to port.Pending
policy_activationgoes intests/suites/drivers/docker, which test(e2e): port Docker and Podman driver feature tests from e2e/rust #5695 adds. It follows once test(e2e): port Docker and Podman driver feature tests from e2e/rust #5695 is rebased onto test(e2e): port network, L7 and policy-update tests from e2e/rust to conformance #5665/test(testkit): share environment and provider helpers across E2E ports #5780.config_pushneeds the push-mode Docker row from test(conformance): run the conformance suite against a gateway that pushes configuration #5622.fedora-podman-rootlessrow is new and hasn't passed in CI yet. If it fails there, it gets atests/suites/unsupported.yamlentry pointing at test(e2e): run the provider refresh handle test on rootless Podman #5782.Driver coverage
Testing
Each suite ran locally through
openshell-test-runneron tmachine:ubuntu-docker-rootful/deb andfedora-podman-rootful/rpmubuntu-docker-rootful-additional-ca/deb andfedora-podman-rootful-additional-ca/rpm (one more Podman run never started because of a VM SSH login failure)fedora-podman-rootless-otlp/rpm, inert test onubuntu-docker-rootful/debfedora-podman-rootless-spiffe/rpmAfter the rebase onto #5780, only the checks below ran locally, not the tmachine suites. Branch E2E covers those. Rendered typed profiles were checked to produce the same gateway proto as the old YAML.
Also run:
cargo fmt --checkandcargo clippy --all-targets --locked -D warningsfor thetests/testkit,tests/supportandtests/suites/featuresworkspaces;cargo testintests/support;cargo checkofe2e/rustwith the Docker and Podman features;check-cargo-lockfiles.shandcheck_cargo_lockfile_alignment.py.Checklist