Repository navigation
test(e2e): port gateway-configuration tests that need no restart to feature suites - #5792
Draft
matthewgrossman wants to merge 24 commits into
Conversation
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…settings 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>
… in keycloak-provider-refresh 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>
…ers/matthewgrossman' into test/5729-port-gateway-config-tests/matthewgrossman Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
|
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
…ers/matthewgrossman' into test/5729-port-gateway-config-tests/matthewgrossman Signed-off-by: Matthew Grossman <mgrossman@nvidia.com> # Conflicts: # TESTING.md # tests/support/README.md # tests/support/host-server/src/http.rs # tests/support/host-server/src/tls.rs # tests/tmachine/ansible/playbooks/drivers/podman/userns.yaml # tests/tmachine/ansible/roles/gateway_overrides/defaults/main.yaml # tests/tmachine/ansible/roles/gateway_overrides/tasks/main.yaml
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Member
Author
|
/ok to test 4b82ab0 |
|
Label |
…the Podman archive filter Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Member
Author
|
/ok to test 702e06f |
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).
Related Issue
Closes #5729
Part of #5281
Changes
features/provider-refresh: the refresh-managed credential handle test. Adds provider refresh commands to the testkit context and uses them inkeycloak-provider-refreshtoo.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.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.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 TLS host servers, a gateway settings role and the environment contract table #5780.config_pushneeds the push-mode Docker row from test(conformance): run the conformance suite against a gateway that pushes configuration #5622.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/rpmAlso run:
cargo fmt --checkandcargo clippy --all-targets --locked -D warningsfor the root,tests/supportandtests/suites/featuresworkspaces;cargo testintests/support;cargo checkofe2e/rustwith the Docker and Podman features;tasks/scripts/test-gateway-config.sh;check_cargo_lockfile_alignment.py.Checklist