You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logs are extremely long but the error seems to originate from this:
test/common/common/safe_memcpy_test.cc:40:15: error: no viable constructor or deduction guide for deduction of template arguments of 'vector'
--
| EXPECT_THAT(std::vector(dst, dst + sizeof(src)), ElementsAre(1, 2, 3, 4));
More info can be found by following the link above and Ctrl+F'ing the excerpt above.
$ ci/run_envoy_docker.sh 'bazel run //test/common/common:safe_memcpy_test'
Starting local Bazel server and connecting to it...
INFO: Analyzed target //test/common/common:safe_memcpy_test (313 packages loaded, 12721 targets configured).
INFO: Found 1 target...
Target //test/common/common:safe_memcpy_test up-to-date:
bazel-bin/test/common/common/safe_memcpy_test
INFO: Elapsed time: 32.568s, Critical Path: 21.95s
INFO: 5 processes: 3 internal, 2 processwrapper-sandbox.
INFO: Build completed successfully, 5 total actions
INFO: Running command line: external/bazel_tools/tools/test/test-setup.sh test/common/common/safe_memcpy_test '--gmock_default_moINFO: Build completed successfully, 5 total actions
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //test/common/common:safe_memcpy_test
-----------------------------------------------------------------------------
[==========] Running 3 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 1 test from SafeMemcpyTest
[ RUN ] SafeMemcpyTest.CopyUint8
[ OK ] SafeMemcpyTest.CopyUint8 (0 ms)
[----------] 1 test from SafeMemcpyTest (0 ms total)
[----------] 1 test from SafeMemcpyUnsafeSrcTest
[ RUN ] SafeMemcpyUnsafeSrcTest.CopyUint8Pointer
[ OK ] SafeMemcpyUnsafeSrcTest.CopyUint8Pointer (0 ms)
[----------] 1 test from SafeMemcpyUnsafeSrcTest (0 ms total)
[----------] 1 test from SafeMemcpyUnsafeDstTest
[ RUN ] SafeMemcpyUnsafeDstTest.PrependGrpcFrameHeader
[ OK ] SafeMemcpyUnsafeDstTest.PrependGrpcFrameHeader (0 ms)
[----------] 1 test from SafeMemcpyUnsafeDstTest (0 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 3 test suites ran. (0 ms total)
[ PASSED ] 3 tests.
Nonetheless, if required, I can submit a PR with the following patch:
@rialg sounds good to me. I assume @Wyverald is using some combination of processor and compiler revision where it can't figure out the right vector type, though it looks derivable to me :)
In file included from source/common/common/base_logger.cc:1:
--
| bazel-out/k8-fastbuild/bin/source/common/common/_virtual_includes/base_logger_lib/common/common/base_logger.h:3:10: fatal error: 'memory' file not found
| #include <memory>
| ^~~~~~~~
| 1 error generated.
Now this looks like a real toolchain problem. I think we could, in the meantime, just disable the fuzz_coverage build and get a green commit (the last one is still in February).
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.
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.
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.
Activity
antoniovicente commentedon May 18, 2021
What compiler and tools/library versions are used by the bazel CI?
It seems like the intent was to use the 2 iterator vector constructor, but it seems to me that this code should at the very least look something like:
EXPECT_THAT(std::vector<uint8_t>(dst, dst + sizeof(src)),antoniovicente commentedon May 18, 2021
cc @rialg @jmarantz
rialg commentedon May 18, 2021
With the following environment :
Tests succeeded
Nonetheless, if required, I can submit a PR with the following patch:
jmarantz commentedon May 18, 2021
@rialg sounds good to me. I assume @Wyverald is using some combination of processor and compiler revision where it can't figure out the right vector type, though it looks derivable to me :)
antoniovicente commentedon May 18, 2021
Great to hear. Feel free to send me a PR with the diff above.
Wyverald commentedon May 19, 2021
The environment for the coverage build on Bazel CI is specified here: https://github.com/envoyproxy/envoy/blob/main/.bazelci/presubmit.yml#L19
It specifies that settings from https://github.com/envoyproxy/envoy/blob/main/bazel/setup_clang.sh should be used for the coverage run. I'm not completely sure what in there is tripping up the build, but someone with more knowledge of the setup could maybe tell?
antoniovicente commentedon May 19, 2021
@Wyverald: fix is merged, let us know if it fixed the bazel build.
Wyverald commentedon May 20, 2021
Thanks! That fixed the coverage test, but now fuzz_coverage is failing: https://buildkite.com/bazel/envoy/builds/1553#72726748-2aab-47ec-94ea-d90a382768dc
Now this looks like a real toolchain problem. I think we could, in the meantime, just disable the fuzz_coverage build and get a green commit (the last one is still in February).
meteorcloudy commentedon Jun 8, 2021
https://buildkite.com/bazel/envoy/builds/1572#193bb419-dcd3-4556-be76-7c76af5d69fb
@antoniovicente @rialg Can you help fix the fuzz_coverage failure on Bazel CI?
meteorcloudy commentedon Jun 11, 2021
Ping!
13 remaining items
meteorcloudy commentedon Jul 29, 2021
Envoy is green again after disabling the tests: https://buildkite.com/bazel/envoy/builds?branch=main
github-actions commentedon Aug 28, 2021
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 commentedon Sep 4, 2021
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.
Disable fuzz coverage test on Bazel CI (envoyproxy#16940)
keith commentedon Nov 30, 2022
this test is still disabled, we should probably fix at some point
github-actions commentedon Dec 31, 2022
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.