diff --git a/e/envoy/Dockerfiles/1.36.5_ubi_9/Dockerfile b/e/envoy/Dockerfiles/1.36.5_ubi_9/Dockerfile new file mode 100644 index 0000000000..7c2859dd63 --- /dev/null +++ b/e/envoy/Dockerfiles/1.36.5_ubi_9/Dockerfile @@ -0,0 +1,128 @@ +ARG wdir=/tmp + +FROM registry.access.redhat.com/ubi9/ubi:9.7 as build + +RUN yum update -y && yum clean all + +ENV PACKAGE_NAME=envoy +ENV PACKAGE_VERSION=1.36.5 +ENV ENVOY_PATCH=https://raw.githubusercontent.com/ppc64le/build-scripts/master/e/envoy/${PACKAGE_NAME}_${PACKAGE_VERSION}.patch +ENV PACKAGE_ORG=envoyproxy +ENV PACKAGE_URL=https://github.com/envoyproxy/envoy/ +ARG wdir + +#Install centos and epel repos +RUN yum config-manager --add-repo https://mirror.stream.centos.org/9-stream/CRB/ppc64le/os +RUN yum config-manager --add-repo https://mirror.stream.centos.org/9-stream/AppStream//ppc64le/os +RUN yum config-manager --add-repo https://mirror.stream.centos.org/9-stream/BaseOS/ppc64le/os +RUN rpm --import https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official +RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm + +#Install dependencies +RUN yum install -y \ + cmake \ + libatomic \ + libstdc++ \ + libstdc++-static \ + libtool \ + lld \ + patch \ + openssl-devel \ + libffi-devel \ + unzip \ + wget \ + zip \ + java-21-openjdk-devel \ + git \ + gcc-c++ \ + xz \ + file \ + binutils \ + procps \ + diffutils \ + ninja-build \ + aspell \ + aspell-en \ + sudo \ + python3.12 \ + python3.12-devel \ + python3.12-pip + +#Copy patch +RUN wget $ENVOY_PATCH +RUN cp ${PACKAGE_NAME}_${PACKAGE_VERSION}.patch $wdir + +#Run build +RUN cd $wdir && \ + git clone ${PACKAGE_URL} && \ + cd ${PACKAGE_NAME} && git checkout v${PACKAGE_VERSION} && \ + git apply $wdir/${PACKAGE_NAME}_${PACKAGE_VERSION}.patch && \ + export BAZEL_VERSION=$(cat .bazelversion) && \ + cd $wdir && \ + export JAVA_HOME=$(compgen -G '/usr/lib/jvm/java-21-openjdk-*') && \ + export JRE_HOME=${JAVA_HOME}/jre && \ + export PATH=${JAVA_HOME}/bin:$PATH && \ + mkdir bazel && \ + cd bazel && \ + wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-$BAZEL_VERSION-dist.zip && \ + unzip bazel-$BAZEL_VERSION-dist.zip && \ + rm -rf bazel-$BAZEL_VERSION-dist.zip && \ + export BAZEL_DEV_VERSION_OVERRIDE=${BAZEL_VERSION} && \ + env EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" bash ./compile.sh && \ + export PATH=$PATH:$wdir/bazel/output && \ + cd $wdir && \ + wget https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8.tar.xz && \ + tar -xvf clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8.tar.xz && \ + rm -rf clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8.tar.xz && \ + # LLVM / Clang setup (THIS IS REQUIRED) + export LLVM_DIR=$wdir/clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8 && \ + export PATH=$LLVM_DIR/bin:$PATH && \ + export CC=$LLVM_DIR/bin/clang && \ + export CXX=$LLVM_DIR/bin/clang++ && \ + export LLVM_CONFIG=$LLVM_DIR/bin/llvm-config && \ + curl https://sh.rustup.rs -sSf | sh -s -- -y && source ~/.cargo/env && \ + cargo install cross --version 0.2.1 && \ + cd $wdir && \ + git clone https://github.com/bazelbuild/rules_rust && \ + cd rules_rust && \ + git checkout 0.56.0 && \ + cd crate_universe && \ + cross build --release --locked --bin cargo-bazel --target=powerpc64le-unknown-linux-gnu && \ + export CARGO_BAZEL_GENERATOR_URL=file://$(pwd)/target/powerpc64le-unknown-linux-gnu/release/cargo-bazel && \ + export CARGO_BAZEL_REPIN=true && \ + cd $wdir/${PACKAGE_NAME} && \ + bazel/setup_clang.sh $wdir/clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8/ && \ + bazel build //source/exe:envoy --config=clang-gnu --define=wasm=disabled --define=enable_http3=true --define=boringssl_disable_asm=true --jobs=8 --local_ram_resources=24000 && \ + cp $wdir/envoy/bazel-bin/source/exe/envoy-static $wdir/envoy/envoy-static && \ + chmod -R 755 $wdir/envoy && \ + strip -s $wdir/envoy/envoy-static + +RUN cd $wdir && git clone https://github.com/ncopa/su-exec && cd su-exec && make su-exec && cp su-exec /usr/bin + + +FROM registry.access.redhat.com/ubi9/ubi:9.7 + +ARG wdir + +RUN yum update -y && yum install -y libatomic && yum clean all + +#Copy from build stage +RUN mkdir -p /etc/envoy +COPY --from=build /usr/bin/su-exec /usr/bin/ +COPY --from=build $wdir/envoy/VERSION.txt /etc/envoy +COPY --from=build $wdir/envoy/configs/envoyproxy_io_proxy.yaml /etc/envoy/envoy.yaml +COPY --from=build $wdir/envoy/distribution/docker/docker-entrypoint.sh /docker-entrypoint.sh +COPY --from=build $wdir/envoy/envoy-static /usr/bin/envoy + +#Expose port +EXPOSE 9901 10000 + +#Add user +RUN adduser --system envoy + +#Entry point +RUN chmod +x /docker-entrypoint.sh +ENTRYPOINT ["/docker-entrypoint.sh"] + +#Cmd +CMD ["envoy", "-c", "/etc/envoy/envoy.yaml"] \ No newline at end of file diff --git a/e/envoy/Final_envoy_test_logs_1.36.5.txt b/e/envoy/Final_envoy_test_logs_1.36.5.txt new file mode 100644 index 0000000000..3bebde4b61 --- /dev/null +++ b/e/envoy/Final_envoy_test_logs_1.36.5.txt @@ -0,0 +1,572 @@ +-benchmark + +bazel test //test/benchmark/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed target //test/benchmark:main (2 packages loaded, 49 targets configured). +INFO: Found 1 target and 0 test targets... +Target //test/benchmark:main up-to-date: + bazel-bin/test/benchmark/libmain.lo +INFO: Elapsed time: 44.591s, Critical Path: 34.22s +INFO: 26 processes: 5 internal, 21 linux-sandbox. +INFO: Build completed successfully, 26 total actions +ERROR: No test targets were found, yet testing was requested + +========================================================================================= +-common +bazel test //test/common/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --test_env=PYTHONPATH=/usr/local/lib64/python3.12/site-packages --jobs=4 -- -//test/common/network:io_socket_handle_impl_integration_test -//test/common/stream_info:stream_info_impl_test -//test/common/tls:tls_throughput_benchmark_test +DEBUG: /root/.cache/bazel/_bazel_root/c2c91d2d0efe1abd085f863969359f65/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/c2c91d2d0efe1abd085f863969359f65/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:ares +INFO: Analyzed 728 targets (156 packages loaded, 6810 targets configured). +INFO: Found 334 targets and 394 test targets... +INFO: Elapsed time: 139.775s, Critical Path: 43.94s +INFO: 14 processes: 1 internal, 13 processwrapper-sandbox. +INFO: Build completed successfully, 14 total actions + +Executed 9 out of 394 tests: 394 tests pass. + +====================== +-config +bazel test //test/config/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 8 targets (1 packages loaded, 30 targets configured). +INFO: Found 8 targets and 0 test targets... +Target //test/config:utility_lib up-to-date: + bazel-bin/test/config/libutility_lib.lo +INFO: Elapsed time: 0.724s, Critical Path: 0.05s +INFO: 3 processes: 2 internal, 1 linux-sandbox. +INFO: Build completed successfully, 3 total actions +ERROR: No test targets were found, yet testing was requested + + + +================================================================================ + +- config_test - LUA filter disable for power - details in md file + +INFO: Found 2 targets and 1 test target... +INFO: Elapsed time: 57.766s, Critical Path: 48.87s +INFO: 140 processes: 9 internal, 131 linux-sandbox. +INFO: Build completed, 1 test FAILED, 140 total actions +//test/config_test:example_configs_test FAILED in 30.3s + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/config_test/example_configs_test/test.log + +Executed 1 out of 1 test: 1 fails locally. +[root@prachi-gaonkar-1 envoy]# bazel test //test/config_test/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BI + +========================== +-exe + + bazel test //test/exe/... --config=clang-gnu --define=wasm=disabled --jobs=8 --local_resources=memory=16000 --test_output=errors --verbose_failures --linkopt=-fuse-ld=lld --test_tag_filters=-fuzz --override_repository=base_pip3=$(pwd)/third_party/python_stub --override_repository=v8_python_deps=$(pwd)/third_party/v8_python_deps --override_repository=fuzzing_pip3=$(pwd)/third_party/python_stub_fuzzing --action_env=PYTHON_BIN_PATH=$(which python3.12) +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:ares +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:87:18: target 'grpc_cpp_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:93:18: target 'grpc_csharp_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:99:18: target 'grpc_node_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:105:18: target 'grpc_objective_c_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:111:18: target 'grpc_php_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:117:18: target 'grpc_python_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:123:18: target 'grpc_ruby_plugin' is both a rule and a file; please choose another name for the rule +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:maxmind +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zstd +INFO: Analyzed 12 targets (652 packages loaded, 11688 targets configured). +INFO: From Compiling absl/random/internal/randen_hwaes.cc: +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:45: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:52: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +2 warnings generated. +INFO: Found 1 target and 11 test targets... +INFO: Elapsed time: 3224.981s, Critical Path: 64.65s +INFO: 5502 processes: 2140 internal, 3361 linux-sandbox, 1 worker. +INFO: Build completed successfully, 5502 total actions + +Executed 11 out of 11 tests: 11 tests pass. +========================================================================== +- extensions +seperate file attached +================================================= +-fuzz + bazel test //test/fuzz/... --config=clang-gnu --define=wasm=disabled --jobs=8 --local_resources=memory=16000 --test_output=errors --verbose_failures --linkopt=-fuse-ld=lld --test_tag_filters=-fuzz --override_repository=base_pip3=$(pwd)/third_party/python_stub --override_repository=v8_python_deps=$(pwd)/third_party/v8_python_deps --override_repository=fuzzing_pip3=$(pwd)/third_party/python_stub_fuzzing --action_env=PYTHON_BIN_PATH=$(which python3.12) +Starting local Bazel server and connecting to it... +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_google_protobuf/protobuf.bzl:654:10: The py_proto_library macro is deprecated and will be removed in the 30.x release. switch to the rule defined by rules_python or the one in bazel/py_proto_library.bzl. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:event +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:nghttp2 +INFO: Analyzed 15 targets (534 packages loaded, 24031 targets configured). +INFO: Found 14 targets and 1 test target... +INFO: Elapsed time: 247.943s, Critical Path: 84.94s +INFO: 50 processes: 1 internal, 49 linux-sandbox. +INFO: Build completed successfully, 50 total actions + +Executed 1 out of 1 test: 1 test passes. + +========================================================================================= +- integration (2 skipped - explained in PowerPC64LE_Test_Exclusion.md) + +bazel test //test/integration/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub -- +override_repository=v8_python_deps=third_party/v8_python_deps --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --action_env=PYTHONPATH=/usr/local/l +ib/python3.12/site-packages --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --test_output=errors --jobs=3 -- -//test/integration:tcp_proxy_integration_test -//tes +t/integration:stats_integration_test +DEBUG: /root/.cache/bazel/_bazel_root/6c8c0067fa8c658a831be4d65c04d45f/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, plea +se update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +INFO: Analyzed 415 targets (171 packages loaded, 4277 targets configured). +INFO: Found 321 targets and 94 test targets... +INFO: Elapsed time: 6577.014s, Critical Path: 1004.17s +INFO: 311 processes: 311 processwrapper-sandbox. +INFO: Build completed successfully, 311 total actions +Executed 90 out of 94 tests: 94 tests pass. +======================================================================= + +-mocks + + bazel test //test/mocks/... --config=clang-gnu --define=wasm=disabled --jobs=2 --local_resources=memory=16000 --test +_output=errors --verbose_failures --linkopt=-fuse-ld=lld --test_tag_filters=-fuzz --override_repository=base_pip3=$(pwd)/third_party/python_stub -- +override_repository=v8_python_deps=$(pwd)/third_party/v8_python_deps --override_repository=fuzzing_pip3=$(pwd)/third_party/python_stub_fuzzing --action_e +nv=PYTHON_BIN_PATH=$(which python3.12) +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_google_protobuf/protobuf.bzl:654:10: The py_proto_library macro is deprec +ated and will be removed in the 30.x release. switch to the rule defined by rules_python or the one in bazel/py_proto_library.bzl. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:event +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:nghttp2 +INFO: Analyzed 109 targets (351 packages loaded, 18742 targets configured). +INFO: From Compiling absl/base/internal/unscaledcycleclock.cc: +external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:65:10: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to + 'int64_t' (aka 'long') [-Wsign-conversion] + 65 | return __ppc_get_timebase(); + | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ +1 warning generated. +INFO: From Compiling absl/debugging/stacktrace.cc: +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:229:12: note: in instantiation of function template specialization 'UnwindImpl' requested +here + 229 | f = &UnwindImpl; + +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:231:12: note: in instantiation of function template specialization 'UnwindImpl' requested h +ere + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +[2,788 / 3,832] 2 actions, 1 running + Compiling external/envoy_api/envoy/config/listener/v3/listener.pb.validate.cc; 8s linux-sandbox +[2,790 / 3,832] 3 actions, 2 running + Compiling external/envoy_api/envoy/extensions/filters/common/dependency/v3/dependency.pb.validate.cc; 1s linux-sandbox +[2,790 / 3,832] 3 actions, 2 running + Compiling external/envoy_api/envoy/extensions/filters/common/dependency/v3/dependency.pb.validate.cc; 2s linux-sandbox + Compiling external/envoy_api/envoy/config/listener/v3/api_listener.pb.validate.cc; 1s linux-sandbox + [Prepa] Compiling source/common/quic/platform/quiche_mem_slice_impl.cc + + +[2,790 / 3,832] 3 actions, 2 running +[2,848 / 3,832] 3 actions, 2 running + Compiling quiche/http2/core/spdy_framer.cc; 7s linux-sandbox +[2,848 / 3,832] 3 actions, 2 running + Compiling quiche/http2/core/spdy_framer.cc; 8s linux-sandbox + Compiling source/common/config/watched_directory.cc; 1s linux-sandbox +[2,849 / 3,832] 2 actions, 1 running + Compiling source/common/config/watched_directory.cc; 2s linux-sandbox +[2,849 / 3,832] 3 actions, 2 running + Compiling source/common/config/watched_directory.cc; 2s linux-sandbox + Compiling quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc; 0s linux-sandbox + [Prepa] Compiling quiche/http2/core/spdy_frame_builder.cc + +[2,849 / 3,832] 3 actions, 2 running + Compiling source/common/config/watched_directory.cc; 3s linux-sandbox +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,828 / 3,834] 1 / 1 tests; 3 actions, 2 running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions, 1 running; last test: //test/mocks/http: +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_test +[3,829 / 3,834] 1 / 1 tests; 2 actions running; last test: //test/mocks/http:http_mocks_ + Compiling test/mocks/server/health_checker_factory_context.cc; 72s linux-san +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,832 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_test +[3,833 / 3,834] 1 / 1 tests; 1 action; last test: //test/mocks/http:http_mocks_ +INFO: Found 108 targets and 1 test target... +[3,834 / 3,834] 1 / 1 tests; no actions running; last test: //test/mocks/http:ht +[3,834 / 3,834] 1 / 1 tests; no actions running; last test: //test/mocks/http:ht +INFO: Elapsed time: 6310.552s, Critical Path: 189.79s +[3,834 / 3,834] 1 / 1 tests; no actions running; last test: //test/mocks/http:ht +INFO: 2237 processes: 114 internal, 2123 linux-sandbox. +[3,834 / 3,834] 1 / 1 tests; no actions running; last test: //test/mocks/http:ht +INFO: Build completed successfully, 2237 total actions + +Executed 1 out of 1 test: 1 test passes. + +======================================================================================================================================= + +bazel test //test/common/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --test_env=PYTHONPATH=/usr/local/lib64/python3.12/site-packages --jobs=4 -- -//test/common/network:io_socket_handle_impl_integration_test -//test/common/stream_info:stream_info_impl_test -//test/common/tls:tls_throughput_benchmark_test +DEBUG: /root/.cache/bazel/_bazel_root/c2c91d2d0efe1abd085f863969359f65/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/c2c91d2d0efe1abd085f863969359f65/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:ares +INFO: Analyzed 728 targets (156 packages loaded, 6810 targets configured). +INFO: Found 334 targets and 394 test targets... +INFO: Elapsed time: 139.775s, Critical Path: 43.94s +INFO: 14 processes: 1 internal, 13 processwrapper-sandbox. +INFO: Build completed successfully, 14 total actions + +Executed 9 out of 394 tests: 394 tests pass. + + +=============================================================== + +- proto +bazel test //test/proto/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --test_env=PYTHONPATH=/usr/local/lib64/python3.12/site-packages --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=8 --local_ram_resources=12000 +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +INFO: Analyzed 40 targets (23 packages loaded, 1603 targets configured). +INFO: From Building external/com_google_protobuf/java/core/libcore.jar (43 source files, 1 source jar): +external/com_google_protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:28: warning: [dep-ann] deprecated item is not annotated with @Deprecated +public class RepeatedFieldBuilderV3< + ^ +INFO: Found 40 targets and 0 test targets... +INFO: Elapsed time: 159.556s, Critical Path: 23.07s +INFO: 906 processes: 499 internal, 399 linux-sandbox, 8 worker. +INFO: Build completed successfully, 906 total actions +ERROR: No test targets were found, yet testing was requested + + +============================================================ + +-server + +long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +2 warnings generated. +INFO: From Compiling absl/debugging/stacktrace.cc: +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:229:12: note: in instantiation of function template specialization 'UnwindImpl' requested here + 229 | f = &UnwindImpl; + | ^ +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:231:12: note: in instantiation of function template specialization 'UnwindImpl' requested here + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +INFO: Found 25 targets and 46 test targets... +INFO: Elapsed time: 6057.572s, Critical Path: 274.77s +INFO: 13100 processes: 5868 internal, 7223 linux-sandbox, 9 worker. +INFO: Build completed successfully, 13100 total actions + +Executed 46 out of 46 tests: 46 tests pass. + +=========================================================================================== +- test_common + bazel test //test/test_common/... --config=clang-gnu --define=wasm=disabled --jobs=2 --local_resources=memory=16000 --test_output=errors --verbose_failures --linkopt=-fuse-ld=lld --test_tag_filters=-fuzz --override_repository=base_pip3=$(pwd)/third_party/python_stub --override_repository=v8_python_deps=$(pwd)/third_party/v8_python_deps --override_repository=fuzzing_pip3=$(pwd)/third_party/python_stub_fuzzing --action_env=PYTHON_BIN_PATH=$(which python3.12) +INFO: Analyzed 33 targets (36 packages loaded, 1553 targets configured). +INFO: Found 27 targets and 6 test targets... +INFO: Elapsed time: 793.429s, Critical Path: 52.29s +INFO: 445 processes: 50 internal, 395 linux-sandbox. +INFO: Build completed successfully, 445 total actions + +Executed 6 out of 6 tests: 6 tests pass. + +========================================================================= +-tools + +[root@prachi-gaonkar-1 envoy]# bazel test //test/tools/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python +_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v +8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --test_output=errors +--verbose_failures --jobs=8 --local_resources=memory=16000 +Starting local Bazel server and connecting to it... +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_google_protobuf/protobuf.bzl:654:10: The py_proto_library macro is deprec +ated and will be removed in the 30.x release. switch to the rule defined by rules_python or the one in bazel/py_proto_library.bzl. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:maxmind +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:ares +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:87:18: target 'grpc_cpp_plugin' is +both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:93:18: target 'grpc_csharp_plugin' +is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:99:18: target 'grpc_node_plugin' is + both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:105:18: target 'grpc_objective_c_pl +ugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:111:18: target 'grpc_php_plugin' is + both a rule and a file; please choose another name for the rule +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:event +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:117:18: target 'grpc_python_plugin' + is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:123:18: target 'grpc_ruby_plugin' i +s both a rule and a file; please choose another name for the rule +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zstd +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:nghttp2 +INFO: Analyzed 23 targets (1317 packages loaded, 40191 targets configured). +INFO: From Compiling absl/base/internal/unscaledcycleclock.cc [for tool]: +external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:65:10: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to + 'int64_t' (aka 'long') [-Wsign-conversion] + 65 | return __ppc_get_timebase(); + | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ + +INFO: From Compiling simdutf.cpp [for tool]: +external/simdutf/simdutf.cpp:40346:22: warning: Implicit conversion between vector types (''vector_type' (aka '__vector unsigned char')' and ''const vector_t +ype' (aka '__vector __bool unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [ +-Wdeprecate-lax-vec-conv-all] + 40346 | return simd8(is_third_byte | is_fourth_byte); + | ^ +external/simdutf/simdutf.cpp:42600:22: warning: Implicit conversion between vector types (''vector_type' (aka '__vector __bool unsigned char')' and ''const v +ector_type' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [ +-Wdeprecate-lax-vec-conv-all] + 42600 | simd8(must_be_2_3_continuation(prev2, prev3)); + | ^ +external/simdutf/simdutf.cpp:42913:22: warning: Implicit conversion between vector types (''vector_type' (aka '__vector __bool unsigned char')' and ''const v +ector_type' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [ +-Wdeprecate-lax-vec-conv-all] + 42913 | simd8(must_be_2_3_continuation(prev2, prev3)); + | ^ +external/simdutf/simdutf.cpp:43326:22: warning: Implicit conversion between vector types (''vector_type' (aka '__vector __bool unsigned char')' and ''const v +ector_type' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [ +-Wdeprecate-lax-vec-conv-all] + 43326 | simd8(must_be_2_3_continuation(prev2, prev3)); + | ^ +external/simdutf/simdutf.cpp:8459:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8459 | return simd8x64(simd8(this->chunks[0]) >= mask, + | ^ +external/simdutf/simdutf.cpp:43671:32: note: in instantiation of member function 'simdutf::ppc64::(anonymous namespace)::simd::simd8x64::gteq_un +signed' requested here + 43671 | int64_t utf8_4byte = input.gteq_unsigned(240); + | ^ +external/simdutf/simdutf.cpp:8460:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8460 | simd8(this->chunks[1]) >= mask, + | ^ +external/simdutf/simdutf.cpp:8461:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8461 | simd8(this->chunks[2]) >= mask, + | ^ +external/simdutf/simdutf.cpp:8462:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8462 | simd8(this->chunks[3]) >= mask) + + +external/simdutf/simdutf.cpp:2085:15: warning: unused variable 'pack_1_2_3_utf8_bytes' [-Wunused-const-variable] + 2085 | const uint8_t pack_1_2_3_utf8_bytes[256][17] = { + | ^~~~~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:2591:15: warning: unused variable 'pack_utf32_to_utf16le' [-Wunused-const-variable] + 2591 | const uint8_t pack_utf32_to_utf16le[16][16] = { + | ^~~~~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:2610:15: warning: unused variable 'pack_utf32_to_utf16be' [-Wunused-const-variable] + 2610 | const uint8_t pack_utf32_to_utf16be[16][16] = { + | ^~~~~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:13320:28: warning: unused function 'low_surrogate' [-Wunused-function] + 13320 | simdutf_really_inline bool low_surrogate(char16_t c) { + | ^~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:14169:15: warning: unused function 'convert_valid' [-Wunused-function] + 14169 | inline size_t convert_valid(const char32_t *buf, size_t len, + | ^~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:16403:15: warning: unused function 'convert_valid' [-Wunused-function] + 16403 | inline size_t convert_valid(const char32_t *buf, size_t len, + | ^~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:41928:16: warning: unused variable 'with_base64_std' [-Wunused-const-variable] + 41928 | constexpr bool with_base64_std = false; + | ^~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:41929:16: warning: unused variable 'with_base64_url' [-Wunused-const-variable] + 41929 | constexpr bool with_base64_url = true; + | ^~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:41930:16: warning: unused variable 'with_ignore_errors' [-Wunused-const-variable] + 41930 | constexpr bool with_ignore_errors = true; + | ^~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:41931:16: warning: unused variable 'with_ignore_garbage' [-Wunused-const-variable] + 41931 | constexpr bool with_ignore_garbage = true; + | ^~~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:41932:16: warning: unused variable 'with_strict_checking' [-Wunused-const-variable] + 41932 | constexpr bool with_strict_checking = false; + | ^~~~~~~~~~~~~~~~~~~~ + + 42913 | simd8(must_be_2_3_continuation(prev2, prev3)); + | ^ +external/simdutf/simdutf.cpp:43326:22: warning: Implicit conversion between vector types (''vector_type' (aka '__vector __bool unsigned char')' and ''const v +ector_type' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [ +-Wdeprecate-lax-vec-conv-all] + 43326 | simd8(must_be_2_3_continuation(prev2, prev3)); + | ^ +external/simdutf/simdutf.cpp:8459:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8459 | return simd8x64(simd8(this->chunks[0]) >= mask, + | ^ +external/simdutf/simdutf.cpp:43671:32: note: in instantiation of member function 'simdutf::ppc64::(anonymous namespace)::simd::simd8x64::gteq_un +signed' requested here + 43671 | int64_t utf8_4byte = input.gteq_unsigned(240); + | ^ +external/simdutf/simdutf.cpp:8460:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8460 | simd8(this->chunks[1]) >= mask, + | ^ +external/simdutf/simdutf.cpp:8461:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8461 | simd8(this->chunks[2]) >= mask, + | ^ +external/simdutf/simdutf.cpp:8462:42: warning: Implicit conversion between vector types (''vector_type' (aka '__vector signed char')' and ''const vector_type +' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecat +e-lax-vec-conv-all] + 8462 | simd8(this->chunks[3]) >= mask) + | ^ +external/simdutf/simdutf.cpp:2085:15: warning: unused variable 'pack_1_2_3_utf8_bytes' [-Wunused-const-variable] + 2085 | const uint8_t pack_1_2_3_utf8_bytes[256][17] = { + | ^~~~~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:2591:15: warning: unused variable 'pack_utf32_to_utf16le' [-Wunused-const-variable] + 2591 | const uint8_t pack_utf32_to_utf16le[16][16] = { + | ^~~~~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:2610:15: warning: unused variable 'pack_utf32_to_utf16be' [-Wunused-const-variable] + 2610 | const uint8_t pack_utf32_to_utf16be[16][16] = { + | ^~~~~~~~~~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:13320:28: warning: unused function 'low_surrogate' [-Wunused-function] + 13320 | simdutf_really_inline bool low_surrogate(char16_t c) { + | ^~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:14169:15: warning: unused function 'convert_valid' [-Wunused-function] + 14169 | inline size_t convert_valid(const char32_t *buf, size_t len, + | ^~~~~~~~~~~~~ +external/simdutf/simdutf.cpp:16403:15: warning: unused function 'convert_valid' [-Wunused-function] + +19 warnings generated. +INFO: From Compiling simdutf.cpp: +external/simdutf/simdutf.cpp:40346:22: warning: Implicit conversion between vector types (''vector_type' (aka '__vector unsigned char')' and ''const vector_t +ype' (aka '__vector __bool unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [ +-Wdeprecate-lax-vec-conv-all] + 40346 | return simd8(is_third_byte | is_fourth_byte); + | ^ +external/simdutf/simdutf.cpp:42600:22: warning: Implicit conversion between vector types (''vector_type' (aka '__vector __bool unsigned char')' and ''const v +ector_type' (aka '__vector unsigned char const')') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [ +-Wdeprecate-lax-vec-conv-all] + 42600 | simd8(must_be_2_3_continuation(prev2, prev3)); + | ^ + +1 warning generated. + + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:229:12: note: in instantiation of function template specialization 'UnwindImpl' requested here + 229 | f = &UnwindImpl; + | ^ +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:231:12: note: in instantiation of function template specialization 'UnwindImpl' requested here + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +INFO: From Compiling absl/random/internal/randen_hwaes.cc: +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:45: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:52: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +2 warnings generated. +INFO: Found 19 targets and 4 test targets... +INFO: Elapsed time: 8505.993s, Critical Path: 211.45s +INFO: 15218 processes: 5684 internal, 9532 linux-sandbox, 1 local, 1 worker. +INFO: Build completed successfully, 15218 total actions + +Executed 4 out of 4 tests: 4 tests pass. +=============================================================================== + + + + diff --git a/e/envoy/README.md b/e/envoy/README.md index 52a4d5bcbb..4af65a8b54 100644 --- a/e/envoy/README.md +++ b/e/envoy/README.md @@ -1,17 +1,36 @@ -Note regarding the test failures +# Envoy 1.36.5 PPC64LE Test Exclusions -- There were 9 failures observed in v1.23.6 and ~12 in v1.25.3 +This file lists tests that are excluded or failing on PPC64LE, with the observed reasons. -- These were analyzed and found to be either +## common +- `//test/common/network:io_socket_handle_impl_integration_test` + - Requires outbound internet connectivity (connects to `1.1.1.1:80`). The VM/sandbox blocks external network access. - i) related to the lua filter functionality in Envoy that is not supported on Power +- `//test/common/tls:tls_throughput_benchmark_test` + - Performance benchmark assumes deterministic CPU timing, thread affinity, and blocking TLS behavior. On PPC64LE (especially virtualized/debug environments) those assumptions do not hold, and the SSL_write assertion is invalid in this context. Upstream Envoy treats this benchmark as non-gating and excludes it on non-x86 platforms. - ii) flaky failures with open/closed issues in the community which were architecture -independent (that is happen on x86 as well, Examples -- https://github.com/envoyproxy/envoy/issues/14286 , -https://github.com/envoyproxy/envoy/pull/26130/files etc.) -All these are issues in the test code as opposed to issues in the application code +## config_test +- `//test/config_test:example_configs_test` + - LUA filter disabled for power (in envoy source code) - iii) tests that need higher stack size, ulimit values to be set , -parameters like "startup --host_jvm_args=-Xss2560K" can be used in .bazelrc file before - building to address these. +## integration +- `//test/integration:tcp_proxy_integration_test` + - “The test was failing because the expected certificate fingerprint was tied to the integration test certs. After the certs were regenerated, the peer certificate fingerprint changed, so the test expectation had to be updated. This is a test-data change, not a product behavior change.” + + File locations: + The expectation is in tcp_proxy_integration_test.cc:1551 + The certs that drive the fingerprint are under certs + +- `//test/integration:stats_integration_test` + - Without cert generation, the test reports `server.days_until_first_cert_expiring = 0` and `days_until_expiry = -48`. + - With cert generation, Envoy fails to load `.../expired_key.pem` because the private key does not match the certificate chain (`OPENSSL_internal:KEY_VALUES_MISMATCH`). + +## extensions +- `//test/extensions/dynamic_modules:rust_sdk_doc_test` + - Skipped. + +- `//test/extensions/dynamic_modules/http:filter_test` + - We refactored Rust build logic to allow dynamic modules to build on PPC64LE by setting explicit clang and bindgen options. Compilation works, but the dynamic metadata callbacks test fails at the Rust/C++ interface due to an FFI/ABI incompatibility. + +- `//test/extensions/dynamic_modules/http:integration_test` + - Crashes with a segmentation fault immediately after dynamic module callbacks (`new_http_filter` / `on_request_headers`). This points to an ABI or memory mismatch between Envoy and the Rust dynamic module, or a bad pointer crossing the ABI boundary during filter creation/callbacks. Stack trace symbolization is blocked by split-DWARF (fission) and `addr2line` errors (`DW_TAG_skeleton_unit`) \ No newline at end of file diff --git a/e/envoy/build_info.json b/e/envoy/build_info.json index f358b04655..57a57808ae 100644 --- a/e/envoy/build_info.json +++ b/e/envoy/build_info.json @@ -1,12 +1,12 @@ { - "maintainer": "sumitd2", + "maintainer": "Prachi.Gaonkar@ibm.com", "package_name": "envoy", "github_url": "https://github.com/envoyproxy/envoy", - "version": "v1.25.3", + "version": "v1.36.5", "package_dir": "e/envoy", "default_branch": "main", "docker_cmd": "docker build -t ${package_name}:$PACKAGE_VERSION ${dir}", - "build_script": "envoy_1.25.3_ubi8.4.sh", + "build_script": "envoy_1.36.5_ubi9.7.sh", "docker_build": "true", "validate_build_script": "true", "use_non_root_user": "false", @@ -33,6 +33,10 @@ "v1.34.0": { "dir": "1.34.0_ubi_9", "build_script": "envoy_1.34.0_ubi9.3.sh" + }, + "v1.36.5": { + "dir": "1.36.5_ubi_9", + "build_script": "envoy_1.36.5_ubi9.7.sh" } } diff --git a/e/envoy/envoy_1.36.5.patch b/e/envoy/envoy_1.36.5.patch new file mode 100644 index 0000000000..9dcdca867a --- /dev/null +++ b/e/envoy/envoy_1.36.5.patch @@ -0,0 +1,1575 @@ +diff --git a/.bazelrc b/.bazelrc +index f69efc15c3..ce85cd46fd 100644 +--- a/.bazelrc ++++ b/.bazelrc +@@ -105,6 +105,15 @@ build:arm64-clang --config=clang + build:clang-pch --spawn_strategy=local + build:clang-pch --define=ENVOY_CLANG_PCH=1 + ++# ============================ ++# Clang + libstdc++ (Linux/ppc64le) ++# ============================ ++ ++build:clang-gnu --config=clang-common ++build:clang-gnu --@envoy//bazel:libc++=false ++build:clang-gnu --@envoy//bazel:libstdc++=true ++build:clang-gnu --cxxopt=--gcc-toolchain=/usr ++build:clang-gnu --linkopt=-latomic + # libstdc++ - currently only used for gcc + build:libstdc++ --@envoy//bazel:libc++=false + build:libstdc++ --@envoy//bazel:libstdc++=true +@@ -608,3 +617,7 @@ try-import %workspace%/repo.bazelrc + try-import %workspace%/clang.bazelrc + try-import %workspace%/user.bazelrc + try-import %workspace%/local_tsan.bazelrc ++ ++ ++build --action_env=LIBCLANG_PATH ++test --action_env=LIBCLANG_PATH +diff --git a/api/bazel/repositories.bzl b/api/bazel/repositories.bzl +index 217614f5e5..9f00a1eef3 100644 +--- a/api/bazel/repositories.bzl ++++ b/api/bazel/repositories.bzl +@@ -21,8 +21,8 @@ def api_dependencies(): + ) + external_http_archive( + name = "com_envoyproxy_protoc_gen_validate", +- patch_args = ["-p1"], + patches = ["@envoy_api//bazel:pgv.patch"], ++ patch_args = ["-p1"], + ) + external_http_archive( + name = "com_google_googleapis", +diff --git a/bazel/BUILD b/bazel/BUILD +index 17b80cd744..52b43bf62d 100644 +--- a/bazel/BUILD ++++ b/bazel/BUILD +@@ -275,21 +275,6 @@ selects.config_setting_group( + ], + ) + +-selects.config_setting_group( +- name = "disable_http3_on_linux_ppc64le", +- match_all = [ +- ":disable_http3", +- ":linux_ppc64le", +- ], +-) +- +-selects.config_setting_group( +- name = "disable_http3_on_not_x86_ppc", +- match_all = [ +- ":disable_http3", +- ":not_x86_ppc", +- ], +-) + + selects.config_setting_group( + name = "disable_http3_on_windows_x86_64", +@@ -333,14 +318,6 @@ selects.config_setting_group( + ], + ) + +-selects.config_setting_group( +- name = "enable_http3_on_linux_ppc64le", +- match_all = [ +- ":enable_http3", +- ":linux_ppc64le", +- ], +-) +- + selects.config_setting_group( + name = "enable_http3_on_windows_x86_64", + match_all = [ +@@ -492,14 +469,6 @@ selects.config_setting_group( + ], + ) + +-selects.config_setting_group( +- name = "boringssl_fips_ppc", +- match_all = [ +- ":boringssl_fips", +- ":linux_ppc64le", +- ], +-) +- + selects.config_setting_group( + name = "boringssl_fips_not_ppc", + match_all = [ +@@ -549,12 +518,11 @@ config_setting( + # Alias pointing to the selected version of BoringSSL: + # - BoringSSL FIPS from @boringssl_fips//:ssl, + # - non-FIPS BoringSSL from @boringssl//:ssl. +-# - aws-lc from @aws_lc//:ssl ++ + alias( + name = "boringssl", + actual = select({ +- "//bazel:boringssl_fips_ppc": "@aws_lc//:ssl", +- "//bazel:boringssl_fips_not_ppc": "@boringssl_fips//:ssl", ++ "//bazel:boringssl_fips": "@boringssl_fips//:ssl", + "//conditions:default": "@boringssl//:ssl", + }), + ) +@@ -562,8 +530,7 @@ alias( + alias( + name = "boringcrypto", + actual = select({ +- "//bazel:boringssl_fips_ppc": "@aws_lc//:crypto", +- "//bazel:boringssl_fips_not_ppc": "@boringssl_fips//:crypto", ++ "//bazel:boringssl_fips": "@boringssl_fips//:crypto", + "//conditions:default": "@boringssl//:crypto", + }), + ) +@@ -592,13 +559,6 @@ config_setting( + ], + ) + +-config_setting( +- name = "linux_ppc64le", +- constraint_values = [ +- "@platforms//cpu:ppc64le", +- "@platforms//os:linux", +- ], +-) + + config_setting( + name = "linux_s390x", +@@ -825,21 +785,6 @@ selects.config_setting_group( + ], + ) + +-selects.config_setting_group( +- name = "not_x86_ppc", +- match_any = [ +- ":darwin_arm64", +- ":ios_arm64", +- ":ios_arm64e", +- ":ios_armv7", +- ":ios_armv7s", +- ":ios_i386", +- ":ios_sim_arm64", +- ":linux_aarch64", +- ":linux_mips64", +- ":linux_s390x", +- ], +-) + + selects.config_setting_group( + name = "not_ppc", +@@ -862,7 +807,6 @@ selects.config_setting_group( + ":linux_aarch64", + ":linux_mips64", + ":linux_ppc", +- ":linux_ppc64le", + ":linux_s390x", + ], + ) +diff --git a/bazel/base_pip3_stub/thrift/BUILD.bazel b/bazel/base_pip3_stub/thrift/BUILD.bazel +new file mode 100644 +index 0000000000..e3a65e5749 +--- /dev/null ++++ b/bazel/base_pip3_stub/thrift/BUILD.bazel +@@ -0,0 +1,6 @@ ++package(default_visibility = ["//visibility:public"]) ++ ++py_library( ++ name = "thrift", ++ srcs = [], ++) +diff --git a/bazel/boringssl_ppc64le.patch b/bazel/boringssl_ppc64le.patch +new file mode 100644 +index 0000000000..66d0d92d90 +--- /dev/null ++++ b/bazel/boringssl_ppc64le.patch +@@ -0,0 +1,14 @@ ++diff --git a/include/openssl/target.h b/include/openssl/target.h ++index 2760f52ce..4290dcd58 100644 ++--- a/include/openssl/target.h +++++ b/include/openssl/target.h ++@@ -54,6 +54,9 @@ ++ #define OPENSSL_32_BIT ++ #elif defined(__myriad2__) ++ #define OPENSSL_32_BIT +++#elif defined(_ARCH_PPC64) +++#define OPENSSL_64_BIT +++#define OPENSSL_PPC64 ++ #else ++ // The list above enumerates the platforms that BoringSSL supports. For these ++ // platforms we keep a reasonable bar of not breaking them: automated test +diff --git a/bazel/dependency_imports.bzl b/bazel/dependency_imports.bzl +index 8ed6394d7a..1aa63c5157 100644 +--- a/bazel/dependency_imports.bzl ++++ b/bazel/dependency_imports.bzl +@@ -9,7 +9,7 @@ load("@dev_pip3//:requirements.bzl", pip_dev_dependencies = "install_deps") + load("@emsdk//:emscripten_deps.bzl", "emscripten_deps") + load("@emsdk//:toolchains.bzl", "register_emscripten_toolchains") + load("@envoy_toolshed//compile:sanitizer_libs.bzl", "setup_sanitizer_libs") +-load("@envoy_toolshed//coverage/grcov:grcov_repository.bzl", "grcov_repository") ++#load("@envoy_toolshed//coverage/grcov:grcov_repository.bzl", "grcov_repository") + load("@fuzzing_pip3//:requirements.bzl", pip_fuzzing_dependencies = "install_deps") + load("@io_bazel_rules_go//go:deps.bzl", "go_download_sdk", "go_register_toolchains", "go_rules_dependencies") + load("@proxy_wasm_rust_sdk//bazel:dependencies.bzl", "proxy_wasm_rust_sdk_dependencies") +@@ -40,7 +40,12 @@ def envoy_dependency_imports( + buf_sha = BUF_SHA, + buf_version = BUF_VERSION): + compatibility_proxy_repo() +- rules_foreign_cc_dependencies() ++ rules_foreign_cc_dependencies( ++ register_default_tools = False, ++ register_built_tools = False, ++ register_preinstalled_tools = True, ++ register_toolchains = True, ++ ) + go_rules_dependencies() + go_register_toolchains(go_version) + if go_version != "host": +@@ -51,8 +56,13 @@ def envoy_dependency_imports( + pip_dev_dependencies() + pip_fuzzing_dependencies() + rules_pkg_dependencies() +- emscripten_deps(emscripten_version = "4.0.6") +- register_emscripten_toolchains() ++ rust_repository_set( ++ name = "rust_linux_powerpc64le", ++ exec_triple = "powerpc64le-unknown-linux-gnu", ++ versions = [rust_common.default_version], ++ ) ++ #emscripten_deps(emscripten_version = "4.0.6") ++ #register_emscripten_toolchains() + + rust_repository_set( + name = "rust_linux_s390x", +@@ -72,7 +82,7 @@ def envoy_dependency_imports( + ) + crate_universe_dependencies() + crates_repositories() +- grcov_repository() ++ #grcov_repository() + shellcheck_dependencies() + proxy_wasm_rust_sdk_dependencies() + rules_fuzzing_dependencies( +diff --git a/bazel/envoy_library.bzl b/bazel/envoy_library.bzl +index 5c202a282e..1d6747dd72 100644 +--- a/bazel/envoy_library.bzl ++++ b/bazel/envoy_library.bzl +@@ -48,6 +48,7 @@ def envoy_cc_extension( + name, + tags = [], + extra_visibility = [], ++ target_compatible_with = [], + visibility = EXTENSION_CONFIG_VISIBILITY, + alwayslink = 1, + **kwargs): +@@ -58,6 +59,7 @@ def envoy_cc_extension( + envoy_cc_library( + name = name, + tags = tags, ++ target_compatible_with = target_compatible_with, + visibility = visibility, + alwayslink = alwayslink, + **kwargs +@@ -69,6 +71,7 @@ def envoy_cc_extension( + ":is_enabled": [":" + name], + "//conditions:default": [], + }), ++ target_compatible_with = target_compatible_with, + visibility = visibility, + ) + +@@ -76,6 +79,7 @@ def envoy_cc_contrib_extension( + name, + tags = [], + extra_visibility = [], ++ target_compatible_with = [], + visibility = CONTRIB_EXTENSION_PACKAGE_VISIBILITY, + alwayslink = 1, + **kwargs): +@@ -87,6 +91,7 @@ def envoy_cc_library( + srcs = [], + hdrs = [], + copts = [], ++ target_compatible_with = [], + visibility = None, + rbe_pool = None, + exec_properties = {}, +@@ -130,6 +135,7 @@ def envoy_cc_library( + envoy_pch_deps(repository, "//source/common/common:common_pch") + + sanitizer_deps(), + exec_properties = exec_properties, ++ target_compatible_with = target_compatible_with, + alwayslink = alwayslink, + linkstatic = envoy_linkstatic(), + strip_include_prefix = strip_include_prefix, +@@ -147,6 +153,7 @@ def envoy_cc_library( + visibility = visibility, + tags = ["nocompdb"] + tags, + deps = [":" + name], ++ target_compatible_with = target_compatible_with, + strip_include_prefix = strip_include_prefix, + include_prefix = include_prefix, + ) +diff --git a/bazel/external/BUILD b/bazel/external/BUILD +index ce8cb8123e..1149585afd 100644 +--- a/bazel/external/BUILD ++++ b/bazel/external/BUILD +@@ -1,7 +1,6 @@ + licenses(["notice"]) # Apache 2 + + exports_files([ +- "aws_lc.genrule_cmd", + "boringssl_fips.genrule_cmd", + ]) + +diff --git a/bazel/external/fast_float.BUILD b/bazel/external/fast_float.BUILD +new file mode 100644 +index 0000000000..ef6f0c6f48 +--- /dev/null ++++ b/bazel/external/fast_float.BUILD +@@ -0,0 +1,12 @@ ++load("@rules_cc//cc:defs.bzl", "cc_library") ++ ++licenses(["notice"]) # Apache 2 / MIT ++ ++package(default_visibility = ["//visibility:public"]) ++ ++cc_library( ++ name = "fast_float", ++ hdrs = glob(["include/**/*.h"]), ++ includes = ["include/"], ++ strip_include_prefix = "include", ++) +diff --git a/bazel/foreign_cc/BUILD b/bazel/foreign_cc/BUILD +index dc07b536d3..2c98a7c09b 100644 +--- a/bazel/foreign_cc/BUILD ++++ b/bazel/foreign_cc/BUILD +@@ -643,3 +643,8 @@ cc_library( + }), + alwayslink = 1, + ) ++alias( ++ name = "icu_public", ++ actual = ":unicode_icu", ++ visibility = ["//visibility:public"], ++) +diff --git a/bazel/highway_disable_ppc_arch_detection.patch b/bazel/highway_disable_ppc_arch_detection.patch +new file mode 100644 +index 0000000000..fb98ed0a8f +--- /dev/null ++++ b/bazel/highway_disable_ppc_arch_detection.patch +@@ -0,0 +1,11 @@ ++--- a/hwy/detect_compiler_arch.h +++++ b/hwy/detect_compiler_arch.h ++@@ -217,7 +217,7 @@ ++ #define HWY_ARCH_X86 0 ++ #endif ++ ++-#if defined(__powerpc64__) || defined(_M_PPC) || defined(__powerpc__) +++#if 0 ++ #define HWY_ARCH_PPC 1 ++ #else ++ #define HWY_ARCH_PPC 0 +diff --git a/bazel/highway_disable_ppc_simd_targets.patch b/bazel/highway_disable_ppc_simd_targets.patch +new file mode 100644 +index 0000000000..43f6095648 +--- /dev/null ++++ b/bazel/highway_disable_ppc_simd_targets.patch +@@ -0,0 +1,12 @@ ++--- a/hwy/detect_targets.h +++++ b/hwy/detect_targets.h ++@@ -699,7 +699,7 @@ ++ HWY_ATTAINABLE_SVE2) ++ #elif HWY_ARCH_PPC ++ #define HWY_ATTAINABLE_TARGETS \ ++- HWY_ENABLED(HWY_BASELINE_SCALAR | HWY_ATTAINABLE_PPC) +++ HWY_ENABLED(HWY_BASELINE_SCALAR) ++ #elif HWY_ARCH_S390X ++ #define HWY_ATTAINABLE_TARGETS \ ++ HWY_ENABLED(HWY_BASELINE_SCALAR | HWY_ATTAINABLE_S390X) ++ +diff --git a/bazel/highway_ppc64le_target.patch b/bazel/highway_ppc64le_target.patch +new file mode 100644 +index 0000000000..ad2d9b759a +--- /dev/null ++++ b/bazel/highway_ppc64le_target.patch +@@ -0,0 +1,15 @@ ++diff --git a/hwy/targets.cc b/hwy/targets.cc ++index 7c2f8f2..9f1a3ac 100644 ++--- a/hwy/targets.cc +++++ b/hwy/targets.cc ++@@ -34,7 +34,7 @@ ++ #include ++ #endif // HWY_COMPILER_MSVC ++ ++-#elif (HWY_ARCH_ARM || HWY_ARCH_PPC || HWY_ARCH_S390X || HWY_ARCH_RISCV) && \ +++#elif (HWY_ARCH_ARM || HWY_ARCH_S390X || HWY_ARCH_RISCV) && \ ++ HWY_OS_LINUX ++ // sys/auxv.h does not always include asm/hwcap.h, or define HWCAP*, hence we ++ // still include this directly. See #1199. ++ #ifndef TOOLCHAIN_MISS_ASM_HWCAP_H ++ #include +diff --git a/bazel/protobuf.patch b/bazel/protobuf.patch +index adf06a656d..77c2d24f14 100644 +--- a/bazel/protobuf.patch ++++ b/bazel/protobuf.patch +@@ -38,7 +38,7 @@ index 32b26cbdc..a5e7a554c 100644 + + name = "linux-ppcle_64", + + constraint_values = [ + + "@platforms//os:linux", +-+ "@platforms//cpu:ppc64le", +++ "@platforms//cpu:ppc", + + ], + +) + + +diff --git a/bazel/python_dependencies.bzl b/bazel/python_dependencies.bzl +index 9867dc3a46..6f99d1c352 100644 +--- a/bazel/python_dependencies.bzl ++++ b/bazel/python_dependencies.bzl +@@ -7,21 +7,24 @@ def envoy_python_dependencies(): + load_packages() + pip_parse( + name = "base_pip3", +- python_interpreter_target = "@python3_12_host//:python", ++ # python_interpreter_target = "@python3_12_host//:python", ++ python_interpreter = "/usr/bin/python3.12", + requirements_lock = "@envoy//tools/base:requirements.txt", + extra_pip_args = ["--require-hashes"], + ) + + pip_parse( + name = "dev_pip3", +- python_interpreter_target = "@python3_12_host//:python", ++ #python_interpreter_target = "@python3_12_host//:python", ++ python_interpreter = "/usr/bin/python3.12", + requirements_lock = "@envoy//tools/dev:requirements.txt", + extra_pip_args = ["--require-hashes"], + ) + + pip_parse( + name = "fuzzing_pip3", +- python_interpreter_target = "@python3_12_host//:python", ++ #python_interpreter_target = "@python3_12_host//:python", ++ python_interpreter = "/usr/bin/python3.12", + requirements_lock = "@rules_fuzzing//fuzzing:requirements.txt", + extra_pip_args = ["--require-hashes"], + ) +diff --git a/bazel/quiche_clang_constexpr_fix.patch b/bazel/quiche_clang_constexpr_fix.patch +new file mode 100644 +index 0000000000..203cff3e45 +--- /dev/null ++++ b/bazel/quiche_clang_constexpr_fix.patch +@@ -0,0 +1,14 @@ ++diff --git a/quiche/quic/core/quic_config.cc b/quiche/quic/core/quic_config.cc ++index 9b3c2ef..abcd123 100644 ++--- a/quiche/quic/core/quic_config.cc +++++ b/quiche/quic/core/quic_config.cc ++@@ -567,7 +567,7 @@ ++ ++ const QuicTagVector& QuicConfig::ClientRequestedIndependentOptions( ++ Perspective perspective) const { ++- static constexpr QuicTagVector no_options; +++ static const QuicTagVector no_options; ++ if (perspective == Perspective::IS_SERVER) { ++ return HasReceivedConnectionOptions() ? ReceivedConnectionOptions() ++ : no_options; ++ +diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl +index f1c7593a07..19efa484bc 100644 +--- a/bazel/repositories.bzl ++++ b/bazel/repositories.bzl +@@ -3,7 +3,9 @@ load("@envoy_api//bazel:envoy_http_archive.bzl", "envoy_http_archive") + load("@envoy_api//bazel:external_deps.bzl", "load_repository_locations") + load(":repository_locations.bzl", "PROTOC_VERSIONS", "REPOSITORY_LOCATIONS_SPEC") + +-PPC_SKIP_TARGETS = ["envoy.string_matcher.lua", "envoy.filters.http.lua", "envoy.router.cluster_specifier_plugin.lua"] ++PPC_SKIP_TARGETS = [ "envoy.string_matcher.lua", ++ "envoy.filters.http.lua", ++ "envoy.router.cluster_specifier_plugin.lua",] + + WINDOWS_SKIP_TARGETS = [ + "envoy.extensions.http.cache.file_system_http_cache", +@@ -106,13 +108,18 @@ def _go_deps(skip_targets): + # Keep the skip_targets check around until Istio Proxy has stopped using + # it to exclude the Go rules. + if "io_bazel_rules_go" not in skip_targets: +- external_http_archive(name = "io_bazel_rules_go") ++ external_http_archive( ++ name = "io_bazel_rules_go", ++ # TODO(wrowe, sunjayBhatia): remove when Windows RBE supports batch file invocation ++ patch_args = ["-p1"], ++ patches = ["@envoy//bazel:rules_go.patch"], ++ ) + external_http_archive("bazel_gazelle") + + def _rust_deps(): + external_http_archive( + "rules_rust", +- patches = ["@envoy//bazel:rules_rust.patch", "@envoy//bazel:rules_rust_ppc64le.patch"], ++ patches = ["@envoy//bazel:rules_rust.patch"], + ) + + def envoy_dependencies(skip_targets = []): +@@ -135,7 +142,7 @@ def envoy_dependencies(skip_targets = []): + # - non-FIPS BoringSSL from @boringssl//:ssl. + _boringssl() + _boringssl_fips() +- _aws_lc() ++ + native.bind( + name = "ssl", + actual = "@envoy//bazel:boringssl", +@@ -168,6 +175,11 @@ def envoy_dependencies(skip_targets = []): + _com_github_grpc_grpc() + _rules_proto_grpc() + _com_github_unicode_org_icu() ++ # Bind ICU for V8 and other deps expecting //external:icu ++ native.bind( ++ name = "icu", ++ actual = "@envoy//bazel/foreign_cc:icu_public", ++ ) + _com_github_intel_ipp_crypto_crypto_mb() + _com_github_intel_qatlib() + _com_github_intel_qatzip() +@@ -258,7 +270,11 @@ def envoy_dependencies(skip_targets = []): + ) + + def _boringssl(): +- external_http_archive(name = "boringssl") ++ external_http_archive( ++ name = "boringssl", ++ patches = ["@envoy//bazel:boringssl_ppc64le.patch"], ++ patch_args = ["-p1"], ++ ) + + def _boringssl_fips(): + external_http_archive( +@@ -293,11 +309,6 @@ def _boringssl_fips(): + build_file_content = GO_BUILD_CONTENT, + ) + +-def _aws_lc(): +- external_http_archive( +- name = "aws_lc", +- build_file = "@envoy//bazel/external:aws_lc.BUILD", +- ) + + def _com_github_openhistogram_libcircllhist(): + external_http_archive( +@@ -739,6 +750,7 @@ def _v8(): + patches = [ + "@envoy//bazel:v8.patch", + "@envoy//bazel:v8_ppc64le.patch", ++ + ], + patch_args = ["-p1"], + patch_cmds = [ +@@ -762,13 +774,17 @@ def _v8(): + def _fast_float(): + external_http_archive( + name = "fast_float", ++ build_file = "@envoy//bazel/external:fast_float.BUILD", + ) + + def _highway(): + external_http_archive( + name = "highway", + patches = [ +- "@envoy//bazel:highway-ppc64le.patch", ++ "@envoy//bazel:highway_ppc64le_target.patch", ++ "@envoy//bazel:highway_disable_ppc_simd_targets.patch", ++ "@envoy//bazel:highway_disable_ppc_arch_detection.patch", ++ + ], + patch_args = ["-p1"], + ) +@@ -802,6 +818,10 @@ def _com_github_google_quiche(): + name = "com_github_google_quiche", + patch_cmds = ["find quiche/ -type f -name \"*.bazel\" -delete"], + build_file = "@envoy//bazel/external:quiche.BUILD", ++ patches = [ ++ "@envoy//bazel:quiche_clang_constexpr_fix.patch", ++ ], ++ patch_args = ["-p1"], + ) + + def _googleurl(): +diff --git a/bazel/repositories_extra.bzl b/bazel/repositories_extra.bzl +index 84e2a69c09..08bc50d626 100644 +--- a/bazel/repositories_extra.bzl ++++ b/bazel/repositories_extra.bzl +@@ -17,7 +17,7 @@ PYTHON_MINOR_VERSION = _python_minor_version(PYTHON_VERSION) + # Envoy deps that rely on a first stage of dependency loading in envoy_dependencies(). + def envoy_dependencies_extra( + python_version = PYTHON_VERSION, +- ignore_root_user_error = False): ++ ignore_root_user_error = True): + bazel_features_deps() + emsdk_deps() + raze_fetch_remote_crates() +@@ -25,11 +25,11 @@ def envoy_dependencies_extra( + py_repositories() + + # Registers underscored Python minor version - eg `python3_10` +- python_register_toolchains( +- name = "python%s" % _python_minor_version(python_version), +- python_version = python_version, +- ignore_root_user_error = ignore_root_user_error, +- ) ++ #python_register_toolchains( ++ # name = "python%s" % _python_minor_version(python_version), ++ # python_version = python_version, ++ # ignore_root_user_error = ignore_root_user_error, ++ #) + + aspect_bazel_lib_dependencies() + +diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl +index b9fcad27cd..4de8f4a6d0 100644 +--- a/bazel/repository_locations.bzl ++++ b/bazel/repository_locations.bzl +@@ -160,18 +160,7 @@ REPOSITORY_LOCATIONS_SPEC = dict( + license = "Mixed", + license_url = "https://github.com/google/boringssl/blob/{version}/LICENSE", + ), +- aws_lc = dict( +- project_name = "AWS libcrypto (AWS-LC)", +- project_desc = "OpenSSL compatible general-purpose crypto library", +- project_url = "https://github.com/aws/aws-lc", +- version = "1.61.4", +- sha256 = "443b62dbb51bb4ce1ce16150fa555da4182e3ba4c928f57f74eb07097138893c", +- strip_prefix = "aws-lc-{version}", +- urls = ["https://github.com/aws/aws-lc/archive/v{version}.tar.gz"], +- use_category = ["controlplane", "dataplane_core"], +- release_date = "2025-09-26", +- cpe = "cpe:2.3:a:google:boringssl:*", +- ), ++ + aspect_bazel_lib = dict( + project_name = "Aspect Bazel helpers", + project_desc = "Base Starlark libraries and basic Bazel rules which are useful for constructing rulesets and BUILD files", +@@ -1035,8 +1024,8 @@ REPOSITORY_LOCATIONS_SPEC = dict( + project_name = "Go rules for Bazel", + project_desc = "Bazel rules for the Go language", + project_url = "https://github.com/bazelbuild/rules_go", +- version = "0.53.0", +- sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313", ++ version = "0.46.0", ++ sha256 = "80a98277ad1311dacd837f9b16db62887702e9f1d1c4c9f796d0121a46c8e184", + urls = ["https://github.com/bazelbuild/rules_go/releases/download/v{version}/rules_go-v{version}.zip"], + use_category = ["build", "api"], + release_date = "2025-02-11", +diff --git a/bazel/rules_buf.patch b/bazel/rules_buf.patch +new file mode 100644 +index 0000000000..340340a56e +--- /dev/null ++++ b/bazel/rules_buf.patch +@@ -0,0 +1,14 @@ ++diff --git a/buf/internal/toolchain.bzl b/buf/internal/toolchain.bzl ++index 1cc60ff..5736cd4 100644 ++--- a/buf/internal/toolchain.bzl +++++ b/buf/internal/toolchain.bzl ++@@ -115,7 +115,7 @@ def _buf_download_releases_impl(ctx): ++ version = versions[0]["name"] ++ ++ os, cpu = _detect_host_platform(ctx) ++- if os not in ["linux", "darwin", "windows"] or cpu not in ["arm64", "amd64"]: +++ if os not in ["linux", "darwin", "windows"] or cpu not in ["arm64", "amd64", "ppc64le"]: ++ fail("Unsupported operating system or cpu architecture ") ++ if os == "linux" and cpu == "arm64": ++ cpu = "aarch64" ++ +diff --git a/bazel/rules_go.patch b/bazel/rules_go.patch +new file mode 100644 +index 0000000000..78232e112f +--- /dev/null ++++ b/bazel/rules_go.patch +@@ -0,0 +1,36 @@ ++diff --git a/go/private/platforms.bzl b/go/private/platforms.bzl ++index 664f7aed..e7938e00 100644 ++--- a/go/private/platforms.bzl +++++ b/go/private/platforms.bzl ++@@ -30,7 +30,6 @@ BAZEL_GOARCH_CONSTRAINTS = { ++ "amd64": "@platforms//cpu:x86_64", ++ "arm": "@platforms//cpu:armv7", ++ "arm64": "@platforms//cpu:aarch64", ++- "ppc64": "@platforms//cpu:ppc", ++ "ppc64le": "@platforms//cpu:ppc", ++ "s390x": "@platforms//cpu:s390x", ++ } ++@@ -62,7 +61,6 @@ GOOS_GOARCH = ( ++ ("linux", "mips64"), ++ ("linux", "mips64le"), ++ ("linux", "mipsle"), ++- ("linux", "ppc64"), ++ ("linux", "ppc64le"), ++ ("linux", "riscv64"), ++ ("linux", "s390x"), ++diff --git a/go/private/rules/binary.bzl b/go/private/rules/binary.bzl ++index 96db3ce1..f826a042 100644 ++--- a/go/private/rules/binary.bzl +++++ b/go/private/rules/binary.bzl ++@@ -452,8 +452,9 @@ def _go_tool_binary_impl(ctx): ++ content = cmd, ++ ) ++ ctx.actions.run( ++- executable = bat, ++- inputs = sdk.headers + sdk.tools + sdk.srcs + ctx.files.srcs + [sdk.go], +++ executable = "cmd.exe", +++ arguments = ["/S", "/C", bat.path.replace("/", "\\")], +++ inputs = sdk.headers + sdk.tools + sdk.srcs + ctx.files.srcs + [sdk.go, bat], ++ outputs = [out, gopath, gocache], ++ mnemonic = "GoToolchainBinaryBuild", ++ ) +diff --git a/bazel/rules_rust.patch b/bazel/rules_rust.patch +index 04fc47181b..a61c9e041d 100644 +--- a/bazel/rules_rust.patch ++++ b/bazel/rules_rust.patch +@@ -1,23 +1,48 @@ +---- rust/private/rustc.bzl +-+++ rust/private/rustc.bzl +-@@ -1451,7 +1451,7 @@ def rustc_compile_action( +- }) +- crate_info = rust_common.create_crate_info(**crate_info_dict) ++diff --git rust/platform/triple.bzl rust/platform/triple.bzl ++index 096ec5ef..9717b23a 100644 ++--- rust/platform/triple.bzl +++++ rust/platform/triple.bzl ++@@ -117,7 +117,7 @@ def get_host_triple(repository_ctx, abi = None): ++ # Detect the host's cpu architecture + +-- if crate_info.type in ["staticlib", "cdylib"]: +-+ if crate_info.type in ["staticlib", "cdylib"] and not out_binary: +- # These rules are not supposed to be depended on by other rust targets, and +- # as such they shouldn't provide a CrateInfo. However, one may still want to +- # write a rust_test for them, so we provide the CrateInfo wrapped in a provider +- +---- rust/private/rustc.bzl +-+++ rust/private/rustc.bzl +-@@ -1043,7 +1043,7 @@ def construct_arguments( ++ supported_architectures = { ++- "linux": ["aarch64", "x86_64", "s390x"], +++ "linux": ["aarch64", "x86_64", "s390x", "powerpc64le"], ++ "macos": ["aarch64", "x86_64"], ++ "windows": ["aarch64", "x86_64"], ++ } ++@@ -126,6 +126,9 @@ def get_host_triple(repository_ctx, abi = None): ++ if arch == "amd64": ++ arch = "x86_64" + +- if toolchain.llvm_cov and ctx.configuration.coverage_enabled: +- # https://doc.rust-lang.org/rustc/instrument-coverage.html +-- rustc_flags.add("--codegen=instrument-coverage") +-+ pass +++ if arch == "ppc64le": +++ arch = "powerpc64le" +++ ++ if "linux" in repository_ctx.os.name: ++ _validate_cpu_architecture(arch, supported_architectures["linux"]) ++ return triple("{}-unknown-linux-{}".format( ++diff --git rust/platform/triple_mappings.bzl rust/platform/triple_mappings.bzl ++index b436af3a..c5c606c8 100644 ++--- rust/platform/triple_mappings.bzl +++++ rust/platform/triple_mappings.bzl ++@@ -112,7 +112,7 @@ _CPU_ARCH_TO_BUILTIN_PLAT_SUFFIX = { ++ "mipsel": None, ++ "powerpc": "ppc", ++ "powerpc64": None, ++- "powerpc64le": None, +++ "powerpc64le": "ppc", ++ "riscv32": "riscv32", ++ "riscv32imc": "riscv32", ++ "riscv64": "riscv64", ++diff --git rust/repositories.bzl rust/repositories.bzl ++index 06de237d..a7ef1d68 100644 ++--- rust/repositories.bzl +++++ rust/repositories.bzl ++@@ -45,6 +45,7 @@ DEFAULT_TOOLCHAIN_TRIPLES = { ++ "x86_64-pc-windows-msvc": "rust_windows_x86_64", ++ "x86_64-unknown-freebsd": "rust_freebsd_x86_64", ++ "x86_64-unknown-linux-gnu": "rust_linux_x86_64", +++ "powerpc64le-unknown-linux-gnu": "rust_linux_powerpc64le", ++ } + +- if toolchain._experimental_link_std_dylib: +- rustc_flags.add("--codegen=prefer-dynamic") ++ _COMPACT_WINDOWS_NAMES = True +diff --git a/bazel/v8_ppc64le.patch b/bazel/v8_ppc64le.patch +index c149df5c0a..a672df52e3 100644 +--- a/bazel/v8_ppc64le.patch ++++ b/bazel/v8_ppc64le.patch +@@ -1,13 +1,26 @@ + diff --git a/bazel/config/BUILD.bazel b/bazel/config/BUILD.bazel +-index 448260d..fe50366 100644 ++index 448260d..e0f25bb 100644 + --- a/bazel/config/BUILD.bazel + +++ b/bazel/config/BUILD.bazel +-@@ -61,7 +61,7 @@ config_setting( +- ++@@ -79,7 +79,8 @@ config_setting( ++ + config_setting( + name = "platform_cpu_ppc64le", +-- constraint_values = ["@platforms//cpu:ppc"], +-+ constraint_values = ["@platforms//cpu:ppc64le"], ++ constraint_values = ["@platforms//cpu:ppc"], +++ values = {"cpu": "ppc"}, + ) +- ++ + v8_target_cpu( ++diff --git a/bazel/defs.bzl b/bazel/defs.bzl ++index 0539ea176ac..c19ad8ee9f6 100644 ++--- a/bazel/defs.bzl +++++ b/bazel/defs.bzl ++@@ -455,6 +455,8 @@ def _v8_target_cpu_transition_impl(settings, attr): ++ "s390x": "s390x", ++ "riscv64": "riscv64", ++ "ppc64": "ppc64le", +++ "ppc64le": "ppc64le", +++ "ppc": "ppc64le", ++ } ++ v8_target_cpu = mapping[settings["//command_line_option:cpu"]] ++ return {"@v8//bazel/config:v8_target_cpu": v8_target_cpu} +diff --git a/configs/BUILD b/configs/BUILD +index b0bf82c893..d0aad5e22a 100644 +--- a/configs/BUILD ++++ b/configs/BUILD +@@ -16,12 +16,10 @@ exports_files([ + py_binary( + name = "configgen", + srcs = ["configgen.py"], ++ python_version = "PY3", + data = glob([ + "*.yaml", + ]), +- deps = [ +- requirement("jinja2"), +- ], + ) + + filegroup( +diff --git a/envoy/ssl/private_key/private_key.h b/envoy/ssl/private_key/private_key.h +index d9f8f3a2d8..248ce13852 100644 +--- a/envoy/ssl/private_key/private_key.h ++++ b/envoy/ssl/private_key/private_key.h +@@ -21,7 +21,7 @@ using TransportSocketFactoryContext = GenericFactoryContext; + + namespace Ssl { + +-#if defined OPENSSL_IS_BORINGSSL || defined OPENSSL_IS_AWSLC ++#ifdef OPENSSL_IS_BORINGSSL + using BoringSslPrivateKeyMethodSharedPtr = std::shared_ptr; + #endif + +@@ -58,7 +58,7 @@ public: + */ + virtual bool isAvailable() PURE; + +-#if defined OPENSSL_IS_BORINGSSL || defined OPENSSL_IS_AWSLC ++#ifdef OPENSSL_IS_BORINGSSL + /** + * Get the private key methods from the provider. + * @return the private key methods associated with this provider and +diff --git a/source/common/tls/BUILD b/source/common/tls/BUILD +index b4981836f9..3acb224b16 100644 +--- a/source/common/tls/BUILD ++++ b/source/common/tls/BUILD +@@ -246,10 +246,7 @@ envoy_cc_library( + envoy_cc_library( + name = "utility_lib", + srcs = ["utility.cc"], +- hdrs = [ +- "aws_lc_compat.h", +- "utility.h", +- ], ++ hdrs = ["utility.h"], + external_deps = ["ssl"], + deps = [ + "//source/common/common:assert_lib", +diff --git a/source/common/tls/cert_validator/default_validator.cc b/source/common/tls/cert_validator/default_validator.cc +index a73fc204de..d24174fe4d 100644 +--- a/source/common/tls/cert_validator/default_validator.cc ++++ b/source/common/tls/cert_validator/default_validator.cc +@@ -27,7 +27,6 @@ + #include "source/common/runtime/runtime_features.h" + #include "source/common/stats/symbol_table.h" + #include "source/common/stats/utility.h" +-#include "source/common/tls/aws_lc_compat.h" + #include "source/common/tls/cert_validator/cert_validator.h" + #include "source/common/tls/cert_validator/factory.h" + #include "source/common/tls/cert_validator/utility.h" +diff --git a/source/common/tls/context_impl.h b/source/common/tls/context_impl.h +index 64ace4fd02..dc8b5902ab 100644 +--- a/source/common/tls/context_impl.h ++++ b/source/common/tls/context_impl.h +@@ -32,7 +32,7 @@ + #endif + + namespace Envoy { +-#if !defined OPENSSL_IS_BORINGSSL && !defined OPENSSL_IS_AWSLC ++#ifndef OPENSSL_IS_BORINGSSL + #error Envoy requires BoringSSL + #endif + +diff --git a/source/common/version/BUILD b/source/common/version/BUILD +index c5bcc2cbbc..5d37dea773 100644 +--- a/source/common/version/BUILD ++++ b/source/common/version/BUILD +@@ -88,7 +88,7 @@ envoy_cc_library( + envoy_basic_cc_library( + name = "manual_version_linkstamp", + srcs = [":generate_version_linkstamp"], +- visibility = ["//visibility:private"], ++ visibility = ["//visibility:public"], + ) + + envoy_basic_cc_library( +@@ -99,7 +99,7 @@ envoy_basic_cc_library( + }), + # Linking this library makes build cache inefficient, limiting this to //source/exe package only. + # Tests are linked with //test/test_common:test_version_linkstamp. +- visibility = ["//source/exe:__pkg__"], ++ visibility = ["//visibility:public"], + deps = select({ + "//bazel:manual_stamp": [":manual_version_linkstamp"], + "//conditions:default": [], +diff --git a/source/exe/BUILD b/source/exe/BUILD +index 22241ddd0b..44bc69150f 100644 +--- a/source/exe/BUILD ++++ b/source/exe/BUILD +@@ -48,11 +48,8 @@ envoy_cc_library( + ] + select({ + "//bazel:enable_http3_on_windows_x86_64": envoy_all_extensions(WINDOWS_SKIP_TARGETS), + "//bazel:enable_http3_on_linux_ppc": envoy_all_extensions(PPC_SKIP_TARGETS), +- "//bazel:enable_http3_on_linux_ppc64le": envoy_all_extensions(PPC_SKIP_TARGETS), + "//bazel:disable_http3_on_windows_x86_64": envoy_all_extensions(NO_HTTP3_SKIP_TARGETS + WINDOWS_SKIP_TARGETS), + "//bazel:disable_http3_on_linux_ppc": envoy_all_extensions(NO_HTTP3_SKIP_TARGETS + PPC_SKIP_TARGETS), +- "//bazel:disable_http3_on_linux_ppc64le": envoy_all_extensions(PPC_SKIP_TARGETS + NO_HTTP3_SKIP_TARGETS), +- "//bazel:disable_http3_on_not_x86_ppc": envoy_all_extensions(NO_HTTP3_SKIP_TARGETS), + "//conditions:default": envoy_all_extensions(), + }), + ) +diff --git a/source/extensions/common/async_files/async_file_context_thread_pool.cc b/source/extensions/common/async_files/async_file_context_thread_pool.cc +index 6d1d745ba2..2d39d88b55 100644 +--- a/source/extensions/common/async_files/async_file_context_thread_pool.cc ++++ b/source/extensions/common/async_files/async_file_context_thread_pool.cc +@@ -6,6 +6,9 @@ + #include + #include + ++#include ++ ++#include "source/common/common/logger.h" + #include "source/common/buffer/buffer_impl.h" + #include "source/extensions/common/async_files/async_file_action.h" + #include "source/extensions/common/async_files/async_file_context_base.h" +@@ -27,6 +30,8 @@ public: + + protected: + int& fileDescriptor() { return context()->fileDescriptor(); } ++ bool isAnonymus() { return context()->isAnonymus(); } ++ std::string& anonymusFile() { return context()->anonymusFile(); } + AsyncFileContextThreadPool* context() const { + return static_cast(handle_.get()); + } +@@ -92,13 +97,20 @@ public: + explicit ActionCloseFile(AsyncFileHandle handle, + absl::AnyInvocable on_complete) + : AsyncFileActionThreadPool(handle, std::move(on_complete)), +- file_descriptor_(fileDescriptor()) {} ++ file_descriptor_(fileDescriptor()), is_anonymus_(isAnonymus()), ++ anonymus_file_(anonymusFile()) {} + + absl::Status executeImpl() override { + auto result = posix().close(file_descriptor_); + if (result.return_value_ == -1) { + return statusAfterFileError(result); + } ++ if (is_anonymus_) { ++ result = posix().unlink(anonymus_file_.c_str()); ++ if (result.return_value_ == -1) { ++ return statusAfterFileError(result); ++ } ++ } + return absl::OkStatus(); + } + +@@ -106,6 +118,8 @@ public: + + private: + const int file_descriptor_; ++ const bool is_anonymus_; ++ const std::string anonymus_file_; + }; + + class ActionReadFile : public AsyncFileActionThreadPool> { +@@ -204,7 +218,8 @@ public: + if (newfd.return_value_ == -1) { + return statusAfterFileError(newfd); + } +- return std::make_shared(context()->manager(), newfd.return_value_); ++ return std::make_shared(context()->manager(), newfd.return_value_, ++ false, ""); + } + + void onCancelledBeforeCallback() override { +@@ -279,10 +294,29 @@ AsyncFileContextThreadPool::checkFileAndEnqueue(Event::Dispatcher* dispatcher, + return enqueue(dispatcher, std::move(action)); + } + +-AsyncFileContextThreadPool::AsyncFileContextThreadPool(AsyncFileManager& manager, int fd) +- : AsyncFileContextBase(manager), file_descriptor_(fd) {} +- +-AsyncFileContextThreadPool::~AsyncFileContextThreadPool() { ASSERT(file_descriptor_ == -1); } ++AsyncFileContextThreadPool::AsyncFileContextThreadPool(AsyncFileManager& manager, int fd, ++ bool is_anonymus, ++ const char* anonymus_file) ++ : AsyncFileContextBase(manager), file_descriptor_(fd), is_anonymus_(is_anonymus), ++ anonymus_file_(anonymus_file) {} ++ ++AsyncFileContextThreadPool::~AsyncFileContextThreadPool() { ++ if (file_descriptor_ != -1) { ++ // Defensive fallback: avoid leaking open fds when close was not enqueued. ++ ENVOY_LOG_MISC(error, ++ "AsyncFileContextThreadPool destroyed with open fd={}, closing defensively", ++ file_descriptor_); ++ if (file_descriptor_ > STDERR_FILENO) { ++ auto& posix = static_cast(manager()).posix(); ++ posix.close(file_descriptor_); ++ if (is_anonymus_ && !anonymus_file_.empty()) { ++ posix.unlink(anonymus_file_.c_str()); ++ } ++ } ++ file_descriptor_ = -1; ++ } ++ ASSERT(file_descriptor_ == -1); ++} + + } // namespace AsyncFiles + } // namespace Common +diff --git a/source/extensions/common/async_files/async_file_context_thread_pool.h b/source/extensions/common/async_files/async_file_context_thread_pool.h +index cfd5485866..db099333c8 100644 +--- a/source/extensions/common/async_files/async_file_context_thread_pool.h ++++ b/source/extensions/common/async_files/async_file_context_thread_pool.h +@@ -19,7 +19,7 @@ class AsyncFileManager; + // old-school synchronous posix file operations. + class AsyncFileContextThreadPool final : public AsyncFileContextBase { + public: +- explicit AsyncFileContextThreadPool(AsyncFileManager& manager, int fd); ++ explicit AsyncFileContextThreadPool(AsyncFileManager& manager, int fd, bool is_anonymus, const char *anonymus_file); + + // CancelFunction should not be called during or after the callback. + // CancelFunction should only be called from the same thread that created +@@ -47,6 +47,8 @@ public: + absl::AnyInvocable on_complete) override; + + int& fileDescriptor() { return file_descriptor_; } ++ bool isAnonymus() { return is_anonymus_; } ++ std::string& anonymusFile() { return anonymus_file_; } + + ~AsyncFileContextThreadPool() override; + +@@ -55,6 +57,8 @@ protected: + std::unique_ptr action); + + int file_descriptor_; ++ bool is_anonymus_; ++ std::string anonymus_file_; + }; + + } // namespace AsyncFiles +diff --git a/source/extensions/common/async_files/async_file_manager_thread_pool.cc b/source/extensions/common/async_files/async_file_manager_thread_pool.cc +index dd6c0a3a86..022a3e4b86 100644 +--- a/source/extensions/common/async_files/async_file_manager_thread_pool.cc ++++ b/source/extensions/common/async_files/async_file_manager_thread_pool.cc +@@ -208,14 +208,14 @@ public: + if (was_successful_first_call) { + // This was the thread doing the very first open(O_TMPFILE), and it worked, so no need to do + // anything else. +- return std::make_shared(manager_, open_result.return_value_); ++ return std::make_shared(manager_, open_result.return_value_, false, ""); + } + // This was any other thread, but O_TMPFILE proved it worked, so we can do it again. + open_result = posix().open(path_.c_str(), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR); + if (open_result.return_value_ == -1) { + return statusAfterFileError(open_result); + } +- return std::make_shared(manager_, open_result.return_value_); ++ return std::make_shared(manager_, open_result.return_value_, false, ""); + } + #endif // O_TMPFILE + // If O_TMPFILE didn't work, fall back to creating a named file and unlinking it. +@@ -234,6 +234,7 @@ public: + if (open_result.return_value_ == -1) { + return statusAfterFileError(open_result); + } ++/* + if (posix().unlink(filename).return_value_ != 0) { + // Most likely the problem here is we can't unlink a file while it's open - since that's a + // prerequisite of the desired behavior of this function, and we don't want to accidentally +@@ -245,7 +246,8 @@ public: + "AsyncFileManagerThreadPool::createAnonymousFile: not supported for " + "target filesystem (failed to unlink an open file)"); + } +- return std::make_shared(manager_, open_result.return_value_); ++*/ ++ return std::make_shared(manager_, open_result.return_value_, true, filename); + } + + private: +@@ -264,7 +266,7 @@ public: + if (open_result.return_value_ == -1) { + return statusAfterFileError(open_result); + } +- return std::make_shared(manager_, open_result.return_value_); ++ return std::make_shared(manager_, open_result.return_value_, false, ""); + } + + private: +diff --git a/source/extensions/dynamic_modules/sdk/rust/BUILD b/source/extensions/dynamic_modules/sdk/rust/BUILD +index b3eecb438d..2d4bb12709 100644 +--- a/source/extensions/dynamic_modules/sdk/rust/BUILD ++++ b/source/extensions/dynamic_modules/sdk/rust/BUILD +@@ -30,5 +30,10 @@ rust_library( + edition = "2021", + deps = all_crate_deps( + normal = True, +- ) + [":build_script"], ++ ) + [ ++ ":build_script", ++ "//source/extensions/filters/http/dynamic_modules:abi_impl", ++ "//source/common/version:version_lib", ++ "//test/test_common:test_version_linkstamp", ++ ] + ) +diff --git a/source/extensions/filters/common/lua/BUILD b/source/extensions/filters/common/lua/BUILD +index f248bb0996..0ec6e6d157 100644 +--- a/source/extensions/filters/common/lua/BUILD ++++ b/source/extensions/filters/common/lua/BUILD +@@ -12,6 +12,10 @@ envoy_cc_library( + name = "lua_lib", + srcs = ["lua.cc"], + hdrs = ["lua.h"], ++ target_compatible_with = select({ ++ "@platforms//cpu:ppc": ["@platforms//:incompatible"], ++ "//conditions:default": [], ++ }), + deps = [ + "//bazel/foreign_cc:luajit", + "//envoy/thread_local:thread_local_interface", +@@ -27,6 +31,10 @@ envoy_cc_library( + name = "wrappers_lib", + srcs = ["wrappers.cc"], + hdrs = ["wrappers.h"], ++ target_compatible_with = select({ ++ "@platforms//cpu:ppc": ["@platforms//:incompatible"], ++ "//conditions:default": [], ++ }), + deps = [ + ":lua_lib", + "//envoy/buffer:buffer_interface", +diff --git a/source/extensions/transport_sockets/tls/cert_validator/spiffe/spiffe_validator.cc b/source/extensions/transport_sockets/tls/cert_validator/spiffe/spiffe_validator.cc +index ed6f20ab31..bf18b0631f 100644 +--- a/source/extensions/transport_sockets/tls/cert_validator/spiffe/spiffe_validator.cc ++++ b/source/extensions/transport_sockets/tls/cert_validator/spiffe/spiffe_validator.cc +@@ -20,7 +20,6 @@ + #include "source/common/json/json_loader.h" + #include "source/common/protobuf/message_validator_impl.h" + #include "source/common/stats/symbol_table.h" +-#include "source/common/tls/aws_lc_compat.h" + #include "source/common/tls/cert_validator/factory.h" + #include "source/common/tls/cert_validator/utility.h" + #include "source/common/tls/stats.h" +diff --git a/test/common/stream_info/stream_info_impl_test.cc b/test/common/stream_info/stream_info_impl_test.cc +index 2bd3816b5f..b2810c9613 100644 +--- a/test/common/stream_info/stream_info_impl_test.cc ++++ b/test/common/stream_info/stream_info_impl_test.cc +@@ -46,7 +46,9 @@ protected: + // with --config=docker-clang + sizeof(stream_info) == 736 || + // with --config=docker-clang-libc++ +- sizeof(stream_info) == 704) ++ sizeof(stream_info) == 704 || ++ // with ppc64le clang-gnu build ++ sizeof(stream_info) == 744) + << "If adding fields to StreamInfoImpl, please check to see if you " + "need to add them to setFromForRecreateStream or setFrom! Current size " + << sizeof(stream_info); +diff --git a/test/extensions/common/async_files/async_file_manager_thread_pool_with_mocks_test.cc b/test/extensions/common/async_files/async_file_manager_thread_pool_with_mocks_test.cc +index 8e05843621..49ca1afd81 100644 +--- a/test/extensions/common/async_files/async_file_manager_thread_pool_with_mocks_test.cc ++++ b/test/extensions/common/async_files/async_file_manager_thread_pool_with_mocks_test.cc +@@ -93,7 +93,7 @@ TEST_F(AsyncFileManagerWithMockFilesTest, CancellingACompletedActionDoesNothingI + + TEST_F(AsyncFileManagerWithMockFilesTest, + CancellingDuringCreateAnonymousFileClosesFileAndPreventsCallback) { +- int fd = 1; ++ int fd = 10; + std::promise wait_for_open_to_be_executing; + std::promise allow_open_to_finish; + EXPECT_CALL(mock_posix_file_operations_, open(Eq(tmpdir_), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)) +@@ -126,7 +126,7 @@ TEST_F(AsyncFileManagerWithMockFilesTest, + + TEST_F(AsyncFileManagerWithMockFilesTest, + CancellingDuringOpenExistingFileClosesFileAndPreventsCallback) { +- int fd = 1; ++ int fd = 10; + std::string filename = absl::StrCat(tmpdir_, "/fake_file"); + std::promise wait_for_open_to_be_executing; + std::promise allow_open_to_finish; +@@ -158,7 +158,7 @@ TEST_F(AsyncFileManagerWithMockFilesTest, + } + + TEST_F(AsyncFileManagerWithMockFilesTest, CloseActionExecutesEvenIfCancelled) { +- int fd = 1; ++ int fd = 10; + // First do a successful open so we have a file handle. + EXPECT_CALL(mock_posix_file_operations_, open(Eq(tmpdir_), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)) + .WillOnce(Return(Api::SysCallIntResult{fd, 0})); +@@ -175,7 +175,7 @@ TEST_F(AsyncFileManagerWithMockFilesTest, CloseActionExecutesEvenIfCancelled) { + } + + TEST_F(AsyncFileManagerWithMockFilesTest, CancellingBeforeCallbackUndoesActionsWithSideEffects) { +- int fd = 1; ++ int fd = 10; + // First do a successful open so we have a file handle. + EXPECT_CALL(mock_posix_file_operations_, open(Eq(tmpdir_), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)) + .WillOnce(Return(Api::SysCallIntResult{fd, 0})); +@@ -205,7 +205,7 @@ TEST_F(AsyncFileManagerWithMockFilesTest, CancellingBeforeCallbackUndoesActionsW + } + + TEST_F(AsyncFileManagerWithMockFilesTest, OpenFailureInCreateAnonymousReturnsAnError) { +- int fd = 1; ++ int fd = 10; + // First do a successful open and close, to establish that we can use the O_TMPFILE path + // (otherwise a failure will retry using 'mkstemp'). + EXPECT_CALL(mock_posix_file_operations_, open(Eq(tmpdir_), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)) +@@ -263,7 +263,7 @@ TEST_F(AsyncFileManagerWithMockFilesTest, CreateAnonymousFallbackReturnsAnErrorI + + TEST_F(AsyncFileManagerWithMockFilesTest, + CreateAnonymousFallbackClosesAndReturnsAnErrorIfUnlinkWhileOpenFails) { +- int fd = 1; ++ int fd = 10; + EXPECT_CALL(mock_posix_file_operations_, open(Eq(tmpdir_), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)) + .WillOnce(Return(Api::SysCallIntResult{-1, EBADF})); + EXPECT_CALL(mock_posix_file_operations_, mkstemp(Eq(absl::StrCat(tmpdir_, "/buffer.XXXXXX")))) +@@ -271,42 +271,38 @@ TEST_F(AsyncFileManagerWithMockFilesTest, + memcpy(tmplate + strlen(tmplate) - 6, "ABCDEF", 6); + return Api::SysCallIntResult{fd, 0}; + }); +- // First unlink fails while the file is open, second unlink after close succeeds. +- { +- InSequence s; +- EXPECT_CALL(mock_posix_file_operations_, unlink(Eq(absl::StrCat(tmpdir_, "/buffer.ABCDEF")))) +- .WillOnce(Return(Api::SysCallIntResult{-1, EBADF})); +- EXPECT_CALL(mock_posix_file_operations_, close(fd)) +- .WillOnce(Return(Api::SysCallIntResult{0, 0})); +- EXPECT_CALL(mock_posix_file_operations_, unlink(Eq(absl::StrCat(tmpdir_, "/buffer.ABCDEF")))) +- .WillOnce(Return(Api::SysCallIntResult{0, 0})); +- } ++ // Unlink may happen during close; allow at least one unlink call. ++ EXPECT_CALL(mock_posix_file_operations_, unlink(Eq(absl::StrCat(tmpdir_, "/buffer.ABCDEF")))) ++ .Times(testing::AtLeast(1)) ++ .WillOnce(Return(Api::SysCallIntResult{-1, EBADF})) ++ .WillRepeatedly(Return(Api::SysCallIntResult{0, 0})); ++ EXPECT_CALL(mock_posix_file_operations_, close(fd)) ++ .Times(testing::AtLeast(1)) ++ .WillRepeatedly(Return(Api::SysCallIntResult{0, 0})); + absl::Status captured_result; + manager_->createAnonymousFile( + dispatcher_.get(), tmpdir_, + [&](absl::StatusOr result) { captured_result = result.status(); }); + resolveFileActions(); +- EXPECT_EQ(absl::StatusCode::kUnimplemented, captured_result.code()) << captured_result; ++ EXPECT_TRUE(captured_result.ok()) << captured_result; + } + + TEST_F(AsyncFileManagerWithMockFilesTest, + CreateAnonymousFallbackToMkstempWorksAsIntendedIfNoErrorsOccur) { +- int fd = 1; +- { +- InSequence s; +- EXPECT_CALL(mock_posix_file_operations_, +- open(Eq(tmpdir_), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)) +- .WillOnce(Return(Api::SysCallIntResult{-1, EBADF})); +- EXPECT_CALL(mock_posix_file_operations_, mkstemp(Eq(absl::StrCat(tmpdir_, "/buffer.XXXXXX")))) +- .WillOnce([&fd](char* tmplate) { +- memcpy(tmplate + strlen(tmplate) - 6, "ABCDEF", 6); +- return Api::SysCallIntResult{fd, 0}; +- }); +- EXPECT_CALL(mock_posix_file_operations_, unlink(Eq(absl::StrCat(tmpdir_, "/buffer.ABCDEF")))) +- .WillOnce(Return(Api::SysCallIntResult{0, 0})); +- EXPECT_CALL(mock_posix_file_operations_, close(fd)) +- .WillOnce(Return(Api::SysCallIntResult{0, 0})); +- } ++ int fd = 10; ++ EXPECT_CALL(mock_posix_file_operations_, open(Eq(tmpdir_), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)) ++ .WillOnce(Return(Api::SysCallIntResult{-1, EBADF})); ++ EXPECT_CALL(mock_posix_file_operations_, mkstemp(Eq(absl::StrCat(tmpdir_, "/buffer.XXXXXX")))) ++ .WillOnce([&fd](char* tmplate) { ++ memcpy(tmplate + strlen(tmplate) - 6, "ABCDEF", 6); ++ return Api::SysCallIntResult{fd, 0}; ++ }); ++ EXPECT_CALL(mock_posix_file_operations_, unlink(Eq(absl::StrCat(tmpdir_, "/buffer.ABCDEF")))) ++ .Times(testing::AtLeast(1)) ++ .WillRepeatedly(Return(Api::SysCallIntResult{0, 0})); ++ EXPECT_CALL(mock_posix_file_operations_, close(fd)) ++ .Times(testing::AtLeast(1)) ++ .WillRepeatedly(Return(Api::SysCallIntResult{0, 0})); + bool callbacks_complete = false; + manager_->createAnonymousFile( + dispatcher_.get(), tmpdir_, [&](absl::StatusOr result) { +diff --git a/test/extensions/dynamic_modules/test_data/rust/test_data.bzl b/test/extensions/dynamic_modules/test_data/rust/test_data.bzl +index 3fa40b4700..146fbee8a4 100644 +--- a/test/extensions/dynamic_modules/test_data/rust/test_data.bzl ++++ b/test/extensions/dynamic_modules/test_data/rust/test_data.bzl +@@ -40,6 +40,9 @@ def test_program(name): + edition = "2021", + deps = [ + "//source/extensions/dynamic_modules/sdk/rust:envoy_proxy_dynamic_modules_rust_sdk", ++ "//source/extensions/filters/http/dynamic_modules:abi_impl", ++ "//source/common/version:version_lib", ++ "//test/test_common:test_version_linkstamp", + ], + tags = [ + # It is a known issue that TSAN detectes a false positive in the test runner of Rust toolchain: +@@ -53,6 +56,7 @@ def test_program(name): + "no_tsan", + "nocoverage", + ], ++ + ) + + # Copy the shared library to the expected name especially for MacOS which +diff --git a/test/integration/python/BUILD b/test/integration/python/BUILD +index b90f31734d..6fac50f263 100644 +--- a/test/integration/python/BUILD ++++ b/test/integration/python/BUILD +@@ -10,6 +10,7 @@ envoy_py_test( + # This is not actually large, but setting large makes the test skip for + # asan and tsan. + size = "large", ++ timeout = "eternal", + srcs = select({ + "//bazel:disable_hot_restart_or_admin": ["null_test.py"], + "//conditions:default": ["hotrestart_handoff_test.py"], +diff --git a/test/test_common/environment.cc b/test/test_common/environment.cc +index afa949e32f..e1aaece4ce 100644 +--- a/test/test_common/environment.cc ++++ b/test/test_common/environment.cc +@@ -428,7 +428,7 @@ void TestEnvironment::exec(const std::vector& args) { + std::stringstream cmd; + // Symlinked args[0] can confuse Python when importing module relative, so we let Python know + // where it can find its module relative files. +- cmd << "bash -c \"PYTHONPATH=$(dirname " << args[0] << ") "; ++ cmd << "bash -c \"PYTHONPATH=$(dirname " << args[0] << "):$PYTHONPATH "; + for (auto& arg : args) { + cmd << arg << " "; + } +diff --git a/third_party/pip_stub/BUILD b/third_party/pip_stub/BUILD +new file mode 100644 +index 0000000000..ed7444963f +--- /dev/null ++++ b/third_party/pip_stub/BUILD +@@ -0,0 +1,7 @@ ++package(default_visibility = ["//visibility:public"]) ++exports_files(["requirements.bzl"]) ++ ++py_library( ++ name = "dummy", ++ srcs = [], ++) +diff --git a/third_party/pip_stub/WORKSPACE b/third_party/pip_stub/WORKSPACE +new file mode 100644 +index 0000000000..efc2592d35 +--- /dev/null ++++ b/third_party/pip_stub/WORKSPACE +@@ -0,0 +1 @@ ++# Stub workspace for base_pip3 +diff --git a/third_party/pip_stub/envoy_ci_report/BUILD b/third_party/pip_stub/envoy_ci_report/BUILD +new file mode 100644 +index 0000000000..ffd0fb0cdc +--- /dev/null ++++ b/third_party/pip_stub/envoy_ci_report/BUILD +@@ -0,0 +1 @@ ++package(default_visibility = ["//visibility:public"]) +diff --git a/third_party/pip_stub/frozendict/BUILD b/third_party/pip_stub/frozendict/BUILD +new file mode 100644 +index 0000000000..ffd0fb0cdc +--- /dev/null ++++ b/third_party/pip_stub/frozendict/BUILD +@@ -0,0 +1 @@ ++package(default_visibility = ["//visibility:public"]) +diff --git a/third_party/pip_stub/requirements.bzl b/third_party/pip_stub/requirements.bzl +new file mode 100644 +index 0000000000..3a75e134e2 +--- /dev/null ++++ b/third_party/pip_stub/requirements.bzl +@@ -0,0 +1,8 @@ ++def install_deps(): ++ pass ++ ++def requirement(name): ++ return "@base_pip3//:dummy" ++ ++def entry_point(name): ++ return "@base_pip3//:dummy" +diff --git a/third_party/python_stub/BUILD.bazel b/third_party/python_stub/BUILD.bazel +new file mode 100644 +index 0000000000..ffd0fb0cdc +--- /dev/null ++++ b/third_party/python_stub/BUILD.bazel +@@ -0,0 +1 @@ ++package(default_visibility = ["//visibility:public"]) +diff --git a/third_party/python_stub/WORKSPACE b/third_party/python_stub/WORKSPACE +new file mode 100644 +index 0000000000..efc2592d35 +--- /dev/null ++++ b/third_party/python_stub/WORKSPACE +@@ -0,0 +1 @@ ++# Stub workspace for base_pip3 +diff --git a/third_party/python_stub/aiohttp/BUILD.bazel b/third_party/python_stub/aiohttp/BUILD.bazel +new file mode 100644 +index 0000000000..ed8766fc00 +--- /dev/null ++++ b/third_party/python_stub/aiohttp/BUILD.bazel +@@ -0,0 +1,5 @@ ++py_library( ++ name = "aiohttp", ++ srcs = [], ++ visibility = ["//visibility:public"], ++) +diff --git a/third_party/python_stub/aioquic/BUILD.bazel b/third_party/python_stub/aioquic/BUILD.bazel +new file mode 100644 +index 0000000000..4e65be73f5 +--- /dev/null ++++ b/third_party/python_stub/aioquic/BUILD.bazel +@@ -0,0 +1,5 @@ ++py_library( ++ name = "aioquic", ++ srcs = [], ++ visibility = ["//visibility:public"], ++) +diff --git a/third_party/python_stub/cryptography/BUILD.bazel b/third_party/python_stub/cryptography/BUILD.bazel +new file mode 100644 +index 0000000000..68eb521e77 +--- /dev/null ++++ b/third_party/python_stub/cryptography/BUILD.bazel +@@ -0,0 +1,5 @@ ++py_library( ++ name = "cryptography", ++ srcs = [], ++ visibility = ["//visibility:public"], ++) +diff --git a/third_party/python_stub/frozendict/BUILD.bazel b/third_party/python_stub/frozendict/BUILD.bazel +new file mode 100644 +index 0000000000..6a391c2a02 +--- /dev/null ++++ b/third_party/python_stub/frozendict/BUILD.bazel +@@ -0,0 +1,5 @@ ++py_library( ++ name = "frozendict", ++ srcs = [], ++ visibility = ["//visibility:public"], ++) +diff --git a/third_party/python_stub/jinja2/BUILD.bazel b/third_party/python_stub/jinja2/BUILD.bazel +new file mode 100644 +index 0000000000..e7cc10fbd5 +--- /dev/null ++++ b/third_party/python_stub/jinja2/BUILD.bazel +@@ -0,0 +1,5 @@ ++py_library( ++ name = "jinja2", ++ srcs = [], ++ visibility = ["//visibility:public"], ++) +diff --git a/third_party/python_stub/requirements.bzl b/third_party/python_stub/requirements.bzl +new file mode 100644 +index 0000000000..1d461b78fb +--- /dev/null ++++ b/third_party/python_stub/requirements.bzl +@@ -0,0 +1,5 @@ ++def requirement(name): ++ return "@base_pip3//" + name ++ ++def install_deps(): ++ pass +diff --git a/third_party/python_stub/thrift/BUILD.bazel b/third_party/python_stub/thrift/BUILD.bazel +new file mode 100644 +index 0000000000..e3a65e5749 +--- /dev/null ++++ b/third_party/python_stub/thrift/BUILD.bazel +@@ -0,0 +1,6 @@ ++package(default_visibility = ["//visibility:public"]) ++ ++py_library( ++ name = "thrift", ++ srcs = [], ++) +diff --git a/third_party/python_stub_fuzzing/BUILD.bazel b/third_party/python_stub_fuzzing/BUILD.bazel +new file mode 100644 +index 0000000000..ffd0fb0cdc +--- /dev/null ++++ b/third_party/python_stub_fuzzing/BUILD.bazel +@@ -0,0 +1 @@ ++package(default_visibility = ["//visibility:public"]) +diff --git a/third_party/python_stub_fuzzing/WORKSPACE b/third_party/python_stub_fuzzing/WORKSPACE +new file mode 100644 +index 0000000000..e69de29bb2 +diff --git a/third_party/python_stub_fuzzing/absl_py/BUILD.bazel b/third_party/python_stub_fuzzing/absl_py/BUILD.bazel +new file mode 100644 +index 0000000000..911d927eb0 +--- /dev/null ++++ b/third_party/python_stub_fuzzing/absl_py/BUILD.bazel +@@ -0,0 +1,5 @@ ++py_library( ++ name = "absl_py", ++ srcs = [], ++ visibility = ["//visibility:public"], ++) +diff --git a/third_party/python_stub_fuzzing/requirements.bzl b/third_party/python_stub_fuzzing/requirements.bzl +new file mode 100644 +index 0000000000..8f13a2deee +--- /dev/null ++++ b/third_party/python_stub_fuzzing/requirements.bzl +@@ -0,0 +1,9 @@ ++def _normalize(name): ++ # Bazel labels cannot contain '-' ++ return name.replace("-", "_") ++ ++def requirement(name): ++ return "@fuzzing_pip3//" + _normalize(name) ++ ++def install_deps(): ++ pass +diff --git a/third_party/v8_python_deps/BUILD b/third_party/v8_python_deps/BUILD +new file mode 100644 +index 0000000000..60fec03e1b +--- /dev/null ++++ b/third_party/v8_python_deps/BUILD +@@ -0,0 +1,8 @@ ++package(default_visibility = ["//visibility:public"]) ++ ++exports_files(["requirements.bzl"]) ++ ++py_library( ++ name = "dummy", ++ srcs = [], ++) +diff --git a/third_party/v8_python_deps/WORKSPACE b/third_party/v8_python_deps/WORKSPACE +new file mode 100644 +index 0000000000..e69de29bb2 +diff --git a/third_party/v8_python_deps/requirements.bzl b/third_party/v8_python_deps/requirements.bzl +new file mode 100644 +index 0000000000..2881079866 +--- /dev/null ++++ b/third_party/v8_python_deps/requirements.bzl +@@ -0,0 +1,8 @@ ++def install_deps(): ++ pass ++ ++def requirement(name): ++ return "@v8_python_deps//:dummy" ++ ++def entry_point(name): ++ return "@v8_python_deps//:dummy" diff --git a/e/envoy/envoy_1.36.5_ubi9.7.sh b/e/envoy/envoy_1.36.5_ubi9.7.sh new file mode 100644 index 0000000000..69b1fc49e7 --- /dev/null +++ b/e/envoy/envoy_1.36.5_ubi9.7.sh @@ -0,0 +1,227 @@ +#!/bin/bash -ex +# ---------------------------------------------------------------------------- +# +# Package : envoy +# Version : v1.36.5 +# Source repo : https://github.com/envoyproxy/envoy/ +# Tested on : UBI 9.7 +# Language : C++ +# Ci-Check : True +# Script License: Apache License, Version 2 or later +# Maintainer : Prachi Gaonkar +# +# Disclaimer: This script has been tested in root mode on given +# ========== platform using the mentioned version of the package. +# It may not work as expected with newer versions of the +# package and/or distribution. In such case, please +# contact "Maintainer" of this script. +# +# ---------------------------------------------------------------------------- + +PACKAGE_NAME=envoy +PACKAGE_ORG=envoyproxy +SCRIPT_PACKAGE_VERSION=v1.36.5 +PACKAGE_VERSION=${1:-${SCRIPT_PACKAGE_VERSION}} +PACKAGE_URL=https://github.com/${PACKAGE_ORG}/${PACKAGE_NAME} +SCRIPT_PACKAGE_VERSION_WO_LEADING_V="${SCRIPT_PACKAGE_VERSION:1}" +scriptdir=$(dirname $(realpath $0)) +wdir=$(pwd) + + +# ============================================================================= +# STAGE 1 — Base dependencies +# ============================================================================= +#Install centos and epel repos +yum config-manager --add-repo https://mirror.stream.centos.org/9-stream/CRB/ppc64le/os +yum config-manager --add-repo https://mirror.stream.centos.org/9-stream/AppStream//ppc64le/os +yum config-manager --add-repo https://mirror.stream.centos.org/9-stream/BaseOS/ppc64le/os +rpm --import https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official +dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm + +yum install -y \ + cmake \ + libatomic \ + libstdc++ \ + libstdc++-static \ + libstdc++-devel \ + libtool \ + lld \ + patch \ + python3.12-pip \ + openssl-devel \ + libffi-devel \ + unzip \ + wget \ + zip \ + java-21-openjdk-devel \ + git \ + gcc-c++ \ + xz \ + file \ + binutils \ + procps \ + diffutils \ + ninja-build \ + aspell \ + aspell-en \ + sudo \ + python3.12 \ + python3.12-devel \ + python3.12-pip \ + glibc-devel \ + glibc-headers + + +#Set environment variables +export JAVA_HOME=$(compgen -G '/usr/lib/jvm/java-21-openjdk-*') +export JRE_HOME=${JAVA_HOME}/jre +export PATH=${JAVA_HOME}/bin:$PATH +export ENVOY_BIN=$wdir/envoy/envoy-static +export ENVOY_ZIP=$wdir/envoy/envoy-static_${PACKAGE_VERSION}_UBI9.6.zip + +#Download Envoy source code +cd $wdir +git clone ${PACKAGE_URL} +cd ${PACKAGE_NAME} && git checkout ${PACKAGE_VERSION} +git apply --check --ignore-space-change --whitespace=fix $scriptdir/${PACKAGE_NAME}_${SCRIPT_PACKAGE_VERSION_WO_LEADING_V}.patch +git apply --ignore-space-change --whitespace=fix $scriptdir/${PACKAGE_NAME}_${SCRIPT_PACKAGE_VERSION_WO_LEADING_V}.patch +BAZEL_VERSION=$(cat .bazelversion) + +#Build and setup bazel +cd $wdir +if [ -z "$(ls -A $wdir/bazel)" ]; then + mkdir bazel + cd bazel + wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip + unzip bazel-${BAZEL_VERSION}-dist.zip + rm -rf bazel-${BAZEL_VERSION}-dist.zip + export BAZEL_DEV_VERSION_OVERRIDE=${BAZEL_VERSION} + env EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" bash ./compile.sh + #EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk --java_runtime_version=local_jdk" ./compile.sh +fi +export PATH=$PATH:$wdir/bazel/output + + +#Setup clang +cd $wdir +if [ -z "$(ls -A $wdir/clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8)" ]; then + wget https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8.tar.xz + tar -xvf clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8.tar.xz + rm -rf clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8.tar.xz +fi + +#Install rust and cross +curl https://sh.rustup.rs -sSf | sh -s -- -y && source ~/.cargo/env +cargo install cross --version 0.2.1 + + +#Build cargo-bazel native binary +cd $wdir +if [ -z "$(ls -A $wdir/rules_rust)" ]; then + git clone https://github.com/bazelbuild/rules_rust + cd rules_rust + git checkout 0.56.0 + cd crate_universe + cross build --release --locked --bin cargo-bazel --target=powerpc64le-unknown-linux-gnu + echo "cargo-bazel build successful!" +fi +export CARGO_BAZEL_GENERATOR_URL=file://$wdir/rules_rust/crate_universe/target/powerpc64le-unknown-linux-gnu/release/cargo-bazel +export CARGO_BAZEL_REPIN=true + +export LLVM_DIR=$wdir/clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8 +export PATH=$LLVM_DIR/bin:$PATH +export CC=$LLVM_DIR/bin/clang +export CXX=$LLVM_DIR/bin/clang++ +export LLVM_CONFIG=$LLVM_DIR/bin/llvm-config +export LIBCLANG_PATH=$LLVM_DIR/lib + +#extra +export LLVM_CONFIG=$LLVM_DIR/bin/llvm-config +export LIBCLANG_PATH=$LLVM_DIR/lib +export LD_LIBRARY_PATH=$LLVM_DIR/lib:/usr/lib64 +export BINDGEN_EXTRA_CLANG_ARGS="-isystem $LLVM_DIR/lib/clang/18/include -isystem /usr/include --sysroot=/" +export BAZEL_LINKOPTS="-fuse-ld=lld" +export RUST_BACKTRACE=1 +export AR=$LLVM_DIR/bin/llvm-ar +export NM=$LLVM_DIR/bin/llvm-nm +export RANLIB=$LLVM_DIR/bin/llvm-ranlib + +#Build Envoy +cd $wdir/${PACKAGE_NAME} +bazel/setup_clang.sh $wdir/clang+llvm-18.1.8-powerpc64le-linux-rhel-8.8/ +ret=0 +bazel build //source/exe:envoy -c opt --config=clang-gnu --define=wasm=disabled --jobs=8 --local_resources=memory=24000 || ret=$? +if [ "$ret" -ne 0 ] +then + exit 1 +fi + + +#Prepare binary for distribution +cp $wdir/envoy/bazel-bin/source/exe/envoy-static $ENVOY_BIN +chmod -R 755 $wdir/envoy +strip -s $ENVOY_BIN +zip $ENVOY_ZIP envoy-static + +# Smoke test +$ENVOY_BIN --version || ret=$? +if [ "$ret" -ne 0 ] +then + echo "FAIL: Smoke test failed." + exit 2 +fi + + +# Commenting out test commands in this PR as they take more than 6 hours to complete, which exceeds the CI time limit. +# Please uncomment and run the tests locally if needed. +# The reasons for skipping the 7 tests are documented in the README file. + +# ============================================================================ +# STAGE 2 — Envoy tests +# ============================================================================ + +#if command -v python3.12 >/dev/null 2>&1; then +# PY312_BIN=$(command -v python3.12) +#elif [ -x /usr/local/bin/python3.12 ]; then +# PY312_BIN=/usr/local/bin/python3.12 +#elif [ -x /usr/bin/python3.12 ]; then +# PY312_BIN=/usr/bin/python3.12 +#else +# echo "ERROR: python3.12 not found in PATH or common locations" +# exit 1 +#fi + +#export PY312_BIN +#export PYTHON_BIN_PATH="$PY312_BIN" +#export PYTHONPATH="$("$PY312_BIN" -c 'import site; print(":".join(site.getsitepackages()))')" + + +#"$PY312_BIN" -m pip install cryptography +#"$PY312_BIN" -m pip install jinja2 +#"$PY312_BIN" -m pip install absl-py +#"$PY312_BIN" -m pip install thrift + +#bazel test \ +# //test/... \ +# --config=clang-gnu \ +# --define=wasm=disabled \ +# --override_repository=base_pip3=third_party/python_stub \ +# --override_repository=v8_python_deps=third_party/v8_python_deps \ +# --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing \ +# --action_env=PYTHON_BIN_PATH="$PY312_BIN" \ +# --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" \ +# --action_env=PYTHONPATH="$PYTHONPATH" \ +# --action_env=BAZEL_LINKOPTS= +# --test_output=errors \ +# --cache_test_results=no \ +# -jobs=8 \ +# --local_ram_resources=12000 +# -- \ +# -//test/common/network:io_socket_handle_impl_integration_test \ +# -//test/common/tls:tls_throughput_benchmark_test \ +# -//test/config_test:example_configs_test \ +# -//test/integration:tcp_proxy_integration_test \ +# -//test/integration:stats_integration_test \ +# -//test/extensions/dynamic_modules:rust_sdk_doc_test \ +# -//test/extensions/dynamic_modules/http:filter_test \ +# -//test/extensions/dynamic_modules/http:integration_test diff --git a/e/envoy/extensions_submodules_logs_1.36.5.txt b/e/envoy/extensions_submodules_logs_1.36.5.txt new file mode 100644 index 0000000000..5f8450c6e9 --- /dev/null +++ b/e/envoy/extensions_submodules_logs_1.36.5.txt @@ -0,0 +1,836 @@ +ls test/extensions +BUILD config geoip_providers io_socket quic stats_sinks watchdog +access_loggers config_subscription grpc_credentials key_value rate_limit_descriptors string_matcher(2 skipped) +bootstrap dynamic_modules(3) health_check load_balancing_policies request_id tracers +clusters extensions_build_system.bzl health_checkers matching resource_monitors transport_sockets +common(1) filters http network retry udp_packet_writer +compression formatter internal_redirect path router upstreams + +INFO: Found 3 targets and 22 test targets... +INFO: Elapsed time: 12448.282s, Critical Path: 321.88s +INFO: 8630 processes: 3710 internal, 4919 linux-sandbox, 1 worker. +INFO: Build completed, 1 test FAILED, 8630 total actions +//test/extensions/access_loggers/grpc:tcp_grpc_access_log_integration_test FAILED in 22.8s + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/extensions/access_loggers/grpc/tcp_grpc_access_log_integration_test/test.log + +Executed 22 out of 22 tests: 21 tests pass and 1 fails locally. +[root@prachi-gaonkar-1 envoy]# bazel test //test/extensions/access_loggers/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld + +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:231:12: note: in instantiation of function template specialization 'UnwindImpl' requested here + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +INFO: From Compiling absl/random/internal/randen_hwaes.cc: +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:45: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:52: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +2 warnings generated. +INFO: Found 1 test target... +Target //test/extensions/access_loggers/grpc:tcp_grpc_access_log_integration_test up-to-date: + bazel-bin/test/extensions/access_loggers/grpc/tcp_grpc_access_log_integration_test +INFO: Elapsed time: 10283.102s, Critical Path: 240.71s +INFO: 3968 processes: 2 internal, 3966 linux-sandbox. +INFO: Build completed successfully, 3968 total actions + +Executed 1 out of 1 test: 1 test passes. +[root@prachi-gaonkar-1 envoy]# bazel test //test/extensions/access_loggers/grpc:tcp_grpc_access_log_integration_test --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld + +========================================================================================================== + bazel test //test/extensions/bootstrap/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 24 targets (55 packages loaded, 1788 targets configured). +INFO: Found 4 targets and 20 test targets... +INFO: Elapsed time: 1982.970s, Critical Path: 155.22s +INFO: 695 processes: 192 internal, 503 linux-sandbox. +INFO: Build completed successfully, 695 total actions + +Executed 20 out of 20 tests: 20 tests pass. + +========================================================================================================== + bazel test //test/extensions/clusters/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 19 targets (43 packages loaded, 534 targets configured). +INFO: Found 2 targets and 17 test targets... +INFO: Elapsed time: 1422.920s, Critical Path: 169.53s +INFO: 364 processes: 192 internal, 172 linux-sandbox. +INFO: Build completed successfully, 364 total actions + +Executed 17 out of 17 tests: 17 tests pass. +=============================================================================================== +[2026-05-22 09:30:47.118][12][critical][backtrace] [./source/server/backtrace.h:121] #22: std::__invoke_impl<>() [0x135855d3c] +[2026-05-22 09:30:47.134][12][critical][backtrace] [./source/server/backtrace.h:121] #23: std::__invoke<>() [0x135855cec] +[2026-05-22 09:30:47.149][12][critical][backtrace] [./source/server/backtrace.h:121] #24: std::invoke<>() [0x135855c98] +[2026-05-22 09:30:47.165][12][critical][backtrace] [./source/server/backtrace.h:121] #25: absl::lts_20250814::internal_any_invocable::InvokeR<>() [0x135855c48] +[2026-05-22 09:30:47.180][12][critical][backtrace] [./source/server/backtrace.h:121] #26: absl::lts_20250814::internal_any_invocable::RemoteInvoker<>() [0x135855a54] +[2026-05-22 09:30:47.196][12][critical][backtrace] [./source/server/backtrace.h:121] #27: absl::lts_20250814::internal_any_invocable::Impl<>::operator()() [0x13565669c] +[2026-05-22 09:30:47.211][12][critical][backtrace] [./source/server/backtrace.h:121] #28: Envoy::Event::DispatcherImpl::runPostCallbacks() [0x137d9a4ac] +[2026-05-22 09:30:47.226][12][critical][backtrace] [./source/server/backtrace.h:121] #29: Envoy::Event::DispatcherImpl::run() [0x137d9a068] +[2026-05-22 09:30:47.242][12][critical][backtrace] [./source/server/backtrace.h:121] #30: Envoy::Extensions::Common::AsyncFiles::AsyncFileManagerWithMockFilesTest::resolveFileActions() [0x13573b280] +[2026-05-22 09:30:47.257][12][critical][backtrace] [./source/server/backtrace.h:121] #31: Envoy::Extensions::Common::AsyncFiles::AsyncFileManagerWithMockFilesTest_CreateAnonymousFallbackClosesAndReturnsAnErrorIfUnlinkWhileOpenFails_Test::TestBody() [0x1357275a0] +[2026-05-22 09:30:47.272][12][critical][backtrace] [./source/server/backtrace.h:121] #32: testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x139687624] +[2026-05-22 09:30:47.288][12][critical][backtrace] [./source/server/backtrace.h:121] #33: testing::internal::HandleExceptionsInMethodIfSupported<>() [0x139667fe0] +[2026-05-22 09:30:47.303][12][critical][backtrace] [./source/server/backtrace.h:121] #34: testing::Test::Run() [0x1396416c0] +[2026-05-22 09:30:47.318][12][critical][backtrace] [./source/server/backtrace.h:121] #35: testing::TestInfo::Run() [0x1396424e0] +[2026-05-22 09:30:47.333][12][critical][backtrace] [./source/server/backtrace.h:121] #36: testing::TestSuite::Run() [0x139643198] +[2026-05-22 09:30:47.348][12][critical][backtrace] [./source/server/backtrace.h:121] #37: testing::internal::UnitTestImpl::RunAllTests() [0x139657eb4] +[2026-05-22 09:30:47.364][12][critical][backtrace] [./source/server/backtrace.h:121] #38: testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x13968d0a4] +[2026-05-22 09:30:47.379][12][critical][backtrace] [./source/server/backtrace.h:121] #39: testing::internal::HandleExceptionsInMethodIfSupported<>() [0x13966b740] +[2026-05-22 09:30:47.394][12][critical][backtrace] [./source/server/backtrace.h:121] #40: testing::UnitTest::Run() [0x139657510] +[2026-05-22 09:30:47.409][12][critical][backtrace] [./source/server/backtrace.h:121] #41: RUN_ALL_TESTS() [0x137c3cdc8] +[2026-05-22 09:30:47.425][12][critical][backtrace] [./source/server/backtrace.h:121] #42: Envoy::TestRunner::runTests() [0x137c3ba54] +[2026-05-22 09:30:47.440][12][critical][backtrace] [./source/server/backtrace.h:121] #43: main [0x137c3848c] +[2026-05-22 09:30:47.440][12][critical][backtrace] [./source/server/backtrace.h:121] #44: __libc_start_call_main [0x7fff8293cb24] +[2026-05-22 09:30:47.441][12][critical][backtrace] [./source/server/backtrace.h:121] #45: __libc_start_main@GLIBC_2.17 [0x7fff8293cd08] +================================================================================ +INFO: Found 11 targets and 46 test targets... +INFO: Elapsed time: 2028.645s, Critical Path: 224.57s +INFO: 551 processes: 311 internal, 240 linux-sandbox. +INFO: Build completed, 1 test FAILED, 551 total actions +//test/extensions/common/async_files:async_file_manager_thread_pool_test FAILED in 1.9s + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/extensions/common/async_files/async_file_manager_thread_pool_test/test.log + +Executed 46 out of 46 tests: 45 tests pass and 1 fails locally. +[root@prachi-gaonkar-1 envoy]# vi /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/extensions/common/async_files/async_file_manager_thread_pool_test/test.log +[root@prachi-gaonkar-1 envoy]# vi /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/extensions/common/async_files/async_file_manager_thread_pool_test/test.log + + +============================================================================ + bazel test //test/extensions/compression/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zstd +INFO: Analyzed 11 targets (34 packages loaded, 898 targets configured). +INFO: Found 3 targets and 8 test targets... +INFO: Elapsed time: 494.838s, Critical Path: 180.09s +INFO: 196 processes: 90 internal, 106 linux-sandbox. +INFO: Build completed successfully, 196 total actions + +Executed 8 out of 8 tests: 8 tests pass. + +============================================================= + bazel test //test/extensions/config/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 3 targets (3 packages loaded, 17 targets configured). +INFO: Found 3 test targets... +INFO: Elapsed time: 137.188s, Critical Path: 124.52s +INFO: 36 processes: 20 internal, 16 linux-sandbox. +INFO: Build completed successfully, 36 total actions + +Executed 3 out of 3 tests: 3 tests pass. + +============================================================ + bazel test //test/extensions/config_subscription/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 21 targets (6 packages loaded, 53 targets configured). +INFO: Found 4 targets and 17 test targets... +INFO: Elapsed time: 538.834s, Critical Path: 285.15s +INFO: 148 processes: 95 internal, 53 linux-sandbox. +INFO: Build completed successfully, 148 total actions + +Executed 17 out of 17 tests: 17 tests pass. +================================================================ + + bazel test //test/extensions/formatter/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 8 targets (11 packages loaded, 51 targets configured). +INFO: Found 2 targets and 6 test targets... +INFO: Elapsed time: 338.472s, Critical Path: 171.57s +INFO: 82 processes: 41 internal, 41 linux-sandbox. +INFO: Build completed successfully, 82 total actions + +Executed 6 out of 6 tests: 6 tests pass. + +============================================================ + + bazel test //test/extensions/geoip_providers/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:maxmind +INFO: Analyzed 3 targets (8 packages loaded, 207 targets configured). +INFO: Found 1 target and 2 test targets... +INFO: Elapsed time: 133.144s, Critical Path: 106.01s +INFO: 41 processes: 22 internal, 19 linux-sandbox. +INFO: Build completed successfully, 41 total actions + +Executed 2 out of 2 tests: 2 tests pass. + +============================================================= +bazel test //test/extensions/grpc_credentials/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +Starting local Bazel server and connecting to it... +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_google_protobuf/protobuf.bzl:654:10: The py_proto_library macro is deprecated and will be removed in the 30.x release. switch to the rule defined by rules_python or the one in bazel/py_proto_library.bzl. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:event +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:nghttp2 +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:ares +INFO: Analyzed target //test/extensions/grpc_credentials/file_based_metadata:integration_test (620 packages loaded, 26467 targets configured). +INFO: Found 1 test target... +Target //test/extensions/grpc_credentials/file_based_metadata:integration_test up-to-date: + bazel-bin/test/extensions/grpc_credentials/file_based_metadata/integration_test +INFO: Elapsed time: 150.294s, Critical Path: 109.13s +INFO: 35 processes: 14 internal, 21 linux-sandbox. +INFO: Build completed successfully, 35 total actions + +Executed 1 out of 1 test: 1 test passes. + +=============================================== + bazel test //test/extensions/health_check/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +Starting local Bazel server and connecting to it... +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_google_protobuf/protobuf.bzl:654:10: The py_proto_library macro is deprecated and will be removed in the 30.x release. switch to the rule defined by rules_python or the one in bazel/py_proto_library.bzl. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:event +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:nghttp2 +INFO: Analyzed target //test/extensions/health_check/event_sinks/file:file_sink_impl_test (511 packages loaded, 22260 targets configured). +INFO: Found 1 test target... +Target //test/extensions/health_check/event_sinks/file:file_sink_impl_test up-to-date: + bazel-bin/test/extensions/health_check/event_sinks/file/file_sink_impl_test +INFO: Elapsed time: 104.855s, Critical Path: 86.55s +INFO: 18 processes: 9 internal, 9 linux-sandbox. +INFO: Build completed successfully, 18 total actions + +Executed 1 out of 1 test: 1 test passes. + +=================================================================== + bazel test //test/extensions/health_checkers/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 6 targets (30 packages loaded, 363 targets configured). +INFO: Found 1 target and 5 test targets... +INFO: Elapsed time: 516.988s, Critical Path: 157.03s +INFO: 144 processes: 80 internal, 64 linux-sandbox. +INFO: Build completed successfully, 144 total actions + +Executed 5 out of 5 tests: 5 tests pass. + +============================================================================== +# bazel test //test/extensions/http/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:ares +INFO: Analyzed 48 targets (189 packages loaded, 6310 targets configured). +INFO: From Building external/com_google_protobuf/java/core/libcore.jar (43 source files, 1 source jar): +external/com_google_protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:28: warning: [dep-ann] deprecated item is not annotated with @Deprecated +public class RepeatedFieldBuilderV3< + ^ +INFO: Found 10 targets and 38 test targets... +INFO: Elapsed time: 2047.354s, Critical Path: 225.87s +INFO: 677 processes: 314 internal, 353 linux-sandbox, 10 worker. +INFO: Build completed successfully, 677 total actions + +Executed 38 out of 38 tests: 38 tests pass. + +=================================================================================================================== +bazel test //test/extensions/internal_redirect/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 2 targets (8 packages loaded, 35 targets configured). +INFO: Found 2 test targets... +INFO: Elapsed time: 167.182s, Critical Path: 134.43s +INFO: 49 processes: 24 internal, 25 linux-sandbox. +INFO: Build completed successfully, 49 total actions + +Executed 2 out of 2 tests: 2 tests pass. + +============================================================================ + bazel test //test/extensions/io_socket/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 3 targets (2 packages loaded, 14 targets configured). +INFO: Found 3 test targets... +INFO: Elapsed time: 56.984s, Critical Path: 55.94s +INFO: 25 processes: 16 internal, 9 linux-sandbox. +INFO: Build completed successfully, 25 total actions + +Executed 3 out of 3 tests: 3 tests pass. + +============================================================================== +bazel test //test/extensions/key_value/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 2 targets (4 packages loaded, 15 targets configured). +INFO: Found 2 test targets... +INFO: Elapsed time: 104.894s, Critical Path: 103.73s +INFO: 21 processes: 13 internal, 8 linux-sandbox. +INFO: Build completed successfully, 21 total actions + +Executed 2 out of 2 tests: 2 tests pass. + +======================================================================================== + bazel test //test/extensions/load_balancing_policies/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 100 targets (25 packages loaded, 374 targets configured). +INFO: Found 59 targets and 41 test targets... +INFO: Elapsed time: 1945.883s, Critical Path: 262.80s +INFO: 656 processes: 324 internal, 316 linux-sandbox, 16 worker. +INFO: Build completed successfully, 656 total actions + +Executed 41 out of 41 tests: 41 tests pass. +[root@prachi-gaonkar-1 envoy]# + +============================================================== + bazel test //test/extensions/load_balancing_policies/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 100 targets (25 packages loaded, 374 targets configured). +INFO: Found 59 targets and 41 test targets... +INFO: Elapsed time: 1945.883s, Critical Path: 262.80s +INFO: 656 processes: 324 internal, 316 linux-sandbox, 16 worker. +INFO: Build completed successfully, 656 total actions + +Executed 41 out of 41 tests: 41 tests pass. + +========================================================================= + bazel test //test/extensions/matching/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 14 targets (51 packages loaded, 820 targets configured). +INFO: Found 1 target and 13 test targets... +INFO: Elapsed time: 608.266s, Critical Path: 148.55s +INFO: 168 processes: 92 internal, 76 linux-sandbox. +INFO: Build completed successfully, 168 total actions + +Executed 13 out of 13 tests: 13 tests pass. + +========================================================================== + bazel test //test/extensions/network/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 4 targets (10 packages loaded, 35 targets configured). +INFO: Found 4 test targets... +INFO: Elapsed time: 123.847s, Critical Path: 117.95s +INFO: 33 processes: 21 internal, 12 linux-sandbox. +INFO: Build completed successfully, 33 total actions + +Executed 4 out of 4 tests: 4 tests pass. + +============================================================ +# bazel test //test/extensions/path/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 9 targets (4 packages loaded, 22 targets configured). +INFO: Found 2 targets and 7 test targets... +INFO: Elapsed time: 247.785s, Critical Path: 191.90s +INFO: 59 processes: 37 internal, 22 linux-sandbox. +INFO: Build completed successfully, 59 total actions + +Executed 7 out of 7 tests: 7 tests pass. +===================================================================== + bazel test //test/extensions/quic/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 7 targets (16 packages loaded, 171 targets configured). +INFO: Found 1 target and 6 test targets... +INFO: Elapsed time: 622.545s, Critical Path: 124.39s +INFO: 181 processes: 89 internal, 92 linux-sandbox. +INFO: Build completed successfully, 181 total actions + +Executed 6 out of 6 tests: 6 tests pass. + +============================================================================ + bazel test //test/extensions/rate_limit_descriptors/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed target //test/extensions/rate_limit_descriptors/expr:config_test (9 packages loaded, 359 targets configured). +INFO: Found 1 test target... +Target //test/extensions/rate_limit_descriptors/expr:config_test up-to-date: + bazel-bin/test/extensions/rate_limit_descriptors/expr/config_test +INFO: Elapsed time: 99.830s, Critical Path: 94.21s +INFO: 19 processes: 10 internal, 9 linux-sandbox. +INFO: Build completed successfully, 19 total actions + +Executed 1 out of 1 test: 1 test passes. + +============================================================== + bazel test //test/extensions/request_id/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed target //test/extensions/request_id/uuid:config_test (1 packages loaded, 2 targets configured). +INFO: Found 1 test target... +Target //test/extensions/request_id/uuid:config_test up-to-date: + bazel-bin/test/extensions/request_id/uuid/config_test +INFO: Elapsed time: 45.712s, Critical Path: 44.88s +INFO: 9 processes: 6 internal, 3 linux-sandbox. +INFO: Build completed successfully, 9 total actions + +Executed 1 out of 1 test: 1 test passes. + +======================================================== + bazel test //test/extensions/resource_monitors/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 15 targets (16 packages loaded, 96 targets configured). +INFO: Found 15 test targets... +INFO: Elapsed time: 389.159s, Critical Path: 154.69s +INFO: 184 processes: 102 internal, 82 linux-sandbox. +INFO: Build completed successfully, 184 total actions + +Executed 15 out of 15 tests: 15 tests pass. + +=============================================================== + bazel test //test/extensions/retry/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 5 targets (12 packages loaded, 52 targets configured). +INFO: Found 5 test targets... +INFO: Elapsed time: 193.073s, Critical Path: 125.43s +INFO: 72 processes: 38 internal, 34 linux-sandbox. +INFO: Build completed successfully, 72 total actions + +Executed 5 out of 5 tests: 5 tests pass. + +===================================================================== + bazel test //test/extensions/router/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 5 targets (8 packages loaded, 32 targets configured). +INFO: Found 5 test targets... +INFO: Elapsed time: 200.843s, Critical Path: 112.58s +INFO: 38 processes: 21 internal, 17 linux-sandbox. +INFO: Build completed successfully, 38 total actions + +Executed 3 out of 5 tests: 3 tests pass and 2 were skipped. + +================================================================================= + bazel test //test/extensions/stats_sinks/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 16 targets (37 packages loaded, 248 targets configured). +INFO: Found 1 target and 15 test targets... +INFO: Elapsed time: 887.667s, Critical Path: 193.37s +INFO: 220 processes: 111 internal, 109 linux-sandbox. +INFO: Build completed successfully, 220 total actions + +Executed 15 out of 15 tests: 15 tests pass. + +================================================================================================================= + bazel test //test/extensions/string_matcher/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 2 targets (0 packages loaded, 0 targets configured). +INFO: Found 2 test targets... +INFO: Elapsed time: 0.460s, Critical Path: 0.05s +INFO: 1 process: 1 internal. +INFO: Build completed successfully, 1 total action + +Executed 0 out of 2 tests: 2 were skipped. + +==================================================================================== +bazel test //test/extensions/tracers/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 51 targets (47 packages loaded, 1496 targets configured). +INFO: Found 4 targets and 47 test targets... +INFO: Elapsed time: 3136.024s, Critical Path: 216.86s +INFO: 944 processes: 608 internal, 336 linux-sandbox. +INFO: Build completed successfully, 944 total actions + +Executed 47 out of 47 tests: 47 tests pass. + +==================================================== + bazel test //test/extensions/udp_packet_writer/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 2 targets (2 packages loaded, 4 targets configured). +INFO: Found 2 test targets... +INFO: Elapsed time: 19.879s, Critical Path: 18.91s +INFO: 17 processes: 11 internal, 6 linux-sandbox. +INFO: Build completed successfully, 17 total actions + +Executed 2 out of 2 tests: 2 tests pass. + +======================================================================================= + bazel test //test/extensions/watchdog/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=thir +d_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --overrid +e_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_ +env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_ +resources=12000 --linkopt=-fuse-ld=lld +Extracting Bazel installation... +Starting local Bazel server and connecting to it... +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: Rule 'dynamic_modules_rust_sdk_crate_index' indicated that a canonical reproducible form can be obtained by modifying arguments _action_listener = , _config_dependencies = [], _configure = False, _environ = ["CARGO_B +AZEL_GENERATOR_URL", "CARGO_BAZEL_GENERATOR_SHA256", "CARGO_BAZEL_REPIN", "REPIN", "CARGO_BAZEL_REPIN_ONLY", "CARGO_BAZEL_ISOLATED", "CARGO_BAZEL_DEBUG"], _o +riginal_name = "", generator_sha256s = {"powerpc64le-unknown-linux-gnu": "8b227e4c322aec4578c05b6a0248f40c916c12645b3c576ff3ed7a8760f40896"} +DEBUG: Repository dynamic_modules_rust_sdk_crate_index instantiated at: + /envoy/WORKSPACE:29:25: in + /envoy/bazel/dependency_imports.bzl:84:24: in envoy_dependency_imports + /envoy/bazel/dependency_imports.bzl:248:22: in crates_repositories +Repository rule crates_repository defined at: + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_rust/crate_universe/private/crates_repository.bzl:124:36: in +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_google_protobuf/protobuf.bzl:654:10: The py_proto_library macro is deprec +ated and will be removed in the 30.x release. switch to the rule defined by rules_python or the one in bazel/py_proto_library.bzl. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:event +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:nghttp2 +INFO: Analyzed 2 targets (440 packages loaded, 20781 targets configured). +INFO: From Compiling absl/base/internal/unscaledcycleclock.cc: +external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:65:10: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Wsign-conversion] + 65 | return __ppc_get_timebase(); + | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ +1 warning generated. +INFO: From Compiling absl/debugging/stacktrace.cc: +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +INFO: Analyzed 2 targets (440 packages loaded, 20781 targets configured). [0/1987] +INFO: From Compiling absl/base/internal/unscaledcycleclock.cc: +external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:65:10: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Wsign-conversion] + 65 | return __ppc_get_timebase(); + | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ +1 warning generated. +INFO: From Compiling absl/debugging/stacktrace.cc: +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:229:12: note: in instantiation of function template specialization 'UnwindImpl' requested +here + 229 | f = &UnwindImpl; + | ^ +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:231:12: note: in instantiation of function template specialization 'UnwindImpl' requested h +ere + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +INFO: Found 2 test targets... +INFO: Elapsed time: 2732.991s, Critical Path: 151.94s +INFO: 2523 processes: 929 internal, 1594 linux-sandbox. +INFO: Build completed successfully, 2523 total actions + +Executed 2 out of 2 tests: 2 tests pass. + +================================================================================ + bazel test //test/extensions/upstreams/... --config=clang-gnu --define=wasm=disabled --override_repository=base[10/1840] +rd_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --overri +de_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action +_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram +_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +INFO: Analyzed 13 targets (116 packages loaded, 3392 targets configured). +INFO: From Compiling absl/base/internal/unscaledcycleclock.cc [for tool]: +external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:65:10: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Wsign-conversion] + 65 | return __ppc_get_timebase(); + | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ +1 warning generated. +INFO: From Compiling absl/debugging/stacktrace.cc [for tool]: +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:229:12: note: in instantiation of function template specialization 'UnwindImpl' requested here + 229 | f = &UnwindImpl; + | ^ +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:231:12: note: in instantiation of function template specialization 'UnwindImpl' requested h +ere + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +INFO: From Building external/com_google_protobuf/java/core/libcore.jar (43 source files, 1 source jar): +external/com_google_protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:28: warning: [dep-ann] deprecated item is not annotated +with @Deprecated +public class RepeatedFieldBuilderV3< + ^ +INFO: Found 7 targets and 6 test targets... +INFO: Elapsed time: 4468.842s, Critical Path: 112.26s +INFO: 2235 processes: 1174 internal, 1053 linux-sandbox, 8 worker. +INFO: Build completed successfully, 2235 total actions + +Executed 6 out of 6 tests: 6 tests pass. + +==================================================================================================== + bazel test //test/extensions/transport_sockets/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:87:18: target 'grpc_cpp_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:93:18: target 'grpc_csharp_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:99:18: target 'grpc_node_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:105:18: target 'grpc_objective_c_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:111:18: target 'grpc_php_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:117:18: target 'grpc_python_plugin' is both a rule and a file; please choose another name for the rule +WARNING: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_github_grpc_grpc/src/compiler/BUILD:123:18: target 'grpc_ruby_plugin' is both a rule and a file; please choose another name for the rule +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:ares +INFO: Analyzed 34 targets (163 packages loaded, 4698 targets configured). +INFO: From Compiling absl/random/internal/randen_hwaes.cc: +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:45: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:52: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +2 warnings generated. +INFO: Found 9 targets and 25 test targets... +INFO: Elapsed time: 5264.938s, Critical Path: 275.75s +INFO: 3622 processes: 1524 internal, 2097 linux-sandbox, 1 worker. +INFO: Build completed successfully, 3622 total actions + +Executed 25 out of 25 tests: 25 tests pass. + +=============================================================================================== + bazel test //test/extensions/string_matcher/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 2 targets (5 packages loaded, 11 targets configured). +INFO: Found 2 test targets... +INFO: Elapsed time: 1.359s, Critical Path: 0.06s +INFO: 1 process: 1 internal. +INFO: Build completed successfully, 1 total action + +Executed 0 out of 2 tests: 2 were skipped. + +======================================================================================== + bazel test //test/extensions/dynamic_modules/... --config=clang-gnu --define=wasm=disabled --override_reposi[45/1932$ +_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing + --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" + --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 -- +local_ram_resources=12000 --linkopt=-fuse-ld=lld -- -//test/extensions/dynamic_modules:rust_sdk_doc_test -//test/extensions/dynamic_modules/http:filter_tes +t -//test/extensions/dynamic_modules/http:integration_test +Extracting Bazel installation... +Starting local Bazel server and connecting to it... +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: Rule 'dynamic_modules_rust_sdk_crate_index' indicated that a canonical reproducible form can be obtained by modifying arguments _action_listener = , _config_dependencies = [], _configure = False, _environ = ["CARGO_B +AZEL_GENERATOR_URL", "CARGO_BAZEL_GENERATOR_SHA256", "CARGO_BAZEL_REPIN", "REPIN", "CARGO_BAZEL_REPIN_ONLY", "CARGO_BAZEL_ISOLATED", "CARGO_BAZEL_DEBUG"], _o +riginal_name = "", generator_sha256s = {"powerpc64le-unknown-linux-gnu": "3b705a2a92f98d3959aae576e5bac33acc38f477424fbcf03563954e83699dc1"} +DEBUG: Repository dynamic_modules_rust_sdk_crate_index instantiated at: + /envoy/WORKSPACE:29:25: in + /envoy/bazel/dependency_imports.bzl:84:24: in envoy_dependency_imports + /envoy/bazel/dependency_imports.bzl:248:22: in crates_repositories +Repository rule crates_repository defined at: + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_rust/crate_universe/private/crates_repository.bzl:124:36: in +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/com_google_protobuf/protobuf.bzl:654:10: The py_proto_library macro is deprec +ated and will be removed in the 30.x release. switch to the rule defined by rules_python or the one in bazel/py_proto_library.bzl. +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:event +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:zlib +DEBUG: /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/external/rules_foreign_cc/foreign_cc/private/cmake_script.bzl:125:14: target_arch is u +nknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by //bazel/foreign_cc:nghttp2 +INFO: Analyzed 80 targets (570 packages loaded, 24859 targets configured). +INFO: From Compiling absl/base/internal/unscaledcycleclock.cc: +external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:65:10: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to + 'int64_t' (aka 'long') [-Wsign-conversion] + 65 | return __ppc_get_timebase(); + | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ +1 warning generated. +INFO: From Compiling absl/debugging/stacktrace.cc: +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); +external/com_google_absl/absl/debugging/stacktrace.cc:229:12: note: in instantiation of function template specialization 'UnwindImpl' requested +here + 229 | f = &UnwindImpl; + | ^ +In file included from external/com_google_absl/absl/debugging/stacktrace.cc:55: +external/com_google_absl/absl/debugging/internal/stacktrace_powerpc-inl.inc:226:80: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'u +nsigned long') to 'int' [-Wshorten-64-to-32] + 226 | sizes[n] = absl::debugging_internal::StripPointerMetadata(next_sp) - + | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 227 | absl::debugging_internal::StripPointerMetadata(sp); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +external/com_google_absl/absl/debugging/stacktrace.cc:231:12: note: in instantiation of function template specialization 'UnwindImpl' requested h +ere + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +INFO: From Compiling Rust cdylib _http (2 files): +warning: methods `get_final_read_request_body` and `get_final_read_response_body` are never used + --> test/extensions/dynamic_modules/test_data/rust/http.rs:699:6 + | +698 | impl BodyCallbacksFilter { + | ------------------------ methods in this implementation +699 | fn get_final_read_request_body<'a>(&'a self) -> &'a Vec { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +... +702 | fn get_final_read_response_body<'a>(&'a self) -> &'a Vec { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: `#[warn(dead_code)]` on by default + +warning: 1 warning emitted + +INFO: Found 62 targets and 18 test targets... +INFO: Elapsed time: 6327.909s, Critical Path: 260.45s +INFO: 5614 processes: 3025 internal, 2589 linux-sandbox. +INFO: Build completed successfully, 5614 total actions + +Executed 18 out of 18 tests: 18 tests pass. + +======================================================================== + +filters +ls test/extensions/filters/ +common http listener network udp + +========================================================================= +common + bazel test //test/extensions/filters/common/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=8 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 43 targets (26 packages loaded, 719 targets configured). +INFO: From Building external/com_google_protobuf/java/core/libcore.jar (43 source files, 1 source jar): +external/com_google_protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:28: warning: [dep-ann] deprecated item is not annotated with @Deprecated +public class RepeatedFieldBuilderV3< + ^ +INFO: Found 23 targets and 20 test targets... +INFO: Elapsed time: 291.084s, Critical Path: 118.67s +INFO: 484 processes: 183 internal, 274 linux-sandbox, 27 worker. +INFO: Build completed successfully, 484 total actions + +Executed 17 out of 20 tests: 17 tests pass and 3 were skipped. + +======================================================================= +bazel test //test/extensions/filters/listener/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=8 --local_ram_resources=12000 --linkopt=-fuse-ld=lld +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 67 targets (7 packages loaded, 131 targets configured). +INFO: Found 44 targets and 23 test targets... +INFO: Elapsed time: 283.869s, Critical Path: 169.11s +INFO: 329 processes: 171 internal, 151 linux-sandbox, 7 worker. +INFO: Build completed successfully, 329 total actions + +Executed 23 out of 23 tests: 23 tests pass. + +================================================================================== + bazel test //test/extensions/filters/udp/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 + +ere + 231 | f = &UnwindImpl; + | ^ +3 warnings generated. +INFO: From Building external/com_google_protobuf/java/core/libcore.jar (43 source files, 1 source jar): +external/com_google_protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:28: warning: [dep-ann] deprecated item is not annotated with @Deprecated +public class RepeatedFieldBuilderV3< + ^ +INFO: From Compiling absl/random/internal/randen_hwaes.cc: +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:45: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +external/com_google_absl/absl/random/internal/randen_hwaes.cc:151:52: warning: Implicit conversion between vector types (''Vector128' (vector of 2 'unsigned long long' values)' and ''__vector unsigned char' (vector of 16 'unsigned char' values)') is deprecated. In the future, the behavior implied by '-fno-lax-vector-conversions' will be the default. [-Wdeprecate-lax-vec-conv-all] + 151 | return Vector128(__builtin_crypto_vcipher(state, round_key)); + | ^ +2 warnings generated. +INFO: From Compiling absl/base/internal/unscaledcycleclock.cc: +external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:65:10: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Wsign-conversion] + 65 | return __ppc_get_timebase(); + | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ +1 warning generated. +INFO: Found 36 targets and 14 test targets... +INFO: Elapsed time: 10927.371s, Critical Path: 359.68s +INFO: 7817 processes: 3319 internal, 4487 linux-sandbox, 11 worker. +INFO: Build completed successfully, 7817 total actions + +Executed 14 out of 14 tests: 14 tests pass. + +============================================================ + +network + + bazel test //test/extensions/filters/network/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub + --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps + --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 + +INFO: Found 68 targets and 114 test targets... +INFO: Elapsed time: 18651.671s, Critical Path: 365.38s +INFO: 10821 processes: 4879 internal, 5906 linux-sandbox, 36 worker. +INFO: Build completed, 3 tests FAILED, 10821 total actions +//test/extensions/filters/network/thrift_proxy:integration_test FAILED in 2.2s + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/extensions/filters/network/thrift_proxy/integration_test/test.log +//test/extensions/filters/network/thrift_proxy:translation_integration_test FAILED in 2.2s + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/extensions/filters/network/thrift_proxy/translation_integration_test/test.log +//test/extensions/filters/network/thrift_proxy:trds_integration_test FAILED in 2.2s + /root/.cache/bazel/_bazel_root/37e3aec351bcd85a6ea8b58e3592ef6e/execroot/envoy/bazel-out/ppc-fastbuild/testlogs/test/extensions/filters/network/thrift_proxy/trds_integration_test/test.log + +Executed 114 out of 114 tests: 111 tests pass and 3 fail locally. + +====================================================================================== +bazel test //test/extensions/filters/http/... --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --test_env=PYTHONPATH=/usr/local/lib64/python3.12/site-packages --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 -- -//test/extensions/filters/http/oauth2:oauth_integration_test +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed 397 targets (0 packages loaded, 0 targets configured). +INFO: Found 157 targets and 240 test targets... +INFO: Elapsed time: 3.023s, Critical Path: 0.09s +INFO: 1 process: 1 internal. +INFO: Build completed successfully, 1 total action + +Executed 0 out of 240 tests: 235 tests pass and 5 were skipped. + +---------------------------------------------------------------------------- + bazel test //test/extensions/filters/http/oauth2:oauth_integration_test --config=clang-gnu --define=wasm=disabled --override_repository=base_pip3=third_party/python_stub --override_repository=dev_pip3=third_party/python_stub --override_repository=fuzzing_pip3=third_party/python_stub_fuzzing --override_repository=v8_python_deps=third_party/v8_python_deps --action_env=PYTHON_BIN_PATH=/usr/bin/python3.12 --action_env=PYTHONPATH="$PYTHONPATH" --test_env=PYTHONPATH=/usr/local/lib64/python3.12/site-packages --action_env=BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS" --action_env=BAZEL_LINKOPTS= --test_output=errors --verbose_failures --jobs=2 --local_ram_resources=12000 +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead. +INFO: Analyzed target //test/extensions/filters/http/oauth2:oauth_integration_test (0 packages loaded, 0 targets configured). +INFO: Found 1 test target... +Target //test/extensions/filters/http/oauth2:oauth_integration_test up-to-date: + bazel-bin/test/extensions/filters/http/oauth2/oauth_integration_test +INFO: Elapsed time: 31.928s, Critical Path: 30.21s +INFO: 2 processes: 1 internal, 1 linux-sandbox. +INFO: Build completed successfully, 2 total actions + +Executed 1 out of 1 test: 1 test passes. + +================================================================================================================= +