镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Closed

Description

@carlossanlop

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.

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Oct 11, 2022
  2. carlossanlop commented on Oct 13, 2022

    @carlossanlop
    ContributorAuthor

    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.
    
  3. jkotas commented on Nov 5, 2022

    @jkotas
    Member

    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.

  4. 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[/+] on Nov 5, 2022
  5. ViktorHofer commented on Nov 7, 2022

    @ViktorHofer
    Member

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

  6. jkotas commented on Nov 30, 2022

    @jkotas
    Member

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

  7. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Nov 30, 2022
  8. ghost locked as resolved and limited conversation to collaborators on Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions