Skip to content

FreeBSD build legs sometime crashes when running msbuild #36860

@safern

Description

@safern
uilding step 'Restore product binaries (build tests)' via "/__w/1/s/eng/common/msbuild.sh"  --warnAsError false /__w/1/s/src/coreclr/tests/build.proj /p:RestoreDefaultOptimizationDataPackage=false /p:PortableBuild=true /p:UsePartialNGENOptimization=false /maxcpucount "/flp:Verbosity=normal;LogFile=/__w/1/s/artifacts/log/Restore_Product.FreeBSD.x64.Release.log" "/flp1:WarningsOnly;LogFile=/__w/1/s/artifacts/log/Restore_Product.FreeBSD.x64.Release.wrn" "/flp2:ErrorsOnly;LogFile=/__w/1/s/artifacts/log/Restore_Product.FreeBSD.x64.Release.err" /t:BatchRestorePackages /p:TargetArchitecture=x64 /p:Configuration=Release /p:TargetOS=FreeBSD /nodeReuse:false    
  [01:17:00.84] Restoring all packages...
  Segmentation fault (core dumped)
/__w/1/s/src/coreclr/tests/build.proj(52,5): error MSB3073: The command ""/__w/1/s/.dotnet/dotnet" restore -r freebsd-x64 /__w/1/s/src/coreclr/tests/scripts/scripts.csproj  /p:SetTFMForRestore=true /p:TargetOS=FreeBSD /p:TargetArchitecture=x64 /p:Configuration=Release " exited with code 139.

Build FAILED.

/__w/1/s/src/coreclr/tests/build.proj(52,5): error MSB3073: The command ""/__w/1/s/.dotnet/dotnet" restore -r freebsd-x64 /__w/1/s/src/coreclr/tests/scripts/scripts.csproj  /p:SetTFMForRestore=true /p:TargetOS=FreeBSD /p:TargetArchitecture=x64 /p:Configuration=Release " exited with code 139.
    0 Warning(s)
    1 Error(s)

I've seen this a couple times only. I tried using runfo search-buildlog because in the timeline the error is shown as: Bash exited with code 1

Happened in: #36855
https://dev.azure.com/dnceng/public/_build/results?buildId=656450&view=results

cc: @wfurt @dotnet/runtime-infrastructure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions