speedup: start the k3s E2E rows without waiting for the deb and RPM packages

Offen
#5,862 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
54/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, yaml
Bereich
ci-cd

Rechercherichtung

Start with .github/workflows/branch-e2e.yml, .github/workflows/prepare-integration-inputs.yml, and .github/workflows/e2e-suites.yml to trace which jobs build and download the shared integration inputs artifact. Check what the k3s installer consumes in tests/tmachine/artifacts.nix, tests/tmachine/config.nix, and the k3s playbooks, including whether external drivers are needed. Done when k3s starts without waiting for deb, RPM, or VM driver builds, package rows still receive packages, and Branch E2E results record before and after start times.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:build topic:testing

User Story

As a contributor waiting on Branch E2E, I want the k3s rows to start as soon as their own inputs are built, so that the rows that end every run start 8–10 minutes sooner.

Description

All tmachine rows wait for prepare-integration, which waits for the Debian and RPM packages. The deb waits for the VM driver, which waits for every Linux build. In runs 44790695612, 44794801466, 44803364078 and 44803367985, the tmachine rows started at 18–22 min.

The k3s rows don't install the deb or the RPM, yet they are the longest rows (17–27 min) and end every run. Their own inputs (images, CLI, test inputs) are ready by about 10 min. podman-e2e-integration waits the same way.

Proposed change
  • Split the integration inputs so k3s rows get an artifact without the packages, and start them as soon as that is ready.
  • Do the same for any other rows or jobs that don't use the packages.
  • Keep the deb and RPM rows on the current path.

Context

  • Parent: #5281. Related: #5636 (VM driver build), #5268.
  • .github/workflows/branch-e2e.yml (prepare-integration, conformance-integration, feature-specific-integration), .github/workflows/prepare-integration-inputs.yml, .github/workflows/e2e-suites.yml.

Definition of Done

  • k3s rows no longer wait for build-deb, build-rpm or build-vm-driver-linux.
  • Deb and RPM rows still get the packages.
  • Branch E2E passes, and the PR records before/after start times for the k3s rows and the whole run.

+++ Agent notes

  • prepare-integration needs [pr_metadata, build-binaries-linux, build-images, build-deb, build-rpm, build-tmachine-test-inputs, build-external-drivers] and produces one integration_inputs_artifact_id that e2e-suites.yml downloads for every row.
  • Check what the k3s installer reads from that artifact (tests/tmachine/artifacts.nix, tests/tmachine/config.nix, the k3s playbooks) and whether external drivers matter for k3s rows.
  • The matrix in e2e-suites.yml mixes installers in one call; splitting the call by installer or adding a second inputs artifact are both options.

+++

Vorherrschende Sprache
Rust
Sterne
21.5k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/OpenShell

Alle Issues in NVIDIA/OpenShell

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.