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

Use the managed signer to remove the code signature from singlefile bundles #110063

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Use the managed signer to remove the code signature from singlefile b…

5d949a1
Select commit
Loading
Failed to load commit list.
Open

Use the managed signer to remove the code signature from singlefile bundles #110063

Use the managed signer to remove the code signature from singlefile b…
5d949a1
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime failed Nov 21, 2024 in 2h 6m 38s

Build #20241121.33 had test failures

Details

Tests

  • Failed: 6 (0.07%)
  • Passed: 8,469 (99.79%)
  • Other: 12 (0.14%)
  • Total: 8,487

Annotations

Check failure on line 0 in VSTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

VSTest#L0

VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: /__w/1/s/artifacts/TestResults/Release/Microsoft.NET.HostModel.Tests_net9.0_x64.html [net9.0|x64]

Check failure on line 0 in VSTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

VSTest#L0

VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\Microsoft.NET.HostModel.Tests_net9.0_x64.html [net9.0|x64]

Check failure on line 0 in VSTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

VSTest#L0

VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\TestResults\Debug\Microsoft.NET.HostModel.Tests_net9.0_x64.html [net9.0|x64]

Check failure on line 1 in Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: False)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: False)

System.ComponentModel.Win32Exception : An error occurred trying to start process '/usr/bin/codesign' with working directory '/__w/1/s/artifacts/bin/Microsoft.NET.HostModel.Tests/Release/net9.0'. No such file or directory
Raw output
   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Microsoft.DotNet.CoreSetup.Codesign.Run(String args, String binaryPath) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Codesign.cs:line 29
   at Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(Boolean shouldCodesign) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Bundle/BundlerConsistencyTests.cs:line 340
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: True)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: True)

System.ComponentModel.Win32Exception : An error occurred trying to start process '/usr/bin/codesign' with working directory '/__w/1/s/artifacts/bin/Microsoft.NET.HostModel.Tests/Release/net9.0'. No such file or directory
Raw output
   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Microsoft.DotNet.CoreSetup.Codesign.Run(String args, String binaryPath) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Codesign.cs:line 29
   at Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(Boolean shouldCodesign) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Bundle/BundlerConsistencyTests.cs:line 340
   at InvokeStub_BundlerConsistencyTests.MacOSBundleIsCodeSigned(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: False)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: False)

Microsoft.VisualStudio.TestPlatform.TestHost.DebugAssertException : Method Debug.Fail failed with '
', and was translated to Microsoft.VisualStudio.TestPlatform.TestHost.DebugAssertException to avoid terminating the process hosting the test.
Raw output
   at Microsoft.VisualStudio.TestPlatform.TestHost.TestHostTraceListener.GetException(String message)
   at Microsoft.VisualStudio.TestPlatform.TestHost.TestHostTraceListener.Fail(String message, String detailMessage)
   at System.Diagnostics.TraceInternal.Fail(String message, String detailMessage)
   at System.Diagnostics.Debug.Fail(String message, String detailMessage)
   at Microsoft.DotNet.CoreSetup.Codesign.Run(String args, String binaryPath) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Codesign.cs:line 18
   at Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(Boolean shouldCodesign) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Bundle/BundlerConsistencyTests.cs:line 340
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Check failure on line 1 in Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: True)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(shouldCodesign: True)

Microsoft.VisualStudio.TestPlatform.TestHost.DebugAssertException : Method Debug.Fail failed with '
', and was translated to Microsoft.VisualStudio.TestPlatform.TestHost.DebugAssertException to avoid terminating the process hosting the test.
Raw output
   at Microsoft.VisualStudio.TestPlatform.TestHost.TestHostTraceListener.GetException(String message)
   at Microsoft.VisualStudio.TestPlatform.TestHost.TestHostTraceListener.Fail(String message, String detailMessage)
   at System.Diagnostics.TraceInternal.Fail(String message, String detailMessage)
   at System.Diagnostics.Debug.Fail(String message, String detailMessage)
   at Microsoft.DotNet.CoreSetup.Codesign.Run(String args, String binaryPath) in /_/src/installer/managed/Microsoft.NET.HostModel/Bundle/Codesign.cs:line 18
   at Microsoft.NET.HostModel.Bundle.Tests.BundlerConsistencyTests.MacOSBundleIsCodeSigned(Boolean shouldCodesign) in /_/src/installer/tests/Microsoft.NET.HostModel.Tests/Bundle/BundlerConsistencyTests.cs:line 340
   at InvokeStub_BundlerConsistencyTests.MacOSBundleIsCodeSigned(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()