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

tracing/eventpipe/eventsourceerror/eventsourceerror failing in local coreclr test run #56633

Closed
janvorli opened this issue Jul 30, 2021 · 10 comments

Comments

@janvorli
Copy link
Member

I have this test failing consistently if run as part of the coreclr test suite locally on my Linux dev box. Running it standalone doesn't repro the issue for me.

This is the test error output:

[/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh]:

Process terminated. Assertion failed.
   at System.Diagnostics.Tracing.EventSource.DecodeObjects(Object[] decodedObjects, Type[] parameterTypes, EventData* data) in System.Private.CoreLib.dll:token 0x600654e+0x0
   at System.Diagnostics.Tracing.EventSource.WriteToAllListeners(EventWrittenEventArgs eventCallbackArgs, Int32 eventDataCount, EventData* data) in System.Private.CoreLib.dll:token 0x6006554+0x11a
   at System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityIdCore(Int32 eventId, Guid* relatedActivityId, Int32 eventDataCount, EventData* data) in System.Private.CoreLib.dll:token 0x6006542+0x1e9
   at System.Diagnostics.Tracing.EventSource.WriteEvent(Int32 eventId, Int64 arg1, Int64 arg2, Int64 arg3) in System.Private.CoreLib.dll:token 0x6006536+0x9e
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) in System.Private.CoreLib.dll:token 0x60031e2+0x0
   at System.Threading.Tasks.Task.FinishContinuations() in System.Private.CoreLib.dll:token 0x60031e1+0x14
   at System.Threading.Tasks.Task.FinishStageThree() in System.Private.CoreLib.dll:token 0x60031b9+0x1e
   at System.Threading.Tasks.Task.FinishStageTwo() in System.Private.CoreLib.dll:token 0x60031b8+0xf3
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x60031c1+0xcb
   at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x60031bf+0x2b
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in System.Private.CoreLib.dll:token 0x6002f61+0x0
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in System.Private.CoreLib.dll:token 0x600305f+0x67
   at System.Threading.Thread.StartCallback() in System.Private.CoreLib.dll:token 0x6002bcc+0x17
/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh: line 367: 33550 Aborted                 $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/Reports/tracing.eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.output.txt
Raw output:
BEGIN EXECUTION
/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/Tests/Core_Root/corerun eventsourceerror.dll ''
  0.0s: ==TEST STARTING==
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-388-43523578-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35495-12100307-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-15968-16134409-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34409-12098092-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16820-16135966-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33707-12095387-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-30075-12084824-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17371-16137326-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17228-16136897-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64834-43522239-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17361-16137249-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18555-16139439-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34173-12097129-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7077-43643191-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16948-16136227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65038-43522552-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16448-16135192-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34292-12097644-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35367-12100208-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3101-43526694-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-677-43524111-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17440-16137560-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33428-12094424-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-63947-43520074-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7379-43643878-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18483-16139406-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35745-12100566-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35736-12100563-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16902-16136090-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18433-16139390-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3189-43526940-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65263-43523019-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64569-43521740-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18421-16139387-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17001-16136434-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35406-12100224-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1313-43524677-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35410-12100226-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18486-16139408-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1302-43524661-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65308-43523099-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35407-12100225-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2934-43526636-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3034-43526653-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18476-16139403-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16061-16134618-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18728-16139693-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17340-16137178-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17423-16137523-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18209-16139210-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2924-43526630-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33610-12095006-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1381-43524808-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64122-43520729-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3188-43526937-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33761-12095542-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65057-43522574-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35661-12100516-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3032-43526652-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3029-43526651-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2972-43526649-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35372-12100210-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16487-16135231-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17409-16137409-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18493-16139410-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34356-12097935-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17513-16137761-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34366-12097961-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18425-16139389-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33789-12095851-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17283-16137078-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34248-12097435-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34183-12097157-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16811-16135944-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-698-43524132-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16981-16136331-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33015-12093028-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2971-43526647-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-63040-43516459-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17521-16137776-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18416-16139383-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64701-43522012-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3244-16102070-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7309-43643833-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17531-16137798-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18596-16139482-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-884-43524318-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1279-43524613-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18423-16139388-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1075-43524474-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18480-16139405-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17351-16137227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35413-12100227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33842-12095980-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34347-12097926-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64587-43521777-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-638-43524027-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33853-12096086-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34031-12096624-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2152-43525767-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35428-12100229-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2844-43526328-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34153-12097053-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2931-43526635-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1329-43524702-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3040-43526654-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3142-43526728-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64810-43522227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33732-12095475-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33401-12094351-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1340-43524722-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35364-12100206-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65131-43522731-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7296-43643825-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7338-43643853-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2923-43526627-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17549-16137822-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35559-12100399-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3168-43526797-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17656-16138091-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35282-12099984-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35363-12100205-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18488-16139408-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7092-43643192-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18417-16139385-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34447-12098298-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35679-12100520-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18512-16139414-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16864-16136048-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-555-43523836-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7354-43643859-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1474-43524954-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34207-12097307-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33699-12095363-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-751-43524224-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34374-12097982-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65091-43522685-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7404-43643924-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65216-43522912-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3028-43526651-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2927-43526632-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35417-12100228-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34122-12096862-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2939-43526638-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18644-16139577-socket
  1.1s: Deleted
  1.1s: Started sending sentinel events...
  1.1s: Connecting to EventPipe...
  1.5s: Connected to EventPipe with sessionID '0x7f5214008e50'
  1.5s: Creating EventPipeEventSource...
  1.5s: EventPipeEventSource created
  1.6s: Dynamic.All callback registered
  1.6s: Running optional trace validator
  1.6s: Finished running optional trace validator
  1.6s: Starting stream processing...
  1.8s: Saw sentinel event
  1.8s: Stopped sending sentinel events
  1.8s: Starting event generating action...
  1.8s: Stopping event generating action
  1.8s: Sending StopTracing command...
  1.9s: Saw new provider 'IllegalTypesEventSource'
  2.0s: Saw new provider 'Microsoft-DotNETCore-EventPipe'
  2.0s: Saw new provider 'Microsoft-Windows-DotNETRuntimeRundown'
  2.0s: Saw new provider 'Microsoft-Windows-DotNETRuntime'
  2.0s: Finished StopTracing command
  2.1s: Stopping stream processing
  2.1s: Dropped 0 events
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/Tests/Core_Root
> /home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh
@ghost
Copy link

ghost commented Jul 30, 2021

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

Issue Details

I have this test failing consistently if run as part of the coreclr test suite locally on my Linux dev box. Running it standalone doesn't repro the issue for me.

This is the test error output:

[/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh]:

Process terminated. Assertion failed.
   at System.Diagnostics.Tracing.EventSource.DecodeObjects(Object[] decodedObjects, Type[] parameterTypes, EventData* data) in System.Private.CoreLib.dll:token 0x600654e+0x0
   at System.Diagnostics.Tracing.EventSource.WriteToAllListeners(EventWrittenEventArgs eventCallbackArgs, Int32 eventDataCount, EventData* data) in System.Private.CoreLib.dll:token 0x6006554+0x11a
   at System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityIdCore(Int32 eventId, Guid* relatedActivityId, Int32 eventDataCount, EventData* data) in System.Private.CoreLib.dll:token 0x6006542+0x1e9
   at System.Diagnostics.Tracing.EventSource.WriteEvent(Int32 eventId, Int64 arg1, Int64 arg2, Int64 arg3) in System.Private.CoreLib.dll:token 0x6006536+0x9e
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) in System.Private.CoreLib.dll:token 0x60031e2+0x0
   at System.Threading.Tasks.Task.FinishContinuations() in System.Private.CoreLib.dll:token 0x60031e1+0x14
   at System.Threading.Tasks.Task.FinishStageThree() in System.Private.CoreLib.dll:token 0x60031b9+0x1e
   at System.Threading.Tasks.Task.FinishStageTwo() in System.Private.CoreLib.dll:token 0x60031b8+0xf3
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x60031c1+0xcb
   at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x60031bf+0x2b
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in System.Private.CoreLib.dll:token 0x6002f61+0x0
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in System.Private.CoreLib.dll:token 0x600305f+0x67
   at System.Threading.Thread.StartCallback() in System.Private.CoreLib.dll:token 0x6002bcc+0x17
/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh: line 367: 33550 Aborted                 $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/Reports/tracing.eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.output.txt
Raw output:
BEGIN EXECUTION
/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/Tests/Core_Root/corerun eventsourceerror.dll ''
  0.0s: ==TEST STARTING==
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-388-43523578-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35495-12100307-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-15968-16134409-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34409-12098092-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16820-16135966-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33707-12095387-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-30075-12084824-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17371-16137326-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17228-16136897-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64834-43522239-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17361-16137249-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18555-16139439-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34173-12097129-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7077-43643191-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16948-16136227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65038-43522552-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16448-16135192-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34292-12097644-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35367-12100208-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3101-43526694-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-677-43524111-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17440-16137560-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33428-12094424-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-63947-43520074-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7379-43643878-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18483-16139406-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35745-12100566-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35736-12100563-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16902-16136090-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18433-16139390-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3189-43526940-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65263-43523019-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64569-43521740-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18421-16139387-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17001-16136434-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35406-12100224-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1313-43524677-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35410-12100226-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18486-16139408-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1302-43524661-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65308-43523099-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35407-12100225-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2934-43526636-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3034-43526653-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18476-16139403-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16061-16134618-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18728-16139693-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17340-16137178-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17423-16137523-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18209-16139210-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2924-43526630-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33610-12095006-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1381-43524808-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64122-43520729-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3188-43526937-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33761-12095542-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65057-43522574-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35661-12100516-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3032-43526652-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3029-43526651-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2972-43526649-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35372-12100210-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16487-16135231-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17409-16137409-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18493-16139410-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34356-12097935-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17513-16137761-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34366-12097961-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18425-16139389-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33789-12095851-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17283-16137078-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34248-12097435-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34183-12097157-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16811-16135944-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-698-43524132-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16981-16136331-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33015-12093028-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2971-43526647-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-63040-43516459-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17521-16137776-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18416-16139383-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64701-43522012-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3244-16102070-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7309-43643833-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17531-16137798-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18596-16139482-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-884-43524318-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1279-43524613-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18423-16139388-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1075-43524474-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18480-16139405-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17351-16137227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35413-12100227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33842-12095980-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34347-12097926-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64587-43521777-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-638-43524027-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33853-12096086-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34031-12096624-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2152-43525767-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35428-12100229-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2844-43526328-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34153-12097053-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2931-43526635-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1329-43524702-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3040-43526654-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3142-43526728-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64810-43522227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33732-12095475-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33401-12094351-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1340-43524722-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35364-12100206-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65131-43522731-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7296-43643825-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7338-43643853-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2923-43526627-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17549-16137822-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35559-12100399-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3168-43526797-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17656-16138091-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35282-12099984-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35363-12100205-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18488-16139408-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7092-43643192-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18417-16139385-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34447-12098298-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35679-12100520-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18512-16139414-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16864-16136048-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-555-43523836-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7354-43643859-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1474-43524954-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34207-12097307-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33699-12095363-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-751-43524224-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34374-12097982-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65091-43522685-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7404-43643924-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65216-43522912-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3028-43526651-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2927-43526632-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35417-12100228-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34122-12096862-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2939-43526638-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18644-16139577-socket
  1.1s: Deleted
  1.1s: Started sending sentinel events...
  1.1s: Connecting to EventPipe...
  1.5s: Connected to EventPipe with sessionID '0x7f5214008e50'
  1.5s: Creating EventPipeEventSource...
  1.5s: EventPipeEventSource created
  1.6s: Dynamic.All callback registered
  1.6s: Running optional trace validator
  1.6s: Finished running optional trace validator
  1.6s: Starting stream processing...
  1.8s: Saw sentinel event
  1.8s: Stopped sending sentinel events
  1.8s: Starting event generating action...
  1.8s: Stopping event generating action
  1.8s: Sending StopTracing command...
  1.9s: Saw new provider 'IllegalTypesEventSource'
  2.0s: Saw new provider 'Microsoft-DotNETCore-EventPipe'
  2.0s: Saw new provider 'Microsoft-Windows-DotNETRuntimeRundown'
  2.0s: Saw new provider 'Microsoft-Windows-DotNETRuntime'
  2.0s: Finished StopTracing command
  2.1s: Stopping stream processing
  2.1s: Dropped 0 events
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/Tests/Core_Root
> /home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh
Author: janvorli
Assignees: -
Labels:

area-Diagnostics-coreclr

Milestone: -

@janvorli
Copy link
Member Author

cc: @josalem

@josalem josalem self-assigned this Jul 30, 2021
@josalem josalem added this to the 6.0.0 milestone Jul 30, 2021
@josalem
Copy link
Contributor

josalem commented Jul 30, 2021

I'll see if I can repro this locally. Do you happen to know which assert in DecodeObjects is getting hit? This being inconsistent has me perplexed.

When you say "part of the coreclr test suite" do you mean running everything using the xunit infrastructure vs just invoking the generated cmd/sh file if you build the test directly?

@ghost
Copy link

ghost commented Jul 30, 2021

Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti
See info in area-owners.md if you want to be subscribed.

Issue Details

I have this test failing consistently if run as part of the coreclr test suite locally on my Linux dev box. Running it standalone doesn't repro the issue for me.

This is the test error output:

[/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh]:

Process terminated. Assertion failed.
   at System.Diagnostics.Tracing.EventSource.DecodeObjects(Object[] decodedObjects, Type[] parameterTypes, EventData* data) in System.Private.CoreLib.dll:token 0x600654e+0x0
   at System.Diagnostics.Tracing.EventSource.WriteToAllListeners(EventWrittenEventArgs eventCallbackArgs, Int32 eventDataCount, EventData* data) in System.Private.CoreLib.dll:token 0x6006554+0x11a
   at System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityIdCore(Int32 eventId, Guid* relatedActivityId, Int32 eventDataCount, EventData* data) in System.Private.CoreLib.dll:token 0x6006542+0x1e9
   at System.Diagnostics.Tracing.EventSource.WriteEvent(Int32 eventId, Int64 arg1, Int64 arg2, Int64 arg3) in System.Private.CoreLib.dll:token 0x6006536+0x9e
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) in System.Private.CoreLib.dll:token 0x60031e2+0x0
   at System.Threading.Tasks.Task.FinishContinuations() in System.Private.CoreLib.dll:token 0x60031e1+0x14
   at System.Threading.Tasks.Task.FinishStageThree() in System.Private.CoreLib.dll:token 0x60031b9+0x1e
   at System.Threading.Tasks.Task.FinishStageTwo() in System.Private.CoreLib.dll:token 0x60031b8+0xf3
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x60031c1+0xcb
   at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x60031bf+0x2b
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in System.Private.CoreLib.dll:token 0x6002f61+0x0
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in System.Private.CoreLib.dll:token 0x600305f+0x67
   at System.Threading.Thread.StartCallback() in System.Private.CoreLib.dll:token 0x6002bcc+0x17
/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh: line 367: 33550 Aborted                 $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/Reports/tracing.eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.output.txt
Raw output:
BEGIN EXECUTION
/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/Tests/Core_Root/corerun eventsourceerror.dll ''
  0.0s: ==TEST STARTING==
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-388-43523578-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35495-12100307-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-15968-16134409-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34409-12098092-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16820-16135966-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33707-12095387-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-30075-12084824-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17371-16137326-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17228-16136897-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64834-43522239-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17361-16137249-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18555-16139439-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34173-12097129-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7077-43643191-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16948-16136227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65038-43522552-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16448-16135192-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34292-12097644-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35367-12100208-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3101-43526694-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-677-43524111-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17440-16137560-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33428-12094424-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-63947-43520074-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7379-43643878-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18483-16139406-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35745-12100566-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35736-12100563-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16902-16136090-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18433-16139390-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3189-43526940-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65263-43523019-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64569-43521740-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18421-16139387-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17001-16136434-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35406-12100224-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1313-43524677-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35410-12100226-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18486-16139408-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1302-43524661-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65308-43523099-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35407-12100225-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2934-43526636-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3034-43526653-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18476-16139403-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16061-16134618-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18728-16139693-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17340-16137178-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17423-16137523-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18209-16139210-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2924-43526630-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33610-12095006-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1381-43524808-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64122-43520729-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3188-43526937-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33761-12095542-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65057-43522574-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35661-12100516-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3032-43526652-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3029-43526651-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2972-43526649-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35372-12100210-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16487-16135231-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17409-16137409-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18493-16139410-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34356-12097935-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17513-16137761-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34366-12097961-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18425-16139389-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33789-12095851-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17283-16137078-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34248-12097435-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34183-12097157-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16811-16135944-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-698-43524132-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16981-16136331-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33015-12093028-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2971-43526647-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-63040-43516459-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17521-16137776-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18416-16139383-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64701-43522012-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3244-16102070-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7309-43643833-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17531-16137798-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18596-16139482-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-884-43524318-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1279-43524613-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18423-16139388-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1075-43524474-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18480-16139405-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17351-16137227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35413-12100227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33842-12095980-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34347-12097926-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64587-43521777-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-638-43524027-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33853-12096086-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34031-12096624-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2152-43525767-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35428-12100229-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2844-43526328-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34153-12097053-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2931-43526635-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1329-43524702-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3040-43526654-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3142-43526728-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-64810-43522227-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33732-12095475-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33401-12094351-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1340-43524722-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35364-12100206-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65131-43522731-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7296-43643825-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7338-43643853-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2923-43526627-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17549-16137822-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35559-12100399-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3168-43526797-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-17656-16138091-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35282-12099984-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35363-12100205-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18488-16139408-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7092-43643192-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18417-16139385-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34447-12098298-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35679-12100520-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18512-16139414-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-16864-16136048-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-555-43523836-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7354-43643859-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-1474-43524954-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34207-12097307-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-33699-12095363-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-751-43524224-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34374-12097982-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65091-43522685-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-7404-43643924-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-65216-43522912-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-3028-43526651-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2927-43526632-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-35417-12100228-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-34122-12096862-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-2939-43526638-socket
  1.1s: Deleted
  1.1s: Attempting to delete the zombied pipe: /tmp/dotnet-diagnostic-18644-16139577-socket
  1.1s: Deleted
  1.1s: Started sending sentinel events...
  1.1s: Connecting to EventPipe...
  1.5s: Connected to EventPipe with sessionID '0x7f5214008e50'
  1.5s: Creating EventPipeEventSource...
  1.5s: EventPipeEventSource created
  1.6s: Dynamic.All callback registered
  1.6s: Running optional trace validator
  1.6s: Finished running optional trace validator
  1.6s: Starting stream processing...
  1.8s: Saw sentinel event
  1.8s: Stopped sending sentinel events
  1.8s: Starting event generating action...
  1.8s: Stopping event generating action
  1.8s: Sending StopTracing command...
  1.9s: Saw new provider 'IllegalTypesEventSource'
  2.0s: Saw new provider 'Microsoft-DotNETCore-EventPipe'
  2.0s: Saw new provider 'Microsoft-Windows-DotNETRuntimeRundown'
  2.0s: Saw new provider 'Microsoft-Windows-DotNETRuntime'
  2.0s: Finished StopTracing command
  2.1s: Stopping stream processing
  2.1s: Dropped 0 events
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/Tests/Core_Root
> /home/janvorli/git/runtime4/artifacts/tests/coreclr/Linux.x64.Checked/tracing/eventpipe/eventsourceerror/eventsourceerror/eventsourceerror.sh
Author: janvorli
Assignees: josalem
Labels:

area-System.Diagnostics.Tracing

Milestone: 6.0.0

@janvorli
Copy link
Member Author

do you mean running everything using the xunit infrastructure vs just invoking the generated cmd/sh file

Yes, I meant running all the tests using src/tests/run.sh vs running the test standalone using its generated .sh.

Here are the steps just to make sure we are on the same page:

./build.sh clr+libs -c Release -rc Checked
./src/tests/build.sh Checked -priority1
./src/tests/run.sh Checked

There are actually two more profiler / tracing tests that that fail in a similar manner, the profiler/unittest/getappdomainstaticaddress and tracing/eventpipe/gcdump/gcdump. I've seen them fail regularly in the past too locally. Let's see if you can repro it locally.

@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Jul 30, 2021
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Jul 31, 2021
@josalem
Copy link
Contributor

josalem commented Aug 12, 2021

I haven't had a chance to try and repro this, but in the hopes of triaging this further I scanned DecodeObjects and it looks like the only Asserts in that code were added as part of #52092.

@tommcdon tommcdon modified the milestones: 6.0.0, 7.0.0 Aug 24, 2021
@tommcdon
Copy link
Member

Moved to .NET 7. The Assert that is failing is new to .NET 6, but the issue is likely pre-existing.

@josalem
Copy link
Contributor

josalem commented Apr 18, 2022

@janvorli before I pick this issue back up, do you still see these failures? I don't believe we turned any of the tests off in response to this issue, so they have presumably been working in CI since your report.

@janvorli
Copy link
Member Author

@josalem let me give it a try and see.

@janvorli
Copy link
Member Author

@josalem I cannot repro the issue anymore. I am closing the issue.

@ghost ghost locked as resolved and limited conversation to collaborators May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants