Repository navigation
Closed
Labels
area:buildCI/CD workflows, releases, build targets, packaging, and artifact publication.CI/CD workflows, releases, build targets, packaging, and artifact publication.topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.Unit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
Description
User Story
I maintain OpenShell's end-to-end coverage and am moving the e2e/rust suite onto testkit and the tmachine runner. Before those tests can move, every tmachine runner environment needs the same basics the old lanes had, so ported tests behave the same on Docker, Podman, k3s and k3s-ha.
Description
Two gaps block the port:
host.openshell.internalon k3s. Docker and Podman provide this alias natively. The tmachine k3s and k3s-ha installs don't set the Helm valueserver.hostGatewayIP, so sandboxes there can't reach a server the test starts on the VM. Thee2e-host-gatewaytests and the Kubernetes shared-supervisor tests depend on it.- Python workload image in every environment. Many
e2e/rusttests runpython3in sandboxes. tmachine already buildsopenshell/e2e-python:devbut only loads it for the Podman e2e testsuite. Load it on every installer (Docker, Podman, k3s containerd) and give testkit an env var and helper for it next toOPENSHELL_TEST_BASE_IMAGE. The base image default doesn't change.
A smallfeaturestest proves both: a sandbox running the Python image reaches a server the test starts on the host throughhost.openshell.internal, on every runner row including k3s and k3s-ha.
Context
- Out of scope: runner nextest settings (per-family timeouts, test groups,
--test-threads; test(runner): apply per-family nextest config and a thread count to runner rows #5295), a shared fixtures crate, a driver-detection helper, a CLI create-and-track helper, and portingcredential_gating. .config/nextest.tomltimeouts for the old suite stay as they are.
Definition of Done
- k3s and k3s-ha tmachine installs set
server.hostGatewayIPsohost.openshell.internalresolves to the VM from sandboxes. -
openshell/e2e-python:devis available to sandboxes in every tmachine installer, and testkit exposes it through an env var and helper. - A
featurestest that reaches a host server throughhost.openshell.internalpasses on every runner row.
Metadata
Metadata
Assignees
Labels
area:buildCI/CD workflows, releases, build targets, packaging, and artifact publication.CI/CD workflows, releases, build targets, packaging, and artifact publication.topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.Unit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
Activity
test(features): use the system Python for the host-gateway client and…
refactor(testkit): stop exporting environment variable names
test(tmachine): prepare runner environments for the e2e/rust migration (