Skip to content

Enabled Linux UVM tests to run on 1ES github runner pool - #2357

Merged
Jie Chen (jiechen0826) merged 1 commit into
mainfrom
jiechen3/github_runner
Jan 31, 2025
Merged

Jie Chen (jiechen0826) merged 1 commit into
mainfrom
jiechen3/github_runner

Conversation

@jiechen0826

Copy link
Copy Markdown
Contributor

This pull request includes several updates to the CI workflow configuration in .github/workflows/ci.yml.

The purpose of the change is to enable the Linux UVM tests in the CI workflow. Similar to the Windows UVM tests, the Linux UVM tests will be run on the 1ES Github Runner pool which supports nested virtualization.

The changes introduce a new job to create Linux boot files, modify existing jobs to incorporate these files, and update environment variables.

CI Workflow Enhancements:

  • New Job for Linux Boot Files Creation:

    • Added a create-linux-boot-files job to handle the creation and preparation of Linux boot files. This job includes steps for authenticating with Azure, downloading LCOW artifacts from the dev feed, and creating new rootfs for subsequent testing of the Linux GCS.
  • Environment Variables:

    • Introduced new environment variables (LCOW_ARTIFACT_PROJECT, LCOW_ARTIFACT_FEED, LCOW_ARTIFACT_NAME, LCOW_ARTIFACT_VERSION, LINUX_BOOT_FILES_PATH) to support the new job and its steps.
  • Job Dependencies:

    • Updated the test-windows job to depend on the new create-linux-boot-files job to ensure the necessary Linux boot files are available for testing.
  • Linux Boot Files Integration:

    • Added steps in the test-windows job to create a directory for Linux boot files, download the boot files from the artifact, and extract them for use in tests.
  • Test Command Update:

    • Modified the test command in the test-windows job to include the path to the Linux boot files, ensuring that the tests utilize the newly created files.

@jiechen0826
Jie Chen (jiechen0826) requested a review from a team as a code owner January 21, 2025 18:47
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
@jiechen0826

Jie Chen (jiechen0826) commented Jan 23, 2025 •

Copy link
Copy Markdown
Contributor Author

Once #2359 is merged, TestLCOW_IPv6_Assignment will pass in CI.
Also skipped the Plan9_Writable test since it is failing on the azurelinux rootfs. Will reenable it once the rootfs is updated.
The other failing tests in CI are coming from HVSocket*, which are quite flaky and will only pass after multiple retries. Edit: skipped HVSocket* tests for now in #2365.

@kiashok

Copy link
Copy Markdown
Contributor

LGTM on green!

Skipped uvm plan9 test until azurelinux rootfs is fixed

Signed-off-by: Jie Chen <jiechen3@microsoft.com>
@jiechen0826

Jie Chen (jiechen0826) commented Jan 30, 2025 •

Copy link
Copy Markdown
Contributor Author

Kathryn Baldauf (@katiewasnothere) Kirtana Ashok (@kiashok)
All CI checks are green now.

@jiechen0826
Jie Chen (jiechen0826) merged commit e5c83a1 into main Jan 31, 2025
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