Skip to content

_packageRID has wrong value for runtime tests build for Android Arm64 and Arm32 #55669

@fanyang-mono

Description

@fanyang-mono

When building runtime tests for Android arm64 or arm32, the value assigned to _packageRID has become linux-arm64 lately. It should be android-arm64. This has been causing CI lane Build Android arm64 Release AllSubsets_Mono_RuntimeTests failing with error message

/__w/1/s/eng/liveBuilds.targets(134,5): error : The 'libs' subset must be built before building this project. Missing artifacts: /__w/1/s/artifacts/bin/microsoft.netcore.app.runtime.linux-arm64/Release/runtimes/linux-arm64/lib/net6.0/. Configuration: 'Release'. To use a different configuration, specify the 'LibrariesConfiguration' property.

Here is the link to one of the failing build: https://dev.azure.com/dnceng/public/_build/results?buildId=1237622&view=logs&j=1fbc174f-133f-57a8-dcec-0de15ad033b4&t=827c0caa-5f6d-5c33-e064-1c275c207b92&l=51

This might be caused by a recent change to the following line of code
https://github.com/dotnet/runtime/blob/main/Directory.Build.props#L166

The related PR is #54914

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions