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: tracing_eventpipetrace._eventpipetrace_eventpipetrace_/_eventpipetrace_eventpipetrace_cmd #9573

Closed
ghost opened this issue Jan 19, 2018 · 18 comments
Assignees
Labels
area-Tracing-coreclr test-run-core Test failures in .NET Core test runs
Milestone

Comments

@ghost
Copy link

ghost commented Jan 19, 2018

Opened on behalf of @Sunny-pu

The test tracing_eventpipetrace._eventpipetrace_eventpipetrace_/_eventpipetrace_eventpipetrace_cmd has failed.

Return code:      1
Raw output file:      C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Work\39854026-d90f-47cd-ab05-25e4708908cf\Unzip\Reports\tracing.eventpipetrace\eventpipetrace\eventpipetrace.output.txt
Raw output:
BEGIN EXECUTION\r
        1 file(s) copied.\r
" C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Payload\crossgen.exe" /Platform_Assemblies_Paths C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Payload;C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Work\39854026-d90f-47cd-ab05-25e4708908cf\Unzip\eventpipetrace\IL;C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Work\39854026-d90f-47cd-ab05-25e4708908cf\Unzip\eventpipetrace /in eventpipetrace.org /out eventpipetrace.exe\r
Microsoft (R) CoreCLR Native Image Generator - Version 4.5.22220.0\r
Copyright (c) Microsoft Corporation.  All rights reserved.\r
\r
Native image eventpipetrace.exe generated successfully.\r
 "C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Payload\corerun.exe" eventpipetrace.exe \r
\tStart: Enable tracing.\r
\tEnd: Enable tracing.
\r
\tStart: Generating CLR events\r
\tEnd: Generating CLR Events
\r
\tStart: Disable tracing.\r
\tEnd: Disable tracing.
\r
\tStart: Processing events from file.\r
\tEnd: Processing events from file.
\r
\tProcessed 1 GCAllocationTick events\r
\tProcessed 1 GCTriggered events\r
Expected: 100\r
Actual: 0\r
END EXECUTION - FAILED\r
FAILED\r
Test Harness Exitcode is : 1\r

To run the test:
> set CORE_ROOT=C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Payload
> C:\dotnetbuild\work\c3d2bb58-cd4b-483e-8169-07a5ef0dc304\Work\39854026-d90f-47cd-ab05-25e4708908cf\Unzip\eventpipetrace\eventpipetrace.cmd
\r
Expected: True\r
Actual:   False

    Stack Trace:

    null

Build : Master - 20180119.01 (Core Tests)
Failing configurations:

@tannergooding
Copy link
Member

This is failing the JIT stress jobs. Looks to have been enabled yesterday: dotnet/coreclr#15917.

cc. @brianrob, @nategraf

@nategraf
Copy link
Contributor

The test triggers GCs and looks to see if the GC Triggered event comes through. It looks like although it's supposed to have triggered 10 GCs and receive 10 events, it is only receiving 1 GC Triggered event.

@brianrob Do you know of any reason a GC may not occur when induced, or does this mean the event was dropped? Is there any way to tell if the event was dropped due to a full circular buffer?

@BruceForstall
Copy link
Member

IMO, this test should be disabled, and then re-enabled only when it passes the failing stress jobs.

@sandreenko
Copy link
Contributor

The test doesn't work without stress is well, it is just pri1, so we do not see how it fails.

@nategraf
Copy link
Contributor

I'll get an issue and a PR to disable it together.

@sandreenko could you clarify your comment? Does it always fail for you? It ran and worked locally, and on the CI run for the PR which enabled it. Also, the test is pri0

@sandreenko
Copy link
Contributor

@nategraf sorry, I was talking about eventsourcetrace. #9428 , that fails, but for some reasons is not disabled.

@nategraf
Copy link
Contributor

nategraf commented Jan 19, 2018

@sandreenko
Copy link
Contributor

I think it should, but this condition doesn't affect x86_checked_windows_nt_jitstress1_prtest for some reasons.

@nategraf
Copy link
Contributor

I think I just realized what it is. The * should be a **

@brianrob
Copy link
Member

@nategraf, thanks for fixing this!

@nategraf
Copy link
Contributor

Thanks @4creators. I'll figure out why the patch didn't fix the Windows stress runs and address it

@4creators
Copy link
Contributor

@nategraf Thanks for help

nategraf referenced this issue in dotnet/coreclr Jan 23, 2018
Disable EventPipe tests which fair in stress runs

Addresses: #15924
Follow-up: #15927
@nategraf
Copy link
Contributor

I see the JIT Stress runs are working now. Unless there is another place where this failure is showing I am going to close this issue

@tannergooding tannergooding reopened this Jan 26, 2018
@tannergooding
Copy link
Member

PR: dotnet/coreclr#15961

@4creators
Copy link
Contributor

Now it is failing in Ubuntu and OSX, we cannot test CentOS since it does not listen to start commands.
PR dotnet/coreclr#15585

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Tracing-coreclr test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

7 participants