Skip to content

[Docs] Need more dependencies for test in Fedora 30 #8642

Closed

Description

@dichn

Hi,
I am using Fedora 30, while I ran

bazel test --test_output=streamed //test/common/http:async_client_impl_test

I encountered the following error.

INFO: Found 1 test target...
INFO: Deleting stale sandbox base /home/dichen/.cache/bazel/_bazel_dichen/ef6d8658a22c5c22f4c3b69abbf6565f/sandbox
ERROR: /home/dichen/codebase/envoy/test/common/http/BUILD:15:1: Linking of rule '//test/common/http:async_client_impl_test' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc @bazel-out/k8-fastbuild/bin/test/common/http/async_client_impl_test-2.params

Use --sandbox_debug to see verbose messages from the sandbox
/usr/bin/ld.gold: error: cannot open /usr/lib64/libatomic.so.1.2.0: No such file or directory
collect2: error: ld returned 1 exit status
Target //test/common/http:async_client_impl_test failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 323.054s, Critical Path: 63.87s
INFO: 56 processes: 56 linux-sandbox.
FAILED: Build did NOT complete successfully

After I installed libatomic, the test passed correctly.
I think we should add this library in the deployment doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions