Skip to content

Decouple CH subtest discovery timeout#4544

Open
vyadavmsft wants to merge 1 commit into
mainfrom
vyadav_ch_livemigration_list_timeout
Open

Decouple CH subtest discovery timeout#4544
vyadavmsft wants to merge 1 commit into
mainfrom
vyadav_ch_livemigration_list_timeout

Conversation

@vyadavmsft

Copy link
Copy Markdown
Collaborator

Cloud Hypervisor live-migration discovery invokes dev_cli.sh with --list, but that path may still download guest images and build test binaries on cold lab nodes before cargo can enumerate tests.

The L1VH bare-metal failure spent more than 44 minutes downloading the Jammy qcow2 during discovery, leaving too little of the original 3600-second command timeout for build and cargo test --list. Add a separate discovery timeout budget and expand the test case timeout to cover discovery, the actual test run, and result processing while keeping the real test command timeout unchanged.

Description

Related Issue

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Key Test Cases:

Impacted LISA Features:

Tested Azure Marketplace Images:

Test Results

Image VM Size Result
PASSED / FAILED / SKIPPED

Cloud Hypervisor live-migration discovery invokes dev_cli.sh with --list, but that path may still download guest images and build test binaries on cold lab nodes before cargo can enumerate tests.

The L1VH bare-metal failure spent more than 44 minutes downloading the Jammy qcow2 during discovery, leaving too little of the original 3600-second command timeout for build and cargo test --list. Add a separate discovery timeout budget and expand the test case timeout to cover discovery, the actual test run, and result processing while keeping the real test command timeout unchanged.
@vyadavmsft vyadavmsft requested a review from anirudhrb as a code owner June 18, 2026 22:57
Copilot AI review requested due to automatic review settings June 18, 2026 22:57
@vyadavmsft vyadavmsft requested a review from pupacha as a code owner June 18, 2026 22:57
@github-actions

Copy link
Copy Markdown

🤖 AI Test Selection

No test cases were selected for this PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts Cloud Hypervisor test execution time budgeting by separating subtest discovery timeout from the main test command timeout, so cold-node discovery work (downloads/builds before --list) doesn’t consume the runtime budget intended for the test execution phase.

Changes:

  • Add a dedicated subtest discovery timeout budget and apply it specifically to the --list (discovery) invocation.
  • Expand the overall LISA test case timeout to cover discovery + test execution + result processing, while keeping the test command timeout unchanged.

Comment thread lisa/microsoft/testsuites/cloud_hypervisor/ch_tests_tool.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants