-
Notifications
You must be signed in to change notification settings - Fork 374
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
SELECT 💣(); #8270
The head ref may contain hidden characters: "bayandin/\u{1F4A3}"
SELECT 💣(); #8270
Conversation
3042 tests run: 2927 passed, 0 failed, 115 skipped (full report)Flaky tests (2)Postgres 16
Postgres 15
Code coverage* (full report)
* collected from Rust tests only The comment gets automatically updated with the latest test results
ce27f53 at 2024-07-05T11:42:10.821Z :recycle: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
And you, perhaps, need to bump extension version and write migration script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this? I don't see it.
version bump or function to segfault? If latter then to test crash behavior (e.g. will compute_ctl restart postgres) and test coredump collection / printing |
Added it to the description:
Haven't noticed Stas' answer, but the idea is the same |
Could we then also have one that does |
I bumped the version. Don't think the migration script is required for this one (we're pretty chill about it for test extension, for example, the previous changes 75c84c8) |
Note that this extension can be directly used by our users, so I would avoid putting things that might crash compute in that... There was an attempt to remove user access but autoscaling tests need this extension so it was reverted. #7679 |
Problem
We want to be able to test how our infrastructure reacts on segfauls in Postgres (for example, we collect core dumps, get some required logs/metrics, etc)
Summary of changes
trigger_segfauls
function toneon_test_utils
to trigger a segfault in Postgrestrigger_panic
function toneon_test_utils
to trigger SIGABRT (by using `elog(PANIC, ...))Checklist before requesting a review
Checklist before merging