Skip to content

Skip host tests in s390x and ppc64le cross-builds#130462

Merged
matouskozak merged 3 commits into
dotnet:mainfrom
matouskozak:matouskozak-fix-mono-ppc64le-s390x-missing-host-pack
Jul 13, 2026
Merged

Skip host tests in s390x and ppc64le cross-builds#130462
matouskozak merged 3 commits into
dotnet:mainfrom
matouskozak:matouskozak-fix-mono-ppc64le-s390x-missing-host-pack

Conversation

@matouskozak

@matouskozak matouskozak commented Jul 10, 2026

Copy link
Copy Markdown
Member

Fixes #130335

Summary

The s390x and ppc64le community jobs cross-build the product and library tests, but do not run host tests. Expanding the host subset pulled host.pretest and host.tests into 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.

matouskozak and others added 3 commits July 9, 2026 16:22
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>
Copilot AI review requested due to automatic review settings July 10, 2026 05:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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+... with mono+libs+host.native+host.tools+host.pkg+... for the s390x/ppc64le community job to avoid implicitly including host.tests.

@matouskozak

Copy link
Copy Markdown
Member Author

/azp run runtime-community

@azure-pipelines

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

@matouskozak matouskozak added area-Infrastructure-mono arch-s390x Related to s390x architecture (unsupported) arch-ppc64le and removed area-Host labels Jul 10, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival
See info in area-owners.md if you want to be subscribed.

@matouskozak matouskozak marked this pull request as ready for review July 10, 2026 09:46
@matouskozak matouskozak requested a review from akoeplinger July 10, 2026 09:46
@MichalStrehovsky

Copy link
Copy Markdown
Member

/ba-g all failure are known according to Build Analysis, yet it's not green

@matouskozak matouskozak merged commit 0365869 into dotnet:main Jul 13, 2026
226 of 235 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-ppc64le arch-s390x Related to s390x architecture (unsupported) area-Infrastructure-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[mono] Linux ppc64le and s390x packs are missing

4 participants