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

Builds fails with exited with code 1 with no apparent error #76906

Closed
carlossanlop opened this issue Oct 11, 2022 · 6 comments
Closed

Builds fails with exited with code 1 with no apparent error #76906

carlossanlop opened this issue Oct 11, 2022 · 6 comments
Labels
area-Infrastructure os-linux Linux OS (any supported distro)

Comments

@carlossanlop
Copy link
Member

Found in an unrelated main PR: #76846

Creating MsbuildDebugLogsDir: /__w/1/s/artifacts/log/MsbuildDebugLogs
Building tests via "/__w/1/s/eng/common/msbuild.sh"  --warnAsError false /__w/1/s/src/tests/build.proj /t:TestBuild /p:TargetArchitecture=arm /p:Configuration=Checked /p:TargetOS=Linux /nodeReuse:false    /maxcpucount "/flp:Verbosity=normal;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.log" "/flp1:WarningsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.wrn" "/flp2:ErrorsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.err" "/bl:/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.binlog" /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Release /p:CrossBuild=true
/__w/1/s/.dotnet/sdk/7.0.100-rc.1.22431.12/MSBuild.dll /nologo -maxcpucount /m /maxcpucount -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.binlog /clp:Summary /flp1:WarningsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.wrn /flp2:ErrorsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.err /flp:Verbosity=normal;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.log /nr:true /nodeReuse:false /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=false /p:TargetArchitecture=arm /p:Configuration=Checked /p:TargetOS=Linux /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Release /p:CrossBuild=true /t:TestBuild /__w/1/s/src/tests/build.proj
  [17:13:59.22] Restoring all packages...
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
/__w/1/s/src/tests/build.proj(437,5): error MSB3073: The command ""/__w/1/s/.dotnet/dotnet" restore -r linux-arm Common/test_dependencies/test_dependencies.csproj  /p:SetTFMForRestore=true /p:TargetOS=Linux /p:TargetArchitecture=arm /p:Configuration=Checked /p:CrossBuild=true" exited with code 1.

Build FAILED.
@ghost
Copy link

ghost commented Oct 11, 2022

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Found in an unrelated main PR: #76846

Creating MsbuildDebugLogsDir: /__w/1/s/artifacts/log/MsbuildDebugLogs
Building tests via "/__w/1/s/eng/common/msbuild.sh"  --warnAsError false /__w/1/s/src/tests/build.proj /t:TestBuild /p:TargetArchitecture=arm /p:Configuration=Checked /p:TargetOS=Linux /nodeReuse:false    /maxcpucount "/flp:Verbosity=normal;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.log" "/flp1:WarningsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.wrn" "/flp2:ErrorsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.err" "/bl:/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.binlog" /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Release /p:CrossBuild=true
/__w/1/s/.dotnet/sdk/7.0.100-rc.1.22431.12/MSBuild.dll /nologo -maxcpucount /m /maxcpucount -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.binlog /clp:Summary /flp1:WarningsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.wrn /flp2:ErrorsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.err /flp:Verbosity=normal;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.log /nr:true /nodeReuse:false /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=false /p:TargetArchitecture=arm /p:Configuration=Checked /p:TargetOS=Linux /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Release /p:CrossBuild=true /t:TestBuild /__w/1/s/src/tests/build.proj
  [17:13:59.22] Restoring all packages...
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
/__w/1/s/src/tests/build.proj(437,5): error MSB3073: The command ""/__w/1/s/.dotnet/dotnet" restore -r linux-arm Common/test_dependencies/test_dependencies.csproj  /p:SetTFMForRestore=true /p:TargetOS=Linux /p:TargetArchitecture=arm /p:Configuration=Checked /p:CrossBuild=true" exited with code 1.

Build FAILED.
Author: carlossanlop
Assignees: -
Labels:

arch-arm32, os-linux, area-Infrastructure-coreclr

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 11, 2022
@carlossanlop
Copy link
Member Author

Hit this in another release/7.0 PR: #76967

