Giter Club home page Giter Club logo

bcc's People

Contributors

4ast avatar anakryiko avatar boat0 avatar bobrik avatar brendangregg avatar cclauss avatar chenhengqi avatar chenyuezhou avatar dalehamel avatar danobi avatar davemarchevsky avatar dpayne avatar drzaeus77 avatar ethercflow avatar goldshtn avatar jeromemarchand avatar lcp avatar mauriciovasquezbernal avatar mcaleavya avatar olsajiri avatar palmtenor avatar pbhole avatar pchaigno avatar qmonnet avatar r4f4 avatar sandip4n avatar shodoco avatar sumanthkorikkar avatar vmg avatar yonghong-song avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bcc's Issues

Unit tests currently fail

We have disable unit tests as part of #1 to be able to build BCC.

The issue is that the python tests do not setup PYTHONPATH properly and so the tests cannot find bcc:

 5/37 Test  #5: py_test_bpf_log ..................***Failed    0.02 sec
Traceback (most recent call last):
  File "/home/ubuntu/linux-pkg/packages/bcc/tmp/repo/tests/python/test_bpf_log.py", line 5, in <module>
    from bcc import BPF
ImportError: No module named bcc
Failed

Changing PYTHONPATH in bcc/tests/wrapper.sh.in

- PYTHONPATH=@CMAKE_BINARY_DIR@/src/python
+ PYTHONPATH=@CMAKE_BINARY_DIR@/src/python/bcc-python3

seems to fix that issue. This discrepancy may be coming from how dpkg_buildpkg creates a bcc-python2 directory for python2 packages and a bcc-python3 directory for python3 packages.
Even after this change there are still 2 tests that are failing:

  • py_test_free_bcc_memory
  • lua_test_standalone

Unit tests also added 7 minutes to the build time in my run, and since we aren't currently doing any changes to bcc I think we can leave them disabled.

I'm leaving this issue opened for future references.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.