iovisor / bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
Apache License 2.0
20.63k stars 3.89k forks source link

regression tests fail on Ubuntu with 4.4 and 4.9-rc kernels #783

Open ColinIanKing opened 8 years ago

ColinIanKing commented 8 years ago

Hi there,

While sanity checking the 4.9-rc kernel against bcc I hit a load of regression failures with the bcc "make test" regression tests. Are these expected? I re-ran them with an older 4.8 (Yakkety) and 4.4 (Xenial) Ubuntu kernels and get different results. Are these test failures expected? bcc-test-logs.zip

4ast commented 8 years ago

neither of kernels should have any failures. The tests require ruby and other things to be available on the host. Pls start with sudo ../build/tests/cc/test_libbcc and see what it says. Likely ruby is missing. Our jenkins boxes are failure free. cc @dark @drzaeus77 for details on how to set them up properly.