mystikos icon indicating copy to clipboard operation
mystikos copied to clipboard

dotnet test suite failed on eventpipe

Open jxyang opened this issue 3 years ago • 0 comments

Currently most the failed test cases in the dotnet P0 test suite are due to event pipe:

https://github.com/deislabs/mystikos/blob/main/solutions/coreclr/pr0-FAILED

All of them failed with similar messages below. I guess our implementation of pipe is different from Linux and the dotnet runtime detected that.

myst exec --app-config-path=config_4g.json ext2fs /coreclr-tests-all/Tests/Core_Root/corerun /coreclr-tests-all/tracing/eventpipe/buffersize/buffersize/buffersize.dll 0.0s: ==TEST STARTING== 0.5s: Started sending sentinel events... 0.5s: Connecting to EventPipe... 0.5s: Starting event generating action... 0.5s: Stopping event generating action 0.5s: Sending StopTracing command... 0.5s: Finished StopTracing command 0.6s: System.AggregateException: One or more errors occurred. (Process 101 not running compatible .NET Core runtime) ---> System.PlatformNotSupportedException: Process 101 not running compatible .NET Core runtime at Microsoft.Diagnostics.Tools.RuntimeClient.DiagnosticsIpc.IpcClient.GetTransport(Int32 processId) at Microsoft.Diagnostics.Tools.RuntimeClient.DiagnosticsIpc.IpcClient.SendMessage(Int32 processId, IpcMessage message, IpcMessage& response) at Microsoft.Diagnostics.Tools.RuntimeClient.EventPipeClient.CollectTracing(Int32 processId, SessionConfiguration configuration, UInt64& sessionId) at Tracing.Tests.Common.IpcTraceTest.<>c__DisplayClass8_0.<Validate>b__1() in /build/runtime/src/tests/tracing/eventpipe/common/IpcTraceTest.cs:line 213 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at Tracing.Tests.Common.IpcTraceTest.Validate() in /build/runtime/src/tests/tracing/eventpipe/common/IpcTraceTest.cs:line 310 at Tracing.Tests.Common.IpcTraceTest.RunAndValidateEventCounts(Dictionary2 expectedEventCounts, Action eventGeneratingAction, Nullable1 sessionConfiguration, Func`2 optionalTraceValidator) in /build/runtime/src/tests/tracing/eventpipe/common/IpcTraceTest.cs:line 403 0.6s: ==TEST FINISHED: FAILED!==

jxyang avatar Jan 14 '22 19:01 jxyang