Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jozkee opened this issue Nov 11, 2022 · 3 comments
Open

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

jozkee opened this issue Nov 11, 2022 · 3 comments

Comments

@jozkee
Copy link
Member

jozkee commented Nov 11, 2022

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
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 11, 2022
@ghost
Copy link

ghost commented Nov 11, 2022

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

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
Author: Jozkee
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@ghost
Copy link

ghost commented Nov 14, 2022

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

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
Author: Jozkee
Assignees: -
Labels:

area-Infrastructure, untriaged

Milestone: -

@jakobbotsch jakobbotsch added the Known Build Error Use this to report build issues in the .NET Helix tab label Nov 30, 2022
@jakobbotsch jakobbotsch removed the Known Build Error Use this to report build issues in the .NET Helix tab label Dec 1, 2022
@jakobbotsch
Copy link
Member

I removed the "known build error" again as it looks like it was hitting way too many other issues with the same text. It's hard to extract a message that will match only this restore error.

@AaronRobinsonMSFT AaronRobinsonMSFT removed the untriaged New issue has not been triaged by the area owner label Apr 3, 2023
@AaronRobinsonMSFT AaronRobinsonMSFT added this to the Future milestone Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants