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

tests: Add integration tests for mixed-mode unwinding #1943

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

javierhonduco
Copy link
Contributor

aka JIT <-> DWARF unwinding. This also tests that the symbolization using
perfdump works.

Also changed the running time for the profiler during non-CI runs to
reduce feedback cycles.

@javierhonduco
Copy link
Contributor Author

Mmm the JITed stacks are consistently failing in CI...

@javierhonduco javierhonduco marked this pull request as draft August 23, 2023 09:40
@kakkoyun
Copy link
Member

kakkoyun commented Aug 23, 2023

I have added some comments. I haven't checked the failures, but one of those could be the reason for the constant failure.

test/integration/profiler_test.go Outdated Show resolved Hide resolved
test/integration/profiler_test.go Outdated Show resolved Hide resolved
@javierhonduco
Copy link
Contributor Author

I haven't checked the failures but one of those could be the reason of constant failure.

It's unrelated to the test commit I added to test some hypothesis. Before, it was failing with empty JIT stacks

@javierhonduco javierhonduco force-pushed the add-integration-test-for-jit branch 3 times, most recently from 21e2558 to 435a1ef Compare August 23, 2023 13:30
aka JIT <-> DWARF unwinding. This also tests that the symbolization using
perfdump works. Note that asserting on the JIT stacks is temporarily disabled in
CI as it's consistently failing and we have other features to work on
that are higher priority. Landing this now will at least ensure that
this is tested locally. Will make sure that this CI exception is lifted
once we have more time.

Also changed the running time for the profiler during non-CI runs to
reduce feedback cycles.

Signed-off-by: Francisco Javier Honduvilla Coto <javierhonduco@gmail.com>
@javierhonduco
Copy link
Contributor Author

In the spirit of pragmatism I have disabled the assertions of JIT'd stacks in CI. Will fix this later on. With these changes, we will test these code paths locally, and the iteration times will be reduced, too.

Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🥇

@javierhonduco javierhonduco merged commit 1064ad6 into main Aug 29, 2023
21 of 22 checks passed
@javierhonduco javierhonduco deleted the add-integration-test-for-jit branch August 29, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants