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

[main] CI build failure in CentOSStream9_Offline_x64 leg #3202

Closed
MichaelSimons opened this issue Jan 9, 2023 · 5 comments · Fixed by dotnet/installer#15289
Closed

[main] CI build failure in CentOSStream9_Offline_x64 leg #3202

MichaelSimons opened this issue Jan 9, 2023 · 5 comments · Fixed by dotnet/installer#15289
Assignees
Labels
area-testing Improvements in CI and testing up-for-grabs

Comments

@MichaelSimons
Copy link
Member

There is currently a build failure in the CentOSStream9_Offline_x64 leg in CI (internal Microsoft link). No Other CI leg is encountering this error.

    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.DesktopStrongNameProvider.<>c__DisplayClass12_0.<SignBuilder>b__0(IEnumerable`1 content) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at System.Reflection.PortableExecutable.PEBuilder.Sign(BlobBuilder peImage, Blob strongNameSignatureFixup, Func`2 signatureProvider) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.Cci.PeWriter.WritePeToStream(EmitContext context, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, Boolean metadataOnly, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.Compilation.SerializePeToStream(CommonPEModuleBuilder moduleBeingBuilt, DiagnosticBag metadataDiagnostics, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getMetadataPeStreamOpt, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, RebuildData rebuildData, Boolean metadataOnly, Boolean includePrivateMembers, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.Compilation.SerializeToPeStream(CommonPEModuleBuilder moduleBeingBuilt, EmitStreamProvider peStreamProvider, EmitStreamProvider metadataPEStreamProvider, EmitStreamProvider pdbStreamProvider, RebuildData rebuildData, Func`2 testSymWriterFactory, DiagnosticBag diagnostics, EmitOptions emitOptions, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommonCompiler.CompileAndEmit(TouchedFileLogger touchedFilesLogger, Compilation& compilation, ImmutableArray`1 analyzers, ImmutableArray`1 generators, ImmutableArray`1 additionalTextFiles, AnalyzerConfigSet analyzerConfigSet, ImmutableArray`1 sourceFileAnalyzerConfigOptions, ImmutableArray`1 embeddedTexts, DiagnosticBag diagnostics, CancellationToken cancellationToken, CancellationTokenSource& analyzerCts, AnalyzerDriver& analyzerDriver, Nullable`1& generatorTimingInfo) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.<>c__DisplayClass1_0.<Run>b__0(TextWriter tw) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.Run(String[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildClient.RunCompilation(IEnumerable`1 originalArguments, BuildPaths buildPaths, TextWriter textWriter, String pipeName) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(IEnumerable`1 arguments, RequestLanguage language, CompileFunc compileFunc, CompileOnServerFunc compileOnServerFunc) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.MainCore(String[] args) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(String[] args) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netstandard2.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : Unhandled exception. Interop+Crypto+OpenSslCryptographicException: error:03000098:digital envelope routines::invalid digest [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Interop.Crypto.RsaSignHash(SafeEvpPKeyHandle pkey, RSASignaturePaddingMode paddingMode, IntPtr digestAlgorithm, ReadOnlySpan`1 hash, Span`1 destination) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at System.Security.Cryptography.RSAOpenSsl.TrySignHash(ReadOnlySpan`1 hash, Span`1 destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, Boolean allocateSignature, Int32& bytesWritten, Byte[]& signature) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at System.Security.Cryptography.RSAOpenSsl.SignHash(Byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.SigningUtilities.CalculateRsaSignature(IEnumerable`1 content, RSAParameters privateKey) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.DesktopStrongNameProvider.<>c__DisplayClass12_0.<SignBuilder>b__0(IEnumerable`1 content) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at System.Reflection.PortableExecutable.PEBuilder.Sign(BlobBuilder peImage, Blob strongNameSignatureFixup, Func`2 signatureProvider) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.Cci.PeWriter.WritePeToStream(EmitContext context, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, Boolean metadataOnly, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.Compilation.SerializePeToStream(CommonPEModuleBuilder moduleBeingBuilt, DiagnosticBag metadataDiagnostics, CommonMessageProvider messageProvider, Func`1 getPeStream, Func`1 getMetadataPeStreamOpt, Func`1 getPortablePdbStreamOpt, PdbWriter nativePdbWriterOpt, String pdbPathOpt, RebuildData rebuildData, Boolean metadataOnly, Boolean includePrivateMembers, Boolean isDeterministic, Boolean emitTestCoverageData, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.Compilation.SerializeToPeStream(CommonPEModuleBuilder moduleBeingBuilt, EmitStreamProvider peStreamProvider, EmitStreamProvider metadataPEStreamProvider, EmitStreamProvider pdbStreamProvider, RebuildData rebuildData, Func`2 testSymWriterFactory, DiagnosticBag diagnostics, EmitOptions emitOptions, Nullable`1 privateKeyOpt, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommonCompiler.CompileAndEmit(TouchedFileLogger touchedFilesLogger, Compilation& compilation, ImmutableArray`1 analyzers, ImmutableArray`1 generators, ImmutableArray`1 additionalTextFiles, AnalyzerConfigSet analyzerConfigSet, ImmutableArray`1 sourceFileAnalyzerConfigOptions, ImmutableArray`1 embeddedTexts, DiagnosticBag diagnostics, CancellationToken cancellationToken, CancellationTokenSource& analyzerCts, AnalyzerDriver& analyzerDriver, Nullable`1& generatorTimingInfo) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.<>c__DisplayClass1_0.<Run>b__0(TextWriter tw) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.Run(String[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildClient.RunCompilation(IEnumerable`1 originalArguments, BuildPaths buildPaths, TextWriter textWriter, String pipeName) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(IEnumerable`1 arguments, RequestLanguage language, CompileFunc compileFunc, CompileOnServerFunc compileOnServerFunc) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.MainCore(String[] args) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(String[] args) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=netcoreapp3.0] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
    /vmr/src/source-build-reference-packages/artifacts/source-build/self/src/eng/SourceBuild.props(18,5): error MSB3073: The command "./build.sh --configuration Release /bl:/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/artifacts/sourcebuild-dependency-projects.binlog /p:LocalNuGetPackageCacheDirectory=/vmr/artifacts/obj/source-build-reference-package-cache /p:BuildDependencyPackageProjects=true /p:SetUpSourceBuildIntermediateNupkgCache=true /p:DotNetBuildFromSource=true /p:ArcadeInnerBuildFromSource=true" exited with code 1. [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]
@dotnet-issue-labeler dotnet-issue-labeler bot added area-testing Improvements in CI and testing untriaged labels Jan 9, 2023
@MichaelSimons MichaelSimons moved this to 8.0 Preview 1 in .NET Source Build Jan 9, 2023
@omajid
Copy link
Member

omajid commented Jan 9, 2023

This feels like dotnet/runtime#65874. Is there an OpenSslCryptographicException in the log?

@MichaelSimons
Copy link
Member Author

Yes there is

/vmr/.dotnet/sdk/8.0.100-alpha.1.22579.5/Roslyn/Microsoft.CSharp.Core.targets(80,5): error : Unhandled exception. Interop+Crypto+OpenSslCryptographicException: error:03000098:digital envelope routines::invalid digest [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/referencePackages/src/system.drawing.common/4.7.2/System.Drawing.Common.4.7.2.csproj::TargetFramework=net461] [/vmr/prereqs/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/7.0.0-beta.22513.4/tools/Build.proj]

@mthalman mthalman moved this from 8.0 Preview 1 to In Progress in .NET Source Build Jan 12, 2023
@mthalman
Copy link
Member

So far I've verified that this is caused by a newer version of the Centos Stream 9 Docker image referenced in the pipeline: https://github.com/dotnet/dotnet/blob/46a1c2be501862fa56901c9c127d875750a37012/src/installer/eng/pipelines/templates/stages/vmr-build.yml#L17

For reference, the build for .NET 7 is successful because it uses an older version of the Docker image:
https://github.com/dotnet/installer/blob/1e15b09a1df5407ba921ac4212d1fdeadecbf215/src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml#L13

In addition, I also verified that setting OPENSSL_ENABLE_SHA1_SIGNATURES=1 for the container does get rid of the error.

I'll investigate further to see what I can find about the difference between the two Docker image versions that caused this to occur.

@mthalman
Copy link
Member

I've identified that the regression occurred as a result of the difference between these two images:

  • mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9-20220107135047-4cd394c
  • mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9-20220420192933-4cd394c

I'll dig into those to see what I find for differences.

@omajid
Copy link
Member

omajid commented Jan 13, 2023

CentOS Stream 9 is based on RHEL 9's development branch - it tracks what will release as the next minor update for RHEL 9.x.

The first image, based on the date, was built on/around 2022-01-07. RHEL 9.0 was released in May 2022. So the first Centos Stream 9 image is actually a snapshot of a pre-GA release of of a RHEL 9.

This commit to OpenSSL 3.0 in CentOS Stream 9 (and in RHEL 9.0) disabled SHA1 as a crypto algorithm in many (but not all) configurations. It was made in February 2022, so it was not present in the first container image. Strong naming needs SHA1, so with SHA1 disabled, it's broken. There's more details on the Strong Naming and CentOS Stream 9/RHEL 9 interaction at dotnet/runtime#65874, including, I think our plan to eventually use PublicSigning by default when building .NET on non-Windows using source-build.

There's also #2907 that's about getting source-build to use PublicSign everywhere.

@github-project-automation github-project-automation bot moved this from In Progress to Done in .NET Source Build Jan 19, 2023
omajid added a commit to omajid/dotnet-installer that referenced this issue Mar 20, 2023
Full Signing requires RSA+SHA1 which is disabled in some environments
(eg, RHEL 9, CentOS Stream 9). Expose a top-level flag to allow that to
be disabled easily by users.

The actual implementation of that flag is not here; it's in arcade (see
dotnet/arcade#12749). Some repos have some
nice-to-have fixes (eg,
dotnet/source-build-reference-packages#566), but
it's mostly optional. The bootstrap arcade SDK being used to build this
needs needs to contain the changes for us to be able to build SBRP and
then arcade and then all the other repos that will use arcade.

For more context around RSA+SHA1 and the alternative (using public
signing), see:

- dotnet/runtime#65874
- dotnet/source-build#3202
- dotnet/arcade#12515
omajid added a commit to omajid/dotnet-installer that referenced this issue Mar 21, 2023
Full Signing requires RSA+SHA1 which is disabled in some environments
(eg, RHEL 9, CentOS Stream 9). Default to turning it off. Expose a
top-level property to allow Full Signing to be re-enabled by users.

The actual implementation of that flag is not here; it's in arcade (see
dotnet/arcade#12749). Some repos have some
nice-to-have fixes (eg,
dotnet/source-build-reference-packages#566), but
it's mostly optional. The bootstrap arcade SDK being used to build this
needs needs to contain the changes for us to be able to build SBRP and
arcade; then all the other repos that will use the just-built arcade.

For more context around RSA+SHA1 and the alternative (using public
signing), see:

- dotnet/runtime#65874
- dotnet/source-build#3202
- dotnet/arcade#12515
omajid added a commit to omajid/dotnet-arcade that referenced this issue Mar 22, 2023
Full Signing requires RSA+SHA1 which is disabled in some environments
(eg, RHEL 9, CentOS Stream 9). Default to turning it off. Expose a
top-level property to allow Full Signing to be re-enabled by users.

The actual implementation of that flag was in dotnet#12749 (commit
3840d43).

Once a version of arcade including this fix is used to build the
individual repos (in source-build mode) or the VMR, everything should
default to public signing.

For more context around RSA+SHA1 and the alternative (using public
signing), see:

- dotnet/runtime#65874
- dotnet/source-build#3202
- dotnet#12515
- dotnet/installer#15873
omajid added a commit to omajid/dotnet-arcade that referenced this issue Mar 24, 2023
Full Signing requires RSA+SHA1 which is disabled in some environments
(eg, RHEL 9, CentOS Stream 9). Default to turning it off. Expose a
top-level property to allow Full Signing to be re-enabled by users.

The actual implementation of that flag was in dotnet#12749 (commit
3840d43).

Once a version of arcade including this fix is used to build the
individual repos (in source-build mode) or the VMR, everything should
default to public signing.

For more context around RSA+SHA1 and the alternative (using public
signing), see:

- dotnet/runtime#65874
- dotnet/source-build#3202
- dotnet#12515
- dotnet/installer#15873
omajid added a commit to omajid/dotnet-arcade that referenced this issue Mar 30, 2023
Full Signing requires RSA+SHA1 which is disabled in some environments
(eg, RHEL 9, CentOS Stream 9). Default to turning it off. Expose a
top-level property to allow Full Signing to be re-enabled by users.

The actual implementation of that flag was in dotnet#12749 (commit
3840d43).

Once a version of arcade including this fix is used to build the
individual repos (in source-build mode) or the VMR, everything should
default to public signing.

For more context around RSA+SHA1 and the alternative (using public
signing), see:

- dotnet/runtime#65874
- dotnet/source-build#3202
- dotnet#12515
- dotnet/installer#15873
mmitche pushed a commit to dotnet/arcade that referenced this issue Mar 31, 2023
Full Signing requires RSA+SHA1 which is disabled in some environments
(eg, RHEL 9, CentOS Stream 9). Default to turning it off. Expose a
top-level property to allow Full Signing to be re-enabled by users.

The actual implementation of that flag was in #12749 (commit
3840d43).

Once a version of arcade including this fix is used to build the
individual repos (in source-build mode) or the VMR, everything should
default to public signing.

For more context around RSA+SHA1 and the alternative (using public
signing), see:

- dotnet/runtime#65874
- dotnet/source-build#3202
- #12515
- dotnet/installer#15873
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Improvements in CI and testing up-for-grabs
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants