-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[runtime-coreclr pgo] nativeruntimeeventsource test fails arm32 and x86 #71331
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsThis test seems to be failing on all outerloop runtime-coreclr pgo pipelines
Fails in various PRs, e.g.:
|
I'll take a look. |
I can't repro this locally yet either running the full pri-1 suite or running just this wrapper. May be some kind of timing issue with other concurrent tests so I will keep trying. CI logs show the IOPack event is emitted.
not sure why it is not recognized. |
I'll try to reproduce it locally too, it seems it's a quite stable fail on CI - https://dev.azure.com/dnceng/public/_build?definitionId=1000 |
I can repro if the machine is loaded (eg run the single test case while the machine running a build in a different clone of the runtime repo).
Pretty sure it's just a timing issue with the test runtime/src/tests/tracing/runtimeeventsource/NativeRuntimeEventSourceTest.cs Lines 30 to 49 in 6a02d5d
In the "good" runs we have
and in the bad one
I think the event needs to arrive within 2 seconds and in the bad case it takes 2.7 seconds. @tommcdon can you suggest somebody to verify/refute that this is a timing issue? |
I verified on my machine that I hit it almost 100% when the machine was at 100 CPU usage, and after the fix in #72010 it passes every time. The only way this could not be a timing issue is if somehow the JIT recognizes that the code here doesn't actually do anything and removes it. From my understanding that is not currently something the JIT would do. runtime/src/tests/tracing/runtimeeventsource/NativeRuntimeEventSourceTest.cs Lines 72 to 79 in 246f245
|
This test seems to be failing on all outerloop runtime-coreclr pgo pipelines
Fails in various PRs, e.g.:
https://dev.azure.com/dnceng/public/_build/results?buildId=1843344&view=ms.vss-test-web.build-test-results-tab
https://dev.azure.com/dnceng/public/_build/results?buildId=1832137&view=ms.vss-test-web.build-test-results-tab
https://dev.azure.com/dnceng/public/_build/results?buildId=1840992&view=ms.vss-test-web.build-test-results-tab
The text was updated successfully, but these errors were encountered: