Repository navigation
test(runner): add a per-row test timeout to runner rows - #6217
Conversation
--test-timeout-minutes, and the test_timeout_minutes column in the e2e-suites.yml rows, replace a nextest bundle's two-minute slow-timeout for one run, so rows can hold the long Kubernetes and GPU tests ported from e2e/rust. The default stays two minutes; prebuilt programs keep their own limit. Closes #5295 Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
--test-timeout <secs> and the test_timeout_secs row column match testkit's run --timeout and the program profile, which terminate a test after one period of that length. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
There was a problem hiding this comment.
gator-agent
PR Review Status
This change matches issue #5295's per-row timeout scope and documents the runner option in TESTING.md. A timeout override still needs to work when the prebuilt bundle's configuration is read-only.
Blocking findings:
GATOR-7a323700-01Restore support for read-only nextest configurations when overriding a prebuilt bundle's timeout.
Carried findings:
- None
Gator metadata
- Validation: Concentrated test-runner change linked to #5295
- Docs: Contributor workflow documented in
TESTING.md - Checks: Required CI passed. Maintainer Approval is evaluated at handoff.
- E2E: Test-label decision follows review clearance.
- Head SHA:
7a323700e78c8a59959a39a34a6e1bfd578ea956 - Base SHA:
34fc27738b50d0305342005bb83af40d687edd42 - Merge base SHA:
34fc27738b50d0305342005bb83af40d687edd42 - Patch ID:
f1ea2dcaec21e9871bcf901326e0ca1703478455 - Gator payload:
24 - Review mode:
initial - Previous reviewed SHA: none
- Review budget exhausted: no
- Maintainer decision required: no
- Next state:
gator:in-review
The bundle copy keeps the source file's mode, so writing the timeout into a read-only nextest.toml failed. Write a new file and rename it over the copy instead. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
There was a problem hiding this comment.
gator-agent
PR Review Status
Matthew Grossman, I checked your update against the read-only bundle case. Replacing the staged file handles a read-only nextest.toml when the temporary path is free, but a copied bundle entry can occupy that path.
Action required: Create the replacement configuration in a fresh temporary directory within staging and cover the collision in the regression test.
Blocking findings:
GATOR-1b5514e8-01The fixed temporary path can collide with an existing bundle entry.
Carried findings:
GATOR-7a323700-01The read-only bundle fix remains open pending the collision-safe replacement described inline.
Gator metadata
- Validation: Concentrated test-runner change linked to #5295
- Docs: Contributor runner option documented in
TESTING.md - Checks: Required Branch Checks are running. Other reported required checks passed. Maintainer Approval is evaluated at handoff.
- E2E: No test suite labels selected. Test-label decision follows review clearance.
- Head SHA:
1b5514e85f71ee4509b1f7299223d8126d5dc9ff - Base SHA:
34fc27738b50d0305342005bb83af40d687edd42 - Merge base SHA:
34fc27738b50d0305342005bb83af40d687edd42 - Patch ID:
56dbe86dcc7adfe0ed2bd979b504300e04b0ac43 - Gator payload:
24 - Review mode:
follow_up - Previous reviewed SHA:
7a323700e78c8a59959a39a34a6e1bfd578ea956 - Review budget exhausted: no
- Maintainer decision required: no
- Next state:
gator:in-review
Staging the new config under a fixed name could collide with an existing bundle entry. Remove the copied nextest.toml and write a new one instead; both need only the run directory's permissions. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
PR Review StatusMatthew Grossman, I checked your update that replaces the copied configuration in place. The runner can now set the timeout with a read-only source configuration and preserve an existing Blocking findings:
Carried findings:
Gator metadata
|
…ndle nextest takes the per-test timeout only from its config file. Rather than rewriting the config inside a copied bundle, which broke on read-only copies and needed a staging name, the runner now generates the config for each run, copies it into the guest outside the bundle, and passes it with --config-file. Bundles no longer carry nextest.toml, and the timeout is a run setting like --test-threads. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
PR Review StatusI reviewed the per-run nextest configuration change. The runner generates the configuration outside the bundle, so older bundles with a read-only configuration or an existing staging filename can still use a timeout override. Both earlier findings remain resolved. Required Branch Checks are pending. Blocking findings:
Carried findings:
Gator metadata
|
Monitoring CompletePR #6217 merged after Gator review, maintainer approval, and required CI passed. The active Gator label is being cleared as part of closing out monitoring. |
Summary
Lets a runner row raise the per-test timeout, the same way it sets
test_threads, so the long Kubernetes and GPU tests ported frome2e/rustdon't hit the runner's two-minute limit.Related Issue
Closes #5295
Changes
openshell-test-runner run --test-timeout <secs>(1–2699) sets theopenshellprofile toslow-timeout = { period = "<secs>s", terminate-after = 1 }, the same shape as the conformance program's profile. Without it, the limit stays 30 s × 4. It is rejected with--program; conformance programs keep their 15-minute limit.--config-file. Bundles no longer carrynextest.tomland are never modified afterbuild; one left in an older bundle is ignored.test_timeout_secscolumn in.github/workflows/e2e-suites.yml. No row sets it yet, so no CI row changes. PR8 (test(e2e): port Kubernetes driver tests from e2e/rust to drivers/kubernetes #6213), the test(testkit): separate destructive tests from non-destructive ones #5527 destructive rows and PR9's GPU rows will set it.TESTING.md: the limit applies to the whole row, so slow tests go in rows of their own.The narrowed scope (no per-family nextest config, no test groups) is explained in #5295.
Testing
cargo test,cargo clippy --all-targets -D warningsandcargo fmt --checkfortests/runner--program, and the generated nextest config for both bundle kindsChecklist