Skip to content

[7.0] SDK content test for Alpine is not comparing against linux-musl-x64 version of MS SDK tarball #3714

@mthalman

Description

@mthalman

The SDK content test, when running in the Alpine build leg for 7.0, ends up comparing the linux-x64 version of the MS SDK tarball instead of the linux-musl-x64 version. This is not an accurate test. Since it's Alpine, it should be checking the content of the linux-musl-x64 version to ensure that content matches correctly.

This happens because the PortableRid MSBuild property is set to linux-x64 when it should be set to `linux-musl-x64. This is set correctly in the 6.0 branch:

https://github.com/dotnet/installer/blob/1b5e0e204956294804c290739a41e440d184d0af/src/SourceBuild/tarball/content/Directory.Build.props#L184

This was discovered while testing the changes in dotnet/installer#13074. Because PortableRid is set correctly there, it ends up using the linux-musl-x64 version of the tarball and exposed another unrelated issue.

Related to dotnet/installer#17324.

Metadata

Metadata

Assignees

Labels

area-testingImprovements in CI and testing

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions