You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2a565b2
Browse filesBrowse the repository at this point in the historyBrowse files
test(continuity): add suites for gateway restart and package upgrade (#3521)
* test(continuity): add the continuity family and gateway-restart disruption
Add a `continuity` e2e family whose scenarios are `seed` and `verify` test
pairs sharing state through a run-scoped id. With `--disruption <name>` the
test runner seeds, applies the named disruption in the guest, waits for the
gateway, and then verifies, so scenarios stay independent of the disruption.
The runner keeps a registry of disruption names. How a disruption is carried
out depends on how OpenShell is installed, so the installer provides it as an
executable under /var/lib/openshell-qualification/disruptions, and the runner
checks that it exists before it seeds anything. The packaged-gateway role
renders gateway-restart for the user that runs the gateway.
The e2e matrix gains a `disruption` column and a `continuity/gateway-restart`
row on ubuntu-docker-rootful with the deb installer.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
* test(continuity): add the upgrade disruption
Add an `upgrade` disruption that installs a candidate Debian package over a
released baseline, switches the gateway to the candidate's runtime images,
restarts it, and fails if the installed package is not the candidate. The
scenarios stay unchanged and run under it like any other disruption.
The `deb-upgrade-source` installer provisions the guest from a released
package and its release-tagged images, and stages the candidate package and
images under /var/lib/openshell-qualification/candidate together with the
`upgrade` disruption that installs them. The packaged-gateway role keeps the
release's own image configuration for a released source.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
* ci(continuity): run the continuity suites in CI
Add an `upgrade` row to the continuity matrix that installs the candidate over
the latest published release. The baseline is the release's Debian package and
runtime images, staged under artifacts/upgrade by
prepare-integration-inputs when a caller passes `include-deb-upgrade-source`;
callers select the row with `upgrade-source`, as external drivers are.
Add an optional `test:e2e:continuity` label to Branch E2E Checks that runs the
continuity family on top of `test:e2e`, and run it in Release Dev and
Pre-release qualification. It is not part of either release result yet, so a
failure shows in the run without blocking the release.
Document the label, the family and how to run it locally.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
---------
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Copy file name to clipboardExpand all lines: .github/workflows/e2e-suites.yml
+41-3Lines changed: 41 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,11 @@ on:
41
41
required: false
42
42
type: boolean
43
43
default: false
44
+
upgrade-source:
45
+
description: Also run the rows that upgrade from a released package; each downloads the latest release as its baseline
46
+
required: false
47
+
type: boolean
48
+
default: false
44
49
prebuilt:
45
50
description: Run the rows with this run's prebuilt tests instead of building them in every job; conformance rows take the openshell-conformance-x86_64-unknown-linux-musl artifact, other rows their family's openshell-e2e-bundle-<family>-x86_64-unknown-linux-musl artifact
0 commit comments