-
Notifications
You must be signed in to change notification settings - Fork 457
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
test suite: eliminate bug class "stray processes after test exits" #6485
Labels
a/test
Area: related to testing
c/storage/pageserver
Component: storage: pageserver
t/Epic
Issue type: Epic
Comments
problame
added
c/storage/pageserver
Component: storage: pageserver
t/Epic
Issue type: Epic
a/test
Area: related to testing
labels
Jan 26, 2024
Update:
|
5 tasks
bayandin
added a commit
that referenced
this issue
Feb 19, 2024
## Problem The merging coverage data step recently started to be too flaky. This failure blocks staging deployment and along with the flakiness of regression tests might require 4-5-6 manual restarts of a CI job. Refs: - #4540 - #6485 - https://neondb.slack.com/archives/C059ZC138NR/p1704131143740669 ## Summary of changes - Disable code coverage report for functional tests
An alternative I've been thinking about, much more hacky way:
This would have a lot more insecurity than the original cgroup idea, and I am unsure about the license of the existing ctypes based prctl bindings. We could create this utility in rust quite easily. Upside is that this requires no priviledges as far as I know. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a/test
Area: related to testing
c/storage/pageserver
Component: storage: pageserver
t/Epic
Issue type: Epic
Problem
Some tests leave stay processes behind after they exit.
This is the potential root cause for failed coverage-report generation, as well as other flakiness.
DoD
The Python test suite ensures that after each test function exit, there are no stray subprocesses left.
If there are any, the processes' argv are listed at WARNING level and the test fails, preventing the PR from being merged.
Related Issues
Work
Implementation
The text was updated successfully, but these errors were encountered: