Console Output

Skipping 139 KB.. Full Log
[ 47%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/frontends/clang/kbuild_helper.cc:80:3: warning: multi-line comment [-Wcomment]
   // USERINCLUDE    := \
   ^
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/frontends/clang/kbuild_helper.cc:89:3: warning: multi-line comment [-Wcomment]
   // LINUXINCLUDE    := \
   ^
[ 47%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o
[ 50%] Linking CXX static library libclang_frontend.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 50%] Built target clang_frontend
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
Scanning dependencies of target bcc-shared
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
Scanning dependencies of target bcc-static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 50%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[ 50%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[ 50%] 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/fc28/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/fc28/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
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/src/cc/bcc_libbpf_inc.h:9,
                 from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_btf.cc:22:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/libbpf/src/btf.h:93:5: note: declared here
 int btf_ext__reloc_line_info(const struct btf *btf,
     ^~~~~~~~~~~~~~~~~~~~~~~~
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
[ 58%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o
[ 61%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_debug.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
[ 61%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o
[ 61%] 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
[ 66%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o
[ 66%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
[ 66%] 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
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o
[ 75%] Linking CXX shared library libbcc.so
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 75%] Built target bcc-shared
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
Scanning dependencies of target test_libbcc
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 77%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_libbcc.cc.o
[ 77%] 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
[ 80%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o
[ 80%] 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/fc28/build'
[ 83%] Built target bcc-static
[ 83%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_c_api.cc.o
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_c_api.cc: In function ‘int mntns_func(void*)’:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_c_api.cc:159:10: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 1024 equals destination size [-Wstringop-truncation]
   strncpy(libpath, lm->l_name, 1024);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 83%] 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
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_cg_storage.cc.o
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_hash_table.cc.o
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o
[ 88%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
[ 88%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
[ 88%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_queuestack_table.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sock_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/utils.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_parse_tracepoint.cc.o
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
Scanning dependencies of target test_static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[100%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
[100%] Linking CXX executable test_static
[100%] Linking CXX executable test_libbcc
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[100%] Built target test_static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[100%] Built target test_libbcc
make[1]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
make: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/cc'
+ ctest -V -D ExperimentalTest --no-compress-output
UpdateCTestConfiguration  from :/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/DartConfiguration.tcl
Cannot find file: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/DartConfiguration.tcl
   Site: 
   Build name: (empty)
Create new tag: 20211015-0238 - Experimental
UpdateCTestConfiguration  from :/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/DartConfiguration.tcl
Cannot find file: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/DartConfiguration.tcl
Test project /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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 &sections,
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 &sections,
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..f22f619b 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,7 +86,8 @@ 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: @@ -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 &sections) {
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..be41f39a 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: @@ -26,8 +26,8 @@
1:  #include "table_storage.h"
1:  #include "vendor/optional.hpp"
1:  
1: -using std::experimental::optional;
1:  using std::experimental::nullopt;
1: +using std::experimental::optional;
1:  
1:  namespace llvm {
1:  class Module;
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: f5399ffe0f22fbc38efe53fe8351077c64b252b2
 1/47 Test  #1: style-check ......................   Passed    2.77 sec
test 2
      Start  2: c_test_static

2: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "c_test_static" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /usr/src/kernels/4.17.12-200.fc28.x86_64/main.gcno -nostdsysteminc -nobuiltininc -resource-dir lib64/clang/6.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/fc28/build/tests/cc -D __BPF_TRACING__ -I arch/x86/include/ -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated -I include -I /lib/modules/4.17.12-200.fc28.x86_64/build/include -I arch/x86/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I include/uapi -I /lib/modules/4.17.12-200.fc28.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.17.12-200.fc28.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.17.12-200.fc28.x86_64/source
 2/47 Test  #2: c_test_static ....................   Passed    2.10 sec
test 3
      Start  3: test_libbcc

3: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "c_test_all" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_bpf_table.cc:175
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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 bpf stack_id table
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_bpf_table.cc:228
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_bpf_table.cc:252: 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/fc28/tests/cc/test_map_in_map.cc:26
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_map_in_map.cc:118
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_map_in_map.cc:231
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_perf_event.cc:25
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_perf_event.cc:91
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_perf_event.cc:119: FAILED:
3:   REQUIRE( res.code() == 0 )
3: with expansion:
3:   -1 == 0
3: 
3: bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
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/fc28/tests/cc/test_prog_table.cc:21
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_usdt_probes.cc:87
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_usdt_probes.cc:101
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_usdt_probes.cc:115
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/cc/test_usdt_probes.cc:352
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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 11950 for probe
3:   on_event"
3:   ==
3:   ""
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 and separate PID namespace
3: -------------------------------------------------------------------------------
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_usdt_probes.cc:352
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/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 |  29 passed | 11 failed | 1 failed as expected
3: assertions: 615 | 602 passed | 11 failed | 2 failed as expected
3: 
3: Failed
 3/47 Test  #3: test_libbcc ......................***Failed   15.76 sec
test 4
      Start  4: py_test_stat1_b

4: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_stat1_b" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_stat1.b'
4:   src_file = _assert_is_bytes(src_file)
4: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:424: DeprecationWarning: not a bytes object: 'proto.b'
4:   hdr_file = _assert_is_bytes(hdr_file)
4: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:504: DeprecationWarning: not a bytes object: 'on_packet'
4:   func_name = _assert_is_bytes(func_name)
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/fc28/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/fc28/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 b'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/fc28/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/fc28/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 b'on_packet'
4: 
4: ----------------------------------------------------------------------
4: Ran 2 tests in 0.543s
4: 
4: FAILED (errors=2)
4: Failed
 4/47 Test  #4: py_test_stat1_b ..................***Failed    1.45 sec
test 5
      Start  5: py_test_bpf_log

5: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_bpf_prog" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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.71 sec
test 6
      Start  6: py_test_stat1_c

6: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_stat1_c" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_stat1.c'
6:   src_file = _assert_is_bytes(src_file)
6: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:424: DeprecationWarning: not a bytes object: ''
6:   hdr_file = _assert_is_bytes(hdr_file)
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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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.559s
6: 
6: FAILED (errors=2)
6: Failed
 6/47 Test  #6: py_test_stat1_c ..................***Failed    1.02 sec
test 7
      Start  7: py_test_xlate1_c

7: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_xlate1_c" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_xlate1.c'
7:   src_file = _assert_is_bytes(src_file)
7: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:424: DeprecationWarning: not a bytes object: ''
7:   hdr_file = _assert_is_bytes(hdr_file)
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/fc28/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/fc28/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/fc28/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.292s
7: 
7: FAILED (errors=1)
7: Failed
 7/47 Test  #7: py_test_xlate1_c .................***Failed    0.83 sec
test 8
      Start  8: py_test_call1

8: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_call1_c" "namespace" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_call1.c'
8:   src_file = _assert_is_bytes(src_file)
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/fc28/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/fc28/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/fc28/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.279s
8: 
8: FAILED (errors=1)
8: Failed
 8/47 Test  #8: py_test_call1 ....................***Failed    0.83 sec
test 9
      Start  9: py_test_trace1

9: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_trace1" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_trace1.py" "test_trace1.b" "kprobe.b"
9: Test timeout computed to be: 10000000
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_trace1.b'
9:   src_file = _assert_is_bytes(src_file)
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:424: DeprecationWarning: not a bytes object: 'kprobe.b'
9:   hdr_file = _assert_is_bytes(hdr_file)
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stats'
9:   name = _assert_is_bytes(name)
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'write'
9:   name = _assert_is_bytes(name)
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'sys_wr'
9:   fn_name = _assert_is_bytes(fn_name)
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/fc28/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/fc28/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/fc28/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 b'sys_wr'
9: 
9: ----------------------------------------------------------------------
9: Ran 1 test in 0.368s
9: 
9: FAILED (errors=1)
9: Failed
 9/47 Test  #9: py_test_trace1 ...................***Failed    0.52 sec
test 10
      Start 10: py_test_trace2

10: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_trace2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_trace2.py"
10: Test timeout computed to be: 10000000
10: LLVM ERROR: 
10: Failed
10/47 Test #10: py_test_trace2 ...................***Failed    3.11 sec
test 11
      Start 11: py_test_trace3_c

11: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_trace3_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_trace3.py" "test_trace3.c"
11: Test timeout computed to be: 10000000
11: LLVM ERROR: 
11: Failed
11/47 Test #11: py_test_trace3_c .................***Failed    2.32 sec
test 12
      Start 12: py_test_trace4

12: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_trace4" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/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/fc28/tests/python/test_trace4.py", line 30, in setUp
12:     """)
12:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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.533s
12: 
12: FAILED (errors=2)
12: Failed
12/47 Test #12: py_test_trace4 ...................***Failed    0.68 sec
test 13
      Start 13: py_test_trace_maxactive

13: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_trace_maxactive" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_trace_maxactive.py", line 26, in setUp
13:     """)
13:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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.276s
13: 
13: FAILED (errors=1)
13: Failed
13/47 Test #13: py_test_trace_maxactive ..........***Failed    0.42 sec
test 14
      Start 14: py_test_probe_count

14: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_probe_count" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_probe_count.py"
14: Test timeout computed to be: 10000000
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        int kprobe__schedule(void *ctx) { return 0; }\n        int kretprobe__schedule(void *ctx) { return 0; }\n        '
14:   text = _assert_is_bytes(text)
14: F/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        int wololo(void *ctx) {\n          return 0;\n        }\n        '
14:   text = _assert_is_bytes(text)
14: E/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'int count(void *ctx) { return 0; }'
14:   text = _assert_is_bytes(text)
14: EEEE
14: ======================================================================
14: ERROR: test_attach1 (__main__.TestKprobeCnt)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_probe_count.py", line 16, in setUp
14:     """)
14:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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.541s
14: 
14: FAILED (failures=1, errors=5)
14: Failed
14/47 Test #14: py_test_probe_count ..............***Failed    1.69 sec
test 15
      Start 15: py_test_debuginfo

15: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_debuginfo" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_debuginfo.py"
15: Test timeout computed to be: 10000000
15: ......
15: ----------------------------------------------------------------------
15: Ran 6 tests in 0.788s
15: 
15: OK
15/47 Test #15: py_test_debuginfo ................   Passed    1.02 sec
test 16
      Start 16: py_test_brb

16: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_brb_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_brb.py" "test_brb.c"
16: Test timeout computed to be: 10000000
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_brb.c'
16:   src_file = _assert_is_bytes(src_file)
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/fc28/tests/python/utils.py", line 36, in wrapper
16:     res = func(*args, **kwargs)
16:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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.322s
16: 
16: OK
16/47 Test #16: py_test_brb ......................   Passed    0.58 sec
test 17
      Start 17: py_test_brb2

17: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_brb2_c" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_brb2.py" "test_brb2.c"
17: Test timeout computed to be: 10000000
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:423: DeprecationWarning: not a bytes object: 'test_brb2.c'
17:   src_file = _assert_is_bytes(src_file)
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/fc28/tests/python/test_brb2.py", line 142, in test_brb2
17:     b = BPF(src_file=arg1, debug=0)
17:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py", line 488, in __init__
17:     self._trace_autoload()
17:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py", line 1435, in _trace_autoload
17:     if func_name.startswith(b"kprobe__"):
17: AttributeError: 'NoneType' object has no attribute 'startswith'
17: 
17: During handling of the above exception, another exception occurred:
17: 
17: Traceback (most recent call last):
17:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/utils.py", line 36, in wrapper
17:     res = func(*args, **kwargs)
17:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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.277s
17: 
17: OK
17/47 Test #17: py_test_brb2 .....................   Passed    0.53 sec
test 18
      Start 18: py_test_clang

18: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_clang" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_clang.py"
18: Test timeout computed to be: 10000000
18: ELLVM ERROR: 
18: Failed
18/47 Test #18: py_test_clang ....................***Failed    2.47 sec
test 19
      Start 19: py_test_histogram

19: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_histogram" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_histogram.py"
19: Test timeout computed to be: 10000000
19: LLVM ERROR: 
19: Failed
19/47 Test #19: py_test_histogram ................***Failed    1.20 sec
test 20
      Start 20: py_array

20: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_array" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_array.py"
20: Test timeout computed to be: 10000000
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'BPF_ARRAY(table1, u64, 128);'
20:   text = _assert_is_bytes(text)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'table1'
20:   name = _assert_is_bytes(name)
20: .bpf: Argument list too long. Program  too large (0 insns), at most 4096 insns
20: 
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PERF_OUTPUT(events);\nint do_sys_nanosleep(void *ctx) {\n    struct {\n        u64 ts;\n    } data = {bpf_ktime_get_ns()};\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n'
20:   text = _assert_is_bytes(text)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:793: DeprecationWarning: not a bytes object: 'nanosleep'
20:   name = _assert_is_bytes(name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:808: DeprecationWarning: not a bytes object: 'do_sys_nanosleep'
20:   fn_name = _assert_is_bytes(fn_name)
20: Ebpf: Argument list too long. Program  too large (0 insns), at most 4096 insns
20: 
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PERF_OUTPUT(events);\nint do_sys_nanosleep(void *ctx) {\n    struct {\n        u64 cpu;\n    } data = {bpf_get_smp_processor_id()};\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n'
20:   text = _assert_is_bytes(text)
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/fc28/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/fc28/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/fc28/build/src/python/bcc-python/bcc/__init__.py", line 528, in load_func
20:     (func_name, errstr))
20: Exception: Failed to load BPF program b'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/fc28/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/fc28/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/fc28/build/src/python/bcc-python/bcc/__init__.py", line 528, in load_func
20:     (func_name, errstr))
20: Exception: Failed to load BPF program b'do_sys_nanosleep': Argument list too long
20: 
20: ----------------------------------------------------------------------
20: Ran 4 tests in 1.174s
20: 
20: FAILED (errors=2)
20: Failed
20/47 Test #20: py_array .........................***Failed    1.33 sec
test 21
      Start 21: py_uprobes

21: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_uprobes" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_uprobes.py"
21: Test timeout computed to be: 10000000
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nBPF_TABLE("array", int, u64, stats, 1);\nstatic void incr(int idx) {\n    u64 *ptr = stats.lookup(&idx);\n    if (ptr)\n        ++(*ptr);\n}\nint count(struct pt_regs *ctx) {\n    bpf_trace_printk("count() uprobe fired");\n    u32 pid = bpf_get_current_pid_tgid();\n    if (pid == 12275)\n        incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: E/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nBPF_ARRAY(stats, u64, 1);\nstatic void incr(int idx) {\n    u64 *ptr = stats.lookup(&idx);\n    if (ptr)\n        ++(*ptr);\n}\nint count(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: E/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nBPF_ARRAY(stats, u64, 1);\nstatic void incr(int idx) {\n    u64 *ptr = stats.lookup(&idx);\n    if (ptr)\n        ++(*ptr);\n}\nint count(struct pt_regs *ctx) {\n    bpf_trace_printk("count() uprobe fired");\n    u32 pid = bpf_get_current_pid_tgid();\n    if (pid == 12273)\n        incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: E
21: ======================================================================
21: ERROR: test_mount_namespace (__main__.TestUprobes)
21: ----------------------------------------------------------------------
21: Traceback (most recent call last):
21:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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.909s
21: 
21: FAILED (errors=3)
21: Failed
21/47 Test #21: py_uprobes .......................***Failed    1.07 sec
test 22
      Start 22: py_uprobes_2

22: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_uprobes2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_uprobes2.py"
22: Test timeout computed to be: 10000000
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nint trace_fun_call(void *ctx) {{\n    return 1;\n}}\n'
22:   text = _assert_is_bytes(text)
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/fc28/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/fc28/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/fc28/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.299s
22: 
22: FAILED (errors=1)
22: Failed
22/47 Test #22: py_uprobes_2 .....................***Failed    0.46 sec
test 23
      Start 23: py_test_stackid

23: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_stackid" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_stackid.py"
23: Test timeout computed to be: 10000000
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct bpf_map;\nBPF_STACK_TRACE_BUILDID(stack_traces, 10240);\nBPF_HASH(stack_entries, int, int);\nBPF_HASH(stub);\nint kprobe__sys_getuid(struct pt_regs *ctx, struct bpf_map *map, u64 *k) {\n    int id = stack_traces.get_stackid(ctx, BPF_F_USER_STACK);\n    if (id < 0)\n        return 0;\n    int key = 1;\n    stack_entries.update(&key, &id);\n    return 0;\n}\n'
23:   text = _assert_is_bytes(text)
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stub'
23:   name = _assert_is_bytes(name)
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stack_traces'
23:   name = _assert_is_bytes(name)
23: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'stack_entries'
23:   name = _assert_is_bytes(name)
23: F/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct bpf_map;\nBPF_STACK_TRACE(stack_traces, 10240);\nBPF_HASH(stack_entries, int, int);\nBPF_HASH(stub);\nint kprobe__htab_map_lookup_elem(struct pt_regs *ctx, struct bpf_map *map, u64 *k) {\n    int id = stack_traces.get_stackid(ctx, BPF_F_REUSE_STACKID);\n    if (id < 0)\n        return 0;\n    int key = 1;\n    stack_entries.update(&key, &id);\n    return 0;\n}\n'
23:   text = _assert_is_bytes(text)
23: CRITICAL: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 0x7fd7fc8b5f60>"
23: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
23:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/utils.py", line 36, in wrapper
23:     res = func(*args, **kwargs)
23:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_stackid.py", line 37, in test_simple
23:     self.assertIn(k, stack_entries)
23:   File "/usr/lib64/python3.6/unittest/case.py", line 1106, in assertIn
23:     self.fail(self._formatMessage(msg, standardMsg))
23:   File "/usr/lib64/python3.6/unittest/case.py", line 687, in fail
23:     raise self.failureException(msg)
23: AssertionError: c_int(1) not found in <bcc.table.HashTable object at 0x7fd7fc8b5f60>
23: "
23: .
23: ======================================================================
23: FAIL: test_simple (__main__.TestStackBuildid)
23: ----------------------------------------------------------------------
23: Traceback (most recent call last):
23:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_stackid.py", line 76, in test_simple
23:     self.assertIn(k, stack_entries)
23: AssertionError: c_int(1) not found in <bcc.table.HashTable object at 0x7fd7fc8b5cc0>
23: 
23: ----------------------------------------------------------------------
23: Ran 2 tests in 0.822s
23: 
23: FAILED (failures=1)
23: Failed
23/47 Test #23: py_test_stackid ..................***Failed    1.07 sec
test 24
      Start 24: py_test_tracepoint

24: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tracepoint" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tracepoint.py"
24: Test timeout computed to be: 10000000
24: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_HASH(switches, u32, u64);\n        TRACEPOINT_PROBE(sched, sched_switch) {\n            u64 val = 0;\n            u32 pid = args->next_pid;\n            u64 *existing = switches.lookup_or_init(&pid, &val);\n            (*existing)++;\n            return 0;\n        }\n        '
24:   text = _assert_is_bytes(text)
24: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'switches'
24:   name = _assert_is_bytes(name)
24: F/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        struct value_t {\n            char filename[64];\n        };\n        BPF_HASH(execs, u32, struct value_t);\n        TRACEPOINT_PROBE(sched, sched_process_exec) {\n            struct value_t val = {0};\n            char fn[64];\n            u32 pid = args->pid;\n            struct value_t *existing = execs.lookup_or_init(&pid, &val);\n            TP_DATA_LOC_READ_CONST(fn, filename, 64);\n            __builtin_memcpy(existing->filename, fn, 64);\n            return 0;\n        }\n        '
24:   text = _assert_is_bytes(text)
24: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:620: DeprecationWarning: not a bytes object: 'execs'
24:   name = _assert_is_bytes(name)
24: F
24: ======================================================================
24: FAIL: test_tracepoint (__main__.TestTracepoint)
24: ----------------------------------------------------------------------
24: Traceback (most recent call last):
24:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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.550s
24: 
24: FAILED (failures=2)
24: Failed
24/47 Test #24: py_test_tracepoint ...............***Failed    2.79 sec
test 25
      Start 25: py_test_perf_event

25: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_perf_event" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_perf_event.py"
25: Test timeout computed to be: 10000000
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\nBPF_PERF_ARRAY(cnt1, NUM_CPUS);\nBPF_ARRAY(prev, u64, NUM_CPUS);\nBPF_HISTOGRAM(dist);\nint do_sys_getuid(void *ctx) {\n    u32 cpu = bpf_get_smp_processor_id();\n    u64 val = cnt1.perf_read(CUR_CPU_IDENTIFIER);\n\n    if (((s64)val < 0) && ((s64)val > -256))\n        return 0;\n\n    prev.update(&cpu, &val);\n    return 0;\n}\nint do_ret_sys_getuid(void *ctx) {\n    u32 cpu = bpf_get_smp_processor_id();\n    u64 val = cnt1.perf_read(CUR_CPU_IDENTIFIER);\n\n    if (((s64)val < 0) && ((s64)val > -256))\n        return 0;\n\n    u64 *prevp = prev.lookup(&cpu);\n    if (prevp) {\n        dist.increment(bpf_log2l(val - *prevp));\n        dist.atomic_increment(bpf_log2l(val - *prevp));\n    }\n    return 0;\n}\n'
25:   text = _assert_is_bytes(text)
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/fc28/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/fc28/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/fc28/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.292s
25: 
25: FAILED (errors=1)
25: Failed
25/47 Test #25: py_test_perf_event ...............***Failed    0.45 sec
test 26
      Start 26: py_test_attach_perf_event

26: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_attach_perf_event" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_attach_perf_event.py"
26: Test timeout computed to be: 10000000
26: LLVM ERROR: 
26: Failed
26/47 Test #26: py_test_attach_perf_event ........***Failed    2.82 sec
test 27
      Start 27: py_test_utils

27: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_utils" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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.16 sec
test 28
      Start 28: py_test_percpu

28: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_percpu" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_percpu.py"
28: Test timeout computed to be: 10000000
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: 'BPF_PERCPU_ARRAY(stub, u32, 1);'
28:   text = _assert_is_bytes(text)
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_PERCPU_ARRAY(stub_default);\n        BPF_PERCPU_ARRAY(stub_type, u64);\n        BPF_PERCPU_ARRAY(stub_full, u64, 1024);\n        '
28:   text = _assert_is_bytes(text)
28: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        typedef struct counter {\n        u32 c1;\n        u32 c2;\n        } counter;\n        BPF_PERCPU_HASH(stats, u32, counter, 1);\n        int hello_world(void *ctx) {\n            u32 key=0;\n            counter value = {0,0}, *val;\n            val = stats.lookup_or_try_init(&key, &value);\n            if (val) {\n                val->c1 += 1;\n                val->c2 += 1;\n            }\n            return 0;\n        }\n        '
28:   text = _assert_is_bytes(text)
28: E/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_PERCPU_ARRAY(stats, u32, 1);\n        int hello_world(void *ctx) {\n            u32 key=0;\n            u32 value = 0, *val;\n            val = stats.lookup_or_try_init(&key, &value);\n            if (val) {\n                *val += 1;\n            }\n            return 0;\n        }\n        '
28:   text = _assert_is_bytes(text)
28: E/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n        BPF_PERCPU_HASH(stats, u32, u64, 1);\n        int hello_world(void *ctx) {\n            u32 key=0;\n            u64 value = 0, *val;\n            val = stats.lookup_or_try_init(&key, &value);\n            if (val) {\n                *val += 1;\n            }\n            return 0;\n        }\n        '
28:   text = _assert_is_bytes(text)
28: E
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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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 2.133s
28: 
28: FAILED (errors=3)
28: Failed
28/47 Test #28: py_test_percpu ...................***Failed    2.30 sec
test 29
      Start 29: py_test_dump_func

29: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_dump_func" "simple" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_dump_func.py"
29: Test timeout computed to be: 10000000
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n            int entry(void)\n            {\n                return 1;\n            }'
29:   text = _assert_is_bytes(text)
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/fc28/tests/python/test_dump_func.py", line 16, in test_return
29:     }""")
29:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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.175s
29: 
29: FAILED (errors=1)
29: Failed
29/47 Test #29: py_test_dump_func ................***Failed    0.31 sec
test 30
      Start 30: py_test_disassembler

30: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_disassembler.py"
30: Test timeout computed to be: 10000000
30: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:425: DeprecationWarning: not a bytes object: '\n            struct key_t {int a; short b; struct {int c:4; int d:8;} e;} __attribute__((__packed__));\n            BPF_HASH(test_map, struct key_t);\n            int test_func(void)\n            {\n                return 1;\n            }'
30:   text = _assert_is_bytes(text)
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/fc28/tests/python/test_disassembler.py", line 146, in test_func
30:     }""")
30:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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.277s
30: 
30: FAILED (errors=1)
30: Failed
30/47 Test #30: py_test_disassembler .............***Failed    0.43 sec
test 31
      Start 31: py_test_tools_smoke

31: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/tests/python/utils.py", line 36, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 22, in run_with_duration
31:     (timeout, full_command), shell=True))
31:   File "/usr/lib64/python3.6/unittest/case.py", line 846, in assertEqual
31:     assertion_func(first, second, msg=msg)
31:   File "/usr/lib64/python3.6/unittest/case.py", line 839, in _baseAssertEqual
31:     raise self.failureException(msg)
31: AssertionError: 0 != 1
31: "
31: .LLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
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/fc28/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/fc28/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.LLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FF..LLVM ERROR: 
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/fc28/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/fc28/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.LLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
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/fc28/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: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: Fs.LLVM ERROR: 
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/fc28/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/fc28/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: FLLVM ERROR: 
31: F...LLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: Flibbpf: failed to find valid kernel BTF
31: libbpf: vmlinux BTF is not found
31: LLVM ERROR: 
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/fc28/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/fc28/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: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FFLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: F.LLVM ERROR: 
31: FLLVM ERROR: 
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: "False is not true : rc was 1"
31: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/utils.py", line 36, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/python3.6/unittest/case.py", line 699, in assertTrue
31:     raise self.failureException(msg)
31: AssertionError: False is not true : rc was 1
31: "
31: .LLVM ERROR: 
31: FLLVM ERROR: 
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/fc28/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/fc28/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.LLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
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: "False is not true : rc was 1"
31: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/utils.py", line 36, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/python3.6/unittest/case.py", line 699, in assertTrue
31:     raise self.failureException(msg)
31: AssertionError: False is not true : rc was 1
31: "
31: .LLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: F.LLVM ERROR: 
31: FLLVM ERROR: 
31: FLLVM ERROR: 
31: F..LLVM ERROR: 
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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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/fc28/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: FLLVM ERROR: 
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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_bindsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_biolatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_biosnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_biotop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_bitesize (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_cachestat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_compactsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 117, in test_compactsnoop
31:     self.run_with_int("compactsnoop.py")
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_cpudist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_cpuunclaimed (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_dcsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_dcstat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_execsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_ext4dist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_ext4slower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_filelife (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_fileslower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_filetop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_funccount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : 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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : 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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_gethostlatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_hardirqs (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_killsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_mdflush (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_memleak (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_offcputime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_offwaketime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_oomkill (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_opensnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_pidpersec (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : 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/fc28/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/fc28/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_runqlat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_runqlen (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_shmsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_slabratetop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_sofdsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_solisten (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_stackcount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_statsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_syncsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : 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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcpconnect (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcpconnlat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcplife (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcpretrans (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcptop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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_trace (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_ttysnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_ucalls (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_uobjnew (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : rc was 1
31: 
31: ======================================================================
31: FAIL: test_ustat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : 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/fc28/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/fc28/tests/python/test_tools_smoke.py", line 42, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: False is not true : 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/fc28/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/fc28/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/fc28/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/fc28/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: Ran 83 tests in 103.042s
31: 
31: FAILED (failures=59, skipped=1)
31: Failed
31/47 Test #31: py_test_tools_smoke ..............***Failed  103.24 sec
test 32
      Start 32: py_test_tools_memleak

32: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/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/fc28/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/fc28/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 fedora28-slave-f81 offline.
Build was aborted
Finished: ABORTED