-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
EventListenerThreadPool test failing in nativeaot outerloop runs #105556
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
Disabling the test in #105557 to get clean(er) outerloops again. |
Tagging subscribers to this area: @mangod9 |
I helped @eduardo-vp looked in to this failure, it doesn't seem like it is specific to the event he added. @LakshanF is this scenario (using an EventListener to listen to native runtime events) expected to work under NativeAOT? When I debugged the failing test under NativeAOT I saw it fail in this callstack:
The failure is because I was able to debug through and see the code for creating the metadata seems to be running as expected, except we don't actually have the metadata in memory after. The code in question is @MichalStrehovsky are you able to help determine if this is a bad codegen issue or some other? Maybe the debugger is not showing the right memory? |
Since this reproes on all architectures and all OSes, I'd consider a codegen issue less likely. We run many of the tracing tests in the src/tests/tracing suite so my assumption is that this works in general but then again I would not be able to tell a difference between an event source and a metric, so take it with a grain of salt. @LakshanF knows most of native AOT specific aspects of this and any known issues. |
This is necessary to allow consumers to parse the payload. Delete unnecessary runtimeflavor argument of genRuntimeEventSources.py script. Fixes dotnet#105556
The code is not creating the metadata as expected. The problem is that we are missing the metadata for the native-only events in NativeAOT CoreLib. #106641 has the fix. |
This is necessary to allow consumers to parse the payload. Delete unnecessary runtimeflavor argument of genRuntimeEventSources.py script. Fixes #105556
This is consistently failing in the Pri0 outerloop runs on all architectures.
Last good run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=745467&view=results
First bad run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=746036&view=results
From this I suspected #103675 and a revert PR at #105543 confirmed the suspicion (notice Pri0 legs are green in the revert PR). Note that PR reverts two commits because there was a merge conflict I didn't bother resolving, but the other commit is from yesterday and this is failing for a week.
Cc @eduardo-vp @kouvel
The text was updated successfully, but these errors were encountered: