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

Test failure in Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll #57560

Closed
allisonchou opened this issue Nov 3, 2021 · 3 comments · Fixed by #58500
Closed

Test failure in Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll #57560

allisonchou opened this issue Nov 3, 2021 · 3 comments · Fixed by #58500
Assignees
Labels

Comments

@allisonchou
Copy link
Contributor

allisonchou commented Nov 3, 2021

Example build: https://runfo.azurewebsites.net/view/build/?number=1451959

Example Helix failure log:

Console log: 'Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll.10' from job 2cadf868-1383-4a23-a2b0-fd151cf8154d workitem 8f37843c-36cd-4f14-8105-adb1d2630a74 (osx.1014.amd64.open) executed on machine dci-mac-build-022
+ export PATH=/tmp/helix/working/AE820969/p/dotnet-cli:/usr/bin:/bin:/usr/sbin:/sbin
+ PATH=/tmp/helix/working/AE820969/p/dotnet-cli:/usr/bin:/bin:/usr/sbin:/sbin
+ export DOTNET_ROOT=/tmp/helix/working/AE820969/p/dotnet-cli
+ DOTNET_ROOT=/tmp/helix/working/AE820969/p/dotnet-cli
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export DOTNET_CLI_HOME=/tmp/helix/working/AE820969/w/A751090F/e/.dotnet
+ DOTNET_CLI_HOME=/tmp/helix/working/AE820969/w/A751090F/e/.dotnet
+ export NUGET_PACKAGES=/tmp/helix/working/AE820969/w/A751090F/e/.nuget
+ NUGET_PACKAGES=/tmp/helix/working/AE820969/w/A751090F/e/.nuget
+ ls
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.deps.json
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.runtimeconfig.json
Microsoft.DiaSymReader.Native.amd64.dll
Microsoft.DiaSymReader.Native.x86.dll
ref
rehydrate.sh
runtimes
xunit.runner.json
+ ./rehydrate.sh
+ ls
Basic.Reference.Assemblies.Net50.dll
Basic.Reference.Assemblies.Net60.dll
Basic.Reference.Assemblies.NetStandard20.dll
Castle.Core.dll
DiffPlex.dll
Humanizer.dll
ICSharpCode.Decompiler.dll
Microsoft.CodeAnalysis.AnalyzerUtilities.dll
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.deps.json
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.runtimeconfig.json
Microsoft.CodeAnalysis.CSharp.Test.Utilities.dll
Microsoft.CodeAnalysis.CSharp.dll
Microsoft.CodeAnalysis.Compiler.Test.Resources.dll
Microsoft.CodeAnalysis.Test.Resources.Proprietary.dll
Microsoft.CodeAnalysis.Test.Utilities.dll
Microsoft.CodeAnalysis.VisualBasic.dll
Microsoft.CodeAnalysis.dll
Microsoft.DiaSymReader.Converter.Xml.dll
Microsoft.DiaSymReader.Converter.dll
Microsoft.DiaSymReader.Native.amd64.dll
Microsoft.DiaSymReader.Native.x86.dll
Microsoft.DiaSymReader.PortablePdb.dll
Microsoft.DiaSymReader.dll
Microsoft.Metadata.Visualizer.dll
Microsoft.TestPlatform.CommunicationUtilities.dll
Microsoft.TestPlatform.CoreUtilities.dll
Microsoft.TestPlatform.CrossPlatEngine.dll
Microsoft.TestPlatform.PlatformAbstractions.dll
Microsoft.TestPlatform.Utilities.dll
Microsoft.VisualStudio.CodeCoverage.Shim.dll
Microsoft.VisualStudio.TestPlatform.Common.dll
Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestAdapter.dll
Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestLogger.dll
Microsoft.VisualStudio.TestPlatform.ObjectModel.dll
Moq.dll
Newtonsoft.Json.dll
NuGet.Frameworks.dll
Roslyn.Test.PdbUtilities.dll
Xunit.Combinatorial.dll
cs
de
es
fr
it
ja
ko
pl
pt-BR
ref
rehydrate.sh
ru
runtimes
testhost.dll
tr
xunit.abstractions.dll
xunit.assert.dll
xunit.core.dll
xunit.execution.dotnet.dll
xunit.runner.json
xunit.runner.reporters.netcoreapp10.dll
xunit.runner.utility.netcoreapp10.dll
xunit.runner.visualstudio.dotnetcore.testadapter.dll
zh-Hans
zh-Hant
+ export DOTNET_ROLL_FORWARD=LatestMajor
+ DOTNET_ROLL_FORWARD=LatestMajor
+ export DOTNET_ROLL_FORWARD_TO_PRERELEASE=1
+ DOTNET_ROLL_FORWARD_TO_PRERELEASE=1
+ dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.100-rc.2.21505.57
 Commit:    ab39070116

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /private/tmp/helix/working/AE820969/p/dotnet-cli/sdk/6.0.100-rc.2.21505.57/

Host (useful for support):
  Version: 6.0.0-rc.2.21480.5
  Commit:  6b11d64e7e

.NET SDKs installed:
  6.0.100-rc.2.21505.57 [/private/tmp/helix/working/AE820969/p/dotnet-cli/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.0-rc.2.21480.10 [/private/tmp/helix/working/AE820969/p/dotnet-cli/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.0-rc.2.21480.5 [/private/tmp/helix/working/AE820969/p/dotnet-cli/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download
+ dotnet test Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll --filter 'Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenThrowTests|Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests|Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleEqualityTests|Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests' --framework net6.0 --logger 'xunit;LogFilePath=./Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll.10_net6.0_x64_test_results.xml'

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.100-rc.2.21505.57

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Microsoft (R) Test Execution Command Line Tool Version 17.0.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:05.16]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort07 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort07 [1 ms]
[xUnit.net 00:00:06.23]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort01 [SKIP]
[xUnit.net 00:00:06.25]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort03 [SKIP]
[xUnit.net 00:00:06.26]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort02 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort01 [1 ms]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort03 [1 ms]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort02 [1 ms]
[xUnit.net 00:00:06.29]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort05 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort05 [1 ms]
[xUnit.net 00:00:06.37]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort04 [SKIP]
[xUnit.net 00:00:06.37]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort06 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort04 [1 ms]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTryFinallyTests.NestedExceptionHandlersThreadAbort06 [1 ms]
[xUnit.net 00:00:08.10]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_01 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_01 [1 ms]
[xUnit.net 00:00:09.41]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.LongTupleDeclaration [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.LongTupleDeclaration [1 ms]
[xUnit.net 00:00:09.44]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_02 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_02 [1 ms]
[xUnit.net 00:00:10.18]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.ConstantTypeFromReferencedAssembly [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.ConstantTypeFromReferencedAssembly [1 ms]
[xUnit.net 00:00:10.84]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.RefTupleDynamicDecode004 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.RefTupleDynamicDecode004 [1 ms]
[xUnit.net 00:00:13.60]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.RefTupleDynamicDecode001 [SKIP]
[xUnit.net 00:00:13.60]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_03 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.RefTupleDynamicDecode001 [1 ms]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_03 [1 ms]
[xUnit.net 00:00:13.94]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.TupleInConstant [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.TupleInConstant [1 ms]
[xUnit.net 00:00:14.10]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.ConstraintsAndNames [SKIP]
[xUnit.net 00:00:14.12]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.CreationOfTupleSymbols_01 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.ConstraintsAndNames [1 ms]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.CreationOfTupleSymbols_01 [1 ms]
[xUnit.net 00:00:14.64]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.Inference06 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.Inference06 [1 ms]
[xUnit.net 00:00:15.68]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_05 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_05 [1 ms]
[xUnit.net 00:00:15.92]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.LambdaTypeInferenceWithDynamic [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.LambdaTypeInferenceWithDynamic [1 ms]
[xUnit.net 00:00:16.17]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_09 [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_09 [1 ms]
[xUnit.net 00:00:16.77]     Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_LongTuple [SKIP]
  Skipped Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.DefaultAndFriendlyElementNames_LongTuple [1 ms]
AssertOrFailFast failed
   at Roslyn.Utilities.RoslynDebug.AssertOrFailFast(Boolean condition, String message)
   at Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.TupleWithElementNamedWithDefaultName()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Xunit.Sdk.TestInvoker`1.CallTestMethod(Object testClassInstance)
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<InvokeTestMethodAsync>b__1()
   at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction)
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<InvokeTestMethodAsync>b__0()
   at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code)
   at Xunit.Sdk.TestInvoker`1.InvokeTestMethodAsync(Object testClassInstance)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.TestInvoker`1.InvokeTestMethodAsync(Object testClassInstance)
   at Xunit.Sdk.XunitTestInvoker.InvokeTestMethodAsync(Object testClassInstance)
   at Xunit.Sdk.TestInvoker`1.<RunAsync>b__47_0()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.TestInvoker`1.<RunAsync>b__47_0()
   at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)
   at Xunit.Sdk.TestInvoker`1.RunAsync()
   at Xunit.Sdk.XunitTestRunner.InvokeTestMethodAsync(ExceptionAggregator aggregator)
   at Xunit.Sdk.XunitTestRunner.InvokeTestAsync(ExceptionAggregator aggregator)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.XunitTestRunner.InvokeTestAsync(ExceptionAggregator aggregator)
   at Xunit.Sdk.TestRunner`1.<>c__DisplayClass43_0.<RunAsync>b__0()
   at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)
   at Xunit.Sdk.TestRunner`1.RunAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.TestRunner`1.RunAsync()
   at Xunit.Sdk.XunitTestCaseRunner.RunTestAsync()
   at Xunit.Sdk.TestCaseRunner`1.RunAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.TestCaseRunner`1.RunAsync()
   at Xunit.Sdk.XunitTestCase.RunAsync(IMessageSink diagnosticMessageSink, IMessageBus messageBus, Object[] constructorArguments, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource)
   at Xunit.Sdk.XunitTestMethodRunner.RunTestCaseAsync(IXunitTestCase testCase)
   at Xunit.Sdk.TestMethodRunner`1.RunTestCasesAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.TestMethodRunner`1.RunTestCasesAsync()
   at Xunit.Sdk.TestMethodRunner`1.RunAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Xunit.Sdk.TestMethodRunner`1.RunAsync()
   at Xunit.Sdk.XunitTestClassRunner.RunTestMethodAsync(ITestMethod testMethod, IReflectionMethodInfo method, IEnumerable`1 testCases, Object[] constructorArguments)
   at Xunit.Sdk.TestClassRunner`1.RunTestMethodsAsync()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecuteFromThreadPool(Thread threadPoolThread)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()

The active test run was aborted. Reason: Test host process crashed : Process terminated. AssertOrFailFast failed
   at System.Environment.FailFast(System.String)
   at Roslyn.Utilities.RoslynDebug.AssertOrFailFast(Boolean, System.String)
   at Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleTests.TupleWithElementNamedWithDefaultName()
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Span`1<System.Object> ByRef, System.Signature, Boolean, Boolean)
   at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
   at Xunit.Sdk.TestInvoker`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].CallTestMethod(System.Object)
   at Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1+<<InvokeTestMethodAsync>b__1>d[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1+<<InvokeTestMethodAsync>b__1>d[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<<InvokeTestMethodAsync>b__1>d<System.__Canon> ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1+<<InvokeTestMethodAsync>b__1>d[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<<InvokeTestMethodAsync>b__1>d<System.__Canon> ByRef)
   at Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<InvokeTestMethodAsync>b__1()
   at Xunit.Sdk.ExecutionTimer+<AggregateAsync>d__4.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.ExecutionTimer+<AggregateAsync>d__4, xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<AggregateAsync>d__4 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Xunit.Sdk.ExecutionTimer+<AggregateAsync>d__4, xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<AggregateAsync>d__4 ByRef)
   at Xunit.Sdk.ExecutionTimer.AggregateAsync(System.Func`1<System.Threading.Tasks.Task>)
   at Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<InvokeTestMethodAsync>b__0()
   at Xunit.Sdk.ExceptionAggregator+<RunAsync>d__9.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.ExceptionAggregator+<RunAsync>d__9, xunit.core, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<RunAsync>d__9 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Xunit.Sdk.ExceptionAggregator+<RunAsync>d__9, xunit.core, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<RunAsync>d__9 ByRef)
   at Xunit.Sdk.ExceptionAggregator.RunAsync(System.Func`1<System.Threading.Tasks.Task>)
   at Xunit.Sdk.TestInvoker`1+<InvokeTestMethodAsync>d__48[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.TestInvoker`1+<InvokeTestMethodAsync>d__48[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<InvokeTestMethodAsync>d__48<System.__Canon> ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Decimal, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Xunit.Sdk.TestInvoker`1+<InvokeTestMethodAsync>d__48[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<InvokeTestMethodAsync>d__48<System.__Canon> ByRef)
   at Xunit.Sdk.TestInvoker`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InvokeTestMethodAsync(System.Object)
   at Xunit.Sdk.XunitTestInvoker.InvokeTestMethodAsync(System.Object)
   at Xunit.Sdk.TestInvoker`1+<<RunAsync>b__47_0>d[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.TestInvoker`1+<<RunAsync>b__47_0>d[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<<RunAsync>b__47_0>d<System.__Canon> ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Decimal, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Xunit.Sdk.TestInvoker`1+<<RunAsync>b__47_0>d[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<<RunAsync>b__47_0>d<System.__Canon> ByRef)
   at Xunit.Sdk.TestInvoker`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<RunAsync>b__47_0()
   at Xunit.Sdk.ExceptionAggregator+<RunAsync>d__10`1[[System.Decimal, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.ExceptionAggregator+<RunAsync>d__10`1[[System.Decimal, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.core, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<RunAsync>d__10`1<System.Decimal> ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Decimal, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Xunit.Sdk.ExceptionAggregator+<RunAsync>d__10`1[[System.Decimal, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.core, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<RunAsync>d__10`1<System.Decimal> ByRef)
   at Xunit.Sdk.ExceptionAggregator.RunAsync[[System.Decimal, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`1<System.Threading.Tasks.Task`1<System.Decimal>>)
   at Xunit.Sdk.TestInvoker`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].RunAsync()
   at Xunit.Sdk.XunitTestRunner.InvokeTestMethodAsync(Xunit.Sdk.ExceptionAggregator)
   at Xunit.Sdk.XunitTestRunner+<InvokeTestAsync>d__4.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.XunitTestRunner+<InvokeTestAsync>d__4, xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<InvokeTestAsync>d__4 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Xunit.Sdk.XunitTestRunner+<InvokeTestAsync>d__4, xunit.execution.dotnet, Version=2.4.1.4059, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<InvokeTestAsync>d__4 ByRef)
   at Xunit.Sdk.XunitTestRunner.InvokeTestAsync(Xunit.Sdk.ExceptionAggregator)
   at Xunit.Sdk.TestRunner`1+<>c__DisplayClass43_0[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<RunAsync>b__0()
   at Xunit.Sdk.Exc
Results File: /private/tmp/helix/working/AE820969/w/A751090F/e/Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll.10_net6.0_x64_test_results.xml

Passed!  - Failed:     0, Passed:   383, Skipped:    22, Total:   405, Duration: 12 s - /private/tmp/helix/working/AE820969/w/A751090F/e/Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll (net6.0)
Test Run Aborted with error System.Exception: One or more errors occurred.
 ---> System.Exception: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.Read7BitEncodedInt()
   at System.IO.BinaryReader.ReadString()
   at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.LengthPrefixCommunicationChannel.NotifyDataAvailable()
   at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TcpClientExtensions.MessageLoopAsync(TcpClient client, ICommunicationChannel channel, Action`1 errorHandler, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---.
+ export _commandExitCode=1
+ _commandExitCode=1
+ /usr/local/bin/python3 /tmp/helix/working/AE820969/p/reporter/run.py https://dev.azure.com/dnceng/ public 41784598 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im9PdmN6NU1fN3AtSGpJS2xGWHo5M3VfVjBabyJ9.eyJuYW1laWQiOiJlNDI4NWM4Yy0zZmQ1LTQyNjctOWIxYy00MjE5NWM0N2E1NTMiLCJzY3AiOiJhcHBfdG9rZW4iLCJhdWkiOiJjZmE0NmUyMy03MGNmLTQ4MDgtOTJhZS1lODQwOGYyZDcxYjIiLCJzaWQiOiIwYWVhZDcwMi1kNmM2LTQ3YWUtOTRkNC1iNGI5NWNhNDBjYTkiLCJCdWlsZElkIjoiOWVlNmQ0NzgtZDI4OC00N2Y3LWFhY2MtZjZlNmQwODJhZTZkOzE0NTE5NTkiLCJwcGlkIjoidnN0ZnM6Ly8vQnVpbGQvQnVpbGQvMTQ1MTk1OSIsIm9yY2hpZCI6IjJjNDk2NmIzLTg5YTUtNGQ1OC04NjFlLTZlMTM0N2RkNTQ0Ni50ZXN0X21hY29zX2RlYnVnLl9fZGVmYXVsdCIsImlzcyI6ImFwcC52c3Rva2VuLnZpc3VhbHN0dWRpby5jb20iLCJhdWQiOiJhcHAudnN0b2tlbi52aXN1YWxzdHVkaW8uY29tfHZzbzpiNTVkZTRlZC00YjVhLTQyMTUtYThlNC0wYTBhNWY3MWU3ZDgiLCJuYmYiOjE2MzU5MDc0MTMsImV4cCI6MTYzNTkxNDAxM30.D15EmaaEK-Z82vBtUcnuvNXjGvxb8T-YTvP-cuqfioRse8ehCi9u0z0OdzytPdJFZcOwHInYKmm8qIdY4X9bY0P7eoQ3E2ilVyhu6OGuyvySELdhoM3sEXVTe0Xg6EsN_U86_pa8rOgbkiY-_UKJGEJkWJBoxuwFz1cipVr4JZXRjpvdpnZG6ry-ha0PnELxm_n2qldqsa3Gyy3_Q5EBAI-Ygd2Lijk8KQeUEFjbwFUZmlZwVIXlCeVJ_7bfLjWdh-MMQErHiDlX5WnRo_OVOuUsUZhfwi8KoiGDRgNm3rWyksrO2tzg4yExJ31hNR8Kvo0kxxILdy3Eu5mY8rJA_A
2021-11-02 22:58:27,204: INFO: 4434068928: run(48): main: Beginning reading of test results.
2021-11-02 22:58:27,205: INFO: 4434068928: __init__(48): get_log_files: Searching '/tmp/helix/working/AE820969/w/A751090F/e/..' for log files
2021-11-02 22:58:27,205: INFO: 4434068928: __init__(66): construct_log_list: Generated log list: console.005e4ded.log:
  https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-roslyn-refs-heads-main-vs-deps-2cadf86813834a23a2/Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll.10/console.005e4ded.log?sv=2019-07-07&se=2021-11-23T02%3A54%3A55Z&sr=c&sp=rl&sig=ldPdxHVjM7I95r%2Ff6v33lIdg9uUJf73rPWIRDaDVapM%3D

2021-11-02 22:58:27,205: INFO: 4434068928: __init__(90): read_results: Searching '/private/tmp/helix/working/AE820969/w/A751090F/e' for test results files
2021-11-02 22:58:27,205: INFO: 4434068928: __init__(96): read_results: Found results file /private/tmp/helix/working/AE820969/w/A751090F/e/Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll.10_net6.0_x64_test_results.xml with format xunit
2021-11-02 22:58:27,236: INFO: 4434068928: __init__(90): read_results: Searching '/tmp/helix/working/AE820969/w/A751090F/uploads' for test results files
2021-11-02 22:58:27,257: INFO: 4434068928: packing_test_reporter(30): report_results: Packing 405 test reports to '/tmp/helix/working/AE820969/w/A751090F/e/__test_report.json'
2021-11-02 22:58:27,259: INFO: 4434068928: packing_test_reporter(33): report_results: Packed 123475 bytes
Found log '/tmp/helix/working/AE820969/w/A751090F/e/../console.005e4ded.log'
Uri 'https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-roslyn-refs-heads-main-vs-deps-2cadf86813834a23a2/Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.dll.10/console.005e4ded.log?sv=2019-07-07&se=2021-11-23T02%3A54%3A55Z&sr=c&sp=rl&sig=ldPdxHVjM7I95r%2Ff6v33lIdg9uUJf73rPWIRDaDVapM%3D'
+ exit 1

https://runfo.azurewebsites.net/tracking/issue/242/

Build Kind Console
1603116 PR 59426 console.log
1602458 PR 59416 console.log
1601914 PR 37994 console.log
1601139 PR 59397 console.log
1600820 PR 59390 console.log
1598192 PR 59343 console.log
1596267 PR 54741 console.log
1594989 Rolling console.log
1594257 Rolling console.log
1593530 PR 59302 console.log
1593241 PR 59266 console.log
1592524 PR 59276 console.log
1590596 PR 59254 console.log
1590553 PR 59248 console.log
1588054 Rolling console.log
1587447 PR 59211 console.log
1585720 PR 59208 console.log
1583308 Rolling console.log
1582848 PR 59181 console.log
1581745 PR 59159 console.log
1581321 PR 57172 console.log
1580474 PR 59160 console.log
1579943 PR 59034 console.log
1578889 PR 59097 console.log
1576182 Rolling console.log
1575673 PR 59109 console.log
1574802 PR 59092 console.log
1574469 Rolling console.log
1573629 Rolling console.log
1571460 Rolling console.log
1570538 PR 59051 console.log
1570008 PR 31843 console.log
1567635 PR 52801 console.log
1567216 PR 59024 console.log
1566269 Rolling console.log
1565655 PR 58987 console.log
1565147 PR 46349 console.log
1562443 PR 58965 console.log
1560897 PR 58946 console.log
1559717 PR 58936 console.log
1558302 PR 57969 console.log
1554147 Rolling console.log
1553938 PR 58807 console.log
1552485 PR 58857 console.log
1552025 PR 58785 console.log
1551810 Rolling console.log
1551579 PR 58845 console.log
1549821 PR 58814 console.log
1547863 PR 58791 console.log
1547523 PR 58700 console.log
@allisonchou allisonchou added Test Test failures in roslyn-CI Flaky Infraswat labels Nov 3, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 3, 2021
@jinujoseph jinujoseph added this to the Backlog milestone Nov 4, 2021
@jinujoseph jinujoseph removed the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 4, 2021
@RikkiGibson
Copy link
Contributor

Looks like a recurrence of #52658.

@runfoapp runfoapp bot removed this from the Backlog milestone Dec 8, 2021
@runfoapp runfoapp bot closed this as completed Dec 8, 2021
@dibarbet dibarbet reopened this Dec 8, 2021
@dibarbet
Copy link
Member

dibarbet commented Dec 8, 2021

Very possibly related to #52658 - it is the same test except the work item is crashing in this instance.

@runfoapp runfoapp bot closed this as completed Dec 8, 2021
@dibarbet dibarbet reopened this Dec 8, 2021
@jcouv jcouv added this to the 17.2 milestone Feb 11, 2022
@jcouv jcouv moved this to Active/Investigating in Compiler: Julien's umbrellas Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants