-
Notifications
You must be signed in to change notification settings - Fork 440
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
use ubuntu-latest for tsan CI #2267
Conversation
The report of tsan is not a problem of this PR.But I think we should use another mutex lock in |
Does this sound like a regression? |
@owent - Ok please ignore. I think there is an issue. Let me debug further. |
ext/test/http/curl_http_test.cc
Outdated
@@ -164,7 +164,7 @@ class BasicCurlHttpTests : public ::testing::Test, public HTTP_SERVER_NS::HttpRe | |||
|
|||
bool waitForRequests(unsigned timeOutSec, unsigned expected_count = 1) | |||
{ | |||
std::unique_lock<std::mutex> lk(mtx_requests); | |||
std::unique_lock<std::mutex> lk(cv_mtx_requests); | |||
if (cv_got_events.wait_for(lk, std::chrono::milliseconds(1000 * timeOutSec), [&] { | |||
// |
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.
Do we need std::unique_lock<std::mutex> lk1(mtx_requests);
here?(In callback of cv_got_events.wait_for
)
I think it's a dead lock problem and happens under this sequence.
The STL implementation of |
unfortunately, the problem is now happening in ubuntu 22.04 runner too:
|
Could we bring the tsan issue to backlog and unblock merging of other PRs? |
We have it in backlog (#2266). We can force merge any PR which are failing for tsan, while we are trying to fix this. |
zpages tests failing for tsan. Have removed them from the tsan build, as zpages would be deprecated soon (#2217) |
Fixes #2266
Changes
Upgrading to latest virtual env for tsan CI.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes