-
Notifications
You must be signed in to change notification settings - Fork 592
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
cloud_roles/role_clients_tests: use SEASTAR_THREAD_TEST_CASE #18052
Conversation
use of setenv under seastar requires to run under a initialized seastar context, since internal memory management functions will be called
i updated the cover letter |
Can you give any more context around "since internal memory management functions will be called"? Seastar does expect that allocations can happen before the seastar heap is initialized, and tries to use the original heap in that case (then there's a second stage where it initializes a mini heap, then finally the full heap). Is it specific to (this comment is non-blocking, I'm mostly just curious) |
new failures in https://buildkite.com/redpanda/redpanda/builds/48219#018f10fa-4b32-4bb5-ac61-d78d07c2604e:
new failures in https://buildkite.com/redpanda/redpanda/builds/48219#018f1100-d77f-415a-925a-7365f495bf16:
|
didn't investigate why it's triggering this assertion, but this is the relevant stacktrace when executing as BOOST TEST
the surprising thing is that yesterday locally it didn't fail, but it started today once i updated vtools. |
Good point I guess we should make sure we aren't masking some other / new bug. This is the closet I could find in Seastar log, but its old enough that we'd have this patch in our fork. It's interesting because it also mentions setenv/shrink.
|
Could this be a case where |
should we also block the backport? #18042 |
ducktape failure is #18033 |
@dotnwat yeah, that's the one, and this change was reverted right after, so the current state is actually the "before" state that Kefu describes in that change. However, I think the bug (in seastar) here is just that seastar does not support allocating a pointer on one shard than reallocating it smaller (but not zero) on another shard. This should work, just like cross-shard frees, but based on an inspection of the code it doesn't. |
Indeed, this test cases crashes if run with 2+ shards:
|
/ci-repeat 1 skip-redpanda-build |
use of setenv under seastar requires to run under a initialized seastar context, since internal memory management functions will be called
https://buildkite.com/redpanda/redpanda/builds/48184#018f0cd6-3087-493c-bed2-d02e69fc3496
backported here: #18042
Backports Required
Release Notes