Skip to content

Disable signal handler tests under ASAN.#1076

Merged
mattklein123 merged 12 commits intoenvoyproxy:masterfrom
dnoe:disable_signals_tests_under_asan
Jun 12, 2017
Merged

Disable signal handler tests under ASAN.#1076
mattklein123 merged 12 commits intoenvoyproxy:masterfrom
dnoe:disable_signals_tests_under_asan

Conversation

@dnoe
Copy link
Contributor

@dnoe dnoe commented Jun 9, 2017

Some specific ones already had to be disabled but other tests no longer
pass under the latest Clang ASAN because they mysteriously have no output.

The ENVOY_BUILD_SHA is updated to the latest so CI uses that CI image.

ci/ci_steps.sh Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ignore the fancy github text replacement)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the much needed pointer, I was thinking this was what was reported from the "docker images" command which obviously it is not.

Copy link
Member

@mattklein123 mattklein123 Jun 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are dev docs that would have made sense here please add them.

Some specific ones already had to be disabled but other tests no longer
pass under the latest Clang ASAN because they mysteriously have no output.

The ENVOY_BUILD_SHA is updated to the latest so CI uses that CI image.
@dnoe dnoe force-pushed the disable_signals_tests_under_asan branch from 046a721 to b844428 Compare June 9, 2017 19:55
mattklein123
mattklein123 previously approved these changes Jun 9, 2017
Looks like Bazel 0.5.1 caused the .gcda to appear under runfiles, which
confuses gcov as it doesn't match the location of the .gcno.
@@ -1,5 +1,5 @@
#!/bin/bash
ENVOY_BUILD_SHA=fc747b3c2fd49b1260484572071fe4194cd6824d
ENVOY_BUILD_SHA=1d2a2100708d1012cd61054ce04d4dc4e3b03ff2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change has no effect outside of this PR until it is merged, correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is correct. But it's failing due to changes in bazel per the other open PR. See the comments there.

@htuch
Copy link
Member

htuch commented Jun 11, 2017

@dnoe #1080 now works modulo ASAN and a drop to 97.9 coverage for some reason. Do you want to merge it into your PR and see if it fixes stuff?

@dnoe
Copy link
Contributor Author

dnoe commented Jun 12, 2017

Trying it out now.

@dnoe
Copy link
Contributor Author

dnoe commented Jun 12, 2017

With @htuch 's change to fix coverage merged I can see an actual coverage report now. The report is not affected by my change (which only changes behavior under ASAN) but is 97.9% :( Investigating to see if something else changed.

This commit adds a test which manually exercises the signal handler
code in SignalAction.  This code was previously exercised but this is a
quick and dirty trick to make sure code coverage analysis picks it up by
using a nonfatal signal type.  Code coverage sits at 98% with this
commit.
@mattklein123 mattklein123 merged commit c6ecf05 into envoyproxy:master Jun 12, 2017
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Bumping primarily to include the changes from #12477 for decompressor trailers reporting.

Contains changes to fix compilation after:
- d245c02
- 52ec66f

Also contains new fixes required by Envoy Mobile:
- #13039
- #13040

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Bumping primarily to include the changes from #12477 for decompressor trailers reporting.

Contains changes to fix compilation after:
- d245c02
- 52ec66f

Also contains new fixes required by Envoy Mobile:
- #13039
- #13040

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: JP Simard <jp@jpsim.com>
nezdolik pushed a commit to nezdolik/envoy that referenced this pull request May 4, 2024
rsp is not actually clobbered by that code and later gccs actually (correctly) bark
at it.

Fixed issue envoyproxy#1076.
nezdolik pushed a commit to nezdolik/envoy that referenced this pull request May 4, 2024
mathetake pushed a commit that referenced this pull request Mar 3, 2026
**Description**

This parses OpenAI Web Tool requests and obfuscation used in gpt-5. As a
part of this, we re-record all the affected requests.

**Related Issues/PRs (if applicable)**

#1068

---------

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants