Skip to content

[202412][CI] Backport hosted pre-tests and uv - #1407

Merged
yijingyan2 merged 3 commits into
Azure:202412from
lunyue-ms:fix/202412-elastictest-use-uv
Sep 10, 2026
Merged

yijingyan2 merged 3 commits into
Azure:202412from
lunyue-ms:fix/202412-elastictest-use-uv

Conversation

@lunyue-ms

@lunyue-ms Lun Yue (lunyue-ms) commented Sep 10, 2026

Copy link
Copy Markdown

Summary

  • use uv for the Elastictest trigger that runs on sonic-ubuntu-1c
  • move the three Pre-test jobs to clean Microsoft-hosted ubuntu-latest agents

Why

The self-hosted sonic-ubuntu-1c agents no longer provide pip, causing every Elastictest trigger in Azure/sonic-buildimage-msft#3073 to fail. Their persistent workspaces can also contain root-owned pytest artifacts, causing checkout cleanup failures.

This backports the relevant approach from sonic-net/sonic-mgmt#25721 to the 202412 pipeline.

The sonic-ubuntu-1c agents no longer provide pip.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Lun Yue <17232861+lunyue-ms@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

The sonic-ubuntu-1c agents no longer provide pip or pip3.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Lun Yue <17232861+lunyue-ms@users.noreply.github.com>
@lunyue-ms Lun Yue (lunyue-ms) changed the title [202412][CI] Use uv in Elastictest template [202412][CI] Use uv for pipeline dependencies Sep 10, 2026
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Match the master migration and avoid stale root-owned files on the self-hosted pool.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Lun Yue <17232861+lunyue-ms@users.noreply.github.com>
@lunyue-ms Lun Yue (lunyue-ms) changed the title [202412][CI] Use uv for pipeline dependencies [202412][CI] Backport hosted pre-tests and uv Sep 10, 2026
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@yijingyan2
yijingyan2 merged commit b3065e5 into Azure:202412 Sep 10, 2026
7 checks passed
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.

3 participants