Console Output
Skipping 109 KB..
Full LogRequires: /bin/bash /usr/bin/python2 libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/rpmbuild.piJj9r/BUILDROOT/bcc-0.22.0-26.git.d835215e.x86_64
Wrote: /tmp/rpmbuild.piJj9r/SRPMS/bcc-0.22.0-26.git.d835215e.src.rpm
Wrote: /tmp/rpmbuild.piJj9r/RPMS/x86_64/libbcc-0.22.0-26.git.d835215e.x86_64.rpm
Wrote: /tmp/rpmbuild.piJj9r/RPMS/x86_64/python2-bcc-0.22.0-26.git.d835215e.x86_64.rpm
Wrote: /tmp/rpmbuild.piJj9r/RPMS/x86_64/bcc-lua-0.22.0-26.git.d835215e.x86_64.rpm
Wrote: /tmp/rpmbuild.piJj9r/RPMS/x86_64/libbcc-examples-0.22.0-26.git.d835215e.x86_64.rpm
Wrote: /tmp/rpmbuild.piJj9r/RPMS/x86_64/bcc-tools-0.22.0-26.git.d835215e.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.W2czb8
+ umask 022
+ cd /tmp/rpmbuild.piJj9r/BUILD
+ cd bcc
+ /usr/bin/rm -rf /tmp/rpmbuild.piJj9r/BUILDROOT/bcc-0.22.0-26.git.d835215e.x86_64
+ exit 0
+ popd
~/jenkins/workspace/bcc-pr/label/fc26
+ cp /tmp/rpmbuild.piJj9r/RPMS/x86_64/bcc-lua-0.22.0-26.git.d835215e.x86_64.rpm /tmp/rpmbuild.piJj9r/RPMS/x86_64/bcc-tools-0.22.0-26.git.d835215e.x86_64.rpm /tmp/rpmbuild.piJj9r/RPMS/x86_64/libbcc-0.22.0-26.git.d835215e.x86_64.rpm /tmp/rpmbuild.piJj9r/RPMS/x86_64/libbcc-examples-0.22.0-26.git.d835215e.x86_64.rpm /tmp/rpmbuild.piJj9r/RPMS/x86_64/python2-bcc-0.22.0-26.git.d835215e.x86_64.rpm .
+ cp /tmp/rpmbuild.piJj9r/SRPMS/bcc-0.22.0-26.git.d835215e.src.rpm .
+ cleanup
+ [[ -d /tmp/rpmbuild.piJj9r ]]
+ rm -rf /tmp/rpmbuild.piJj9r
+ sudo rpm -ivh bcc-lua-0.22.0-26.git.d835215e.x86_64.rpm bcc-tools-0.22.0-26.git.d835215e.x86_64.rpm libbcc-0.22.0-26.git.d835215e.x86_64.rpm libbcc-examples-0.22.0-26.git.d835215e.x86_64.rpm python2-bcc-0.22.0-26.git.d835215e.x86_64.rpm
Preparing... ########################################
Updating / installing...
libbcc-0.22.0-26.git.d835215e ########################################
python2-bcc-0.22.0-26.git.d835215e ########################################
bcc-lua-0.22.0-26.git.d835215e ########################################
libbcc-examples-0.22.0-26.git.d835215e########################################
bcc-tools-0.22.0-26.git.d835215e ########################################
+ mkdir upload
+ mv bcc-0.22.0-26.git.d835215e.src.rpm bcc-lua-0.22.0-26.git.d835215e.x86_64.rpm bcc-tools-0.22.0-26.git.d835215e.x86_64.rpm libbcc-0.22.0-26.git.d835215e.x86_64.rpm libbcc-examples-0.22.0-26.git.d835215e.x86_64.rpm python2-bcc-0.22.0-26.git.d835215e.x86_64.rpm upload
[fc26] $ /bin/sh -xe /tmp/CommandInterpreterCondition4523212381286002238.sh
+ grep -q '^ID=ubuntu' /etc/os-release
Run condition [Execute Shell] preventing perform for step [Execute shell]
[fc26] $ /bin/sh -xe /tmp/jenkins7818309982235544230.sh
+ mkdir build
+ cd build
+ [[ fc26 fedora26-slave-db7 = *\f\c\2\8* ]]
+ cmake ..
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Latest recognized Git tag is v0.22.0
-- Git HEAD is d835215e4c1b7de426ca6884f2567b4d9f72c4a7
-- Revision is 0.22.0-d835215e
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Failed
-- Found LLVM: /usr/include 4.0.1
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found FLEX: /usr/bin/flex (found version "2.6.1")
-- Found LibElf: /usr/lib64/libelf.so
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Could NOT find LibDebuginfod (missing: LIBDEBUGINFOD_LIBRARIES LIBDEBUGINFOD_INCLUDE_DIRS)
-- Found LuaJIT: /usr/lib64/libluajit-5.1.so;/usr/lib64/libdl.so;/usr/lib64/libm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build
+ make -j2 -C tests/cc
make: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/cc'
make[1]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target usdt_test_lib
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target clang_frontend
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 0%] Building CXX object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.cc.o
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o
[ 5%] Linking CXX shared library libusdt_test_lib.so
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 5%] Built target usdt_test_lib
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target bcc-loader-static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 5%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
[ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[ 8%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[ 8%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[ 8%] Linking CXX static library libbcc-loader-static.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 8%] Built target bcc-loader-static
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target bpf-static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 11%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o
[ 11%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o
[ 11%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o
[ 11%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/gen_loader.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o
[ 16%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o
[ 19%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o
[ 19%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/linker.c.o
[ 19%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o
[ 22%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o
[ 22%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/relo_core.c.o
[ 22%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/ringbuf.c.o
[ 25%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
[ 25%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/strset.c.o
[ 25%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o
[ 27%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/bcc_syms.cc.o
[ 27%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_elf.c.o
[ 27%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_perf_map.c.o
[ 30%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_proc.c.o
[ 30%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/common.cc.o
[ 30%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt.cc.o
[ 33%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt_args.cc.o
[ 33%] Linking CXX static library libbcc_bpf.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 33%] Built target bpf-static
[ 33%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o
[ 36%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/frontends/clang/kbuild_helper.cc:80:3: warning: multi-line comment [-Wcomment]
// USERINCLUDE := \
^
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/frontends/clang/kbuild_helper.cc:89:3: warning: multi-line comment [-Wcomment]
// LINUXINCLUDE := \
^
[ 36%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target api-static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 36%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
[ 38%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
[ 38%] Linking CXX static library libclang_frontend.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 38%] Built target clang_frontend
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target usdt-static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 38%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
[ 38%] Linking CXX static library libapi-static.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 38%] Built target api-static
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 41%] [FLEX][Lexer] Building scanner with flex 2.6.1
lexer.ll:110: warning, -s option given but default rule can be matched
[ 41%] [BISON][Parser] Building parser with bison 3.0.4
parser.yy:19.9-17: warning: deprecated directive, use ‘%define api.namespace ebpf::cc’ [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:19.9-17: warning: %define variable 'api.namespace' requires '{...}' values [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:20.9-25: warning: %define variable 'parser_class_name' requires '{...}' values [-Wdeprecated]
%define parser_class_name "BisonParser"
^^^^^^^^^^^^^^^^^
Scanning dependencies of target b_frontend
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 41%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o
[ 41%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o
[ 44%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
[ 47%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o
[ 47%] Linking CXX static library libusdt-static.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 47%] Built target usdt-static
[ 47%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o
[ 47%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o
[ 50%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o
[ 50%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o
[ 50%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/cc/frontends/b/lexer.ll.cc: In member function ‘virtual int ebpf::cc::Lexer::yylex()’:
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/cc/frontends/b/lexer.ll.cc:752:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( yyl = 0; yyl < yyleng; ++yyl )
~~~~^~~~~~~~
[ 52%] Linking CXX static library libb_frontend.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 52%] Built target b_frontend
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target bcc-shared
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target bcc-static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 52%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[ 52%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[ 52%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[ 52%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
In member function ‘const char* ebpf::BPFModule::function_name(size_t) const’:
cc1plus: warning: function may return address of local variable [-Wreturn-local-addr]
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bpf_module.cc:556:8: note: declared here
auto name = prog_func_info_->func_name(id);
^~~~
In member function ‘const char* ebpf::BPFModule::function_name(size_t) const’:
cc1plus: warning: function may return address of local variable [-Wreturn-local-addr]
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bpf_module.cc:556:8: note: declared here
auto name = prog_func_info_->func_name(id);
^~~~
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
[ 58%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc: In member function ‘int ebpf::BTF::get_btf_info(const char*, void**, unsigned int*, unsigned int*, void**, unsigned int*, unsigned int*)’:
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:316:33: warning: ‘int btf_ext__reloc_func_info(const btf*, const btf_ext*, const char*, __u32, void**, __u32*)’ is deprecated: btf_ext__reloc_func_info was never meant as a public API and has wrong assumptions embedded in it; it will be removed in the future libbpf versions [-Wdeprecated-declarations]
func_info, func_info_cnt);
^
In file included from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_libbpf_inc.h:9:0,
from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/libbpf/src/btf.h:88:5: note: declared here
int btf_ext__reloc_func_info(const struct btf *btf,
^~~~~~~~~~~~~~~~~~~~~~~~
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:323:33: warning: ‘int btf_ext__reloc_line_info(const btf*, const btf_ext*, const char*, __u32, void**, __u32*)’ is deprecated: btf_ext__reloc_line_info was never meant as a public API and has wrong assumptions embedded in it; it will be removed in the future libbpf versions [-Wdeprecated-declarations]
line_info, line_info_cnt);
^
In file included from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_libbpf_inc.h:9:0,
from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/libbpf/src/btf.h:93:5: note: declared here
int btf_ext__reloc_line_info(const struct btf *btf,
^~~~~~~~~~~~~~~~~~~~~~~~
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc: In member function ‘int ebpf::BTF::get_btf_info(const char*, void**, unsigned int*, unsigned int*, void**, unsigned int*, unsigned int*)’:
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:316:33: warning: ‘int btf_ext__reloc_func_info(const btf*, const btf_ext*, const char*, __u32, void**, __u32*)’ is deprecated: btf_ext__reloc_func_info was never meant as a public API and has wrong assumptions embedded in it; it will be removed in the future libbpf versions [-Wdeprecated-declarations]
func_info, func_info_cnt);
^
In file included from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_libbpf_inc.h:9:0,
from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/libbpf/src/btf.h:88:5: note: declared here
int btf_ext__reloc_func_info(const struct btf *btf,
^~~~~~~~~~~~~~~~~~~~~~~~
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:323:33: warning: ‘int btf_ext__reloc_line_info(const btf*, const btf_ext*, const char*, __u32, void**, __u32*)’ is deprecated: btf_ext__reloc_line_info was never meant as a public API and has wrong assumptions embedded in it; it will be removed in the future libbpf versions [-Wdeprecated-declarations]
line_info, line_info_cnt);
^
In file included from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_libbpf_inc.h:9:0,
from /home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc26/src/cc/libbpf/src/btf.h:93:5: note: declared here
int btf_ext__reloc_line_info(const struct btf *btf,
^~~~~~~~~~~~~~~~~~~~~~~~
[ 58%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[ 58%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
[ 61%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
[ 61%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o
[ 61%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
[ 63%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o
[ 63%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[ 63%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/shared_table.cc.o
[ 66%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[ 66%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpffs_table.cc.o
[ 66%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
[ 69%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o
[ 69%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
[ 69%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/common.cc.o
[ 69%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt.cc.o
[ 72%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[ 72%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[ 72%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o
[ 77%] Linking CXX shared library libbcc.so
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 77%] Built target bcc-shared
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target test_libbcc
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 80%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_libbcc.cc.o
[ 80%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_syms.cc.o
[ 80%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_elf.c.o
[ 83%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o
[ 83%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_proc.c.o
[ 83%] Linking CXX static library libbcc.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 83%] Built target bcc-static
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
Scanning dependencies of target test_static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 86%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
[ 86%] Linking CXX executable test_static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[ 86%] Built target test_static
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_c_api.cc.o
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_array_table.cc.o
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o
[ 88%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_cg_storage.cc.o
[ 88%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_hash_table.cc.o
[ 88%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_queuestack_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sock_table.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/utils.cc.o
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_parse_tracepoint.cc.o
[100%] Linking CXX executable test_libbcc
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
[100%] Built target test_libbcc
make[1]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build'
make: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/cc'
+ ctest -V -D ExperimentalTest --no-compress-output
UpdateCTestConfiguration from :/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/DartConfiguration.tcl
Cannot find file: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/DartConfiguration.tcl
Site:
Build name: (empty)
Create new tag: 20211015-0237 - Experimental
UpdateCTestConfiguration from :/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/DartConfiguration.tcl
Cannot find file: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/DartConfiguration.tcl
Test project /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build
Constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: style-check
1: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/scripts/c-style-check.sh
1: Test timeout computed to be: 10000000
1: diff --git a/src/cc/bcc_debug.cc b/src/cc/bcc_debug.cc
1: index d5eb3a98..10210fc0 100644
1: --- a/src/cc/bcc_debug.cc
1: +++ b/src/cc/bcc_debug.cc
1: @@ -190,7 +190,7 @@ void SourceDebugger::dump() {
1: vector<string> LineCache = buildLineCache();
1:
1: // Start to disassemble with source code annotation section by section
1: - prog_func_info_.for_each_func([&](std::string func_name, FuncInfo& info) {
1: + prog_func_info_.for_each_func([&](std::string func_name, FuncInfo &info) {
1: MCDisassembler::DecodeStatus S;
1: MCInst Inst;
1: uint64_t Size;
1: @@ -214,32 +214,29 @@ void SourceDebugger::dump() {
1: llvm::raw_string_ostream os(src_dbg_str);
1: for (uint64_t Index = 0; Index < FuncSize; Index += Size) {
1: #if LLVM_MAJOR_VERSION >= 10
1: - S = DisAsm->getInstruction(Inst, Size, Data.slice(Index), Index,
1: - nulls());
1: + S = DisAsm->getInstruction(Inst, Size, Data.slice(Index), Index, nulls());
1: #else
1: - S = DisAsm->getInstruction(Inst, Size, Data.slice(Index), Index,
1: - nulls(), nulls());
1: + S = DisAsm->getInstruction(Inst, Size, Data.slice(Index), Index, nulls(),
1: + nulls());
1: #endif
1: if (S != MCDisassembler::Success) {
1: - os << "Debug Error: disassembler failed: " << std::to_string(S)
1: - << '\n';
1: + os << "Debug Error: disassembler failed: " << std::to_string(S) << '\n';
1: break;
1: } else {
1: DILineInfo LineInfo;
1:
1: LineTable->getFileLineInfoForAddress(
1: #if LLVM_MAJOR_VERSION >= 9
1: - {(uint64_t)FuncStart + Index, SectionID},
1: + {(uint64_t)FuncStart + Index, SectionID},
1: #else
1: - (uint64_t)FuncStart + Index,
1: + (uint64_t)FuncStart + Index,
1: #endif
1: - CU->getCompilationDir(),
1: - DILineInfoSpecifier::FileLineInfoKind::AbsoluteFilePath,
1: - LineInfo);
1: + CU->getCompilationDir(),
1: + DILineInfoSpecifier::FileLineInfoKind::AbsoluteFilePath, LineInfo);
1:
1: adjustInstSize(Size, Data[Index], Data[Index + 1]);
1: - dumpSrcLine(LineCache, LineInfo.FileName, LineInfo.Line,
1: - CurrentSrcLine, os);
1: + dumpSrcLine(LineCache, LineInfo.FileName, LineInfo.Line, CurrentSrcLine,
1: + os);
1: os << format("%4" PRIu64 ":", Index >> 3) << '\t';
1: dumpBytes(Data.slice(Index, Size), os);
1: #if LLVM_MAJOR_VERSION >= 10
1: diff --git a/src/cc/bcc_debug.h b/src/cc/bcc_debug.h
1: index 96f39795..f9bda118 100644
1: --- a/src/cc/bcc_debug.h
1: +++ b/src/cc/bcc_debug.h
1: @@ -21,11 +21,9 @@ namespace ebpf {
1:
1: class SourceDebugger {
1: public:
1: - SourceDebugger(
1: - llvm::Module *mod,
1: - sec_map_def §ions,
1: - ProgFuncInfo &prog_func_info, const std::string &mod_src,
1: - std::map<std::string, std::string> &src_dbg_fmap)
1: + SourceDebugger(llvm::Module *mod, sec_map_def §ions,
1: + ProgFuncInfo &prog_func_info, const std::string &mod_src,
1: + std::map<std::string, std::string> &src_dbg_fmap)
1: : mod_(mod),
1: sections_(sections),
1: prog_func_info_(prog_func_info),
1: diff --git a/src/cc/bpf_module.cc b/src/cc/bpf_module.cc
1: index a0afcbde..0c5e9dac 100644
1: --- a/src/cc/bpf_module.cc
1: +++ b/src/cc/bpf_module.cc
1: @@ -23,11 +23,12 @@
1: #include <linux/bpf.h>
1: #include <net/if.h>
1:
1: +#include <llvm-c/Transforms/IPO.h>
1: #include <llvm/ExecutionEngine/MCJIT.h>
1: #include <llvm/ExecutionEngine/SectionMemoryManager.h>
1: #include <llvm/IR/IRPrintingPasses.h>
1: -#include <llvm/IR/LegacyPassManager.h>
1: #include <llvm/IR/LLVMContext.h>
1: +#include <llvm/IR/LegacyPassManager.h>
1: #include <llvm/IR/Module.h>
1: #include <llvm/IR/Verifier.h>
1: #include <llvm/Object/ObjectFile.h>
1: @@ -35,7 +36,6 @@
1: #include <llvm/Support/TargetSelect.h>
1: #include <llvm/Transforms/IPO.h>
1: #include <llvm/Transforms/IPO/PassManagerBuilder.h>
1: -#include <llvm-c/Transforms/IPO.h>
1:
1: #include "common.h"
1: #include "bcc_debug.h"
1: @@ -64,10 +64,8 @@ using namespace llvm;
1: // Snooping class to remember the sections as the JIT creates them
1: class MyMemoryManager : public SectionMemoryManager {
1: public:
1: -
1: explicit MyMemoryManager(sec_map_def *sections, ProgFuncInfo *prog_func_info)
1: - : sections_(sections), prog_func_info_(prog_func_info) {
1: - }
1: + : sections_(sections), prog_func_info_(prog_func_info) {}
1:
1: virtual ~MyMemoryManager() {}
1: uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
1: @@ -88,14 +86,15 @@ class MyMemoryManager : public SectionMemoryManager {
1: return Addr;
1: }
1:
1: - void notifyObjectLoaded(ExecutionEngine *EE, const object::ObjectFile &o) override {
1: + void notifyObjectLoaded(ExecutionEngine *EE,
1: + const object::ObjectFile &o) override {
1: auto sizes = llvm::object::computeSymbolSizes(o);
1: for (auto ss : sizes) {
1: std::string name = ss.first.getName()->str();
1: auto info = prog_func_info_->get_func(name);
1: if (info) {
1: StringRef sec;
1: - // TODO: Figure out specific version check needed here
1: +// TODO: Figure out specific version check needed here
1: #if LLVM_MAJOR_VERSION >= 10
1: sec = *ss.first.getSection().get()->getName();
1: #else
1: @@ -157,9 +156,8 @@ BPFModule::~BPFModule() {
1: }
1:
1: if (!rw_engine_enabled_) {
1: - prog_func_info_->for_each_func([&](std::string name, FuncInfo& info) {
1: - delete[] info.start_;
1: - });
1: + prog_func_info_->for_each_func(
1: + [&](std::string name, FuncInfo &info) { delete[] info.start_; });
1: }
1:
1: engine_.reset();
1: @@ -181,7 +179,8 @@ int BPFModule::free_bcc_memory() {
1: int BPFModule::load_cfile(const string &file, bool in_memory, const char *cflags[], int ncflags) {
1: ClangLoader clang_loader(&*ctx_, flags_);
1: if (clang_loader.parse(&mod_, *ts_, file, in_memory, cflags, ncflags, id_,
1: - *prog_func_info_, mod_src_, maps_ns_, fake_fd_map_, perf_events_))
1: + *prog_func_info_, mod_src_, maps_ns_, fake_fd_map_,
1: + perf_events_))
1: return -1;
1: return 0;
1: }
1: @@ -193,8 +192,9 @@ int BPFModule::load_cfile(const string &file, bool in_memory, const char *cflags
1: // build an ExecutionEngine.
1: int BPFModule::load_includes(const string &text) {
1: ClangLoader clang_loader(&*ctx_, flags_);
1: - if (clang_loader.parse(&mod_, *ts_, text, true, nullptr, 0, "", *prog_func_info_,
1: - mod_src_, "", fake_fd_map_, perf_events_))
1: + if (clang_loader.parse(&mod_, *ts_, text, true, nullptr, 0, "",
1: + *prog_func_info_, mod_src_, "", fake_fd_map_,
1: + perf_events_))
1: return -1;
1: return 0;
1: }
1: @@ -444,17 +444,17 @@ int BPFModule::load_maps(sec_map_def §ions) {
1: }
1:
1: // update instructions
1: - prog_func_info_->for_each_func([&](std::string name, FuncInfo& info) {
1: + prog_func_info_->for_each_func([&](std::string name, FuncInfo &info) {
1: struct bpf_insn *insns = (struct bpf_insn *)info.start_;
1: - uint32_t i, num_insns = info.size_/sizeof(struct bpf_insn);
1: + uint32_t i, num_insns = info.size_ / sizeof(struct bpf_insn);
1: for (i = 0; i < num_insns; i++) {
1: if (insns[i].code == (BPF_LD | BPF_DW | BPF_IMM)) {
1: // change map_fd is it is a ld_pseudo
1: if (insns[i].src_reg == BPF_PSEUDO_MAP_FD &&
1: - map_fds.find(insns[i].imm) != map_fds.end())
1: - insns[i].imm = map_fds[insns[i].imm];
1: - i++;
1: - }
1: + map_fds.find(insns[i].imm) != map_fds.end())
1: + insns[i].imm = map_fds[insns[i].imm];
1: + i++;
1: + }
1: }
1: });
1:
1: @@ -485,7 +485,8 @@ int BPFModule::finalize() {
1: string err;
1: EngineBuilder builder(move(mod_));
1: builder.setErrorStr(&err);
1: - builder.setMCJITMemoryManager(ebpf::make_unique<MyMemoryManager>(sections_p, &*prog_func_info_));
1: + builder.setMCJITMemoryManager(
1: + ebpf::make_unique<MyMemoryManager>(sections_p, &*prog_func_info_));
1: builder.setMArch("bpf");
1: #if LLVM_MAJOR_VERSION <= 11
1: builder.setUseOrcMCJITReplacement(false);
1: @@ -507,9 +508,9 @@ int BPFModule::finalize() {
1: return rc;
1:
1: engine_->finalizeObject();
1: - prog_func_info_->for_each_func([&](std::string name, FuncInfo& info) {
1: - info.start_ = (uint8_t*)engine_->getFunctionAddress(name);
1: - });
1: + prog_func_info_->for_each_func([&](std::string name, FuncInfo &info) {
1: + info.start_ = (uint8_t *)engine_->getFunctionAddress(name);
1: + });
1:
1: if (flags_ & DEBUG_SOURCE) {
1: SourceDebugger src_debugger(mod, *sections_p, *prog_func_info_, mod_src_,
1: @@ -536,11 +537,11 @@ int BPFModule::finalize() {
1: sections_[fname] = make_tuple(tmp_p, size, get<2>(section.second));
1: }
1:
1: - prog_func_info_->for_each_func([](std::string name, FuncInfo& info) {
1: - uint8_t *tmp_p = new uint8_t[info.size_];
1: - memcpy(tmp_p, info.start_, info.size_);
1: - info.start_ = tmp_p;
1: - });
1: + prog_func_info_->for_each_func([](std::string name, FuncInfo &info) {
1: + uint8_t *tmp_p = new uint8_t[info.size_];
1: + memcpy(tmp_p, info.start_, info.size_);
1: + info.start_ = tmp_p;
1: + });
1: engine_.reset();
1: ctx_.reset();
1: }
1: @@ -548,9 +549,7 @@ int BPFModule::finalize() {
1: return 0;
1: }
1:
1: -size_t BPFModule::num_functions() const {
1: - return prog_func_info_->num_funcs();
1: -}
1: +size_t BPFModule::num_functions() const { return prog_func_info_->num_funcs(); }
1:
1: const char * BPFModule::function_name(size_t id) const {
1: auto name = prog_func_info_->func_name(id);
1: @@ -561,14 +560,14 @@ const char * BPFModule::function_name(size_t id) const {
1:
1: uint8_t * BPFModule::function_start(size_t id) const {
1: auto fn = prog_func_info_->get_func(id);
1: - if(fn)
1: + if (fn)
1: return fn->start_;
1: return nullptr;
1: }
1:
1: uint8_t * BPFModule::function_start(const string &name) const {
1: auto fn = prog_func_info_->get_func(name);
1: - if(fn)
1: + if (fn)
1: return fn->start_;
1: return nullptr;
1: }
1: @@ -657,14 +656,14 @@ int BPFModule::annotate_prog_tag(const string &name, int prog_fd,
1:
1: size_t BPFModule::function_size(size_t id) const {
1: auto fn = prog_func_info_->get_func(id);
1: - if(fn)
1: + if (fn)
1: return fn->size_;
1: return 0;
1: }
1:
1: size_t BPFModule::function_size(const string &name) const {
1: auto fn = prog_func_info_->get_func(name);
1: - if(fn)
1: + if (fn)
1: return fn->size_;
1: return 0;
1: }
1: diff --git a/src/cc/frontends/clang/b_frontend_action.cc b/src/cc/frontends/clang/b_frontend_action.cc
1: index 13c80613..d5e7ec86 100644
1: --- a/src/cc/frontends/clang/b_frontend_action.cc
1: +++ b/src/cc/frontends/clang/b_frontend_action.cc
1: @@ -819,7 +819,8 @@ bool BTypeVisitor::VisitFunctionDecl(FunctionDecl *D) {
1: func_info->src_ = bd;
1: fe_.func_range_[current_fn_] = expansionRange(D->getSourceRange());
1: if (!D->getAttr<SectionAttr>()) {
1: - string attr = string("__attribute__((section(\"") + BPF_FN_PREFIX + D->getName().str() + "\")))\n";
1: + string attr = string("__attribute__((section(\"") + BPF_FN_PREFIX +
1: + D->getName().str() + "\")))\n";
1: rewriter_.InsertText(real_start_loc, attr);
1: }
1: if (D->param_size() > MAX_CALLING_CONV_REGS + 1) {
1: @@ -1677,13 +1678,12 @@ void BTypeConsumer::HandleTranslationUnit(ASTContext &Context) {
1:
1: }
1:
1: -BFrontendAction::BFrontendAction(llvm::raw_ostream &os, unsigned flags,
1: - TableStorage &ts, const std::string &id,
1: - const std::string &main_path,
1: - ProgFuncInfo &prog_func_info, std::string &mod_src,
1: - const std::string &maps_ns,
1: - fake_fd_map_def &fake_fd_map,
1: - std::map<std::string, std::vector<std::string>> &perf_events)
1: +BFrontendAction::BFrontendAction(
1: + llvm::raw_ostream &os, unsigned flags, TableStorage &ts,
1: + const std::string &id, const std::string &main_path,
1: + ProgFuncInfo &prog_func_info, std::string &mod_src,
1: + const std::string &maps_ns, fake_fd_map_def &fake_fd_map,
1: + std::map<std::string, std::vector<std::string>> &perf_events)
1: : os_(os),
1: flags_(flags),
1: ts_(ts),
1: diff --git a/src/cc/frontends/clang/b_frontend_action.h b/src/cc/frontends/clang/b_frontend_action.h
1: index 8bacda4b..22564591 100644
1: --- a/src/cc/frontends/clang/b_frontend_action.h
1: +++ b/src/cc/frontends/clang/b_frontend_action.h
1: @@ -157,8 +157,7 @@ class BFrontendAction : public clang::ASTFrontendAction {
1: BFrontendAction(llvm::raw_ostream &os, unsigned flags, TableStorage &ts,
1: const std::string &id, const std::string &main_path,
1: ProgFuncInfo &prog_func_info, std::string &mod_src,
1: - const std::string &maps_ns,
1: - fake_fd_map_def &fake_fd_map,
1: + const std::string &maps_ns, fake_fd_map_def &fake_fd_map,
1: std::map<std::string, std::vector<std::string>> &perf_events);
1:
1: // Called by clang when the AST has been completed, here the output stream
1: diff --git a/src/cc/frontends/clang/loader.cc b/src/cc/frontends/clang/loader.cc
1: index c15bb21c..1622ee67 100644
1: --- a/src/cc/frontends/clang/loader.cc
1: +++ b/src/cc/frontends/clang/loader.cc
1: @@ -66,14 +66,14 @@ using std::vector;
1:
1: namespace ebpf {
1:
1: -optional<FuncInfo&> ProgFuncInfo::get_func(std::string name) {
1: +optional<FuncInfo &> ProgFuncInfo::get_func(std::string name) {
1: auto it = funcs_.find(name);
1: if (it != funcs_.end())
1: return it->second;
1: return nullopt;
1: }
1:
1: -optional<FuncInfo&> ProgFuncInfo::get_func(size_t id) {
1: +optional<FuncInfo &> ProgFuncInfo::get_func(size_t id) {
1: auto it = func_idx_.find(id);
1: if (it != func_idx_.end())
1: return get_func(it->second);
1: @@ -87,13 +87,14 @@ optional<std::string> ProgFuncInfo::func_name(size_t id) {
1: return nullopt;
1: }
1:
1: -void ProgFuncInfo::for_each_func(std::function<void(std::string, FuncInfo&)> cb) {
1: +void ProgFuncInfo::for_each_func(
1: + std::function<void(std::string, FuncInfo &)> cb) {
1: for (auto it = funcs_.begin(); it != funcs_.end(); ++it) {
1: cb(it->first, it->second);
1: }
1: }
1:
1: -optional<FuncInfo&> ProgFuncInfo::add_func(std::string name) {
1: +optional<FuncInfo &> ProgFuncInfo::add_func(std::string name) {
1: auto fn = get_func(name);
1: if (fn)
1: return nullopt;
1: @@ -189,13 +190,12 @@ static int CreateFromArgs(clang::CompilerInvocation &invocation,
1:
1: }
1:
1: -int ClangLoader::parse(unique_ptr<llvm::Module> *mod, TableStorage &ts,
1: - const string &file, bool in_memory, const char *cflags[],
1: - int ncflags, const std::string &id, ProgFuncInfo &prog_func_info,
1: - std::string &mod_src,
1: - const std::string &maps_ns,
1: - fake_fd_map_def &fake_fd_map,
1: - std::map<std::string, std::vector<std::string>> &perf_events) {
1: +int ClangLoader::parse(
1: + unique_ptr<llvm::Module> *mod, TableStorage &ts, const string &file,
1: + bool in_memory, const char *cflags[], int ncflags, const std::string &id,
1: + ProgFuncInfo &prog_func_info, std::string &mod_src,
1: + const std::string &maps_ns, fake_fd_map_def &fake_fd_map,
1: + std::map<std::string, std::vector<std::string>> &perf_events) {
1: string main_path = "/virtual/main.c";
1: unique_ptr<llvm::MemoryBuffer> main_buf;
1: struct utsname un;
1: @@ -317,7 +317,8 @@ int ClangLoader::parse(unique_ptr<llvm::Module> *mod, TableStorage &ts,
1: #endif
1:
1: if (do_compile(mod, ts, in_memory, flags_cstr, flags_cstr_rem, main_path,
1: - main_buf, id, prog_func_info, mod_src, true, maps_ns, fake_fd_map, perf_events)) {
1: + main_buf, id, prog_func_info, mod_src, true, maps_ns,
1: + fake_fd_map, perf_events)) {
1: #if BCC_BACKUP_COMPILE != 1
1: return -1;
1: #else
1: @@ -329,7 +330,8 @@ int ClangLoader::parse(unique_ptr<llvm::Module> *mod, TableStorage &ts,
1: mod_src.clear();
1: fake_fd_map.clear();
1: if (do_compile(mod, ts, in_memory, flags_cstr, flags_cstr_rem, main_path,
1: - main_buf, id, prog_func_info, mod_src, false, maps_ns, fake_fd_map, perf_events))
1: + main_buf, id, prog_func_info, mod_src, false, maps_ns,
1: + fake_fd_map, perf_events))
1: return -1;
1: #endif
1: }
1: @@ -371,17 +373,14 @@ string get_clang_target(void) {
1: return string(ret);
1: }
1:
1: -int ClangLoader::do_compile(unique_ptr<llvm::Module> *mod, TableStorage &ts,
1: - bool in_memory,
1: - const vector<const char *> &flags_cstr_in,
1: - const vector<const char *> &flags_cstr_rem,
1: - const std::string &main_path,
1: - const unique_ptr<llvm::MemoryBuffer> &main_buf,
1: - const std::string &id, ProgFuncInfo &prog_func_info,
1: - std::string &mod_src, bool use_internal_bpfh,
1: - const std::string &maps_ns,
1: - fake_fd_map_def &fake_fd_map,
1: - std::map<std::string, std::vector<std::string>> &perf_events) {
1: +int ClangLoader::do_compile(
1: + unique_ptr<llvm::Module> *mod, TableStorage &ts, bool in_memory,
1: + const vector<const char *> &flags_cstr_in,
1: + const vector<const char *> &flags_cstr_rem, const std::string &main_path,
1: + const unique_ptr<llvm::MemoryBuffer> &main_buf, const std::string &id,
1: + ProgFuncInfo &prog_func_info, std::string &mod_src, bool use_internal_bpfh,
1: + const std::string &maps_ns, fake_fd_map_def &fake_fd_map,
1: + std::map<std::string, std::vector<std::string>> &perf_events) {
1: using namespace clang;
1:
1: vector<const char *> flags_cstr = flags_cstr_in;
1: diff --git a/src/cc/frontends/clang/loader.h b/src/cc/frontends/clang/loader.h
1: index dccc2dce..cb1f64ea 100644
1: --- a/src/cc/frontends/clang/loader.h
1: +++ b/src/cc/frontends/clang/loader.h
1: @@ -16,8 +16,8 @@
1:
1: #pragma once
1:
1: -#include <map>
1: #include <functional>
1: +#include <map>
1: #include <memory>
1: #include <string>
1:
1: @@ -50,13 +50,16 @@ struct FuncInfo {
1: class ProgFuncInfo {
1: public:
1: ProgFuncInfo() {}
1: - void clear() { funcs_.clear(); func_idx_.clear(); }
1: - optional<FuncInfo&> get_func(std::string name);
1: - optional<FuncInfo&> get_func(size_t id);
1: + void clear() {
1: + funcs_.clear();
1: + func_idx_.clear();
1: + }
1: + optional<FuncInfo &> get_func(std::string name);
1: + optional<FuncInfo &> get_func(size_t id);
1: optional<std::string> func_name(size_t id);
1: - optional<FuncInfo&> add_func(std::string name);
1: + optional<FuncInfo &> add_func(std::string name);
1: size_t num_funcs() { return funcs_.size(); }
1: - void for_each_func(std::function<void(std::string, FuncInfo&)> cb);
1: + void for_each_func(std::function<void(std::string, FuncInfo &)> cb);
1:
1: private:
1: std::map<std::string, FuncInfo> funcs_;
1: @@ -82,8 +85,7 @@ class ClangLoader {
1: const std::unique_ptr<llvm::MemoryBuffer> &main_buf,
1: const std::string &id, ProgFuncInfo &prog_func_info,
1: std::string &mod_src, bool use_internal_bpfh,
1: - const std::string &maps_ns,
1: - fake_fd_map_def &fake_fd_map,
1: + const std::string &maps_ns, fake_fd_map_def &fake_fd_map,
1: std::map<std::string, std::vector<std::string>> &perf_events);
1: void add_remapped_includes(clang::CompilerInvocation& invocation);
1: void add_main_input(clang::CompilerInvocation& invocation,
1: Running clang-format on the following files:
1: src/cc/frontends/clang/b_frontend_action.h
1: src/cc/frontends/clang/b_frontend_action.cc
1: src/cc/bcc_debug.h
1: src/cc/frontends/clang/loader.cc
1: src/cc/frontends/clang/loader.h
1: src/cc/bpf_module.cc
1: src/cc/bpf_module.h
1: src/cc/bcc_debug.cc
1: old tree: 01b104257f6e4a9d8fdcfb08bced954a8f268a60
1: new tree: 840ea6137b66cdd9834495506e8cba70ffbd1b0e
1/47 Test #1: style-check ...................... Passed 2.02 sec
test 2
Start 2: c_test_static
2: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "c_test_static" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/cc/test_static"
2: Test timeout computed to be: 10000000
2: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.c -mrelocation-model static -mthread-model posix -fno-jump-tables -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /usr/src/kernels/4.15.16-200.fc26.x86_64/main.gcno -nostdsysteminc -nobuiltininc -resource-dir ../lib64/clang/4.0.1 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/bpf_workaround.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/cc -D __BPF_TRACING__ -I arch/x86/include/ -I /lib/modules/4.15.16-200.fc26.x86_64/build/arch/x86/include/generated -I include -I /lib/modules/4.15.16-200.fc26.x86_64/build/include -I arch/x86/include/uapi -I /lib/modules/4.15.16-200.fc26.x86_64/build/arch/x86/include/generated/uapi -I include/uapi -I /lib/modules/4.15.16-200.fc26.x86_64/build/include/generated/uapi -D __KERNEL__ -D KBUILD_MODNAME="bcc" -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/kernels/4.15.16-200.fc26.x86_64 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
2: #if defined(BPF_LICENSE)
2: #error BPF_LICENSE cannot be specified through cflags
2: #endif
2: #if !defined(CONFIG_CC_STACKPROTECTOR)
2: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
2: || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
2: || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
2: #define CONFIG_CC_STACKPROTECTOR
2: #endif
2: #endif
2: #define bpf_probe_read_kernel bpf_probe_read
2: #define bpf_probe_read_kernel_str bpf_probe_read_str
2: #define bpf_probe_read_user bpf_probe_read
2: #define bpf_probe_read_user_str bpf_probe_read_str
2: BPF_TABLE("array", int, int, stats, 10);
2:
2: #include <bcc/footer.h>
2: Running from kernel directory at: /lib/modules/4.15.16-200.fc26.x86_64/source
2/47 Test #2: c_test_static .................... Passed 1.53 sec
test 3
Start 3: test_libbcc
3: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "c_test_all" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/cc/test_libbcc"
3: Test timeout computed to be: 10000000
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3:
3: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: test_libbcc is a Catch v1.4.0 host application.
3: Run with -? for options
3:
3: -------------------------------------------------------------------------------
3: test bpf stack table
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_bpf_table.cc:175
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_bpf_table.cc:199: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test hash of maps
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_map_in_map.cc:26
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_map_in_map.cc:101: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test hash of maps using custom key
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_map_in_map.cc:118
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_map_in_map.cc:178: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test array of maps
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_map_in_map.cc:231
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_map_in_map.cc:307: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test read perf event
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_perf_event.cc:25
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_perf_event.cc:67: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test attach perf event
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_perf_event.cc:91
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_perf_event.cc:119: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test prog table
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_prog_table.cc:21
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_prog_table.cc:46: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: Parse error:
3: 4@i%ra+1r
3: -------^
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test fine a probe in our own binary with C++ API
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:87
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:95: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test fine probes in our own binary with C++ API
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:101
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:109: FAILED:
3: REQUIRE( res.ok() )
3: with expansion:
3: false
3:
3: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
3:
3: -------------------------------------------------------------------------------
3: test fine a probe in our Process with C++ API
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:115
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:123: FAILED:
3: REQUIRE( res.code() == 0 )
3: with expansion:
3: -1 == 0
3:
3: unshare: failed to execute ruby: No such file or directory
3: -------------------------------------------------------------------------------
3: test probing running Ruby process in namespaces
3: in separate mount namespace
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:352
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:367: FAILED:
3: REQUIRE( res.msg() == "" )
3: with expansion:
3: "Unable to load USDT ruby:gc__mark__begin from binary PID 6216 for probe
3: on_event"
3: ==
3: ""
3:
3: unshare: unrecognized option '--kill-child'
3: Try 'unshare --help' for more information.
3: -------------------------------------------------------------------------------
3: test probing running Ruby process in namespaces
3: in separate mount namespace and separate PID namespace
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:352
3: ...............................................................................
3:
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/cc/test_usdt_probes.cc:393: FAILED:
3: REQUIRE( res.msg() == "" )
3: with expansion:
3: "No valid Binary Path or PID provided"
3: ==
3: ""
3:
3: ===============================================================================
3: test cases: 41 | 30 passed | 10 failed | 1 failed as expected
3: assertions: 616 | 604 passed | 10 failed | 2 failed as expected
3:
3: Failed
3/47 Test #3: test_libbcc ......................***Failed 14.27 sec
test 4
Start 4: py_test_stat1_b
4: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_stat1_b" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stat1.py" "test_stat1.b" "proto.b"
4: Test timeout computed to be: 10000000
4: Actual changes:
4: tx-checksumming: off
4: tx-checksum-ip-generic: off
4: tx-checksum-sctp: off
4: tcp-segmentation-offload: off
4: tx-tcp-segmentation: off [requested on]
4: tx-tcp-ecn-segmentation: off [requested on]
4: tx-tcp-mangleid-segmentation: off [requested on]
4: tx-tcp6-segmentation: off [requested on]
4: EE
4: ======================================================================
4: ERROR: test_empty_key (__main__.TestBPFSocket)
4: ----------------------------------------------------------------------
4: Traceback (most recent call last):
4: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stat1.py", line 33, in setUp
4: fn = b.load_func("on_packet", BPF.SOCKET_FILTER)
4: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 508, in load_func
4: raise Exception("Unknown program %s" % func_name)
4: Exception: Unknown program on_packet
4:
4: ======================================================================
4: ERROR: test_ping (__main__.TestBPFSocket)
4: ----------------------------------------------------------------------
4: Traceback (most recent call last):
4: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stat1.py", line 33, in setUp
4: fn = b.load_func("on_packet", BPF.SOCKET_FILTER)
4: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 508, in load_func
4: raise Exception("Unknown program %s" % func_name)
4: Exception: Unknown program on_packet
4:
4: ----------------------------------------------------------------------
4: Ran 2 tests in 0.478s
4:
4: FAILED (errors=2)
4: Failed
4/47 Test #4: py_test_stat1_b ..................***Failed 1.28 sec
test 5
Start 5: py_test_bpf_log
5: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_bpf_prog" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_bpf_log.py"
5: Test timeout computed to be: 10000000
5: Failed
5/47 Test #5: py_test_bpf_log ..................***Failed 1.04 sec
test 6
Start 6: py_test_stat1_c
6: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_stat1_c" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stat1.py" "test_stat1.c"
6: Test timeout computed to be: 10000000
6: Actual changes:
6: tx-checksumming: off
6: tx-checksum-ip-generic: off
6: tx-checksum-sctp: off
6: tcp-segmentation-offload: off
6: tx-tcp-segmentation: off [requested on]
6: tx-tcp-ecn-segmentation: off [requested on]
6: tx-tcp-mangleid-segmentation: off [requested on]
6: tx-tcp6-segmentation: off [requested on]
6: EE
6: ======================================================================
6: ERROR: test_empty_key (__main__.TestBPFSocket)
6: ----------------------------------------------------------------------
6: Traceback (most recent call last):
6: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stat1.py", line 32, in setUp
6: b = BPF(arg1, arg2, debug=0)
6: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
6: self._trace_autoload()
6: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
6: if func_name.startswith(b"kprobe__"):
6: AttributeError: 'NoneType' object has no attribute 'startswith'
6:
6: ======================================================================
6: ERROR: test_ping (__main__.TestBPFSocket)
6: ----------------------------------------------------------------------
6: Traceback (most recent call last):
6: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stat1.py", line 32, in setUp
6: b = BPF(arg1, arg2, debug=0)
6: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
6: self._trace_autoload()
6: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
6: if func_name.startswith(b"kprobe__"):
6: AttributeError: 'NoneType' object has no attribute 'startswith'
6:
6: ----------------------------------------------------------------------
6: Ran 2 tests in 0.513s
6:
6: FAILED (errors=2)
6: Failed
6/47 Test #6: py_test_stat1_c ..................***Failed 0.93 sec
test 7
Start 7: py_test_xlate1_c
7: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_xlate1_c" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_xlate1.py" "test_xlate1.c"
7: Test timeout computed to be: 10000000
7: Actual changes:
7: tx-checksumming: off
7: tx-checksum-ip-generic: off
7: tx-checksum-sctp: off
7: tcp-segmentation-offload: off
7: tx-tcp-segmentation: off [requested on]
7: tx-tcp-ecn-segmentation: off [requested on]
7: tx-tcp-mangleid-segmentation: off [requested on]
7: tx-tcp6-segmentation: off [requested on]
7: E
7: ======================================================================
7: ERROR: test_xlate (__main__.TestBPFFilter)
7: ----------------------------------------------------------------------
7: Traceback (most recent call last):
7: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_xlate1.py", line 21, in setUp
7: b = BPF(arg1, arg2, debug=0)
7: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
7: self._trace_autoload()
7: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
7: if func_name.startswith(b"kprobe__"):
7: AttributeError: 'NoneType' object has no attribute 'startswith'
7:
7: ----------------------------------------------------------------------
7: Ran 1 test in 0.256s
7:
7: FAILED (errors=1)
7: Failed
7/47 Test #7: py_test_xlate1_c .................***Failed 0.97 sec
test 8
Start 8: py_test_call1
8: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_call1_c" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_call1.py" "test_call1.c"
8: Test timeout computed to be: 10000000
8: Actual changes:
8: tx-checksumming: off
8: tx-checksum-ip-generic: off
8: tx-checksum-sctp: off
8: tcp-segmentation-offload: off
8: tx-tcp-segmentation: off [requested on]
8: tx-tcp-ecn-segmentation: off [requested on]
8: tx-tcp-mangleid-segmentation: off [requested on]
8: tx-tcp6-segmentation: off [requested on]
8: E
8: ======================================================================
8: ERROR: test_jumps (__main__.TestBPFSocket)
8: ----------------------------------------------------------------------
8: Traceback (most recent call last):
8: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_call1.py", line 23, in setUp
8: b = BPF(src_file=arg1, debug=0)
8: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
8: self._trace_autoload()
8: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
8: if func_name.startswith(b"kprobe__"):
8: AttributeError: 'NoneType' object has no attribute 'startswith'
8:
8: ----------------------------------------------------------------------
8: Ran 1 test in 0.255s
8:
8: FAILED (errors=1)
8: Failed
8/47 Test #8: py_test_call1 ....................***Failed 0.95 sec
test 9
Start 9: py_test_trace1
9: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_trace1" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace1.py" "test_trace1.b" "kprobe.b"
9: Test timeout computed to be: 10000000
9: E
9: ======================================================================
9: ERROR: test_trace1 (__main__.TestKprobe)
9: ----------------------------------------------------------------------
9: Traceback (most recent call last):
9: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace1.py", line 30, in setUp
9: b.attach_kprobe(event=b.get_syscall_fnname("write"), fn_name="sys_wr")
9: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 829, in attach_kprobe
9: fn = self.load_func(fn_name, BPF.KPROBE)
9: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 508, in load_func
9: raise Exception("Unknown program %s" % func_name)
9: Exception: Unknown program sys_wr
9:
9: ----------------------------------------------------------------------
9: Ran 1 test in 0.324s
9:
9: FAILED (errors=1)
9: Failed
9/47 Test #9: py_test_trace1 ...................***Failed 0.40 sec
test 10
Start 10: py_test_trace2
10: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_trace2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace2.py"
10: Test timeout computed to be: 10000000
10: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh: line 38: 6359 Segmentation fault sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
10: Failed
10/47 Test #10: py_test_trace2 ...................***Failed 2.91 sec
test 11
Start 11: py_test_trace3_c
11: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_trace3_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace3.py" "test_trace3.c"
11: Test timeout computed to be: 10000000
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh: line 38: 6364 Segmentation fault sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
11: Failed
11/47 Test #11: py_test_trace3_c .................***Failed 2.28 sec
test 12
Start 12: py_test_trace4
12: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_trace4" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace4.py"
12: Test timeout computed to be: 10000000
12: EE
12: ======================================================================
12: ERROR: test_periods (__main__.TestKprobeReplace)
12: ----------------------------------------------------------------------
12: Traceback (most recent call last):
12: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace4.py", line 44, in setUp
12: self.b = BPF(text=b"int empty(void *ctx) { return 0; }")
12: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
12: self._trace_autoload()
12: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
12: if func_name.startswith(b"kprobe__"):
12: AttributeError: 'NoneType' object has no attribute 'startswith'
12:
12: ======================================================================
12: ERROR: test_send1 (__main__.TestKprobeRgx)
12: ----------------------------------------------------------------------
12: Traceback (most recent call last):
12: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace4.py", line 30, in setUp
12: """)
12: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
12: self._trace_autoload()
12: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
12: if func_name.startswith(b"kprobe__"):
12: AttributeError: 'NoneType' object has no attribute 'startswith'
12:
12: ----------------------------------------------------------------------
12: Ran 2 tests in 0.550s
12:
12: FAILED (errors=2)
12: Failed
12/47 Test #12: py_test_trace4 ...................***Failed 0.66 sec
test 13
Start 13: py_test_trace_maxactive
13: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_trace_maxactive" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace_maxactive.py"
13: Test timeout computed to be: 10000000
13: E
13: ======================================================================
13: ERROR: test_send1 (__main__.TestKprobeMaxactive)
13: ----------------------------------------------------------------------
13: Traceback (most recent call last):
13: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_trace_maxactive.py", line 26, in setUp
13: """)
13: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
13: self._trace_autoload()
13: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
13: if func_name.startswith(b"kprobe__"):
13: AttributeError: 'NoneType' object has no attribute 'startswith'
13:
13: ----------------------------------------------------------------------
13: Ran 1 test in 0.250s
13:
13: FAILED (errors=1)
13: Failed
13/47 Test #13: py_test_trace_maxactive ..........***Failed 0.33 sec
test 14
Start 14: py_test_probe_count
14: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_probe_count" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_probe_count.py"
14: Test timeout computed to be: 10000000
14: FEEEEE
14: ======================================================================
14: ERROR: test_attach1 (__main__.TestKprobeCnt)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_probe_count.py", line 16, in setUp
14: """)
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
14: self._trace_autoload()
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
14: if func_name.startswith(b"kprobe__"):
14: AttributeError: 'NoneType' object has no attribute 'startswith'
14:
14: ======================================================================
14: ERROR: test_probe_quota (__main__.TestProbeGlobalCnt)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_probe_count.py", line 34, in setUp
14: self.b1 = BPF(text="""int count(void *ctx) { return 0; }""")
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
14: self._trace_autoload()
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
14: if func_name.startswith(b"kprobe__"):
14: AttributeError: 'NoneType' object has no attribute 'startswith'
14:
14: ======================================================================
14: ERROR: test_not_exist (__main__.TestProbeNotExist)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_probe_count.py", line 80, in setUp
14: self.b = BPF(text="""int count(void *ctx) { return 0; }""")
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
14: self._trace_autoload()
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
14: if func_name.startswith(b"kprobe__"):
14: AttributeError: 'NoneType' object has no attribute 'startswith'
14:
14: ======================================================================
14: ERROR: test_probe_quota (__main__.TestProbeQuota)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_probe_count.py", line 64, in setUp
14: self.b = BPF(text="""int count(void *ctx) { return 0; }""")
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
14: self._trace_autoload()
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
14: if func_name.startswith(b"kprobe__"):
14: AttributeError: 'NoneType' object has no attribute 'startswith'
14:
14: ======================================================================
14: ERROR: test_uprobe_quota (__main__.TestProbeQuota)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_probe_count.py", line 64, in setUp
14: self.b = BPF(text="""int count(void *ctx) { return 0; }""")
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
14: self._trace_autoload()
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
14: if func_name.startswith(b"kprobe__"):
14: AttributeError: 'NoneType' object has no attribute 'startswith'
14:
14: ======================================================================
14: FAIL: test_count (__main__.TestAutoKprobe)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_probe_count.py", line 56, in test_count
14: self.assertEqual(2, self.b.num_open_kprobes())
14: AssertionError: 2 != 0
14:
14: ----------------------------------------------------------------------
14: Ran 6 tests in 1.381s
14:
14: FAILED (failures=1, errors=5)
14: Failed
14/47 Test #14: py_test_probe_count ..............***Failed 1.46 sec
test 15
Start 15: py_test_debuginfo
15: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_debuginfo" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_debuginfo.py"
15: Test timeout computed to be: 10000000
15: ......
15: ----------------------------------------------------------------------
15: Ran 6 tests in 0.606s
15:
15: OK
15/47 Test #15: py_test_debuginfo ................ Passed 0.70 sec
test 16
Start 16: py_test_brb
16: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_brb_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_brb.py" "test_brb.c"
16: Test timeout computed to be: 10000000
16: CRITICAL:root:WARNING! Test test_brb (__main__.TestBPFSocket) failed, but marked as passed because it is decorated with @mayFail.
16: CRITICAL:root: The reason why this mayFail was: If the 'iperf', 'netserver' and 'netperf' binaries are unavailable, this is allowed to fail.
16: CRITICAL:root: The failure was: "'NoneType' object has no attribute 'startswith'"
16: CRITICAL:root: Stacktrace: "Traceback (most recent call last):
16: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/utils.py", line 36, in wrapper
16: res = func(*args, **kwargs)
16: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_brb.py", line 153, in test_brb
16: b = BPF(src_file=arg1, debug=0)
16: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
16: self._trace_autoload()
16: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
16: if func_name.startswith(b"kprobe__"):
16: AttributeError: 'NoneType' object has no attribute 'startswith'
16: "
16: .
16: ----------------------------------------------------------------------
16: Ran 1 test in 0.306s
16:
16: OK
16/47 Test #16: py_test_brb ...................... Passed 0.70 sec
test 17
Start 17: py_test_brb2
17: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_brb2_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_brb2.py" "test_brb2.c"
17: Test timeout computed to be: 10000000
17: CRITICAL:root:WARNING! Test test_brb2 (__main__.TestBPFSocket) failed, but marked as passed because it is decorated with @mayFail.
17: CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
17: CRITICAL:root: The failure was: "'TestBPFSocket' object has no attribute 'br1'"
17: CRITICAL:root: Stacktrace: "Traceback (most recent call last):
17: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/utils.py", line 36, in wrapper
17: res = func(*args, **kwargs)
17: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_brb2.py", line 194, in test_brb2
17: if self.br1 in ipdb.interfaces: ipdb.interfaces[self.br1].remove().commit()
17: AttributeError: 'TestBPFSocket' object has no attribute 'br1'
17: "
17: .
17: ----------------------------------------------------------------------
17: Ran 1 test in 0.246s
17:
17: OK
17/47 Test #17: py_test_brb2 ..................... Passed 0.37 sec
test 18
Start 18: py_test_clang
18: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_clang" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_clang.py"
18: Test timeout computed to be: 10000000
18: E/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh: line 38: 6457 Segmentation fault sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
18: Failed
18/47 Test #18: py_test_clang ....................***Failed 2.19 sec
test 19
Start 19: py_test_histogram
19: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_histogram" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_histogram.py"
19: Test timeout computed to be: 10000000
19: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh: line 38: 6463 Segmentation fault sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
19: Failed
19/47 Test #19: py_test_histogram ................***Failed 1.22 sec
test 20
Start 20: py_array
20: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_array" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_array.py"
20: Test timeout computed to be: 10000000
20: .bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
20:
20: Ebpf: Argument list too long. Program too large (0 insns), at most 4096 insns
20:
20: E.
20: ======================================================================
20: ERROR: test_perf_buffer (__main__.TestArray)
20: ----------------------------------------------------------------------
20: Traceback (most recent call last):
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_array.py", line 67, in test_perf_buffer
20: fn_name="do_sys_nanosleep")
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 829, in attach_kprobe
20: fn = self.load_func(fn_name, BPF.KPROBE)
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 528, in load_func
20: (func_name, errstr))
20: Exception: Failed to load BPF program do_sys_nanosleep: Argument list too long
20:
20: ======================================================================
20: ERROR: test_perf_buffer_for_each_cpu (__main__.TestArray)
20: ----------------------------------------------------------------------
20: Traceback (most recent call last):
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_array.py", line 102, in test_perf_buffer_for_each_cpu
20: fn_name="do_sys_nanosleep")
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 829, in attach_kprobe
20: fn = self.load_func(fn_name, BPF.KPROBE)
20: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 528, in load_func
20: (func_name, errstr))
20: Exception: Failed to load BPF program do_sys_nanosleep: Argument list too long
20:
20: ----------------------------------------------------------------------
20: Ran 4 tests in 1.032s
20:
20: FAILED (errors=2)
20: Failed
20/47 Test #20: py_array .........................***Failed 1.15 sec
test 21
Start 21: py_uprobes
21: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_uprobes" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_uprobes.py"
21: Test timeout computed to be: 10000000
21: EEE
21: ======================================================================
21: ERROR: test_mount_namespace (__main__.TestUprobes)
21: ----------------------------------------------------------------------
21: Traceback (most recent call last):
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_uprobes.py", line 130, in test_mount_namespace
21: b = bcc.BPF(text=text)
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
21: self._trace_autoload()
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
21: if func_name.startswith(b"kprobe__"):
21: AttributeError: 'NoneType' object has no attribute 'startswith'
21:
21: ======================================================================
21: ERROR: test_simple_binary (__main__.TestUprobes)
21: ----------------------------------------------------------------------
21: Traceback (most recent call last):
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_uprobes.py", line 58, in test_simple_binary
21: b = bcc.BPF(text=text)
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
21: self._trace_autoload()
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
21: if func_name.startswith(b"kprobe__"):
21: AttributeError: 'NoneType' object has no attribute 'startswith'
21:
21: ======================================================================
21: ERROR: test_simple_library (__main__.TestUprobes)
21: ----------------------------------------------------------------------
21: Traceback (most recent call last):
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_uprobes.py", line 33, in test_simple_library
21: b = bcc.BPF(text=text)
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
21: self._trace_autoload()
21: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
21: if func_name.startswith(b"kprobe__"):
21: AttributeError: 'NoneType' object has no attribute 'startswith'
21:
21: ----------------------------------------------------------------------
21: Ran 3 tests in 0.794s
21:
21: FAILED (errors=3)
21: Failed
21/47 Test #21: py_uprobes .......................***Failed 0.88 sec
test 22
Start 22: py_uprobes_2
22: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_uprobes2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_uprobes2.py"
22: Test timeout computed to be: 10000000
22: E
22: ======================================================================
22: ERROR: test_attach1 (__main__.TestUprobes)
22: ----------------------------------------------------------------------
22: Traceback (most recent call last):
22: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_uprobes2.py", line 42, in test_attach1
22: b = BPF(text=self.bpf_text)
22: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
22: self._trace_autoload()
22: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
22: if func_name.startswith(b"kprobe__"):
22: AttributeError: 'NoneType' object has no attribute 'startswith'
22:
22: ----------------------------------------------------------------------
22: Ran 1 test in 0.269s
22:
22: FAILED (errors=1)
22: Failed
22/47 Test #22: py_uprobes_2 .....................***Failed 0.35 sec
test 23
Start 23: py_test_stackid
23: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_stackid" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stackid.py"
23: Test timeout computed to be: 10000000
23: sCRITICAL:root:WARNING! Test test_simple (__main__.TestStackid) failed, but marked as passed because it is decorated with @mayFail.
23: CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
23: CRITICAL:root: The failure was: "c_int(1) not found in <bcc.table.HashTable object at 0x7f8138c33050>"
23: CRITICAL:root: Stacktrace: "Traceback (most recent call last):
23: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/utils.py", line 36, in wrapper
23: res = func(*args, **kwargs)
23: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_stackid.py", line 37, in test_simple
23: self.assertIn(k, stack_entries)
23: File "/usr/lib64/python2.7/unittest/case.py", line 841, in assertIn
23: self.fail(self._formatMessage(msg, standardMsg))
23: File "/usr/lib64/python2.7/unittest/case.py", line 448, in fail
23: raise self.failureException(msg)
23: AssertionError: c_int(1) not found in <bcc.table.HashTable object at 0x7f8138c33050>
23: "
23: .
23: ----------------------------------------------------------------------
23: Ran 2 tests in 0.362s
23:
23: OK (skipped=1)
23/47 Test #23: py_test_stackid .................. Passed 0.45 sec
test 24
Start 24: py_test_tracepoint
24: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_tracepoint" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tracepoint.py"
24: Test timeout computed to be: 10000000
24: FF
24: ======================================================================
24: FAIL: test_tracepoint (__main__.TestTracepoint)
24: ----------------------------------------------------------------------
24: Traceback (most recent call last):
24: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tracepoint.py", line 30, in test_tracepoint
24: self.assertNotEqual(0, total_switches)
24: AssertionError: 0 == 0
24:
24: ======================================================================
24: FAIL: test_tracepoint_data_loc (__main__.TestTracepointDataLoc)
24: ----------------------------------------------------------------------
24: Traceback (most recent call last):
24: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tracepoint.py", line 54, in test_tracepoint_data_loc
24: for v in b["execs"].values()])
24: AssertionError: False is not true
24:
24: ----------------------------------------------------------------------
24: Ran 2 tests in 2.483s
24:
24: FAILED (failures=2)
24: Failed
24/47 Test #24: py_test_tracepoint ...............***Failed 2.58 sec
test 25
Start 25: py_test_perf_event
25: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_perf_event" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_perf_event.py"
25: Test timeout computed to be: 10000000
25: E
25: ======================================================================
25: ERROR: test_cycles (__main__.TestPerfCounter)
25: ----------------------------------------------------------------------
25: Traceback (most recent call last):
25: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_perf_event.py", line 44, in test_cycles
25: cflags=["-DNUM_CPUS=%d" % multiprocessing.cpu_count()])
25: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
25: self._trace_autoload()
25: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
25: if func_name.startswith(b"kprobe__"):
25: AttributeError: 'NoneType' object has no attribute 'startswith'
25:
25: ----------------------------------------------------------------------
25: Ran 1 test in 0.258s
25:
25: FAILED (errors=1)
25: Failed
25/47 Test #25: py_test_perf_event ...............***Failed 0.34 sec
test 26
Start 26: py_test_attach_perf_event
26: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_attach_perf_event" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_attach_perf_event.py"
26: Test timeout computed to be: 10000000
26: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh: line 38: 6498 Segmentation fault sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
26: Failed
26/47 Test #26: py_test_attach_perf_event ........***Failed 2.57 sec
test 27
Start 27: py_test_utils
27: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_utils" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_utils.py"
27: Test timeout computed to be: 10000000
27: ..
27: ----------------------------------------------------------------------
27: Ran 2 tests in 0.001s
27:
27: OK
27/47 Test #27: py_test_utils .................... Passed 0.12 sec
test 28
Start 28: py_test_percpu
28: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_percpu" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_percpu.py"
28: Test timeout computed to be: 10000000
28: .EEE
28: ======================================================================
28: ERROR: test_struct_custom_func (__main__.TestPercpu)
28: ----------------------------------------------------------------------
28: Traceback (most recent call last):
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_percpu.py", line 108, in test_struct_custom_func
28: bpf_code = BPF(text=test_prog2)
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
28: self._trace_autoload()
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
28: if func_name.startswith(b"kprobe__"):
28: AttributeError: 'NoneType' object has no attribute 'startswith'
28:
28: ======================================================================
28: ERROR: test_u32 (__main__.TestPercpu)
28: ----------------------------------------------------------------------
28: Traceback (most recent call last):
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_percpu.py", line 71, in test_u32
28: bpf_code = BPF(text=test_prog1)
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
28: self._trace_autoload()
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
28: if func_name.startswith(b"kprobe__"):
28: AttributeError: 'NoneType' object has no attribute 'startswith'
28:
28: ======================================================================
28: ERROR: test_u64 (__main__.TestPercpu)
28: ----------------------------------------------------------------------
28: Traceback (most recent call last):
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_percpu.py", line 39, in test_u64
28: bpf_code = BPF(text=test_prog1)
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
28: self._trace_autoload()
28: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
28: if func_name.startswith(b"kprobe__"):
28: AttributeError: 'NoneType' object has no attribute 'startswith'
28:
28: ----------------------------------------------------------------------
28: Ran 4 tests in 1.881s
28:
28: FAILED (errors=3)
28: Failed
28/47 Test #28: py_test_percpu ...................***Failed 2.00 sec
test 29
Start 29: py_test_dump_func
29: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_dump_func" "simple" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_dump_func.py"
29: Test timeout computed to be: 10000000
29: E
29: ======================================================================
29: ERROR: test_return (__main__.TestDumpFunc)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_dump_func.py", line 16, in test_return
29: }""")
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
29: self._trace_autoload()
29: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
29: if func_name.startswith(b"kprobe__"):
29: AttributeError: 'NoneType' object has no attribute 'startswith'
29:
29: ----------------------------------------------------------------------
29: Ran 1 test in 0.150s
29:
29: FAILED (errors=1)
29: Failed
29/47 Test #29: py_test_dump_func ................***Failed 0.21 sec
test 30
Start 30: py_test_disassembler
30: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_disassembler.py"
30: Test timeout computed to be: 10000000
30: .E
30: ======================================================================
30: ERROR: test_func (__main__.TestDisassembler)
30: ----------------------------------------------------------------------
30: Traceback (most recent call last):
30: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_disassembler.py", line 146, in test_func
30: }""")
30: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
30: self._trace_autoload()
30: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
30: if func_name.startswith(b"kprobe__"):
30: AttributeError: 'NoneType' object has no attribute 'startswith'
30:
30: ----------------------------------------------------------------------
30: Ran 2 tests in 0.241s
30:
30: FAILED (errors=1)
30: Failed
30/47 Test #30: py_test_disassembler .............***Failed 0.32 sec
test 31
Start 31: py_test_tools_smoke
31: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py"
31: Test timeout computed to be: 10000000
31: bpf: Argument list too long. Program too large (0 insns), at most 4096 insns
31:
31: Traceback (most recent call last):
31: File "../../tools/argdist.py", line 722, in run
31: self._attach()
31: File "../../tools/argdist.py", line 693, in _attach
31: probe.attach(self.bpf)
31: File "../../tools/argdist.py", line 455, in attach
31: self._attach_k()
31: File "../../tools/argdist.py", line 446, in _attach_k
31: fn_name=self.probe_func_name)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 829, in attach_kprobe
31: fn = self.load_func(fn_name, BPF.KPROBE)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 528, in load_func
31: (func_name, errstr))
31: Exception: Failed to load BPF program do_sys_open_probe0: Argument list too long
31: CRITICAL:root:WARNING! Test test_argdist (__main__.SmokeTests) failed, but marked as passed because it is decorated with @mayFail.
31: CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
31: CRITICAL:root: The failure was: "0 != 1"
31: CRITICAL:root: Stacktrace: "Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/utils.py", line 36, in wrapper
31: res = func(*args, **kwargs)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 60, in test_argdist
31: self.run_with_duration("argdist.py -v -C 'p::do_sys_open()' -n 1 -i 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: File "/usr/lib64/python2.7/unittest/case.py", line 551, in assertEqual
31: assertion_func(first, second, msg=msg)
31: File "/usr/lib64/python2.7/unittest/case.py", line 544, in _baseAssertEqual
31: raise self.failureException(msg)
31: AssertionError: 0 != 1
31: "
31: .timeout: the monitored command dumped core
31: /bin/sh: line 1: 6525 Segmentation fault timeout -s INT -k 5s 5s ../../tools/bashreadline.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6530 Segmentation fault timeout -s INT -k 5s 5s ../../tools/bindsnoop.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6538 Segmentation fault timeout -s KILL 10s ../../tools/biolatency.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6546 Segmentation fault timeout -s INT -k 5s 5s ../../tools/biosnoop.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6554 Segmentation fault timeout -s KILL 10s ../../tools/biotop.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6561 Segmentation fault timeout -s INT -k 5s 5s ../../tools/biotop.py > /dev/null
31: F...Traceback (most recent call last):
31: File "../../tools/cachestat.py", line 96, in <module>
31: b = BPF(text=bpf_text)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: F.timeout: the monitored command dumped core
31: /bin/sh: line 1: 6582 Segmentation fault timeout -s INT -k 5s 5s ../../tools/capable.py > /dev/null
31: Fstimeout: the monitored command dumped core
31: /bin/sh: line 1: 6589 Segmentation fault timeout -s KILL 10s ../../tools/cpudist.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6597 Segmentation fault timeout -s KILL 10s ../../tools/cpuunclaimed.py 1 1 > /dev/null
31: F..timeout: the monitored command dumped core
31: /bin/sh: line 1: 6604 Segmentation fault timeout -s INT -k 5s 5s ../../tools/dcsnoop.py > /dev/null
31: FTraceback (most recent call last):
31: File "../../tools/dcstat.py", line 90, in <module>
31: b = BPF(text=bpf_text)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: F.timeout: the monitored command dumped core
31: /bin/sh: line 1: 6616 Segmentation fault timeout -s INT -k 5s 5s ../../tools/drsnoop.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6621 Segmentation fault timeout -s INT -k 5s 5s ../../tools/execsnoop.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6628 Segmentation fault timeout -s KILL 10s ../../tools/ext4dist.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6635 Segmentation fault timeout -s INT -k 5s 5s ../../tools/ext4slower.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6642 Segmentation fault timeout -s INT -k 5s 5s ../../tools/filelife.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6649 Segmentation fault timeout -s INT -k 5s 5s ../../tools/fileslower.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6656 Segmentation fault timeout -s KILL 10s ../../tools/filetop.py 1 1 > /dev/null
31: FFbpf: Argument list too long. Program too large (0 insns), at most 4096 insns
31:
31: Traceback (most recent call last):
31: File "../../tools/funclatency.py", line 349, in <module>
31: b.attach_kprobe(event_re=pattern, fn_name="trace_func_entry")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 825, in attach_kprobe
31: (fn_name, '/'.join(probes)))
31: Exception: Failed to attach BPF program trace_func_entry to kprobe __kmalloc
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6673 Segmentation fault timeout -s INT -k 5s 5s ../../tools/funcslower.py __kmalloc > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6678 Segmentation fault timeout -s INT -k 5s 5s ../../tools/gethostlatency.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6685 Segmentation fault timeout -s KILL 10s ../../tools/hardirqs.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6692 Segmentation fault timeout -s KILL -k 5s 5s ../../tools/killsnoop.py > /dev/null
31: Fs.timeout: the monitored command dumped core
31: /bin/sh: line 1: 6699 Segmentation fault timeout -s INT -k 5s 5s ../../tools/mdflush.py > /dev/null
31: FTraceback (most recent call last):
31: File "../../tools/memleak.py", line 427, in <module>
31: bpf = BPF(text=bpf_source)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6712 Segmentation fault timeout -s INT -k 5s 5s ../../tools/mountsnoop.py > /dev/null
31: F...timeout: the monitored command dumped core
31: /bin/sh: line 1: 6717 Segmentation fault timeout -s KILL 10s ../../tools/offcputime.py 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6724 Segmentation fault timeout -s KILL 10s ../../tools/offwaketime.py 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6731 Segmentation fault timeout -s INT -k 5s 5s ../../tools/oomkill.py > /dev/null
31: Flibbpf: failed to find valid kernel BTF
31: libbpf: vmlinux BTF is not found
31: timeout: the monitored command dumped core
31: /bin/sh: line 1: 6738 Segmentation fault timeout -s INT -k 5s 5s ../../tools/opensnoop.py > /dev/null
31: FTraceback (most recent call last):
31: File "../../tools/pidpersec.py", line 36, in <module>
31: """)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6752 Segmentation fault timeout -s KILL 10s ../../tools/profile.py 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6757 Segmentation fault timeout -s KILL 10s ../../tools/runqlat.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6764 Segmentation fault timeout -s KILL 10s ../../tools/runqlen.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6771 Segmentation fault timeout -s INT -k 5s 5s ../../tools/shmsnoop.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6778 Segmentation fault timeout -s KILL 10s ../../tools/slabratetop.py 1 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6785 Segmentation fault timeout -s INT -k 5s 5s ../../tools/sofdsnoop.py > /dev/null
31: F.timeout: the monitored command dumped core
31: /bin/sh: line 1: 6797 Segmentation fault timeout -s INT -k 5s 5s ../../tools/solisten.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6803 Segmentation fault timeout -s INT -k 5s 5s ../../tools/sslsniff.py > /dev/null
31: CRITICAL:root:WARNING! Test test_sslsniff (__main__.SmokeTests) failed, but marked as passed because it is decorated with @mayFail.
31: CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
31: CRITICAL:root: The failure was: "rc was 139"
31: CRITICAL:root: Stacktrace: "Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/utils.py", line 36, in wrapper
31: res = func(*args, **kwargs)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 296, in test_sslsniff
31: self.run_with_int("sslsniff.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: File "/usr/lib64/python2.7/unittest/case.py", line 460, in assertTrue
31: raise self.failureException(msg)
31: AssertionError: rc was 139
31: "
31: .timeout: the monitored command dumped core
31: /bin/sh: line 1: 6810 Segmentation fault timeout -s INT -k 5s 5s ../../tools/stackcount.py __kmalloc -i 1 > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6817 Segmentation fault timeout -s INT -k 5s 5s ../../tools/statsnoop.py > /dev/null
31: FTraceback (most recent call last):
31: File "../../tools/syncsnoop.py", line 32, in <module>
31: """)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: F.timeout: the monitored command dumped core
31: /bin/sh: line 1: 6833 Segmentation fault timeout -s INT -k 5s 5s ../../tools/tcpaccept.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6838 Segmentation fault timeout -s INT -k 5s 5s ../../tools/tcpconnect.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6845 Segmentation fault timeout -s INT -k 5s 5s ../../tools/tcpconnlat.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6852 Segmentation fault timeout -s INT -k 5s 5s ../../tools/tcpdrop.py > /dev/null
31: CRITICAL:root:WARNING! Test test_tcpdrop (__main__.SmokeTests) failed, but marked as passed because it is decorated with @mayFail.
31: CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
31: CRITICAL:root: The failure was: "rc was 139"
31: CRITICAL:root: Stacktrace: "Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/utils.py", line 36, in wrapper
31: res = func(*args, **kwargs)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 337, in test_tcpdrop
31: self.run_with_int("tcpdrop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: File "/usr/lib64/python2.7/unittest/case.py", line 460, in assertTrue
31: raise self.failureException(msg)
31: AssertionError: rc was 139
31: "
31: .timeout: the monitored command dumped core
31: /bin/sh: line 1: 6859 Segmentation fault timeout -s INT -k 5s 5s ../../tools/tcplife.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6866 Segmentation fault timeout -s INT -k 5s 5s ../../tools/tcpretrans.py > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6873 Segmentation fault timeout -s KILL 10s ../../tools/tcptop.py 1 1 > /dev/null
31: F.timeout: the monitored command dumped core
31: /bin/sh: line 1: 6883 Segmentation fault timeout -s INT -k 5s 5s ../../tools/trace.py do_sys_open > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6890 Segmentation fault timeout -s INT -k 5s 5s ../../tools/ttysnoop.py /dev/console > /dev/null
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6898 Segmentation fault timeout -s INT -k 5s 5s ../../tools/lib/ucalls.py -l none -S 6520 > /dev/null
31: F..../../tools/cobjnew.sh: line 3: 6909 Segmentation fault (core dumped) $lib/uobjnew.py -l c "$@"
31: FTraceback (most recent call last):
31: File "../../tools/lib/ustat.py", line 305, in <module>
31: Tool().run()
31: File "../../tools/lib/ustat.py", line 297, in run
31: self._loop_iter()
31: File "../../tools/lib/ustat.py", line 246, in _loop_iter
31: self._attach_probes()
31: File "../../tools/lib/ustat.py", line 224, in _attach_probes
31: self.bpf = BPF(text=program)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: Fbpf: Argument list too long. Program too large (0 insns), at most 4096 insns
31:
31: Traceback (most recent call last):
31: File "../../tools/lib/uthreads.py", line 103, in <module>
31: bpf = BPF(text=program, usdt_contexts=[usdt])
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 483, in __init__
31: usdt_context.attach_uprobes(self, attach_usdt_ignore_pid)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/usdt.py", line 210, in attach_uprobes
31: addr=addr, pid=pid)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1354, in attach_uprobe
31: fn = self.load_func(fn_name, BPF.KPROBE)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 528, in load_func
31: (func_name, errstr))
31: Exception: Failed to load BPF program trace_pthread: Argument list too long
31: FTraceback (most recent call last):
31: File "../../tools/vfscount.py", line 46, in <module>
31: """)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: Flibbpf: failed to find valid kernel BTF
31: libbpf: vmlinux BTF is not found
31: Traceback (most recent call last):
31: File "../../tools/vfsstat.py", line 82, in <module>
31: b = BPF(text=bpf_text)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
31: self._trace_autoload()
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
31: if func_name.startswith(b"kprobe__"):
31: AttributeError: 'NoneType' object has no attribute 'startswith'
31: Ftimeout: the monitored command dumped core
31: /bin/sh: line 1: 6948 Segmentation fault timeout -s KILL 10s ../../tools/wakeuptime.py 1 > /dev/null
31: F....
31: ======================================================================
31: FAIL: test_bashreadline (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 64, in test_bashreadline
31: self.run_with_int("bashreadline.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_bindsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 68, in test_bindsnoop
31: self.run_with_int("bindsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_biolatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 71, in test_biolatency
31: self.run_with_duration("biolatency.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_biosnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 75, in test_biosnoop
31: self.run_with_int("biosnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_biotop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 78, in test_biotop
31: self.run_with_duration("biotop.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_bitesize (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 81, in test_bitesize
31: self.run_with_int("biotop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_cachestat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 96, in test_cachestat
31: self.run_with_duration("cachestat.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31:
31: ======================================================================
31: FAIL: test_capable (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 106, in test_capable
31: self.run_with_int("capable.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_cpudist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 109, in test_cpudist
31: self.run_with_duration("cpudist.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_cpuunclaimed (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 113, in test_cpuunclaimed
31: self.run_with_duration("cpuunclaimed.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_dcsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 133, in test_dcsnoop
31: self.run_with_int("dcsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_dcstat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 136, in test_dcstat
31: self.run_with_duration("dcstat.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31:
31: ======================================================================
31: FAIL: test_drsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 148, in test_drsnoop
31: self.run_with_int("drsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_execsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 152, in test_execsnoop
31: self.run_with_int("execsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_ext4dist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 155, in test_ext4dist
31: self.run_with_duration("ext4dist.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_ext4slower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 159, in test_ext4slower
31: self.run_with_int("ext4slower.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_filelife (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 163, in test_filelife
31: self.run_with_int("filelife.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_fileslower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 167, in test_fileslower
31: self.run_with_int("fileslower.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_filetop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 170, in test_filetop
31: self.run_with_duration("filetop.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_funccount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 173, in test_funccount
31: self.run_with_int("funccount.py __kmalloc -i 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 0
31:
31: ======================================================================
31: FAIL: test_funclatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 177, in test_funclatency
31: self.run_with_int("funclatency.py __kmalloc -i 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31:
31: ======================================================================
31: FAIL: test_funcslower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 181, in test_funcslower
31: self.run_with_int("funcslower.py __kmalloc")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_gethostlatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 185, in test_gethostlatency
31: self.run_with_int("gethostlatency.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_hardirqs (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 189, in test_hardirqs
31: self.run_with_duration("hardirqs.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_killsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 200, in test_killsnoop
31: self.run_with_int("killsnoop.py", kill=True)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_mdflush (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 213, in test_mdflush
31: self.run_with_int("mdflush.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_memleak (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 217, in test_memleak
31: self.run_with_duration("memleak.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31:
31: ======================================================================
31: FAIL: test_mountsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 221, in test_mountsnoop
31: self.run_with_int("mountsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_offcputime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 245, in test_offcputime
31: self.run_with_duration("offcputime.py 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_offwaketime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 249, in test_offwaketime
31: self.run_with_duration("offwaketime.py 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_oomkill (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 253, in test_oomkill
31: self.run_with_int("oomkill.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_opensnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 257, in test_opensnoop
31: self.run_with_int("opensnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_pidpersec (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 260, in test_pidpersec
31: self.run_with_int("pidpersec.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31:
31: ======================================================================
31: FAIL: test_profile (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 264, in test_profile
31: self.run_with_duration("profile.py 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_runqlat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 267, in test_runqlat
31: self.run_with_duration("runqlat.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_runqlen (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 271, in test_runqlen
31: self.run_with_duration("runqlen.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_shmsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 275, in test_shmsnoop
31: self.run_with_int("shmsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_slabratetop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 282, in test_slabratetop
31: self.run_with_duration("slabratetop.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_sofdsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 279, in test_sofdsnoop
31: self.run_with_int("sofdsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_solisten (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 291, in test_solisten
31: self.run_with_int("solisten.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_stackcount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 300, in test_stackcount
31: self.run_with_int("stackcount.py __kmalloc -i 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_statsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 304, in test_statsnoop
31: self.run_with_int("statsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_syncsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 308, in test_syncsnoop
31: self.run_with_int("syncsnoop.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31:
31: ======================================================================
31: FAIL: test_tcpaccept (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 316, in test_tcpaccept
31: self.run_with_int("tcpaccept.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_tcpconnect (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 320, in test_tcpconnect
31: self.run_with_int("tcpconnect.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_tcpconnlat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 324, in test_tcpconnlat
31: self.run_with_int("tcpconnlat.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_tcplife (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 328, in test_tcplife
31: self.run_with_int("tcplife.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_tcpretrans (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 332, in test_tcpretrans
31: self.run_with_int("tcpretrans.py")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_tcptop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 340, in test_tcptop
31: self.run_with_duration("tcptop.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ======================================================================
31: FAIL: test_trace (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 347, in test_trace
31: self.run_with_int("trace.py do_sys_open")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_ttysnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 351, in test_ttysnoop
31: self.run_with_int("ttysnoop.py /dev/console")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_ucalls (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 355, in test_ucalls
31: self.run_with_int("lib/ucalls.py -l none -S %d" % os.getpid())
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_uobjnew (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 372, in test_uobjnew
31: self.run_with_int("cobjnew.sh %d" % os.getpid())
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 139
31:
31: ======================================================================
31: FAIL: test_ustat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 376, in test_ustat
31: self.run_with_duration("lib/ustat.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31:
31: ======================================================================
31: FAIL: test_uthreads (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 380, in test_uthreads
31: self.run_with_int("lib/uthreads.py %d" % os.getpid())
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31:
31: ======================================================================
31: FAIL: test_vfscount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 383, in test_vfscount
31: self.run_with_int("vfscount.py", timeout=15, kill_timeout=15)
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 42, in run_with_int
31: or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31:
31: ======================================================================
31: FAIL: test_vfsstat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 386, in test_vfsstat
31: self.run_with_duration("vfsstat.py 1 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31:
31: ======================================================================
31: FAIL: test_wakeuptime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 390, in test_wakeuptime
31: self.run_with_duration("wakeuptime.py 1")
31: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31: (timeout, full_command), shell=True))
31: AssertionError: 0 != 139
31:
31: ----------------------------------------------------------------------
31: Ran 83 tests in 102.991s
31:
31: FAILED (failures=58, skipped=2)
31: Failed
31/47 Test #31: py_test_tools_smoke ..............***Failed 103.06 sec
test 32
Start 32: py_test_tools_memleak
32: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/tests/python/test_tools_memleak.py"
32: Test timeout computed to be: 10000000
32: Traceback (most recent call last):
32: File "../../tools/memleak.py", line 427, in <module>
32: bpf = BPF(text=bpf_source)
32: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
32: self._trace_autoload()
32: File "/home/fedora/jenkins/workspace/bcc-pr/label/fc26/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
32: if func_name.startswith(b"kprobe__"):
32: AttributeError: 'NoneType' object has no attribute 'startswith'
Taking single-use agent fedora26-slave-db7 offline.
Build was aborted
Finished: ABORTED