Creating MsbuildDebugLogsDir: /Users/runner/work/1/s/artifacts/log/MsbuildDebugLogs
Building tests via "/Users/runner/work/1/s/eng/common/msbuild.sh"  --warnAsError false /Users/runner/work/1/s/src/tests/build.proj /t:TestBuild /p:TargetArchitecture=x64 /p:Configuration=Release /p:TargetOS=OSX /nodeReuse:false    /maxcpucount "/flp:Verbosity=normal;LogFile=/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.log" "/flp1:WarningsOnly;LogFile=/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.wrn" "/flp2:ErrorsOnly;LogFile=/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.err" "/bl:/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.binlog" /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Debug /p:RuntimeVariant=monointerpreter
/Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/MSBuild.dll /nologo -maxcpucount /m /maxcpucount -verbosity:m /v:minimal /bl:/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.binlog /clp:Summary /flp1:WarningsOnly;LogFile=/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.wrn /flp2:ErrorsOnly;LogFile=/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.err /flp:Verbosity=normal;LogFile=/Users/runner/work/1/s/artifacts/log/Layout.OSX.x64.Release.log /nr:true /nodeReuse:false /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=false /p:TargetArchitecture=x64 /p:Configuration=Release /p:TargetOS=OSX /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Debug /p:RuntimeVariant=monointerpreter /t:TestBuild /Users/runner/work/1/s/src/tests/build.proj
  [14:14:15.94] Restoring all packages...
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    All projects are up-to-date for restore.
/Users/runner/work/1/s/src/tests/build.proj(437,5): error MSB3073: The command ""/Users/runner/work/1/s/.dotnet/dotnet" restore -r osx-x64 Common/ilasm/ilasm.ilproj  /p:SetTFMForRestore=true /p:TargetOS=OSX /p:TargetArchitecture=x64 /p:Configuration=Release /p:CrossBuild=" exited with code 1.

Build FAILED.

@jkotas
Copy link
Member

jkotas commented Nov 5, 2022

This is same problem as #74328 . msbuild server fails intermittently in .NET 7 RC1 that causes these sort of failures. We either need to update to .NET 7 RC2/GA; or disable msbuild server in more places.

@jkotas jkotas changed the title CI failure in coreclr linux arm crossbuild checked: Generate CORE_ROOT dotnet restore error Builds fails with exited with code 1 with no apparent error Nov 5, 2022
@ghost
Copy link

ghost commented Nov 5, 2022

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

Issue Details

Found in an unrelated main PR: #76846

Creating MsbuildDebugLogsDir: /__w/1/s/artifacts/log/MsbuildDebugLogs
Building tests via "/__w/1/s/eng/common/msbuild.sh"  --warnAsError false /__w/1/s/src/tests/build.proj /t:TestBuild /p:TargetArchitecture=arm /p:Configuration=Checked /p:TargetOS=Linux /nodeReuse:false    /maxcpucount "/flp:Verbosity=normal;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.log" "/flp1:WarningsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.wrn" "/flp2:ErrorsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.err" "/bl:/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.binlog" /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Release /p:CrossBuild=true
/__w/1/s/.dotnet/sdk/7.0.100-rc.1.22431.12/MSBuild.dll /nologo -maxcpucount /m /maxcpucount -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.binlog /clp:Summary /flp1:WarningsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.wrn /flp2:ErrorsOnly;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.err /flp:Verbosity=normal;LogFile=/__w/1/s/artifacts/log/Layout.Linux.arm.Checked.log /nr:true /nodeReuse:false /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=false /p:TargetArchitecture=arm /p:Configuration=Checked /p:TargetOS=Linux /p:NUMBER_OF_PROCESSORS=4 /p:LibrariesConfiguration=Release /p:CrossBuild=true /t:TestBuild /__w/1/s/src/tests/build.proj
  [17:13:59.22] Restoring all packages...
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
/__w/1/s/src/tests/build.proj(437,5): error MSB3073: The command ""/__w/1/s/.dotnet/dotnet" restore -r linux-arm Common/test_dependencies/test_dependencies.csproj  /p:SetTFMForRestore=true /p:TargetOS=Linux /p:TargetArchitecture=arm /p:Configuration=Checked /p:CrossBuild=true" exited with code 1.

Build FAILED.
Author: carlossanlop
Assignees: -
Labels:

os-linux, area-Infrastructure-coreclr, area-Infrastructure, untriaged

Milestone: -

@ViktorHofer
Copy link
Member

We want to update the SDK to .NET 7 GA for different reasons anyway, so let's do that.

@jkotas
Copy link
Member

jkotas commented Nov 30, 2022

Fixed by updating to .NET 7 GA that has msbuild server disabled.

@jkotas jkotas closed this as completed Nov 30, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 30, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Dec 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

3 participants