runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[8.0] [Installer] Failure in command: rpm2cpio netstandard-targeting-pack-2.1.0-x64.rpm | cpio -idmv

Open carlossanlop opened this issue 1 year ago • 4 comments

Build Information

Introduced by this PR: https://github.com/dotnet/runtime/pull/101518

The failing lines are these ones: https://github.com/dotnet/runtime/blob/47f25fbcd4a1e7b29d8ec7f672bdade9a34d7cfd/src/installer/pkg/sfx/installers/netstandard2.1.proj#L32-L33

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=662640 Build error leg or test failing: Installer Build and Test coreclr windows_x86 Debug and Installer Build and Test coreclr windows_x64 Release

Error Message

{
  "ErrorMessage" : ".rpm | cpio -idmv\" exited with code",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
src\installer\pkg\sfx\installers\netstandard2.1.proj(32,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) 
The command "rpm2cpio D:\a\_work\1\s\artifacts\obj\netstandard2.1\download\netstandard-targeting-pack-2.1.0-x64.rpm | cpio -idmv" exited with code 255.
src/installer/pkg/sfx/installers/netstandard2.1.proj(32,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) 
The command "rpm2cpio /__w/1/s/artifacts/obj/netstandard2.1/download/netstandard-targeting-pack-2.1.0-x64.rpm | cpio -idmv" exited with code 127.

@NikolaMilosavljevic @ViktorHofer @ericstj

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=662640 Error message validated: [.rpm | cpio -idmv" exited with code] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 5/2/2024 4:01:59 AM UTC

Report

Build Definition Step Name Console log Pull Request
663780 dotnet/runtime Build product Log dotnet/runtime#101823
663779 dotnet/runtime Build Log dotnet/runtime#101823
2443719 dotnet-runtime Build Log
663665 dotnet/runtime Build product Log dotnet/runtime#101703
663664 dotnet/runtime Build Log dotnet/runtime#101703
663623 dotnet/runtime Build product Log dotnet/runtime#101817
663647 dotnet/runtime Build Log
2443613 dotnet-runtime Build Log
663622 dotnet/runtime Build Log dotnet/runtime#101817
2443591 dotnet-runtime Build Log
2443576 dotnet-runtime Package Runtime Deps, Runtime, Framework Packs Deb installers - deb Log
663549 dotnet/runtime Build product Log dotnet/runtime#101703
2443436 dotnet-runtime Build Log
2443417 dotnet-runtime Build Log
663454 dotnet/runtime Build Log
2443025 dotnet-runtime Build Log
2443019 dotnet-runtime Build Log
662867 dotnet/runtime Build Log
2442924 dotnet-runtime Build Log
2442911 dotnet-runtime Build Log
662746 dotnet/runtime Build Log
662640 dotnet/runtime Build Log dotnet/runtime#101783

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 18 22

carlossanlop avatar May 02 '24 04:05 carlossanlop

Looks like this is failing the build and should be addressed immediately @NikolaMilosavljevic Seems the build machine is missing the tool:

  'rpm2cpio' is not recognized as an internal or external command,
  operable program or batch file.

ericstj avatar May 02 '24 16:05 ericstj

What's interesting is that the CI legs did not fail in the PR, but they failed in the rolling builds.

Glad we merged it earlier and caught the issue on time, and not post code-complete.

carlossanlop avatar May 02 '24 18:05 carlossanlop

It could be due to a difference in the images used for PR validation vs rolling build? Or an image change that happened after PR validation. I'm not sure what's reponsible for making that rpm2cpio tool available.

ericstj avatar May 02 '24 19:05 ericstj

I have a fix for this issue - it will be included in the new PR for NetStandard work.

I've kicked off validation that is unfortunately failing with some unrelated errors: https://dev.azure.com/dnceng/internal/_build/results?buildId=2446943&view=results @carlossanlop do you know if the errors are known and/or intermittent? I can always kick-off another build.

NikolaMilosavljevic avatar May 07 '24 19:05 NikolaMilosavljevic

Closing - the change was reverted with https://github.com/dotnet/runtime/pull/101812

New PR for NETStandard 2.1 work is out: https://github.com/dotnet/runtime/pull/102081

NikolaMilosavljevic avatar May 10 '24 14:05 NikolaMilosavljevic