dnceng icon indicating copy to clipboard operation
dnceng copied to clipboard

Get Success.Tests working on Ubuntu ArmArch VMs

Open dougbu opened this issue 11 months ago • 3 comments

hit a problem in !47334 when adding Helix SDK test scenarios. the dotnet command on ubuntu.1804.armarch, ubuntu.2004.armarch, and ubuntu.2204.armarch consistently failed with dotnet: exec format error. had to remove test execution on these VMs to continue work on that PR

the odd thing here is identical tests run fine on e.g., [email protected]/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8. that probably means some prerequisite for dotnet is not available on the host VM but is in the container

I confirmed dotnet has executable perms on the host. also tried installing a number of documented OS package dependencies and using -p:TargetArchitecture=arm64 when building the tests for Arm — to no avail

next step is likely to compare the list of installed packages between host and containers for Ubuntu 18.04 through 22.04, fill those gaps (even though they're not documented) and try again. we can do this after !47334 is merged. probably also worth testing whether xUnit / Helix SDK scenarios work in production today

other suggestions appreciated

Release Note Category

  • [x] Feature changes/additions
  • [ ] Bug fixes
  • [ ] Internal Infrastructure Improvements

Release Note Description

made ubuntu.(18|20|22)04.armarch test machines able to execute dotnet and xUnit test scenarios

dougbu avatar Feb 18 '25 03:02 dougbu

slight update: test scenarios are not successful on current staging VMs either. see !47734 build. build won't last long and I'm abandoning that PR

dougbu avatar Feb 18 '25 04:02 dougbu

@epananth and @wfurt determine if this belongs in the Machine Management epic

missymessa avatar Jul 17 '25 20:07 missymessa

I think it does ... under test gaps.

wfurt avatar Jul 17 '25 20:07 wfurt