Skip to content

Commit 3d3e07e

Browse files
committed
test(conformance): drop the config-push evidence suite
A gateway built from this tree rejects unknown config fields and its supervisor always supports push, so the push conformance row already runs with push on unless the override file stops being merged. The separate suite cost a VM per E2E run for that one case. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
1 parent fee923c commit 3d3e07e

9 files changed

Lines changed: 6 additions & 99 deletions

File tree

‎.github/workflows/e2e-suites.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ jobs:
9292
{"environment":"fedora-podman-rootful-cdi","installer":"rpm","family":"features","package":"cdi","gateway":"openshell","runner":"ubuntu-24.04"},
9393
{"environment":"fedora-podman-rootless-cdi","installer":"rpm","family":"features","package":"cdi","gateway":"openshell","runner":"ubuntu-24.04"},
9494
{"environment":"ubuntu-docker-rootful-keycloak","installer":"deb","family":"features","package":"keycloak-provider-refresh","gateway":"openshell","runner":"ubuntu-24.04"},
95-
{"environment":"ubuntu-docker-rootful-config-push","installer":"deb","family":"features","package":"config-push","gateway":"openshell","runner":"ubuntu-24.04"},
9695
{"environment":"ubuntu-docker-rootful","installer":"deb","family":"features","package":"oci-image","gateway":"openshell","runner":"ubuntu-24.04"},
9796
{"environment":"fedora-podman-rootful","installer":"rpm","family":"features","package":"oci-image","gateway":"openshell","runner":"ubuntu-24.04"},
9897
{"environment":"fedora-podman-rootless","installer":"rpm","family":"features","package":"oci-image","gateway":"openshell","runner":"ubuntu-24.04"},

‎TESTING.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,7 @@ result. Release Dev and Release Qualification run the conformance and feature
276276
families. To run a suite in another environment on CI, add a row.
277277

278278
CI also runs the conformance family in `ubuntu-docker-rootful-config-push`,
279-
whose gateway pushes configuration to supervisors. The `config-push` feature
280-
suite runs there too and fails if push is not in use.
279+
whose gateway pushes configuration to supervisors.
281280

282281
### Adding a feature suite
283282

‎tasks/test.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ depends = ["e2e:workload:build"]
207207
run = "e2e/with-docker-gateway.sh cargo nextest run --locked --manifest-path tests/suites/conformance/Cargo.toml --workspace --test-threads 1 --no-fail-fast"
208208

209209
["e2e:testkit:push"]
210-
description = "Run the config-push feature suite, then the conformance suite, against a Docker gateway that pushes configuration"
210+
description = "Run the conformance suite against a Docker gateway that pushes configuration"
211211
depends = ["e2e:workload:build"]
212212
env = { OPENSHELL_CONFIG_DELIVERY_MODE = "push" }
213-
run = "e2e/with-docker-gateway.sh bash -c 'cargo nextest run --locked --manifest-path tests/suites/features/Cargo.toml -p config-push --test-threads 1 && cargo nextest run --locked --manifest-path tests/suites/conformance/Cargo.toml --workspace --test-threads 1 --no-fail-fast'"
213+
run = "e2e/with-docker-gateway.sh cargo nextest run --locked --manifest-path tests/suites/conformance/Cargo.toml --workspace --test-threads 1 --no-fail-fast"
214214

215215
["e2e:rust:push"]
216216
description = "Run conformance and policy e2e tests against a Docker gateway that pushes configuration"

‎tests/suites/features/Cargo.lock‎

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tests/suites/features/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
[workspace]
55
resolver = "2"
6-
members = ["cdi", "config-push", "host-gateway", "keycloak-provider-refresh", "kubernetes-updates", "oci-image"]
6+
members = ["cdi", "host-gateway", "keycloak-provider-refresh", "kubernetes-updates", "oci-image"]

‎tests/suites/features/config-push/Cargo.toml‎

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎tests/suites/features/config-push/tests/config_push.rs‎

Lines changed: 0 additions & 67 deletions
This file was deleted.

‎tests/tmachine/ansible/playbooks/config-push.yaml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
# Writes `[openshell.gateway] config_delivery_mode = "push"` to
77
# /etc/openshell-test/gateway-overrides.toml, which the `binaries`, `deb` and
88
# `rpm` installers apply to the gateway's configuration (k3s installers ignore
9-
# it). The config-push feature suite (tests/suites/features/config-push) fails
10-
# unless a supervisor reports a pushed-configuration session.
9+
# it).
1110
---
1211
- name: Gateway configuration push for tests
1312
hosts: all

‎tests/tmachine/config.nix‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ let
113113
setup.playbooks = [ "ansible/playbooks/cdi.yaml" ];
114114
};
115115
# A gateway that pushes configuration to supervisors
116-
# (`config_delivery_mode = "push"`), for the conformance family and the
117-
# config-push suite.
116+
# (`config_delivery_mode = "push"`), for the conformance family.
118117
config-push = {
119118
bases = dockerBases;
120119
setup.playbooks = [ "ansible/playbooks/config-push.yaml" ];

0 commit comments

Comments
 (0)