envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
25.05k stars 4.82k forks source link

FAILED: Build did NOT complete successfully #24609

Closed Webster-Yang closed 1 year ago

Webster-Yang commented 1 year ago

root@tv3--c9d4bf90:/tmp# gcc --version gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@tv3--c9d4bf90:/tmp# clang --version Ubuntu clang version 13.0.1-2ubuntu2.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin

root@tv3--c9d4bf90:/tmp# lld --version lld is a generic driver. Invoke ld.lld (Unix), ld64.lld (macOS), lld-link (Windows), wasm-ld (WebAssembly) instead root@tv3--c9d4bf90:/tmp#

root@tv3--c9d4bf90:/tmp# uname -a Linux tv3--c9d4bf90 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

root@tv3--c9d4bf90:/tmp# bazel version WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). Build label: 6.0.0-pre.20220421.3 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue May 3 16:41:11 2022 (1651596071) Build timestamp: 1651596071 Build timestamp as int: 1651596071 root@tv3--c9d4bf90:/tmp#

envoy tag:v1.23.1

bazel build \ --jobs=12 \ --test_filter="skip-all-test" \ --copt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" \ --cxxopt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" \ --define=ENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1 \ --cxxopt='-std=c++17' \ --//bazel:http3=False \ --subcommands \ --verbose_failures \ --sandbox_debug \ --cxxopt="-Wno-type-limits" \ --copt="-Wno-array-bounds" \ --copt="-Wno-vla-parameter" \ --copt="-Werror=range-loop-construct" \ -c dbg //source/exe:envoy-static

