-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Tests are now being executed during gcc builds #10236
Conversation
Signed-off-by: Dmitri Dolguikh <[email protected]>
@lizan: could you restart the tests please? |
/azp run envoy-linux |
Azure Pipelines successfully started running 1 pipeline(s). |
There's two failures due to memory leaks:
I tracked them down to static initialiser here: https://github.com/envoyproxy/envoy/blob/master/source/extensions/common/crypto/utility_impl.cc#L105. Not sure what to do about these other than to pass "HEAPCHECK=minimal" to tests. @lizan: WDYT? Another failure due to quiche build failure (#10422). |
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
ping |
@lizan: could you restart the tests pls? |
@dmitri-d you need merge master. |
Signed-off-by: Dmitri Dolguikh <[email protected]>
|
some QUIC test failed to build in gcc. cc @danzh2010 |
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
This pull request has been automatically closed because it has not had activity in the last 14 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Signed-off-by: Dmitri Dolguikh <[email protected]>
@lizan: could you re-open the PR please? At least one of the quiche-related issues has been resolved. |
Signed-off-by: Dmitri Dolguikh <[email protected]>
Refer to envoyproxy/nighthawk#382 (comment) for explanation of problem. |
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
…uic_listeners/quiche/test_utils.h Signed-off-by: Dmitri Dolguikh <[email protected]>
…:LocalRateLimitFilter::TestOneProtoInput Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
test/mocks/config/mocks.h
Outdated
@@ -94,6 +94,10 @@ class MockGrpcMux : public GrpcMux { | |||
MockGrpcMux(); | |||
~MockGrpcMux() override; | |||
|
|||
using GrpcMux::pause; |
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 did you need this? Does marking MOCK_METHOD below override in 4th parameter (like below) fixes gcc build?
MOCK_METHOD(void, start, (), (override));
@@ -54,4 +54,7 @@ namespace Envoy { | |||
#define FALLTHRU | |||
#endif | |||
|
|||
#if (defined(__GNUC__) && !defined(__clang__)) |
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.
This should be in include/envoy/common/platform.h?
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.
Hmm, the comment in platform.h says:
"platform.h" header exists to simplify the most common references
to non-ANSI C/C++ headers, required on Windows, Posix, Linux, BSD etc,
and to provide substitute definitions when absolutely required.
feels like not a good spot to me for the macro in question?
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.
OK, I don't feel strongly either.
Signed-off-by: Dmitri Dolguikh <[email protected]>
|
Signed-off-by: Dmitri Dolguikh <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
@lizan: Not sure why asan failed (all tests passed), otherwise looks good. |
Signed-off-by: Dmitri Dolguikh <[email protected]>
|
@lizan, the build is green now. |
Thank you very much for the reviews and feedback, @lizan. |
Signed-off-by: Dmitri Dolguikh <[email protected]> Signed-off-by: scheler <[email protected]>
This [re]enables tests during gcc builds.
Please note this PR shouldn't ve merged before envoyproxy/envoy-build-tools#34.
I'm not sure if it's ok to use
bazel.gcc
target, or a new target should be added, decided to usebazel.gcc
in this PR.