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

Đang mở
#5,862 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, yaml
Lĩnh vực
ci-cd

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

+++

Ngôn ngữ chính
Rust
Star
21.5k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/OpenShell

Tất cả issue của NVIDIA/OpenShell

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.