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

Abierto
#5,862 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, yaml
Área
ci-cd

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

+++

Lenguaje dominante
Rust
Estrellas
21.5k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/OpenShell

Todos los issues de NVIDIA/OpenShell

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.