Conversation
|
The sanitizer failures look real, you might need to update protobuf version to match upstream. |
|
The tsan errors look real and I am using the proto libraries from the new envoy... ideas? |
|
Yeah, tsan errors look real: |
|
Looks like @htuch has been down this path already: https://www.bountysource.com/issues/70642822-event_debug_mode_too_late-is-thread-unsafe |
|
From my investigations it seems this is an old issue. One possible fix is the set EVENT__DISABLE_DEBUG_MODE in the libevent build in envoy. The problem is that variable is set outside of locks in libevent. |
|
If it is a known issue, can we merge without fixing? |
|
Maybe. I’d like to understand when/how it was introduced |
|
I'm amused this ended up on bountrysource.com. We (@akonradi and myself) have reported a number of TSAN issues to libevent:
We have internal Google fixes for these, but we do not have libevent buy-in for some of these fixes and in addition need tests etc. to upstream. Would be great if someone wants to work on them. |
@htuch what did Envoy do in the meantime? Suppress the warnings? |
| # Determine SHA256 `wget https://github.com/envoyproxy/envoy/archive/COMMIT.tar.gz && sha256sum COMMIT.tar.gz` | ||
| ENVOY_SHA = "5ea1a0c1cb506ed3e80d52b572b0f767f55f9f39" | ||
| # envoy commit date 05/15/2019 | ||
| # bazel version: 0.25.0 |
There was a problem hiding this comment.
Nit: this isn't really true, since Bazel version depends on the build image / CI environment, and 0.25.x is only used on macOS right now, since it's pulled at build time.
There was a problem hiding this comment.
but it does work for 0.25... I think Yuchen wanted this so he could find a version that would work.
There was a problem hiding this comment.
Fair enough, but it uses 0.22 for Linux builds (CircleCI & Prow), 0.25 is only used for macOS.
There was a problem hiding this comment.
Let's merge this and I will create the correct a circleci image in which has bazel 0.25
|
/lgtm |
|
we had a discussion with @htuch and learned that envoy too suppresses these specific libevent tsan errors so we're doing the same here. /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: duderino, jplevyak, PiotrSikora The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
No description provided.