Skip to content

Commit 4a72e5c

Browse files
authored
Updating Envoy version to 2a33d4e (Oct 27, 2025) (#1441)
- Update the ENVOY_COMMIT and ENVOY_SHA in bazel/repositories.bzl to the latest Envoy's commit. - Update .bazelrc to envoyproxy/envoy#41705, envoyproxy/envoy#40997 - Update .bazelversion to envoyproxy/envoy#41661 - Update ci/docker-compose.yml to envoyproxy/envoy#41646 - Modifications to python test files to accommodate bazelbuild/bazel#18128 - Adjustments to docker image creation to avoid copying symlinks from virtualenv Signed-off-by: tomjzzhang <4367421+tomjzzhang@users.noreply.github.com>
1 parent a694581 commit 4a72e5c

File tree

15 files changed

+29
-22
lines changed

15 files changed

+29
-22
lines changed

.bazelrc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,14 @@ build --incompatible_enforce_config_setting_visibility
7777
test --test_verbose_timeout_warnings
7878
test --experimental_ui_max_stdouterr_bytes=11712829 #default 1048576
7979

80+
test --test_tag_filters=-runtime-cpu
81+
8082
# Allow tags to influence execution requirements
8183
common --experimental_allow_tags_propagation
8284

85+
# Python
86+
common --@rules_python//python/config_settings:bootstrap_impl=script
87+
8388
# Test configuration flags # unique
8489
# Enable stress tests (expensive tests that are skipped by default) # unique
8590
test:stress --//test/config:run_stress_tests=True # unique
@@ -159,7 +164,7 @@ build:asan-common --config=sanitizer
159164
build:asan-common --define signal_trace=disabled
160165
build:asan-common --define ENVOY_CONFIG_ASAN=1
161166
build:asan-common --build_tag_filters=-no_san
162-
build:asan-common --test_tag_filters=-no_san
167+
build:asan-common --test_tag_filters=-no_san,-runtime-cpu
163168
# The following two lines were manually edited due to #593. # unique
164169
# Flag undefined was dropped from both the lines to allow CI/ASAN to pass. # unique
165170
build:asan-common --copt -fsanitize=address # unique
@@ -212,7 +217,7 @@ build:tsan --copt -fsanitize=thread
212217
build:tsan --linkopt -fsanitize=thread
213218
build:tsan --copt -DTHREAD_SANITIZER=1
214219
build:tsan --build_tag_filters=-no_san,-no_tsan
215-
build:tsan --test_tag_filters=-no_san,-no_tsan
220+
build:tsan --test_tag_filters=-no_san,-no_tsan,-runtime-cpu
216221
# Needed due to https://github.com/libevent/libevent/issues/777
217222
build:tsan --copt -DEVENT__DISABLE_DEBUG_MODE
218223
# https://github.com/abseil/abseil-cpp/issues/760
@@ -224,7 +229,7 @@ build:tsan --test_env="TSAN_OPTIONS=report_atomic_races=0"
224229
build:msan --action_env=ENVOY_MSAN=1
225230
build:msan --config=sanitizer
226231
build:msan --build_tag_filters=-no_san
227-
build:msan --test_tag_filters=-no_san
232+
build:msan --test_tag_filters=-no_san,-runtime-cpu
228233
build:msan --define ENVOY_CONFIG_MSAN=1
229234
build:msan --copt -fsanitize=memory
230235
build:msan --linkopt -fsanitize=memory
@@ -285,10 +290,10 @@ build:coverage --coverage_report_generator=@envoy//tools/coverage:report_generat
285290

286291
build:test-coverage --test_arg="-l trace"
287292
build:test-coverage --test_arg="--log-path /dev/null"
288-
build:test-coverage --test_tag_filters=-nocoverage,-fuzz_target
293+
build:test-coverage --test_tag_filters=-nocoverage,-fuzz_target,-runtime-cpu
289294
build:fuzz-coverage --config=plain-fuzzer
290295
build:fuzz-coverage --run_under=@envoy//bazel/coverage:fuzz_coverage_wrapper.sh
291-
build:fuzz-coverage --test_tag_filters=-nocoverage
296+
build:fuzz-coverage --test_tag_filters=-nocoverage,-runtime-cpu
292297
# Existing fuzz tests don't need a full WASM runtime and in generally we don't really want to
293298
# fuzz dependencies anyways. On the other hand, disabling WASM reduces the build time and
294299
# resources required to build and run the tests.

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.1
1+
7.6.2

bazel/repositories.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
22

3-
ENVOY_COMMIT = "2b2759be6fc6b369c66c91e38846f5ad1403d2d4"
4-
ENVOY_SHA = "b29ae2b21aeadd543e763ea1ccee385f042b417666e8fa7522cc0d6069a4a633"
3+
ENVOY_COMMIT = "2a33d4e1f2403e874a28e29e0105f6253aa1ba21"
4+
ENVOY_SHA = "bdafd5158e68afbbe75b034c28ae89b6484a62e48c207ca7d543f0fa296ee2a4"
55

66
HDR_HISTOGRAM_C_VERSION = "0.11.8" # June 18th, 2025
77
HDR_HISTOGRAM_C_SHA = "bb95351a6a8b242dc9be1f28562761a84d4cf0a874ffc90a9b630770a6468e94"

benchmarks/dynamic_test/test_cds_churn_with_traffic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
from dynamic_config_envoy_proxy import (inject_dynamic_envoy_http_proxy_fixture, proxy_config)
1111
from benchmarks import utilities as benchmarks_utilities
1212
from typing import Generator
13-
from rules_python.python.runfiles import runfiles
14-
from nighthawk.api.configuration import cluster_config_manager_pb2
13+
from python.runfiles import runfiles
14+
from api.configuration import cluster_config_manager_pb2
1515
from test.integration import utility
1616

1717
_BENCHMARK_DURATION = int(os.environ.get("NIGHTHAWK_BENCHMARK_DURATION", 30))

benchmarks/dynamic_test/test_eds_churn_with_traffic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
from dynamic_config_envoy_proxy import (inject_dynamic_envoy_http_proxy_fixture, proxy_config)
1111
from benchmarks import utilities as benchmarks_utilities
1212
from typing import Generator
13-
from rules_python.python.runfiles import runfiles
14-
from nighthawk.api.configuration import endpoints_config_manager_pb2
13+
from python.runfiles import runfiles
14+
from api.configuration import endpoints_config_manager_pb2
1515
from test.integration import utility
1616

1717
_BENCHMARK_DURATION = int(os.environ.get("NIGHTHAWK_BENCHMARK_DURATION", 30))

benchmarks/envoy_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import os
99
import pytest
1010
import yaml
11-
from rules_python.python.runfiles import runfiles
11+
from python.runfiles import runfiles
1212

1313
from test.integration import integration_test_fixtures, nighthawk_test_server, utility
1414

benchmarks/static_benchmarks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
sys.path += [os.path.dirname(__file__)]
1212

1313
if __name__ == '__main__':
14-
path = os.path.dirname(os.path.realpath(__file__))
14+
path = os.path.dirname(__file__)
1515
r = pytest.main([
1616
"--rootdir=" + path, "-x", (path + '/test/'), "-p", "no:cacheprovider", "--log-level", "INFO",
1717
"--log-cli-level", "INFO", *sys.argv

benchmarks/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import logging
44
import json
5-
from rules_python.python.runfiles import runfiles
5+
from python.runfiles import runfiles
66
import os
77
import shutil
88

ci/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
x-envoy-build-base: &envoy-build-base
22
image: >-
33
${ENVOY_BUILD_IMAGE:-docker.io/envoyproxy/envoy-build-ubuntu:f4a881a1205e8e6db1a57162faf3df7aed88eae8@sha256:b10346fe2eee41733dbab0e02322c47a538bf3938d093a5daebad9699860b814}
4+
cpus: ${ENVOY_DOCKER_CPUS:-0}
45
user: root:root
56
working_dir: ${ENVOY_DOCKER_SOURCE_DIR:-/source}
67
stdin_open: true

ci/docker/benchmark_build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ TMP_DIR="$(mktemp -d ${WORKSPACE}/tmp-docker-build-context-XXXXXXXX)"
2121

2222
echo "Preparing docker build context in ${TMP_DIR}"
2323
cp -r "${WORKSPACE}/ci/docker/" "${TMP_DIR}/"
24-
cp -rL "${BAZEL_BIN}/benchmarks" "${TMP_DIR}"
24+
# Exclude any venv files since they aren't necessary and docker can't handle symlinks.
25+
rsync -a --exclude='*.venv/' "${BAZEL_BIN}/benchmarks" "${TMP_DIR}"
2526

2627
cd "${TMP_DIR}"
2728
echo "running docker build ... "

0 commit comments

Comments
 (0)