Skip to content

test: improve TME E2E pipeline reliability - #9078

Open
djsly wants to merge 3 commits into
mainfrom
djsly-enable-v7-e2e-pipeline
Open

test: improve TME E2E pipeline reliability#9078
djsly wants to merge 3 commits into
mainfrom
djsly-enable-v7-e2e-pipeline

Conversation

@djsly

@djsly djsly commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

The V7 hardware E2E validation was timing out or failing before tests could start, which made it hard to get reliable official-style results before re-enabling the gate. This PR makes the TME E2E pipeline more resilient by giving the hardware-style job the same 120-minute Azure Pipelines job cap used by GPU E2Es, adding failed-test rerun diagnostics, and retrying transient gotestsum download failures.

The updated branch produced a successful TME validation run against official Linux VHD build 173616201: https://msazure.visualstudio.com/09706533-03bf-4b43-9a9b-b49c75429646/_build/results?buildId=173669587. The run completed without timeout, started gotestsum, and finished with DONE 182 tests, 143 skipped in 266.124s.

Which issue(s) this PR fixes:

N/A

🤖 Generated by GitHub Copilot

djsly added 2 commits July 24, 2026 11:55
Increase the TME E2E job timeout to match other hardware-like E2E jobs and emit gotestsum rerun diagnostics so failed-test-only retry behavior is visible in branch validation runs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1d7dd070-47e7-44be-b7e0-a7bd3490df97
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1d7dd070-47e7-44be-b7e0-a7bd3490df97

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 improves the reliability of the TME E2E Azure Pipelines workflow by aligning job timeout behavior with other hardware-style E2E pipelines and making the test runner setup more resilient and diagnosable.

Changes:

  • Increase the TME E2E job timeout to 120 minutes via the shared E2E template parameter.
  • Harden .pipelines/scripts/e2e_run.sh by failing fast on missing required env vars, retrying transient gotestsum download failures, and emitting a rerun-fails report artifact when retries are enabled.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.pipelines/scripts/e2e_run.sh Adds required-var checks, curl retries for gotestsum download, and improved gotestsum rerun-fails diagnostics/report artifact upload.
.pipelines/e2e-tme.yaml Sets jobTimeoutInMinutes: 120 to prevent premature job termination during slow-start hardware validation runs.

…ipeline

# Conflicts:
#	.pipelines/e2e-tme.yaml
#	.pipelines/scripts/e2e_run.sh
Copilot AI review requested due to automatic review settings July 30, 2026 15:36
@github-actions

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   11 suites   49s ⏱️
381 tests 381 ✅ 0 💤 0 ❌
384 runs  384 ✅ 0 💤 0 ❌

Results for commit b60d92e.

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment on lines +24 to 32
SUBSCRIPTION_ID="${SUBSCRIPTION_ID:-}"
SUBSCRIPTION_ID_OVERRIDE="${SUBSCRIPTION_ID_OVERRIDE:-}"
if [ -n "${SUBSCRIPTION_ID_OVERRIDE}" ]; then
SUBSCRIPTION_ID="${SUBSCRIPTION_ID_OVERRIDE}"
fi

SUBSCRIPTION_ID="${SUBSCRIPTION_ID:?SUBSCRIPTION_ID or SUBSCRIPTION_ID_OVERRIDE must be set}"
az account set -s "${SUBSCRIPTION_ID}"
echo "Using subscription ${SUBSCRIPTION_ID} for e2e tests"
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