speedup: run the full conformance suite once per driver, not in every variant job
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
Rechercherichtung
Start with .github/workflows/branch-e2e.yml and the e2e/rust/e2e-{docker,podman,vm,kubernetes}.sh lane scripts; compare each job’s conformance settings and current test coverage. Read the related issues #5281 and #5297 to understand planned lane changes. Done means each real environment has a documented full-suite lane, variant jobs run stated subsets, Branch E2E passes, and the PR records before and after timings.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
User Story
As a contributor waiting on Branch E2E, I want each compute driver to run the full conformance suite once per run, so that jobs that test one variant don't each spend 6–17 minutes re-running the whole suite.
Description
Every Docker, Podman, VM and Kubernetes job that runs directly on the runner runs the full conformance suite before its own tests, and the tmachine rows run it again. In run 44803367985 (77 tests):
| Driver | Full passes | Jobs |
|---|---|---|
| Kubernetes | 7 | kubernetes-e2e v1alpha1, v1beta1 and additional destination CA; workspace-managed; external-driver; tmachine k3s and k3s-ha |
| Docker | 5 | rust-docker, additional-ca, rust-docker-push; tmachine deb and deb-external-docker-driver |
| Podman | 5 | rust-podman-ci, additional-ca, external-driver; tmachine rootful and rootless |
| VM | 3 | rust-vm-managed, external-driver, additional-ca |
The variant jobs spend most of their time in the copy of the suite. kubernetes-e2e takes 21–25 min; 16.7–17.5 min of it is conformance on kind, and its own 39 Rust tests take 45 s.
Proposed change
- Choose one lane per driver, and per environment that really differs (for example k3s and k3s-ha), to run the full suite. Prefer the tmachine row where one exists.
- Other jobs run only the tests that exercise their difference, through a filter on the conformance program. Examples: the CA tests for additional-ca, a lifecycle smoke for push, external-driver and the Agent Sandbox v1alpha1 job.
- Write down which lane covers what, so moving tests in #5297 doesn't lose coverage.
Context
- Parent: #5281. Related: #5297 (moving host lanes onto testkit), #5423, #5678 (show which environments run which suites).
- Open question: is any variant job meant to prove the whole suite passes under its variant? If yes, it keeps the full suite.
Definition of Done
- Each driver runs the full conformance suite on one lane per real environment difference, and other jobs run a stated subset.
- The choice of lanes and subsets is documented next to the job definitions or in
TESTING.md. - Branch E2E passes, and the PR records before/after times for the changed jobs.
+++ Agent notes
- Jobs are defined in
.github/workflows/branch-e2e.yml(docker-e2e, podman-e2e, vm-e2e, kubernetes-e2e and friends), withprebuilt-conformance: true/conformance: truepassed to thesetup-e2e-*actions. - Lane scripts that start the conformance program:
e2e/rust/e2e-{docker,podman,vm,kubernetes}.sh(e.g. "==> Running conformance suites against the Kubernetes gateway"). - Per-job times are from logs of run 44803367985 (job 136526209209 for v1alpha1).
+++
- Vorherrschende Sprache
- Rust
- Sterne
- 21.5k
- Forks
- 2.1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NVIDIA/OpenShell
-
state:triage-needed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
-
state:triage-needed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureEvtl. vergeben @TaylorMutch hat das vor 9 Tagen übernommen. Offenstate:accepted state:pr-opened
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
state:triage-needed
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
state:triage-needed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Alle Issues in NVIDIA/OpenShell
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 2 Tagen
-
autofixer: follow-up
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
tursodatabase/turso#12531 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug help wanted ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
userFRM/egui-charts#4292 ·
Maintainer antworten meist innerhalb von 1 Tag
-
CHANGELOG.md out of dateOffenIssue-Bug Need-Review
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
PowerShell/DSC#1832 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag