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

未关闭
#5,862 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
54/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, yaml
领域
ci-cd

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

+++

主要语言
Rust
星标
21.5k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/OpenShell 的其他 Issue

查看 NVIDIA/OpenShell 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。