Repository navigation
Run Validate Signing Linux job in a container - #5525
Conversation
Run the ValidateSigning_Linux job inside the Ubuntu container instead of directly on the host agent. Add a disk space check step before artifact downloads on Linux. Co-authored-by: Copilot <[email protected]>
|
/backport to release/10.0.1xx |
|
Started backporting to |
There was a problem hiding this comment.
Pull request overview
This PR moves the internal Linux signing validation job to run inside an Azure Linux build container to mitigate host-agent disk space exhaustion during signing validation, and adds an early Linux disk space visibility step before downloading artifacts.
Changes:
- Add an Azure Linux “build” container definition to the official and unofficial pipeline container maps.
- Introduce
azurelinuxBuildContainer*variables for the new container name/image. - Run
ValidateSigning_Linuxinside the Azure Linux build container and printdf -hon Linux before artifact downloads.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| eng/pipelines/unofficial.yml | Registers the new Azure Linux build container in the 1ES container map so internal jobs can reference it by name. |
| eng/pipelines/official.yml | Registers the new Azure Linux build container in the 1ES container map for official runs. |
| eng/pipelines/templates/variables/vmr-build.yml | Adds variables for the Azure Linux build container name and image tag. |
| eng/pipelines/templates/stages/vmr-validation.yml | Switches ValidateSigning_Linux to run in the named Azure Linux build container. |
| eng/pipelines/templates/steps/vmr-validate-signing.yml | Adds a Linux-only df -h step before artifact downloads to aid diagnosing disk issues. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
@akoeplinger backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Run Validate Signing Linux job in a container
Using index info to reconstruct a base tree...
M eng/pipelines/official.yml
M eng/pipelines/templates/stages/vmr-validation.yml
M eng/pipelines/templates/steps/vmr-validate-signing.yml
M eng/pipelines/templates/variables/vmr-build.yml
M eng/pipelines/unofficial.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/official.yml
Auto-merging eng/pipelines/templates/stages/vmr-validation.yml
Auto-merging eng/pipelines/templates/steps/vmr-validate-signing.yml
CONFLICT (content): Merge conflict in eng/pipelines/templates/steps/vmr-validate-signing.yml
Auto-merging eng/pipelines/templates/variables/vmr-build.yml
Auto-merging eng/pipelines/unofficial.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Run Validate Signing Linux job in a container
Error: The process '/usr/bin/git' failed with exit code 128 |
|
For future readers: this wasn't actually related to the other disk size issue that was ongoing. The reason why this works is because SignCheck uses Path.GetTempPath(): Outside the container we have /tmp explicitly mounted which has only 16GB free space: But inside the container the /tmp is mounted on |
|
i.e. we need to keep using the container so we get the larger /tmp |
Co-authored-by: Copilot <[email protected]> (cherry picked from commit accda64)
Run the ValidateSigning_Linux job inside the AzureLinux container instead of directly on the host agent. Add a disk space check step before artifact downloads on Linux.
There were a couple reports on FR recently about disk space issues when running directly on the build host, running inside a container works around this.
Fixes #5480