-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
envoy has 33 failing tests when run in an STL debug mode #2556
Labels
Comments
More detailed example from //test/common/json:json_loader_test
|
jmarantz
changed the title
envoy has many failing tests when run in an STL debug mode
envoy has 33 failing tests when run in an STL debug mode
Feb 8, 2018
Update; I'll poke around at this a little more but there is some kind of iterator copy-construction violation in the json library which might flood the report with benign issues we have little control over. It's still useful in a targeted stl-intensive unit test though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
STL specifies multiple rules which appear to not be enforced in practice but, depending on the plaform, can cause undefined behavior. There's a way to compile so that STL spends extra CPU time to enforce these rules. Obviously you don't go to production like that but it's ultimately a good idea to try to add that to CI. But first the tests need to work, and many of them don't.
[optional Relevant Links:]
http://www.cplusplus.com/reference/stl/
examples
Repro steps:
Logs:
The text was updated successfully, but these errors were encountered: