Skip to content

Error MSB3073: dotnet restore failing in CI on FreeBSD #78251

@jozkee

Description

@jozkee

Hit on #77338

https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/80475/logs/313

2022-11-11T17:53:04.4648501Z /__w/1/s/src/tests/build.proj(437,5): error MSB3073: The command ""/__w/1/s/.dotnet/dotnet" restore -r freebsd-x64 Common/XUnitWrapperLibrary/XUnitWrapperLibrary.csproj  /p:SetTFMForRestore=true /p:TargetOS=FreeBSD /p:TargetArchitecture=x64 /p:Configuration=Release /p:CrossBuild=true" exited with code 1.
2022-11-11T17:53:04.4778451Z 
2022-11-11T17:53:04.4779702Z Build FAILED.
2022-11-11T17:53:04.4780940Z 
2022-11-11T17:53:04.4783365Z /__w/1/s/src/tests/build.proj(437,5): error MSB3073: The command ""/__w/1/s/.dotnet/dotnet" restore -r freebsd-x64 Common/XUnitWrapperLibrary/XUnitWrapperLibrary.csproj  /p:SetTFMForRestore=true /p:TargetOS=FreeBSD /p:TargetArchitecture=x64 /p:Configuration=Release /p:CrossBuild=true" exited with code 1.
2022-11-11T17:53:04.4784520Z     0 Warning(s)
2022-11-11T17:53:04.4785350Z     1 Error(s)
2022-11-11T17:53:04.4785644Z 
2022-11-11T17:53:04.4786101Z Time Elapsed 00:00:19.84
2022-11-11T17:53:04.5018884Z Build failed with exit code 1. Check errors above.
2022-11-11T17:53:04.5025363Z Failed to build tests. See the build logs:
2022-11-11T17:53:04.5026036Z     /__w/1/s/artifacts/log/TestBuild.FreeBSD.x64.Release.log
2022-11-11T17:53:04.5027050Z     /__w/1/s/artifacts/log/TestBuild.FreeBSD.x64.Release.wrn
2022-11-11T17:53:04.5027554Z     /__w/1/s/artifacts/log/TestBuild.FreeBSD.x64.Release.err
2022-11-11T17:53:04.5028037Z     /__w/1/s/artifacts/log/TestBuild.FreeBSD.x64.Release.binlog
2022-11-11T17:53:04.5100983Z ##[error]Bash exited with code '1'.
2022-11-11T17:53:04.5176307Z ##[section]Finishing: Build native test components

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions