Skip to content

Update Envoy to 9ceb376 (Jun 19, 2025) - #1372

Merged
mum4k merged 6 commits into
envoyproxy:mainfrom
eric846:envoy-update-1750287367
Jun 21, 2025
Merged

mum4k merged 6 commits into
envoyproxy:mainfrom
eric846:envoy-update-1750287367

Conversation

@eric846

@eric846 eric846 commented Jun 19, 2025 •

Copy link
Copy Markdown
Contributor
  • Major .bazelrc update after bazel: Remove clang-libstdc++ toolchain and rationalize flags envoy#39755
    • Not taking the upstream update build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold which breaks my local ci/do_ci.sh build with clang-18: error: invalid linker name in argument '-fuse-ld=gold'
  • Http1PoolImpl started taking an OverloadManager argument; created a NullOverloadManager in NighthawkServerInstance to be used for that

@eric846
eric846 marked this pull request as ready for review June 19, 2025 14:21
@eric846
eric846 requested a review from mum4k June 19, 2025 14:22

@mum4k mum4k left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I am pretty sure we need to modify ci/do_ci.sh here, since the configs clang-asan and clang-tsan no longer exist in .bazelrc. So the builds pass, but they are no longer sanitizing:

nighthawk/ci/do_ci.sh

Lines 334 to 342 in cfb2320

asan)
setup_clang_toolchain
do_sanitizer "clang-asan"
exit 0
;;
tsan)
setup_clang_toolchain
do_sanitizer "clang-tsan"
exit 0

The right thing seems to be renaming them to asan and tsan, so that bazel is executed as follows:

For a tsan run:
bazel ... --config=tsan --config=libc++

For an asan run:
bazel ... --config=asan --config=libc++

Current execution runs:

run_on_build_parts: running command run_bazel build  --verbose_failures  --experimental_generate_json_trace_profile --config=remote-ci --config=remote-envoy-engflow --test_env=UBSAN_OPTIONS=print_stacktrace=1 --cache_test_results=no --test_output=errors --test_env=ENVOY_IP_TEST_VERSIONS=v4only  -c dbg --config=clang-asan --config=libc++ -- //source/server/...

Where -config=clang-asan has no effect.

From: https://github.com/envoyproxy/nighthawk/actions/runs/15748386960/job/44389479296

Comment thread .bazelrc Resolved
Comment thread .bazelrc Resolved
Comment thread .bazelrc Resolved
@eric846

eric846 commented Jun 20, 2025 •

Copy link
Copy Markdown
Contributor Author

I don't understand the GitHub UI so I'm unable to attach a reply to some of the comments.

  • I have removed some stray newlines
  • remote-ci-download turned out to be used by ci/do_ci.sh docker

@eric846

eric846 commented Jun 20, 2025

Copy link
Copy Markdown
Contributor Author

Confirmed that the CI is now doing such commands as

run_on_build_parts: running command run_bazel build --verbose_failures --experimental_generate_json_trace_profile --config=remote-ci --config=remote-envoy-engflow --test_env=UBSAN_OPTIONS=print_stacktrace=1 --cache_test_results=no --test_output=errors --test_env=ENVOY_IP_TEST_VERSIONS=v4only -c dbg --config=asan --config=libc++ -- //api/...

Source:
https://github.com/envoyproxy/nighthawk/actions/runs/15783992837/job/44496405869?pr=1372

@eric846

eric846 commented Jun 20, 2025

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@eric846

eric846 commented Jun 20, 2025

Copy link
Copy Markdown
Contributor Author

/retest

@eric846
eric846 requested a review from mum4k June 20, 2025 19:05
@eric846

eric846 commented Jun 20, 2025

Copy link
Copy Markdown
Contributor Author

Based on seeing tsan time out once after 600s, restored the 900s timeouts under the new name:

build:asan --test_timeout=900                                                         # unique
build:tsan --test_timeout=900                                                         # unique       

@eric846

eric846 commented Jun 20, 2025

Copy link
Copy Markdown
Contributor Author

Based on seeing tsan time out once after 600s, restored the 900s timeouts under the new name:

build:asan --test_timeout=900                                                         # unique
build:tsan --test_timeout=900                                                         # unique       

Indeed in a passing run tsan was reported to take 16m total, clearly not all of which was in bazel. So 900s may be a good start.

@mum4k
mum4k merged commit 88d4089 into envoyproxy:main Jun 21, 2025
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 1, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 1, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 1, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 1, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 1, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 2, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 2, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Jul 2, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Sep 15, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Sep 15, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/nighthawk that referenced this pull request Sep 15, 2025
- Major .bazelrc update after envoyproxy/envoy#39755
  - Not taking the upstream update `build:linux --action_env=BAZEL_LINKOPTS=-lm:-fuse-ld=gold` which breaks my local `ci/do_ci.sh build` with `clang-18: error: invalid linker name in argument '-fuse-ld=gold'`
- `Http1PoolImpl` started taking an `OverloadManager` argument; created a `NullOverloadManager` in `NighthawkServerInstance` to be used for that

Signed-off-by: eric846 <[email protected]>
Signed-off-by: asingh-g <[email protected]>
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.

2 participants