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

[release/7.0] CI failure: Build Linux x64 release SourceBuild, unable to optimize assemblies for performance, runtime package not found #80284

Closed
carlossanlop opened this issue Jan 6, 2023 · 10 comments
Labels
arch-x64 area-Infrastructure-coreclr blocking-official-build os-linux Linux OS (any supported distro) source-build Issues relating to dotnet/source-build

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jan 6, 2023

Found in at least two unreleated release/7.0 PRs.

  • Both failed in the Build Linux x64 release SourceBuild queue.
  • Both happening in a banana.24 RID.

First PR:

Second PR:

--------------------------------------------------------------------------------------
/__w/1/s/.dotnet/sdk/7.0.100/MSBuild.dll /nologo -maxcpucount /m -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/log/Release/ToolsetRestore.binlog /clp:Summary /clp:ErrorsOnly;NoSummary /nr:false /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /p:__ToolsetLocationOutputFile=/__w/1/s/artifacts/toolset/7.0.0-beta.22572.6.txt /t:__WriteToolsetLocation /warnaserror /__w/1/s/artifacts/toolset/restore.proj
/__w/1/s/.dotnet/sdk/7.0.100/MSBuild.dll /nologo -logger:/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll -maxcpucount /m -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/log/Release/Build.binlog /clp:Summary /nr:false /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /p:Configuration=Release /p:RepoRoot=/__w/1/s/ /p:Restore=true /p:Build=true /p:ArcadeBuildFromSource=false /p:Rebuild=false /p:Test=false /p:Pack=true /p:IntegrationTest=false /p:PerformanceTest=false /p:Sign=false /p:Publish=true /p:TargetArchitecture=x64 /p:BuildArchitecture=x64 /p:CMakeArgs= /p:TargetRid=banana.24-x64 /p:SourceBuildNonPortable=true /p:ArcadeBuildFromSource=true /warnaserror /__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj
  Cloning repository at: /__w/1/s/ -> /__w/1/s/artifacts/source-build/self/src/ ...
  Creating empty clone at: /__w/1/s/artifacts/source-build/self/src/
  Source repository is shallow...
  Cloning into '/__w/1/s/artifacts/source-build/self/src'...
  Checking out sources...
  Clone complete: /__w/1/s/ -> /__w/1/s/artifacts/source-build/self/src/
  __DistroRid: centos.7-x64
  /__w/1/s/.dotnet/sdk/7.0.100/MSBuild.dll /nologo -maxcpucount /m -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /clp:Summary /nr:false /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=false /p:Configuration=Release /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:Restore=true /p:Build=true /p:ArcadeBuildFromSource=false /p:Rebuild=false /p:Test=false /p:Pack=false /p:IntegrationTest=false /p:PerformanceTest=false /p:Sign=false /p:Publish=false /p:BuildAllConfigurations=true /p:OutputRid=banana.24-x64 /p:PortableBuild=false /p:TargetArchitecture=x64 /p:BuildArchitecture=x64 /p:CMakeArgs= /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /__w/1/s/artifacts/source-build/self/package-cache/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj
    Determining projects to restore...
    Restored /__w/1/s/artifacts/source-build/self/package-cache/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Tools.proj (in 1.35 sec).
    Determining projects to restore...
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
  
  Build FAILED.
  
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
      0 Warning(s)
      2 Error(s)
  
  Time Elapsed 00:00:32.22
  Build failed with exit code 1. Check errors above.
/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/SourceBuild/SourceBuildArcadeBuild.targets(162,5): error MSB3073: The command "./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=" exited with code 1. [/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj]
##[error].packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/SourceBuild/SourceBuildArcadeBuild.targets(162,5): error MSB3073: The command "./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=" exited with code 1.

Build FAILED.

/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/SourceBuild/SourceBuildArcadeBuild.targets(162,5): error MSB3073: The command "./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=" exited with code 1. [/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:01:00.49
Build failed with exit code 1. Check errors above.
{
  "ErrorMessage": "The command \"./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=\" exited with code 1",
  "BuildRetry": false
}
@carlossanlop carlossanlop added os-linux Linux OS (any supported distro) arch-x64 blocking-official-build source-build Issues relating to dotnet/source-build labels Jan 6, 2023
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jan 6, 2023
@ghost
Copy link

ghost commented Jan 6, 2023

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

Issue Details

Found in at least two unreleated release/7.0 PRs.

  • Both failed in the Build Linux x64 release SourceBuild queue.
  • Both happening in a banana.24 RID.

First PR:

Second PR:

--------------------------------------------------------------------------------------
/__w/1/s/.dotnet/sdk/7.0.100/MSBuild.dll /nologo -maxcpucount /m -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/log/Release/ToolsetRestore.binlog /clp:Summary /clp:ErrorsOnly;NoSummary /nr:false /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /p:__ToolsetLocationOutputFile=/__w/1/s/artifacts/toolset/7.0.0-beta.22572.6.txt /t:__WriteToolsetLocation /warnaserror /__w/1/s/artifacts/toolset/restore.proj
/__w/1/s/.dotnet/sdk/7.0.100/MSBuild.dll /nologo -logger:/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll -maxcpucount /m -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/log/Release/Build.binlog /clp:Summary /nr:false /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /p:Configuration=Release /p:RepoRoot=/__w/1/s/ /p:Restore=true /p:Build=true /p:ArcadeBuildFromSource=false /p:Rebuild=false /p:Test=false /p:Pack=true /p:IntegrationTest=false /p:PerformanceTest=false /p:Sign=false /p:Publish=true /p:TargetArchitecture=x64 /p:BuildArchitecture=x64 /p:CMakeArgs= /p:TargetRid=banana.24-x64 /p:SourceBuildNonPortable=true /p:ArcadeBuildFromSource=true /warnaserror /__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj
  Cloning repository at: /__w/1/s/ -> /__w/1/s/artifacts/source-build/self/src/ ...
  Creating empty clone at: /__w/1/s/artifacts/source-build/self/src/
  Source repository is shallow...
  Cloning into '/__w/1/s/artifacts/source-build/self/src'...
  Checking out sources...
  Clone complete: /__w/1/s/ -> /__w/1/s/artifacts/source-build/self/src/
  __DistroRid: centos.7-x64
  /__w/1/s/.dotnet/sdk/7.0.100/MSBuild.dll /nologo -maxcpucount /m -verbosity:m /v:minimal /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /clp:Summary /nr:false /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=false /p:Configuration=Release /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:Restore=true /p:Build=true /p:ArcadeBuildFromSource=false /p:Rebuild=false /p:Test=false /p:Pack=false /p:IntegrationTest=false /p:PerformanceTest=false /p:Sign=false /p:Publish=false /p:BuildAllConfigurations=true /p:OutputRid=banana.24-x64 /p:PortableBuild=false /p:TargetArchitecture=x64 /p:BuildArchitecture=x64 /p:CMakeArgs= /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /__w/1/s/artifacts/source-build/self/package-cache/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj
    Determining projects to restore...
    Restored /__w/1/s/artifacts/source-build/self/package-cache/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Tools.proj (in 1.35 sec).
    Determining projects to restore...
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
  
  Build FAILED.
  
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
  /__w/1/s/.dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1094: Unable to optimize assemblies for performance: a valid runtime package was not found. Either set the PublishReadyToRun property to false, or use a supported runtime identifier when publishing. When targeting .NET 6 or higher, make sure to restore packages with the PublishReadyToRun property set to true. [/__w/1/s/artifacts/source-build/self/src/Build.proj]
      0 Warning(s)
      2 Error(s)
  
  Time Elapsed 00:00:32.22
  Build failed with exit code 1. Check errors above.
/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/SourceBuild/SourceBuildArcadeBuild.targets(162,5): error MSB3073: The command "./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=" exited with code 1. [/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj]
##[error].packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/SourceBuild/SourceBuildArcadeBuild.targets(162,5): error MSB3073: The command "./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=" exited with code 1.

Build FAILED.

/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/SourceBuild/SourceBuildArcadeBuild.targets(162,5): error MSB3073: The command "./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=" exited with code 1. [/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/7.0.0-beta.22572.6/tools/Build.proj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:01:00.49
Build failed with exit code 1. Check errors above.
{
  "ErrorMessage": "The command \"./build.sh  --arch x64 --configuration Release --allconfigurations --verbosity minimal --nodereuse false --warnAsError false --outputrid banana.24-x64 --portablebuild false /p:NoPgoOptimize=true /p:KeepNativeSymbols=true /p:RuntimeOS=banana.24 /p:ContinuousIntegrationBuild=true /p:BuildDebPackage=false /p:EnableNgenOptimization=false /p:EnablePackageValidation=false /p:DisableSourceLink=false /p:AdditionalRuntimeIdentifierParent=banana.24 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/__w/1/s/artifacts/source-build/self/src/ /p:ArtifactsDir=/__w/1/s/artifacts/source-build/self/src/artifacts/ /bl:/__w/1/s/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:SourceBuildOutputDir=/__w/1/s/artifacts/source-build/ /p:SourceBuiltBlobFeedDir=\" exited with code 1",
  "BuildRetry": false
}
Author: carlossanlop
Assignees: -
Labels:

os-linux, arch-x64, area-Infrastructure-coreclr, blocking-official-build, source-build, untriaged

Milestone: -

@jeffschwMSFT
Copy link
Member

@mangod9

@mangod9
Copy link
Member

mangod9 commented Jan 6, 2023

Both happening in a banana.24 RID.

is this a dummy RID? Guessing crossgen2 is not aware of this hence PublishReadyToRun is failing with it. Is this a regression or a new build scenario?

@mangod9
Copy link
Member

mangod9 commented Jan 6, 2023

@trylek and @AntonLapounov as well. Assume there is a way to repro locally?

@AntonLapounov
Copy link
Member

I assume this is an intermittent issue. I could not find the relevant binlog file, maybe we should publish this artifact to help investigations:

RESTORE_TASK_BINLOG_PARAMETERS=/__w/1/s/artifacts/source-build/self/src/artifacts/log/Release/Restore-Build.proj.binlog

@tmds
Copy link
Member

tmds commented Jan 23, 2023

It could be due to missing dotnet/sdk#29052.
This is part of 7.0.101 and later.
These builds look like they are using 7.0.100 (.dotnet/sdk/7.0.100).

@AntonLapounov AntonLapounov removed their assignment Mar 15, 2023
@AntonLapounov
Copy link
Member

Is this still an issue?

@tmds
Copy link
Member

tmds commented Mar 15, 2023

dotnet/source-build#3219 (comment) was closed by using 7.0.101.
That matches my earlier comment.

So if these builds are now also using 7.0.101 or later, the issue should be gone.

@agocke agocke added this to AppModel Aug 17, 2023
@agocke agocke removed this from AppModel Dec 2, 2023
@akoeplinger
Copy link
Member

Closing since release/7.0 is using 7.0.113 and we haven't seen this issue since.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Dec 14, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-Infrastructure-coreclr blocking-official-build os-linux Linux OS (any supported distro) source-build Issues relating to dotnet/source-build
Projects
None yet
Development

No branches or pull requests

6 participants