ERROR: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/external/grpc_httpjson_transcoding/src/BUILD:134:11: Compiling src/path_matcher_node.cc failed: (Exit 1): linux-sandbox failed: error executing command (cd /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/1344/execroot/envoy && \ exec env - \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/root/bin:/usr/goPath:/usr/local/go/bin:/usr/local/go \ PWD=/proc/self/cwd \ TMPDIR=/tmp \ /root/.cache/bazel/_bazel_root/install/105cdae8e95eaae9b55d5e684bad8944/linux-sandbox -t 15 -w /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/1344/execroot/envoy -w /tmp -w /dev/shm -D -- /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g '-std=c++0x' -MD -MF bazel-out/k8-dbg/bin/external/grpc_httpjson_transcoding/src/_objs/path_matcher/path_matcher_node.pic.d '-frandom-seed=bazel-out/k8-dbg/bin/external/grpc_httpjson_transcoding/src/_objs/path_matcher/path_matcher_node.pic.o' -fPIC -iquote external/grpc_httpjson_transcoding -iquote bazel-out/k8-dbg/bin/external/grpc_httpjson_transcoding -iquote external/com_google_absl -iquote bazel-out/k8-dbg/bin/external/com_google_absl -isystem external/grpc_httpjson_transcoding/src/include -isystem bazel-out/k8-dbg/bin/external/grpc_httpjson_transcoding/src/include '-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1' -Wno-array-bounds -Wno-vla-parameter '-Werror=range-loop-construct' '-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1' '-std=c++17' -Wno-type-limits -fno-canonical-system-headers -Wno-builtin-macro-redefined '-DDATE="redacted"' '-DTIMESTAMP="redacted"' '-DTIME="redacted"' -c external/grpc_httpjson_transcoding/src/path_matcher_node.cc -o bazel-out/k8-dbg/bin/external/grpc_httpjson_transcoding/src/_objs/path_matcher/path_matcher_node.pic.o) 1671242958.596223429: src/main/tools/linux-sandbox.cc:152: calling pipe(2)... 1671242958.596293717: src/main/tools/linux-sandbox.cc:171: calling clone(2)... 1671242958.596604608: src/main/tools/linux-sandbox.cc:180: linux-sandbox-pid1 has PID 316976 1671242958.596686427: src/main/tools/linux-sandbox-pid1.cc:641: Pid1Main started 1671242958.596773531: src/main/tools/linux-sandbox.cc:197: done manipulating pipes 1671242958.596978361: src/main/tools/linux-sandbox-pid1.cc:260: working dir: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/1344/execroot/envoy 1671242958.597004636: src/main/tools/linux-sandbox-pid1.cc:292: writable: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/1344/execroot/envoy 1671242958.597014122: src/main/tools/linux-sandbox-pid1.cc:292: writable: /tmp 1671242958.597020964: src/main/tools/linux-sandbox-pid1.cc:292: writable: /dev/shm 1671242958.597103508: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: / 1671242958.597113210: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev 1671242958.597118767: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev/pts 1671242958.597124165: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /dev/shm 1671242958.597129016: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev/hugepages 1671242958.597134068: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev/mqueue 1671242958.597139210: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run 1671242958.597144208: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/lock 1671242958.597149722: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/credentials/systemd-sysusers.service 1671242958.597155378: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/snapd/ns 1671242958.597161096: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/user/1001 1671242958.597169387: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys 1671242958.597174522: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/security 1671242958.597210603: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/cgroup 1671242958.597217419: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/pstore 1671242958.597222997: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/bpf 1671242958.597228459: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/debug 1671242958.597234250: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/tracing 1671242958.597239979: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/fuse/connections 1671242958.597247020: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/config 1671242958.597253046: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /proc 1671242958.597258291: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /proc/sys/fs/binfmt_misc 1671242958.597267811: src/main/tools/linux-sandbox-pid1.cc:382: remount(nullptr, /proc/sys/fs/binfmt_misc, nullptr, 2101281, nullptr) failure (Operation not permitted) ignored 1671242958.597273535: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /proc/sys/fs/binfmt_misc 1671242958.597279276: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/core20/1623 1671242958.597285158: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/lxd/23541 1671242958.597302510: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /boot/efi 1671242958.597310018: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/snapd/17883 1671242958.597316612: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/core20/1738 1671242958.597322138: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/1344/execroot/envoy 1671242958.597328030: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/1344/execroot/envoy 1671242958.597332900: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /tmp 1671242958.597347430: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /dev/shm 1671242958.597424207: src/main/tools/linux-sandbox-pid1.cc:451: calling fork... 1671242958.597614601: src/main/tools/linux-sandbox-pid1.cc:481: child started with PID 2 external/grpc_httpjson_transcoding/src/path_matcher_node.cc: In member function 'void google::grpc::transcoding::PathMatcherNode::LookupPath(std::vector<std::cxx11::basic_string >::const_iterator, std::vector<std::cxx11::basic_string >::const_iterator, google::grpc::transcoding::HttpMethod, google::grpc::transcoding::PathMatcherLookupResult) const': external/grpc_httpjson_transcoding/src/path_matcher_node.cc:171:27: error: loop variable 'child_key' of type 'const string&' {aka 'const std::__cxx11::basic_string&'} binds to a temporary constructed from type 'const char const' [-Werror=range-loop-construct] 171 | for (const std::string& child_key : | ^~~~~ external/grpc_httpjson_transcoding/src/path_matcher_node.cc:171:27: note: use non-reference type 'const string' {aka 'const std::__cxx11::basic_string'} to make the copy explicit or 'const char* const&' to prevent copying cc1plus: some warnings being treated as errors 1671242959.827154482: src/main/tools/linux-sandbox-pid1.cc:498: wait returned pid=2, status=0x100 1671242959.827292135: src/main/tools/linux-sandbox-pid1.cc:516: child exited normally with code 1 1671242959.828168830: src/main/tools/linux-sandbox.cc:233: child exited normally with code 1 Target //source/exe:envoy-static failed to build INFO: Elapsed time: 594.290s, Critical Path: 43.39s INFO: 553 processes: 15 internal, 538 linux-sandbox. FAILED: Build did NOT complete successfully

Webster-Yang commented 1 year ago

root@tv3--c9d4bf90:/tmp# gcc --version gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@tv3--c9d4bf90:/tmp# clang --version Ubuntu clang version 13.0.1-2ubuntu2.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin

root@tv3--c9d4bf90:/tmp# lld --version lld is a generic driver. Invoke ld.lld (Unix), ld64.lld (macOS), lld-link (Windows), wasm-ld (WebAssembly) instead root@tv3--c9d4bf90:/tmp#

root@tv3--c9d4bf90:/tmp# uname -a Linux tv3--c9d4bf90 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

root@tv3--c9d4bf90:/tmp# bazel version WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). Build label: 6.0.0-pre.20220421.3 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue May 3 16:41:11 2022 (1651596071) Build timestamp: 1651596071 Build timestamp as int: 1651596071 root@tv3--c9d4bf90:/tmp#

envoy tag:v1.23.1

bazel build \ --jobs=12 \ --test_filter="skip-all-test" \ --cxxopt='-std=c++17' \ --//bazel:http3=False \ --subcommands \ --verbose_failures \ --sandbox_debug \ --cxxopt="-Wno-type-limits" \ --copt="-Wno-array-bounds" \ --copt="-Wno-vla-parameter" \ --copt="-Werror=range-loop-construct" \ -c dbg //source/exe:envoy-static

_formats.pic.o)

Configuration: 4345402fc0fbbd8cf71551c0e75130756d238ec2ed8b3cedeb33cf5c5e50037e

Execution platform: @local_config_platform//:host

ERROR: /usr/local/istio/envoy/v1.23.1/source/extensions/common/matcher/BUILD:24:19: Compiling source/extensions/common/matcher/trie_matcher.cc failed: (Exit 1): linux-sandbox failed: error executing command (cd /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/3897/execroot/envoy && \ exec env - \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/root/bin:/usr/goPath:/usr/local/go/bin:/usr/local/go \ PWD=/proc/self/cwd \ TMPDIR=/tmp \ /root/.cache/bazel/_bazel_root/install/105cdae8e95eaae9b55d5e684bad8944/linux-sandbox -t 15 -w /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/3897/execroot/envoy -w /tmp -w /dev/shm -D -- /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g '-std=c++0x' -MD -MF bazel-out/k8-dbg/bin/source/extensions/common/matcher/_objs/trie_matcher_lib/trie_matcher.pic.d '-frandom-seed=bazel-out/k8-dbg/bin/source/extensions/common/matcher/_objs/trie_matcher_lib/trie_matcher.pic.o' -fPIC -DFMT_HEADER_ONLY -DSPDLOG_FMT_EXTERNAL -DNGHTTP2_STATICLIB -iquote . -iquote bazel-out/k8-dbg/bin -iquote external/com_google_absl -iquote bazel-out/k8-dbg/bin/external/com_google_absl -iquote external/com_github_fmtlib_fmt -iquote bazel-out/k8-dbg/bin/external/com_github_fmtlib_fmt -iquote external/envoy_api -iquote bazel-out/k8-dbg/bin/external/envoy_api -iquote external/com_google_googleapis -iquote bazel-out/k8-dbg/bin/external/com_google_googleapis -iquote external/com_google_protobuf -iquote bazel-out/k8-dbg/bin/external/com_google_protobuf -iquote external/com_envoyproxy_protoc_gen_validate -iquote bazel-out/k8-dbg/bin/external/com_envoyproxy_protoc_gen_validate -iquote external/com_googlesource_code_re2 -iquote bazel-out/k8-dbg/bin/external/com_googlesource_code_re2 -iquote external/com_github_cncf_udpa -iquote bazel-out/k8-dbg/bin/external/com_github_cncf_udpa -iquote external/opencensus_proto -iquote bazel-out/k8-dbg/bin/external/opencensus_proto -iquote external/com_github_gabime_spdlog -iquote bazel-out/k8-dbg/bin/external/com_github_gabime_spdlog -iquote external/com_github_cyan4973_xxhash -iquote bazel-out/k8-dbg/bin/external/com_github_cyan4973_xxhash -iquote external/com_github_jbeder_yaml_cpp -iquote bazel-out/k8-dbg/bin/external/com_github_jbeder_yaml_cpp -iquote external/boringssl -iquote bazel-out/k8-dbg/bin/external/boringssl -iquote external/com_googlesource_googleurl -iquote bazel-out/k8-dbg/bin/external/com_googlesource_googleurl -iquote external/envoy -iquote bazel-out/k8-dbg/bin/external/envoy -iquote external/com_github_circonus_labs_libcircllhist -iquote bazel-out/k8-dbg/bin/external/com_github_circonus_labs_libcircllhist -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/_virtual_includes/any_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/_virtual_includes/descriptor_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/_virtual_includes/duration_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/_virtual_includes/empty_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/_virtual_includes/struct_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/_virtual_includes/timestamp_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/_virtual_includes/wrappers_proto -Ibazel-out/k8-dbg/bin/source/common/common/_virtual_includes/logger_impl_lib_standard -Ibazel-out/k8-dbg/bin/source/common/common/_virtual_includes/thread_impl_lib_posix -Ibazel-out/k8-dbg/bin/source/common/api/_virtual_includes/os_sys_calls_lib -isystem external/com_github_fmtlib_fmt/include -isystem bazel-out/k8-dbg/bin/external/com_github_fmtlib_fmt/include -isystem external/com_google_protobuf/src -isystem bazel-out/k8-dbg/bin/external/com_google_protobuf/src -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/zlib/include -isystem external/com_github_gabime_spdlog/include -isystem bazel-out/k8-dbg/bin/external/com_github_gabime_spdlog/include -isystem external/com_github_jbeder_yaml_cpp/include -isystem bazel-out/k8-dbg/bin/external/com_github_jbeder_yaml_cpp/include -isystem external/boringssl/src/include -isystem bazel-out/k8-dbg/bin/external/boringssl/src/include -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/event/include -isystem external/envoy/bazel/external/http_parser -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/external/http_parser -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/nghttp2/include -isystem external/com_github_circonus_labs_libcircllhist/src -isystem bazel-out/k8-dbg/bin/external/com_github_circonus_labs_libcircllhist/src -Wno-array-bounds -Wno-vla-parameter '-Werror=range-loop-construct' '-std=c++17' -Wno-type-limits -Wall -Wextra -Werror -Wnon-virtual-dtor -Woverloaded-virtual -Wold-style-cast -Wformat -Wformat-security -Wvla -Wno-deprecated-declarations -Wreturn-type -ggdb3 -Wno-maybe-uninitialized -DTCMALLOC -DENVOY_HANDLE_SIGNALS -DENVOY_OBJECT_TRACE_ON_DUMP -DENVOY_HOT_RESTART -DENVOY_ADMIN_HTML -DENVOY_GOOGLE_GRPC -fno-canonical-system-headers -Wno-builtin-macro-redefined '-DDATE="redacted"' '-DTIMESTAMP="redacted"' '-DTIME="redacted"' -c source/extensions/common/matcher/trie_matcher.cc -o bazel-out/k8-dbg/bin/source/extensions/common/matcher/_objs/trie_matcher_lib/trie_matcher.pic.o) 1671245761.298263389: src/main/tools/linux-sandbox.cc:152: calling pipe(2)... 1671245761.298415532: src/main/tools/linux-sandbox.cc:171: calling clone(2)... 1671245761.298774623: src/main/tools/linux-sandbox.cc:180: linux-sandbox-pid1 has PID 347890 1671245761.298839898: src/main/tools/linux-sandbox-pid1.cc:641: Pid1Main started 1671245761.298938425: src/main/tools/linux-sandbox.cc:197: done manipulating pipes 1671245761.299127301: src/main/tools/linux-sandbox-pid1.cc:260: working dir: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/3897/execroot/envoy 1671245761.299146653: src/main/tools/linux-sandbox-pid1.cc:292: writable: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/3897/execroot/envoy 1671245761.299154508: src/main/tools/linux-sandbox-pid1.cc:292: writable: /tmp 1671245761.299161584: src/main/tools/linux-sandbox-pid1.cc:292: writable: /dev/shm 1671245761.299242238: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: / 1671245761.299253411: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev 1671245761.299259345: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev/pts 1671245761.299265421: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /dev/shm 1671245761.299270500: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev/hugepages 1671245761.299275999: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /dev/mqueue 1671245761.299281503: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run 1671245761.299286863: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/lock 1671245761.299292204: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/credentials/systemd-sysusers.service 1671245761.299297532: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/snapd/ns 1671245761.299303849: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /run/user/1001 1671245761.299309727: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys 1671245761.299314447: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/security 1671245761.299349654: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/cgroup 1671245761.299356621: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/pstore 1671245761.299362191: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/bpf 1671245761.299367656: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/debug 1671245761.299373658: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/tracing 1671245761.299379104: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/fs/fuse/connections 1671245761.299385728: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /sys/kernel/config 1671245761.299391336: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /proc 1671245761.299396496: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /proc/sys/fs/binfmt_misc 1671245761.299404974: src/main/tools/linux-sandbox-pid1.cc:382: remount(nullptr, /proc/sys/fs/binfmt_misc, nullptr, 2101281, nullptr) failure (Operation not permitted) ignored 1671245761.299411082: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /proc/sys/fs/binfmt_misc 1671245761.299416773: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/core20/1623 1671245761.299422210: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/lxd/23541 1671245761.299438910: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /boot/efi 1671245761.299444141: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/snapd/17883 1671245761.299448927: src/main/tools/linux-sandbox-pid1.cc:362: remount ro: /snap/core20/1738 1671245761.299454288: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/3897/execroot/envoy 1671245761.299460418: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /root/.cache/bazel/_bazel_root/1763248ac6ccfb59ce28d32232ec949a/sandbox/linux-sandbox/3897/execroot/envoy 1671245761.299465296: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /tmp 1671245761.299478604: src/main/tools/linux-sandbox-pid1.cc:362: remount rw: /dev/shm 1671245761.299538921: src/main/tools/linux-sandbox-pid1.cc:451: calling fork... 1671245761.299706355: src/main/tools/linux-sandbox-pid1.cc:481: child started with PID 2 In file included from source/extensions/common/matcher/trie_matcher.cc:1: ./source/extensions/common/matcher/trie_matcher.h: In instantiation of 'typename Envoy::Matcher::MatchTree::MatchResult Envoy::Extensions::Common::Matcher::TrieMatcher::match(const DataType&) [with DataType = Envoy::Network::MatchingData; typename Envoy::Matcher::MatchTree::MatchResult = Envoy::Matcher::MatchTree::MatchResult]': ./source/extensions/common/matcher/trie_matcher.h:67:45: required from here ./source/extensions/common/matcher/trie_matcher.h:85:21: error: loop variable 'node' creates a copy from type 'const Envoy::Extensions::Common::Matcher::TrieNode' [-Werror=range-loop-construct] 85 | for (const auto node : values) { | ^~~~ ./source/extensions/common/matcher/trie_matcher.h:85:21: note: use reference type to prevent copying 85 | for (const auto node : values) { | ^~~~ | & ./source/extensions/common/matcher/trie_matcher.h: In instantiation of 'typename Envoy::Matcher::MatchTree::MatchResult Envoy::Extensions::Common::Matcher::TrieMatcher::match(const DataType&) [with DataType = Envoy::Network::UdpMatchingData; typename Envoy::Matcher::MatchTree::MatchResult = Envoy::Matcher::MatchTree::MatchResult]': ./source/extensions/common/matcher/trie_matcher.h:67:45: required from here ./source/extensions/common/matcher/trie_matcher.h:85:21: error: loop variable 'node' creates a copy from type 'const Envoy::Extensions::Common::Matcher::TrieNode' [-Werror=range-loop-construct] ./source/extensions/common/matcher/trie_matcher.h:85:21: note: use reference type to prevent copying 85 | for (const auto node : values) { | ^~~~ | & cc1plus: all warnings being treated as errors 1671245792.859067426: src/main/tools/linux-sandbox-pid1.cc:498: wait returned pid=2, status=0x100 1671245792.859157630: src/main/tools/linux-sandbox-pid1.cc:516: child exited normally with code 1 1671245792.859636664: src/main/tools/linux-sandbox.cc:233: child exited normally with code 1 Target //source/exe:envoy-static failed to build INFO: Elapsed time: 2411.806s, Critical Path: 97.58s INFO: 2572 processes: 23 internal, 2549 linux-sandbox. FAILED: Build did NOT complete successfully envoy_buld4.sh: 18: [[: not found

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.