Skip host tests in s390x and ppc64le cross-builds#130462
Merged
matouskozak merged 3 commits intoJul 13, 2026
Merged
Conversation
Import eng/targetingpacks.targets in installer tests Directory.Build.targets to use local app host packs instead of downloading from NuGet feeds. This fixes NU1101 errors on platforms without published host packs (linux-s390x, linux-ppc64le) that were caused by the XUnit 3 migration (4909904) adding unconditional RuntimeIdentifier to the test projects. The library tests already use this mechanism via their Directory.Build.targets. Fixes dotnet#130335 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The workaround redirects every installer test to locally built targeting and apphost packs, which reintroduces a product-build prerequisite and moves the community cross-build failure from restore to build. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Build only the host product subsets in the s390x and ppc64le community jobs. These jobs do not run host tests, whose xUnit apphosts require unpublished target architecture packs. Fixes dotnet#130335 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the runtime-community pipeline’s s390x and ppc64le Mono “AllSubsets” build to explicitly build host product subsets (native/tools/pkg) instead of using the aggregate host subset, which (per eng/Subsets.props) expands to include host.pretest/host.tests in non-source-build scenarios.
Changes:
- Replaces
mono+libs+host+...withmono+libs+host.native+host.tools+host.pkg+...for the s390x/ppc64le community job to avoid implicitly includinghost.tests.
Member
Author
|
/azp run runtime-community |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival |
MichalStrehovsky
approved these changes
Jul 10, 2026
akoeplinger
approved these changes
Jul 10, 2026
This was referenced Jul 10, 2026
Open
Open
Member
|
/ba-g all failure are known according to Build Analysis, yet it's not green |
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.
Fixes #130335
Summary
The s390x and ppc64le community jobs cross-build the product and library tests, but do not run host tests. Expanding the
hostsubset pulledhost.pretestandhost.testsinto the build graph, causing the xUnit v3 host test executables to restore unpublished target-architecture apphost packs.Build the host product subsets explicitly (
host.native+host.tools+host.pkg) so these jobs retain host product coverage without restoring unused host tests.Note
This pull request description was generated with GitHub Copilot.