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
[Flaky test] Flaky data_node #4047
Comments
For me sometimes it fails like this on GitHub:
The test works fine locally but takes ~25 seconds. The dataset is not that large:
I wonder if we could reduce this time. |
"subscription sync wait timedout" reproduces on master ( Regression PG14.2 Debug ubuntu-20.04 ): https://github.com/timescale/timescaledb/runs/5206405227?check_suite_focus=true The data_node test hangs for hours and the log is full of:
One other thing I noticed is that it seems to reproduce only on Debug builds. Release builds never failed. Any chance we may have some sort of buggy and/or expensive Asserts()'s? UPD: Reproduces on both 14.1 and 14.2. At least we know this has nothing to do with PostgreSQL |
Fix flaky data_node test by moving tests associated with copy/move chunk functionality into a separate test file/groupand with increased background workers (using max_bgw_8.conf). Issue: timescale#4047
Fix flaky data_node test by moving tests associated with copy/move chunk functionality into a separate test file/groupand with increased background workers (using max_bgw_8.conf). Issue: timescale#4047
Fix flaky data_node test by moving tests associated with copy/move chunk functionality into a separate test file/groupand with increased background workers (using max_bgw_8.conf). Issue: #4047
PR merged. Closing. |
Which test is flaky?
data_node
Since when has the test been flaky?
No idea
Link to the failed test run
https://github.com/timescale/timescaledb/runs/5034821435?check_suite_focus=true
Log output
Reason for flakiness
copy_chunk
function does not wait for processes to shut down properly, causing a race condition in subsequent calls.The text was updated successfully, but these errors were encountered: