Repository navigation
Drop unneeded libxml2 install from Linux Core MT CI job - #15397
Closed
JanProvaznik wants to merge 1 commit into
Closed
JanProvaznik wants to merge 1 commit into
JanProvaznik wants to merge 1 commit into
Conversation
ubuntu-latest now resolves to Ubuntu 26.04, which no longer ships a
libxml2 package (it is libxml2-16), so 'apt-get install -y libxml2'
fails with exit code 100 and fails the whole job.
The job runs no tests ("Intentionally not running tests"); libxml2 was
added alongside the code-coverage tooling, which this job does not use.
The build and stage2 build in the failed run completed with 0 errors
without it.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e6c0b687-cb7d-4a28-81a2-150c0bd191d5
JanProvaznik
temporarily deployed
to
copilot-pat-pool
October 26, 2026 12:03 — with
GitHub Actions
Inactive
JanProvaznik
temporarily deployed
to
copilot-pat-pool
October 26, 2026 12:04 — with
GitHub Actions
Inactive
JanProvaznik
temporarily deployed
to
copilot-pat-pool
October 26, 2026 12:05 — with
GitHub Actions
Inactive
Member
Author
|
to be backported to all branches with this pipeline |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The narrowly scoped deletion preserves the build-only job without affecting product behavior or coverage-enabled jobs.
No open issues 🎉
What changed in this PR
Removes unnecessary package installation from the build-only Linux Core Multithreaded Mode CI job, unblocking it on Ubuntu images where libxml2 is unavailable.
Changes:
- Deletes the job’s
apt-get updateandlibxml2installation steps. - Preserves the stage2 build and leaves coverage-enabled jobs unchanged.
| File | Description |
|---|---|
.vsts-dotnet-ci.yml |
Removes two unnecessary package-management steps from BootstrapMSBuildWithMTMode. |
Review effort: Balanced
JanProvaznik
temporarily deployed
to
copilot-pat-pool
October 26, 2026 12:12 — with
GitHub Actions
Inactive
JanProvaznik
temporarily deployed
to
copilot-pat-pool
October 26, 2026 12:13 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
✅ 24/24 dimensions clean — no findings.
Generated by Expert Code Review (on open) for #15397 · copilot · gpt56 · 227 AIC · ⌖ 0.521 AIC · ⊞ 19K
JanProvaznik
temporarily deployed
to
copilot-pat-pool
October 26, 2026 12:13 — with
GitHub Actions
Inactive
AR-May
approved these changes
Oct 26, 2026
JanProvaznik
enabled auto-merge (squash)
October 26, 2026 12:48
Member
Author
|
actually I'll merge the other one, this was just for the minimal review and I'll apply the commit to servicing branches |
JanProvaznik
disabled auto-merge
October 26, 2026 13:33
JanProvaznik
added a commit
that referenced
this pull request
Oct 26, 2026
Backport of #15397. ubuntu-latest now resolves to Ubuntu 26.04, which no longer ships a libxml2 package (it is libxml2-16), so 'apt-get install -y libxml2' fails with exit code 100 and fails the whole job. The job runs no tests, and libxml2 was added alongside the code-coverage tooling, which this job does not use. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6c0b687-cb7d-4a28-81a2-150c0bd191d5
JanProvaznik
added a commit
that referenced
this pull request
Oct 26, 2026
Backport of #15397. ubuntu-latest now resolves to Ubuntu 26.04, which no longer ships a libxml2 package (it is libxml2-16), so 'apt-get install -y libxml2' fails with exit code 100 and fails the whole job. The job runs no tests, and libxml2 was added alongside the code-coverage tooling, which this job does not use. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6c0b687-cb7d-4a28-81a2-150c0bd191d5
JanProvaznik
added a commit
that referenced
this pull request
Oct 26, 2026
Backport of #15397. ubuntu-latest now resolves to Ubuntu 26.04, which no longer ships a libxml2 package (it is libxml2-16), so 'apt-get install -y libxml2' fails with exit code 100 and fails the whole job. The job runs no tests, and libxml2 was added alongside the code-coverage tooling, which this job does not use. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6c0b687-cb7d-4a28-81a2-150c0bd191d5
This was referenced Oct 26, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue(s):
Context
The
Linux Core Multithreaded Modejob fails before it builds anything of consequence:ubuntu-latestnow resolves toubuntu-26.04, where there is nolibxml2package (onlylibxml2-16), sosudo apt-get install -y libxml2exits with code 100 (example, seen on #15395).Changes Made
Remove the
apt-get update/apt-get install -y libxml2steps from theBootstrapMSBuildWithMTModejob in.vsts-dotnet-ci.yml. This job is documented as "Intentionally not running tests";libxml2came in with the Linux code-coverage tooling (#11920), which this job does not use.Compatibility
CI-only change; no product impact. The public
Linux Corejob andquarantine.ymluse the pinnedBuild.Ubuntu.2204.Amd64.Openimage and are unchanged. The non-public branch ofLinux Core(vmImage: 'ubuntu-latest') still installslibxml2and may need a separate fix, since it runs coverage.Testing
Build (with stage2)step of this job has a customcondition:and therefore still ran after the failed install; both the build and the stage2 build succeeded with 0 errors, i.e. nothing in the job needslibxml2..vsts-dotnet-ci.ymlwith PyYAML; the job's steps are intact (docs-only check, private-feeds setup, build, publish logs).Linux Core Multithreaded Modecheck is the validation.Dependencies and Follow-up
Separate from this PR: the
Linux Corejob in the same run also failed on an unrelated, intermittent test failure caused by anIOException: Pipe is brokeninNodeEndpointOutOfProcBase.PacketPumpProc; it is not addressed here.Follow-up: #15398 (stacked on this PR) deletes the
Linux Core Multithreaded Modejob entirely, since-mtis now covered by every bootstrapped PR job and the job's remaining analyzer output is informational only. This PR is the minimal unblock and can merge independently.