-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
"pure virtual method called" in grpc:grpc_client_integration_test #5071
Comments
could we coax a stack-trace out of the system on a pure virtual call? In the distant past I was able to figure out how to override the pure_virtual handler to something that produced a stack trace, but that was on a vastly different toolchain in a vastly different era. |
Yeah, it's I'll give it a try. |
I patched
|
Got another similar failure: [ RUN ] IpVersionsClientType/GrpcClientIntegrationTest.MissingGrpcStatus/0 |
also pretty printing grpc test params while I'm in there because I dislike figuring out what test is failing via staring at Test/0 Test/1 Test/2 Test/3 Risk Level: Low (test only) Testing: goes from 80% failure with flake-options on to 0% failure Docs Changes: n/a Release Notes: n/a Fixes #5071 Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
also pretty printing grpc test params while I'm in there because I dislike figuring out what test is failing via staring at Test/0 Test/1 Test/2 Test/3 Risk Level: Low (test only) Testing: goes from 80% failure with flake-options on to 0% failure Docs Changes: n/a Release Notes: n/a Fixes envoyproxy#5071 Signed-off-by: Alyssa Wilk <alyssar@chromium.org> Signed-off-by: Fred Douglas <fredlas@google.com>
Title: grpc:grpc_client_integration_test fails randomly with pure virtual method call error
Description:
I am trying to build Envoy on amazonlinux:2.0.20181010 with gcc (GCC) 7.3.1 20180303 and are running into some flaky tests with Envoy 1.8.0. Specifically grpc:grpc_client_integration_test is failing randomly because of "pure virtual method called" exception. I pasted the test log to: https://gist.github.com/ivitjuk/40d63bffd9a6cf12b738c628a1e48dc5
Test failed only once, out of 1000 runs: https://gist.github.com/ivitjuk/954167c4117cea26929a38d7b73c170b
To me it seems like call to monotonicTime() time here https://github.com/envoyproxy/envoy/blob/master/include/envoy/stats/timespan.h#L32 is somehow getting resolved to the pure virtual method of the base class, while it really should have been resolved to this in the tests: https://github.com/envoyproxy/envoy/blob/master/test/test_common/test_time.h#L25
The text was updated successfully, but these errors were encountered: