Console Output

Skipping 115 KB.. Full Log
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o
[ 18%] Linking C static library libbcc_bpf.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 18%] Built target bpf-static
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
Scanning dependencies of target api-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'
[ 18%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
In file included from /home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/api/BPF.cc:29:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_exception.h: In member function ‘ebpf::StatusTuple ebpf::BPF::detach_raw_tracepoint_event(const string&, ebpf::open_probe_t&)’:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/bcc_exception.h:24:7: warning: ‘__stp.ebpf::StatusTuple::code_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 class StatusTuple {
       ^~~~~~~~~~~
[ 18%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
[ 21%] Linking CXX static library libapi-static.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 21%] Built target api-static
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
Scanning dependencies of target usdt-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'
[ 21%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
[ 21%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
[ 21%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
[ 24%] Linking CXX static library libusdt-static.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 24%] Built target usdt-static
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 27%] [FLEX][Lexer] Building scanner with flex 2.6.1
lexer.ll:110: warning, -s option given but default rule can be matched
[ 27%] [BISON][Parser] Building parser with bison 3.0.4
parser.yy:19.9-17: warning: deprecated directive, use ‘%define api.namespace ebpf::cc’ [-Wdeprecated]
 %define namespace "ebpf::cc"
         ^^^^^^^^^
parser.yy:19.9-17: warning: %define variable 'api.namespace' requires '{...}' values [-Wdeprecated]
 %define namespace "ebpf::cc"
         ^^^^^^^^^
parser.yy:20.9-25: warning: %define variable 'parser_class_name' requires '{...}' values [-Wdeprecated]
 %define parser_class_name "BisonParser"
         ^^^^^^^^^^^^^^^^^
Scanning dependencies of target b_frontend
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 27%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o
[ 27%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o
[ 29%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o
[ 29%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o
[ 29%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o
[ 32%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o
[ 32%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o
[ 32%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/cc/frontends/b/lexer.ll.cc: In member function ‘virtual int ebpf::cc::Lexer::yylex()’:
/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/cc/frontends/b/lexer.ll.cc:752:23: warning: comparison of integer expressions of different signedness: ‘yy_size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
    for ( yyl = 0; yyl < yyleng; ++yyl )
                   ~~~~^~~~~~~~
[ 35%] Linking CXX static library libb_frontend.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 35%] Built target b_frontend
make[2]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
Scanning dependencies of target bcc-loader-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'
[ 35%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
[ 37%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[ 37%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[ 37%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[ 40%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[ 40%] Linking CXX static library libbcc-loader-static.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 40%] Built target bcc-loader-static
[ 43%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o
[ 43%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o
[ 43%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o
[ 45%] Linking CXX static library libclang_frontend.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 45%] 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]: Entering directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
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'
[ 45%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[ 45%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[ 45%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[ 48%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[ 54%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o
[ 56%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o
[ 56%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o
[ 56%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
[ 56%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o
[ 56%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
[ 59%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/shared_table.cc.o
[ 62%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[ 62%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpffs_table.cc.o
[ 62%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[ 62%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o
[ 64%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
[ 67%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/common.cc.o
[ 67%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
[ 67%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt.cc.o
[ 67%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[ 70%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[ 70%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[ 70%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[ 72%] 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'
[ 78%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_libbcc.cc.o
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_syms.cc.o
[ 78%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_elf.c.o
[ 81%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o
[ 81%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_proc.c.o
[ 81%] Linking CXX static library libbcc.a
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 81%] Built target bcc-static
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'
[ 81%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
[ 83%] Linking CXX executable test_static
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build'
[ 83%] Built target test_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
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_hash_table.cc.o
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o
[ 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
[ 97%] 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
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_parse_tracepoint.cc.o
[100%] Linking CXX executable test_libbcc
make[2]: Leaving directory '/home/fedora/jenkins/workspace/bcc-pr/label/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: 20200521-0132 - 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/examples/cpp/pyperf/PyPerfBPFProgram.cc b/examples/cpp/pyperf/PyPerfBPFProgram.cc
1: index c2a2c862..b9978b01 100644
1: --- a/examples/cpp/pyperf/PyPerfBPFProgram.cc
1: +++ b/examples/cpp/pyperf/PyPerfBPFProgram.cc
1: @@ -491,6 +491,5 @@ int read_python_stack(struct pt_regs* ctx) {
1:    return submit_sample(ctx, state);
1:  }
1:  )";
1: -
1:  }
1:  }  // namespace ebpf
1: diff --git a/libbpf-tools/drsnoop.bpf.c b/libbpf-tools/drsnoop.bpf.c
1: index 91072cbb..abed7a0a 100644
1: --- a/libbpf-tools/drsnoop.bpf.c
1: +++ b/libbpf-tools/drsnoop.bpf.c
1: @@ -42,10 +42,10 @@ int handle__mm_vmscan_direct_reclaim_begin(u64 *ctx)
1:  
1:  	piddata.ts = bpf_ktime_get_ns();
1:  	if (vm_zone_stat_kaddrp) {
1: -		bpf_probe_read_kernel(&piddata.nr_free_pages,
1: -			       sizeof(*vm_zone_stat_kaddrp),
1: -			       &vm_zone_stat_kaddrp[NR_FREE_PAGES]);
1: -	}
1: +          bpf_probe_read_kernel(&piddata.nr_free_pages,
1: +                                sizeof(*vm_zone_stat_kaddrp),
1: +                                &vm_zone_stat_kaddrp[NR_FREE_PAGES]);
1: +        }
1:  
1:  	bpf_map_update_elem(&start, &pid, &piddata, 0);
1:  	return 0;
1: diff --git a/libbpf-tools/filelife.bpf.c b/libbpf-tools/filelife.bpf.c
1: index 65721720..dc27d04d 100644
1: --- a/libbpf-tools/filelife.bpf.c
1: +++ b/libbpf-tools/filelife.bpf.c
1: @@ -68,8 +68,8 @@ int BPF_KPROBE(kprobe__vfs_unlink, struct inode *dir, struct dentry *dentry)
1:  
1:  	qs_name_ptr = BPF_CORE_READ(dentry, d_name.name);
1:  	qs_len = BPF_CORE_READ(dentry, d_name.len);
1: -	bpf_probe_read_kernel_str(&event.file, sizeof(event.file), qs_name_ptr);
1: -	bpf_get_current_comm(&event.task, sizeof(event.task));
1: +        bpf_probe_read_kernel_str(&event.file, sizeof(event.file), qs_name_ptr);
1: +        bpf_get_current_comm(&event.task, sizeof(event.task));
1:  	event.delta_ns = delta_ns;
1:  	event.tgid = tgid;
1:  
1: diff --git a/libbpf-tools/opensnoop.bpf.c b/libbpf-tools/opensnoop.bpf.c
1: index 4689d403..7b39a878 100644
1: --- a/libbpf-tools/opensnoop.bpf.c
1: +++ b/libbpf-tools/opensnoop.bpf.c
1: @@ -104,8 +104,8 @@ int trace_exit(struct trace_event_raw_sys_exit* ctx)
1:  	event.pid = bpf_get_current_pid_tgid() >> 32;
1:  	event.uid = bpf_get_current_uid_gid();
1:  	bpf_get_current_comm(&event.comm, sizeof(event.comm));
1: -	bpf_probe_read_user_str(&event.fname, sizeof(event.fname), ap->fname);
1: -	event.flags = ap->flags;
1: +        bpf_probe_read_user_str(&event.fname, sizeof(event.fname), ap->fname);
1: +        event.flags = ap->flags;
1:  	event.ret = ret;
1:  
1:  	/* emit event */
1: diff --git a/libbpf-tools/runqslower.bpf.c b/libbpf-tools/runqslower.bpf.c
1: index 94b215b8..432ce90f 100644
1: --- a/libbpf-tools/runqslower.bpf.c
1: +++ b/libbpf-tools/runqslower.bpf.c
1: @@ -89,9 +89,9 @@ int handle__sched_switch(u64 *ctx)
1:  
1:  	event.pid = pid;
1:  	event.delta_us = delta_us;
1: -	bpf_probe_read_kernel_str(&event.task, sizeof(event.task), next->comm);
1: +        bpf_probe_read_kernel_str(&event.task, sizeof(event.task), next->comm);
1:  
1: -	/* output */
1: +        /* output */
1:  	bpf_perf_event_output(ctx, &events, BPF_F_CURRENT_CPU,
1:  			      &event, sizeof(event));
1:  
1: diff --git a/libbpf-tools/xfsslower.bpf.c b/libbpf-tools/xfsslower.bpf.c
1: index 9c0bc105..71cc4c26 100644
1: --- a/libbpf-tools/xfsslower.bpf.c
1: +++ b/libbpf-tools/xfsslower.bpf.c
1: @@ -115,8 +115,8 @@ probe_exit(struct pt_regs *ctx, char type, ssize_t size)
1:  	dentry = BPF_CORE_READ(fp, f_path.dentry);
1:  	qs_len = BPF_CORE_READ(dentry, d_name.len);
1:  	qs_name_ptr = BPF_CORE_READ(dentry, d_name.name);
1: -	bpf_probe_read_kernel_str(&event.file, sizeof(event.file), qs_name_ptr);
1: -	bpf_get_current_comm(&event.task, sizeof(event.task));
1: +        bpf_probe_read_kernel_str(&event.file, sizeof(event.file), qs_name_ptr);
1: +        bpf_get_current_comm(&event.task, sizeof(event.task));
1:  	event.delta_us = delta_us;
1:  	event.end_ns = end_ns;
1:  	event.offset = piddatap->start;
1: diff --git a/src/cc/frontends/clang/b_frontend_action.cc b/src/cc/frontends/clang/b_frontend_action.cc
1: index 02135662..55b64d8c 100644
1: --- a/src/cc/frontends/clang/b_frontend_action.cc
1: +++ b/src/cc/frontends/clang/b_frontend_action.cc
1: @@ -95,8 +95,11 @@ static std::string check_bpf_probe_read_kernel(void) {
1:    bool is_probe_read_kernel;
1:    void *resolver = get_symbol_resolver();
1:    uint64_t addr = 0;
1: -  is_probe_read_kernel = bcc_symcache_resolve_name(resolver, nullptr,
1: -                          "bpf_probe_read_kernel", &addr) >= 0 ? true: false;
1: +  is_probe_read_kernel =
1: +      bcc_symcache_resolve_name(resolver, nullptr, "bpf_probe_read_kernel",
1: +                                &addr) >= 0
1: +          ? true
1: +          : false;
1:  
1:    /* If bpf_probe_read is not found (ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE) is
1:     * not set in newer kernel, then bcc would anyway fail */
1: @@ -107,7 +110,7 @@ static std::string check_bpf_probe_read_kernel(void) {
1:  }
1:  
1:  static std::string check_bpf_probe_read_user(llvm::StringRef probe,
1: -        bool& overlap_addr) {
1: +                                             bool &overlap_addr) {
1:    if (probe.str() == "bpf_probe_read_user" ||
1:        probe.str() == "bpf_probe_read_user_str") {
1:  #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
1: @@ -121,8 +124,8 @@ static std::string check_bpf_probe_read_user(llvm::StringRef probe,
1:      if (found)
1:        return probe.str();
1:  
1: -    /* For arch with overlapping address space, dont use bpf_probe_read for
1: -     * user read. Just error out */
1: +      /* For arch with overlapping address space, dont use bpf_probe_read for
1: +       * user read. Just error out */
1:  #if defined(__s390x__)
1:      overlap_addr = true;
1:      return "";
1: @@ -739,8 +742,8 @@ void BTypeVisitor::genParamIndirectAssign(FunctionDecl *D, string& preamble,
1:        preamble += "\n " + text + ";";
1:        preamble += " " + check_bpf_probe_read_kernel();
1:        preamble += "(&" + arg->getName().str() + ", sizeof(" +
1: -                  arg->getName().str() + "), &" + new_ctx + "->" +
1: -                  string(reg) + ");";
1: +                  arg->getName().str() + "), &" + new_ctx + "->" + string(reg) +
1: +                  ");";
1:      }
1:    }
1:  }
1: @@ -1005,12 +1008,13 @@ bool BTypeVisitor::VisitCallExpr(CallExpr *Call) {
1:      if (!Decl) return true;
1:  
1:      string text;
1: - 
1: +
1:      bool overlap_addr = false;
1: -    std::string probe = check_bpf_probe_read_user(Decl->getName(),
1: -                          overlap_addr);
1: +    std::string probe =
1: +        check_bpf_probe_read_user(Decl->getName(), overlap_addr);
1:      if (overlap_addr) {
1: -      error(GET_BEGINLOC(Call), "bpf_probe_read_user not found. Use latest kernel");
1: +      error(GET_BEGINLOC(Call),
1: +            "bpf_probe_read_user not found. Use latest kernel");
1:        return false;
1:      }
1:  
1: @@ -1021,7 +1025,8 @@ bool BTypeVisitor::VisitCallExpr(CallExpr *Call) {
1:      if (Decl->getName() == "bpf_probe_read_kernel" ||
1:          Decl->getName() == "bpf_probe_read_kernel_str") {
1:        probe = check_bpf_probe_read_kernel();
1: -      if (probe == "bpf_probe_read" && Decl->getName() == "bpf_probe_read_kernel_str") {
1: +      if (probe == "bpf_probe_read" &&
1: +          Decl->getName() == "bpf_probe_read_kernel_str") {
1:          probe = "bpf_probe_read_str";
1:        }
1:      }
1: @@ -1088,9 +1093,10 @@ bool BTypeVisitor::VisitCallExpr(CallExpr *Call) {
1:  
1:            bool overlap_addr = false;
1:            text += check_bpf_probe_read_user(StringRef("bpf_probe_read_user"),
1: -                  overlap_addr);
1: +                                            overlap_addr);
1:            if (overlap_addr) {
1: -            error(GET_BEGINLOC(Call), "bpf_probe_read_user not found. Use latest kernel");
1: +            error(GET_BEGINLOC(Call),
1: +                  "bpf_probe_read_user not found. Use latest kernel");
1:              return false;
1:            }
1:  
1: diff --git a/src/cc/libbpf.c b/src/cc/libbpf.c
1: index 75222825..feacd915 100644
1: --- a/src/cc/libbpf.c
1: +++ b/src/cc/libbpf.c
1: @@ -378,11 +378,13 @@ static void bpf_print_hints(int ret, char *log)
1:  
1:    // lacking a bpf_probe_read
1:    if (strstr(log, "invalid mem access 'inv'") != NULL) {
1: -    fprintf(stderr, "HINT: The invalid mem access 'inv' error can happen "
1: -      "if you try to dereference memory without first using "
1: -      "bpf_probe_read_kernel() to copy it to the BPF stack. Sometimes the "
1: -      "bpf_probe_read_kernel() is automatic by the bcc rewriter, other times "
1: -      "you'll need to be explicit.\n\n");
1: +    fprintf(
1: +        stderr,
1: +        "HINT: The invalid mem access 'inv' error can happen "
1: +        "if you try to dereference memory without first using "
1: +        "bpf_probe_read_kernel() to copy it to the BPF stack. Sometimes the "
1: +        "bpf_probe_read_kernel() is automatic by the bcc rewriter, other times "
1: +        "you'll need to be explicit.\n\n");
1:    }
1:  
1:    // referencing global/static variables or read only data
1: diff --git a/tools/deadlock.c b/tools/deadlock.c
1: index 9f98ea79..19d7398a 100644
1: --- a/tools/deadlock.c
1: +++ b/tools/deadlock.c
1: @@ -164,9 +164,10 @@ int trace_mutex_release(struct pt_regs *ctx, void *mutex_addr) {
1:    // invalid memory access on `leaf->held_mutexes[i]` below. On newer kernels,
1:    // we can avoid making this extra copy in `value` and use `leaf` directly.
1:    struct thread_to_held_mutex_leaf_t value = {};
1: -  bpf_probe_read_kernel(&value, sizeof(struct thread_to_held_mutex_leaf_t), leaf);
1: +  bpf_probe_read_kernel(&value, sizeof(struct thread_to_held_mutex_leaf_t),
1: +                        leaf);
1:  
1: -  #pragma unroll
1: +#pragma unroll
1:    for (int i = 0; i < MAX_HELD_MUTEXES; ++i) {
1:      // Find the current mutex (if it exists), and clear it.
1:      // Note: Can't use `leaf->` in this if condition, see comment above.
1: Ignoring changes in the following files (wrong extension):
1:     tools/biosnoop.py
1:     tools/biolatency.py
1:     docs/tutorial_bcc_python_developer.md
1:     docs/reference_guide.md
1:     tools/memleak.py
1:     tools/gethostlatency.py
1:     tools/drsnoop.py
1:     tools/tcpaccept.py
1:     tools/tcpconnect.py
1:     tools/wakeuptime.py
1:     tools/zfsslower.py
1:     tools/tcplife.py
1:     tools/dbslower.py
1:     tools/filetop.py
1:     tools/biosnoop.lua
1:     tools/slabratetop.py
1:     tools/nfsslower.py
1:     tools/dcsnoop.py
1:     tools/ttysnoop.py
1:     tools/bindsnoop.py
1:     tools/btrfsslower.py
1:     tools/compactsnoop.py
1:     tools/tcpretrans.py
1:     tools/tcptracer.py
1:     tools/fileslower.py
1:     tools/oomkill.py
1:     tools/solisten.py
1:     tests/python/test_clang.py
1:     tools/funcslower.py
1:     tools/tcpstates.py
1:     tools/tcptop.py
1:     tools/xfsslower.py
1:     tools/filelife.py
1:     tools/opensnoop.py
1:     tools/bitesize.py
1:     tools/runqslower.py
1:     tools/trace.py
1:     tools/tcpdrop.py
1:     tools/ext4slower.py
1:     tools/mdflush.py
1:     tools/sofdsnoop.py
1:     tools/tcplife.lua
1:     tools/killsnoop.py
1:     tools/tcpconnlat.py
1:     tools/hardirqs.py
1: Running clang-format on the following files:
1:     libbpf-tools/opensnoop.bpf.c
1:     src/cc/libbpf.c
1:     examples/cpp/pyperf/PyPerfBPFProgram.cc
1:     tools/deadlock.c
1:     src/cc/usdt/usdt_args.cc
1:     libbpf-tools/filelife.bpf.c
1:     src/cc/frontends/clang/b_frontend_action.cc
1:     examples/usdt_sample/scripts/bpf_text_shared.c
1:     libbpf-tools/xfsslower.bpf.c
1:     libbpf-tools/runqslower.bpf.c
1:     libbpf-tools/drsnoop.bpf.c
1: old tree: e803dccf002c3653ffb5b8c9271b13c5f419b992
1: new tree: 1efd59aa4ed17c5413beeb3c74b270c2a14d6ac2
 1/42 Test  #1: style-check ......................   Passed    5.22 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 -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/helpers.h -isystem /virtual/include -I /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/cc -D __BPF_TRACING__ -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/./arch/x86/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated/uapi -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -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: 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/42 Test  #2: c_test_static ....................   Passed    3.95 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 on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
3: /virtual/main.c:2:7: error: map not found: /sys/fs/bpf/test_pinned_table
3:       BPF_TABLE_PINNED("hash", u64, u64, ids, 1024, "/sys/fs/bpf/test_pinned_table");
3:       ^
3: /virtual/include/bcc/helpers.h:105:92: note: expanded from macro 'BPF_TABLE_PINNED'
3: #define BPF_TABLE_PINNED(_table_type, _key_type, _leaf_type, _name, _max_entries, _pinned) \
3:                                                                                            ^
3: /virtual/include/bcc/helpers.h:102:76: note: expanded from macro '\
3: BPF_TABLE'
3: #define BPF_TABLE(_table_type, _key_type, _leaf_type, _name, _max_entries) \
3:                                                                            ^
3: /virtual/include/bcc/helpers.h:97:4: note: expanded from macro '\
3: BPF_F_TABLE'
3: }; \
3:    ^
3: 1 error generated.
3: Parse error:
3:     4@i%ra+1r
3: -------^
3: unshare: failed to execute ruby: No such file or directory
3: 
3: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: test_libbcc is a Catch v1.4.0 host application.
3: Run with -? for options
3: 
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:340
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_usdt_probes.cc:355: FAILED:
3:   REQUIRE( res.msg() == "" )
3: with expansion:
3:   "Unable to load USDT ruby:gc__mark__begin from binary  PID 11096 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:340
3: ...............................................................................
3: 
3: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/cc/test_usdt_probes.cc:381: FAILED:
3:   REQUIRE( res.msg() == "" )
3: with expansion:
3:   "No valid Binary Path or PID provided"
3:   ==
3:   ""
3: 
3: ===============================================================================
3: test cases:  40 |  39 passed | 1 failed as expected
3: assertions: 650 | 648 passed | 2 failed as expected
3: 
 3/42 Test  #3: test_libbcc ......................   Passed   13.45 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:301: 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:302: 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:380: DeprecationWarning: not a bytes object: 'on_packet'
4:   func_name = _assert_is_bytes(func_name)
4: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:532: DeprecationWarning: not a bytes object: 'eth0'
4:   dev = _assert_is_bytes(dev)
4: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'stats'
4:   name = _assert_is_bytes(name)
4: .PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
4: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
4: --- 172.16.1.1 ping statistics ---
4: 100 packets transmitted, 100 received, 0% packet loss, time 1ms
4: rtt min/avg/max/mdev = 0.005/0.007/0.070/0.006 ms, ipg/ewma 0.018/0.006 ms
4: .
4: ----------------------------------------------------------------------
4: Ran 2 tests in 0.400s
4: 
4: OK
 4/42 Test  #4: py_test_stat1_b ..................   Passed    1.51 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/42 Test  #5: py_test_bpf_log ..................   Passed    1.78 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:301: 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:302: DeprecationWarning: not a bytes object: ''
6:   hdr_file = _assert_is_bytes(hdr_file)
6: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'on_packet'
6:   func_name = _assert_is_bytes(func_name)
6: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:532: DeprecationWarning: not a bytes object: 'eth0'
6:   dev = _assert_is_bytes(dev)
6: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'stats'
6:   name = _assert_is_bytes(name)
6: .PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
6: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
6: --- 172.16.1.1 ping statistics ---
6: 100 packets transmitted, 100 received, 0% packet loss, time 1ms
6: rtt min/avg/max/mdev = 0.005/0.006/0.073/0.007 ms, ipg/ewma 0.017/0.006 ms
6: .
6: ----------------------------------------------------------------------
6: Ran 2 tests in 0.357s
6: 
6: OK
 6/42 Test  #6: py_test_stat1_c ..................   Passed    0.87 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: PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
7: 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.089 ms
7: 
7: --- 192.168.1.1 ping statistics ---
7: 1 packets transmitted, 1 received, 0% packet loss, time 0ms
7: rtt min/avg/max/mdev = 0.089/0.089/0.089/0.000 ms
7: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:301: 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:302: DeprecationWarning: not a bytes object: ''
7:   hdr_file = _assert_is_bytes(hdr_file)
7: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'on_packet'
7:   func_name = _assert_is_bytes(func_name)
7: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'xlate'
7:   name = _assert_is_bytes(name)
7: .
7: ----------------------------------------------------------------------
7: Ran 1 test in 0.269s
7: 
7: OK
 7/42 Test  #7: py_test_xlate1_c .................   Passed    0.87 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:301: DeprecationWarning: not a bytes object: 'test_call1.c'
8:   src_file = _assert_is_bytes(src_file)
8: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'parse_ether'
8:   func_name = _assert_is_bytes(func_name)
8: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'parse_arp'
8:   func_name = _assert_is_bytes(func_name)
8: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'parse_ip'
8:   func_name = _assert_is_bytes(func_name)
8: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'eop'
8:   func_name = _assert_is_bytes(func_name)
8: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'jump'
8:   name = _assert_is_bytes(name)
8: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'stats'
8:   name = _assert_is_bytes(name)
8: .
8: ----------------------------------------------------------------------
8: Ran 1 test in 0.286s
8: 
8: OK
 8/42 Test  #8: py_test_call1 ....................   Passed    0.88 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:301: 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:302: 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:496: 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:633: 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:648: DeprecationWarning: not a bytes object: 'sys_wr'
9:   fn_name = _assert_is_bytes(fn_name)
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:633: DeprecationWarning: not a bytes object: 'read'
9:   name = _assert_is_bytes(name)
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'sys_rd'
9:   fn_name = _assert_is_bytes(fn_name)
9: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:647: DeprecationWarning: not a bytes object: 'htab_map_get_next_key'
9:   event = _assert_is_bytes(event)
9: .
9: ----------------------------------------------------------------------
9: Ran 1 test in 0.454s
9: 
9: OK
9: fd ffffc04c41017f58: stat1 202 stat2 100
9: fd ffff9e9e5366d400: stat1 2 stat2 0
 9/42 Test  #9: py_test_trace1 ...................   Passed    0.67 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: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <linux/ptrace.h>\nstruct Ptr { u64 ptr; };\nstruct Counters { char unused; __int128 stat1; };\nBPF_HASH(stats, struct Ptr, struct Counters, 1024);\n\nint count_sched(struct pt_regs *ctx) {\n  struct Ptr key = {.ptr=PT_REGS_PARM1(ctx)};\n  struct Counters zleaf;\n\n  memset(&zleaf, 0, sizeof(zleaf));\n  struct Counters *val = stats.lookup_or_try_init(&key, &zleaf);\n  if (val) {\n    val->stat1++;\n  }\n  return 0;\n}\n'
10:   text = _assert_is_bytes(text)
10: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'stats'
10:   name = _assert_is_bytes(name)
10: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:647: DeprecationWarning: not a bytes object: 'finish_task_switch'
10:   event = _assert_is_bytes(event)
10: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'count_sched'
10:   fn_name = _assert_is_bytes(fn_name)
10: .
10: ----------------------------------------------------------------------
10: Ran 1 test in 6.355s
10: 
10: OK
10: ptr ffff9e9e56a1dd00: stat1 (0 29)
10: ptr ffffffffa2212740: stat1 (0 101)
10: ptr ffff9e9e43e41f00: stat1 (0 101)
10: ptr ffff9e9e42759f00: stat1 (0 5)
10: ptr ffff9e9e48530000: stat1 (0 1)
10: ptr ffff9e9e56a10000: stat1 (0 2)
10: ptr ffff9e9e53373e00: stat1 (0 2)
10: ptr ffff9e9e53b09f00: stat1 (0 21)
10/42 Test #10: py_test_trace2 ...................   Passed    6.53 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: 1024+0 records in
11: 1024+0 records out
11: 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.00423732 s, 990 MB/s
11: 1024+0 records in
11: 1024+0 records out
11: 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0135363 s, 310 MB/s
11: latency 0: count 0
11: latency 1: count 0
11: latency 2: count 0
11: latency 3: count 0
11: latency 4: count 0
11: latency 5: count 0
11: latency 6: count 0
11: latency 7: count 0
11: latency 8: count 0
11: latency 9: count 0
11: latency 10: count 0
11: latency 11: count 0
11: latency 12: count 0
11: latency 13: count 0
11: latency 14: count 0
11: latency 15: count 0
11: latency 16: count 0
11: latency 17: count 0
11: latency 18: count 0
11: latency 19: count 0
11: latency 20: count 0
11: latency 21: count 0
11: latency 22: count 0
11: latency 23: count 0
11: latency 24: count 0
11: latency 25: count 0
11: latency 26: count 0
11: latency 27: count 0
11: latency 28: count 0
11: latency 29: count 0
11: latency 30: count 0
11: latency 31: count 0
11: latency 32: count 0
11: latency 33: count 0
11: latency 34: count 0
11: latency 35: count 0
11: latency 36: count 0
11: latency 37: count 0
11: latency 38: count 0
11: latency 39: count 0
11: latency 40: count 0
11: latency 41: count 0
11: latency 42: count 0
11: latency 43: count 0
11: latency 44: count 0
11: latency 45: count 0
11: latency 46: count 0
11: latency 47: count 0
11: latency 48: count 0
11: latency 49: count 0
11: latency 50: count 0
11: latency 51: count 0
11: latency 52: count 0
11: latency 53: count 0
11: latency 54: count 0
11: latency 55: count 0
11: latency 56: count 0
11: latency 57: count 0
11: latency 58: count 0
11: latency 59: count 0
11: latency 60: count 0
11: latency 61: count 0
11: latency 62: count 0
11: latency 63: count 0
11: latency 64: count 0
11: latency 65: count 0
11: latency 66: count 0
11: latency 67: count 0
11: latency 68: count 0
11: latency 69: count 0
11: latency 70: count 0
11: latency 71: count 0
11: latency 72: count 0
11: latency 73: count 0
11: latency 74: count 0
11: latency 75: count 0
11: latency 76: count 0
11: latency 77: count 0
11: latency 78: count 0
11: latency 79: count 0
11: latency 80: count 0
11: latency 81: count 0
11: latency 82: count 0
11: latency 83: count 0
11: latency 84: count 0
11: latency 85: count 0
11: latency 86: count 0
11: latency 87: count 0
11: latency 88: count 0
11: latency 89: count 0
11: latency 90: count 0
11: latency 91: count 0
11: latency 92: count 0
11: latency 93: count 0
11: latency 94: count 0
11: latency 95: count 0
11: latency 96: count 0
11: latency 97: count 0
11: latency 98: count 0
11: latency 99: count 0
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:301: DeprecationWarning: not a bytes object: 'test_trace3.c'
11:   src_file = _assert_is_bytes(src_file)
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:302: DeprecationWarning: not a bytes object: ''
11:   hdr_file = _assert_is_bytes(hdr_file)
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'latency'
11:   name = _assert_is_bytes(name)
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:647: DeprecationWarning: not a bytes object: 'blk_start_request'
11:   event = _assert_is_bytes(event)
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'probe_blk_start_request'
11:   fn_name = _assert_is_bytes(fn_name)
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:647: DeprecationWarning: not a bytes object: 'blk_update_request'
11:   event = _assert_is_bytes(event)
11: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'probe_blk_update_request'
11:   fn_name = _assert_is_bytes(fn_name)
11: .
11: ----------------------------------------------------------------------
11: Ran 1 test in 2.652s
11: 
11: OK
11/42 Test #11: py_test_trace3_c .................   Passed    2.96 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: ..
12: ----------------------------------------------------------------------
12: Ran 2 tests in 1.682s
12: 
12: OK
12/42 Test #12: py_test_trace4 ...................   Passed    1.93 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: .
13: ----------------------------------------------------------------------
13: Ran 1 test in 1.137s
13: 
13: OK
13/42 Test #13: py_test_trace_maxactive ..........   Passed    1.35 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:303: 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: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n        int wololo(void *ctx) {\n          return 0;\n        }\n        '
14:   text = _assert_is_bytes(text)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'wololo'
14:   fn_name = _assert_is_bytes(fn_name)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:649: DeprecationWarning: not a bytes object: '^vfs_.*'
14:   event_re = _assert_is_bytes(event_re)
14: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: 'int count(void *ctx) { return 0; }'
14:   text = _assert_is_bytes(text)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:647: DeprecationWarning: not a bytes object: 'schedule'
14:   event = _assert_is_bytes(event)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'count'
14:   fn_name = _assert_is_bytes(fn_name)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:647: DeprecationWarning: not a bytes object: 'submit_bio'
14:   event = _assert_is_bytes(event)
14: .cannot attach kprobe, probe entry may not exist
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:647: DeprecationWarning: not a bytes object: '___doesnotexist'
14:   event = _assert_is_bytes(event)
14: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:649: DeprecationWarning: not a bytes object: '.*'
14:   event_re = _assert_is_bytes(event_re)
14: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: 'c'
14:   name = _assert_is_bytes(name)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1082: DeprecationWarning: not a bytes object: '.*'
14:   sym_re = _assert_is_bytes(sym_re)
14: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'count'
14:   fn_name = _assert_is_bytes(fn_name)
14: .
14: ----------------------------------------------------------------------
14: Ran 6 tests in 3.334s
14: 
14: OK
14/42 Test #14: py_test_probe_count ..............   Passed    3.51 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.813s
15: 
15: OK
15/42 Test #15: py_test_debuginfo ................   Passed    1.08 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:301: DeprecationWarning: not a bytes object: 'test_brb.c'
16:   src_file = _assert_is_bytes(src_file)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'pem'
16:   func_name = _assert_is_bytes(func_name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'br1'
16:   func_name = _assert_is_bytes(func_name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'br2'
16:   func_name = _assert_is_bytes(func_name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'jump'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'pem_dest'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'pem_port'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'pem_ifindex'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'pem_stats'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'br1_dest'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'br1_mac'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'br1_rtr'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'br2_dest'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'br2_mac'
16:   name = _assert_is_bytes(name)
16: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'br2_rtr'
16:   name = _assert_is_bytes(name)
16: net.ipv4.ip_forward = 1
16: ARPING 100.1.1.254 from 100.1.1.1 eth0
16: Unicast reply from 100.1.1.254 [E6:90:8B:2F:E1:22]  0.745ms
16: Sent 1 probes (1 broadcast(s))
16: Received 1 response(s)
16: ARPING 200.1.1.254 from 200.1.1.1 eth0
16: Unicast reply from 200.1.1.254 [4E:CD:29:F4:21:36]  0.758ms
16: Sent 1 probes (1 broadcast(s))
16: Received 1 response(s)
16: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
16: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.118 ms
16: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.072 ms
16: 
16: --- 200.1.1.1 ping statistics ---
16: 2 packets transmitted, 2 received, 0% packet loss, time 1037ms
16: rtt min/avg/max/mdev = 0.072/0.095/0.118/0.023 ms
16: [ ID] Interval       Transfer     Bandwidth
16: [  3]  0.0- 1.0 sec  3.42 GBytes  29.4 Gbits/sec
16: [ ID] Interval       Transfer     Bandwidth
16: [  4]  0.0- 1.0 sec  3.42 GBytes  29.2 Gbits/sec
16: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
16: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET
16: Recv   Send    Send                          
16: Socket Socket  Message  Elapsed              
16: Size   Size    Size     Time     Throughput  
16: bytes  bytes   bytes    secs.    10^6bits/sec  
16: 
16:  87380  16384  65160    1.00     28872.99   
16: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : first burst 0
16: Local /Remote
16: Socket Size   Request  Resp.   Elapsed  Trans.
16: Send   Recv   Size     Size    Time     Rate         
16: bytes  Bytes  bytes    bytes   secs.    per sec   
16: 
16: 16384  87380  1        1       1.00     21416.98   
16: 16384  87380 
16: .
16: ----------------------------------------------------------------------
16: Ran 1 test in 7.367s
16: 
16: OK
16/42 Test #16: py_test_brb ......................   Passed    7.68 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:301: DeprecationWarning: not a bytes object: 'test_brb2.c'
17:   src_file = _assert_is_bytes(src_file)
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'pem'
17:   func_name = _assert_is_bytes(func_name)
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'pem_dest'
17:   name = _assert_is_bytes(name)
17: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'pem_stats'
17:   name = _assert_is_bytes(name)
17: net.ipv4.ip_forward = 1
17: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
17: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.139 ms
17: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.085 ms
17: 
17: --- 200.1.1.1 ping statistics ---
17: 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
17: rtt min/avg/max/mdev = 0.085/0.112/0.139/0.027 ms
17: [ ID] Interval       Transfer     Bandwidth
17: [  3]  0.0- 1.0 sec  3.22 GBytes  27.7 Gbits/sec
17: [ ID] Interval       Transfer     Bandwidth
17: [  4]  0.0- 1.0 sec  3.22 GBytes  27.4 Gbits/sec
17: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
17: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET
17: Recv   Send    Send                          
17: Socket Socket  Message  Elapsed              
17: Size   Size    Size     Time     Throughput  
17: bytes  bytes   bytes    secs.    10^6bits/sec  
17: 
17:  87380  16384  65160    1.00     24931.14   
17: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : first burst 0
17: Local /Remote
17: Socket Size   Request  Resp.   Elapsed  Trans.
17: Send   Recv   Size     Size    Time     Rate         
17: bytes  Bytes  bytes    bytes   secs.    per sec   
17: 
17: 16384  87380  1        1       1.00     20401.53   
17: 16384  87380 
17: .
17: ----------------------------------------------------------------------
17: Ran 1 test in 7.630s
17: 
17: OK
17/42 Test #17: py_test_brb2 .....................   Passed    7.95 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: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <linux/blkdev.h>\n#include <uapi/linux/ptrace.h>\nint do_request(struct pt_regs *ctx, int req) {\n    bpf_trace_printk("req ptr: 0x%x\\n", req);\n    return 0;\n}\n'
18:   text = _assert_is_bytes(text)
18: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:380: DeprecationWarning: not a bytes object: 'do_request'
18:   func_name = _assert_is_bytes(func_name)
18: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh: line 38: 11717 Segmentation fault      sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
18: Failed
18/42 Test #18: py_test_clang ....................***Failed    2.55 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: 
19: Bucket ptr = b'python'
19:                value                         : count     distribution
19:                    0 -> 1                    : 0        |                    |
19:                    2 -> 3                    : 0        |                    |
19:                    4 -> 7                    : 0        |                    |
19:                    8 -> 15                   : 0        |                    |
19:                   16 -> 31                   : 0        |                    |
19:                   32 -> 63                   : 0        |                    |
19:                   64 -> 127                  : 0        |                    |
19:                  128 -> 255                  : 0        |                    |
19:                  256 -> 511                  : 0        |                    |
19:                  512 -> 1023                 : 0        |                    |
19:                 1024 -> 2047                 : 0        |                    |
19:                 2048 -> 4095                 : 0        |                    |
19:                 4096 -> 8191                 : 0        |                    |
19:                 8192 -> 16383                : 0        |                    |
19:                16384 -> 32767                : 0        |                    |
19:                32768 -> 65535                : 0        |                    |
19:                65536 -> 131071               : 0        |                    |
19:               131072 -> 262143               : 0        |                    |
19:               262144 -> 524287               : 0        |                    |
19:               524288 -> 1048575              : 0        |                    |
19:              1048576 -> 2097151              : 0        |                    |
19:              2097152 -> 4194303              : 0        |                    |
19:              4194304 -> 8388607              : 0        |                    |
19:              8388608 -> 16777215             : 0        |                    |
19:             16777216 -> 33554431             : 0        |                    |
19:             33554432 -> 67108863             : 100      |********************|
19:             67108864 -> 134217727            : 0        |                    |
19:            134217728 -> 268435455            : 0        |                    |
19:            268435456 -> 536870911            : 0        |                    |
19:            536870912 -> 1073741823           : 0        |                    |
19:           1073741824 -> 2147483647           : 0        |                    |
19:           2147483648 -> 4294967295           : 0        |                    |
19:           4294967296 -> 8589934591           : 0        |                    |
19:           8589934592 -> 17179869183          : 0        |                    |
19:          17179869184 -> 34359738367          : 0        |                    |
19:          34359738368 -> 68719476735          : 0        |                    |
19:          68719476736 -> 137438953471         : 1        |                    |
19: 
19: Bucket ptr = b'swapper/1'
19:                value                         : count     distribution
19:                    0 -> 1                    : 0        |                    |
19:                    2 -> 3                    : 0        |                    |
19:                    4 -> 7                    : 0        |                    |
19:                    8 -> 15                   : 0        |                    |
19:                   16 -> 31                   : 0        |                    |
19:                   32 -> 63                   : 0        |                    |
19:                   64 -> 127                  : 0        |                    |
19:                  128 -> 255                  : 0        |                    |
19:                  256 -> 511                  : 0        |                    |
19:                  512 -> 1023                 : 0        |                    |
19:                 1024 -> 2047                 : 0        |                    |
19:                 2048 -> 4095                 : 0        |                    |
19:                 4096 -> 8191                 : 0        |                    |
19:                 8192 -> 16383                : 0        |                    |
19:                16384 -> 32767                : 0        |                    |
19:                32768 -> 65535                : 0        |                    |
19:                65536 -> 131071               : 0        |                    |
19:               131072 -> 262143               : 0        |                    |
19:               262144 -> 524287               : 0        |                    |
19:               524288 -> 1048575              : 0        |                    |
19:              1048576 -> 2097151              : 0        |                    |
19:              2097152 -> 4194303              : 0        |                    |
19:              4194304 -> 8388607              : 0        |                    |
19:              8388608 -> 16777215             : 0        |                    |
19:             16777216 -> 33554431             : 0        |                    |
19:             33554432 -> 67108863             : 6        |*                   |
19:             67108864 -> 134217727            : 0        |                    |
19:            134217728 -> 268435455            : 0        |                    |
19:            268435456 -> 536870911            : 0        |                    |
19:            536870912 -> 1073741823           : 0        |                    |
19:           1073741824 -> 2147483647           : 0        |                    |
19:           2147483648 -> 4294967295           : 0        |                    |
19:           4294967296 -> 8589934591           : 0        |                    |
19:           8589934592 -> 17179869183          : 0        |                    |
19:          17179869184 -> 34359738367          : 0        |                    |
19:          34359738368 -> 68719476735          : 0        |                    |
19:          68719476736 -> 137438953471         : 26       |*****               |
19:         137438953472 -> 274877906943         : 0        |                    |
19:         274877906944 -> 549755813887         : 0        |                    |
19:         549755813888 -> 1099511627775        : 101      |********************|
19: 
19: Bucket ptr = b'dnf'
19:                value                         : count     distribution
19:                    0 -> 1                    : 0        |                    |
19:                    2 -> 3                    : 0        |                    |
19:                    4 -> 7                    : 0        |                    |
19:                    8 -> 15                   : 0        |                    |
19:                   16 -> 31                   : 0        |                    |
19:                   32 -> 63                   : 0        |                    |
19:                   64 -> 127                  : 0        |                    |
19:                  128 -> 255                  : 0        |                    |
19:                  256 -> 511                  : 0        |                    |
19:                  512 -> 1023                 : 0        |                    |
19:                 1024 -> 2047                 : 0        |                    |
19:                 2048 -> 4095                 : 0        |                    |
19:                 4096 -> 8191                 : 0        |                    |
19:                 8192 -> 16383                : 0        |                    |
19:                16384 -> 32767                : 0        |                    |
19:                32768 -> 65535                : 0        |                    |
19:                65536 -> 131071               : 0        |                    |
19:               131072 -> 262143               : 0        |                    |
19:               262144 -> 524287               : 0        |                    |
19:               524288 -> 1048575              : 0        |                    |
19:              1048576 -> 2097151              : 0        |                    |
19:              2097152 -> 4194303              : 0        |                    |
19:              4194304 -> 8388607              : 0        |                    |
19:              8388608 -> 16777215             : 0        |                    |
19:             16777216 -> 33554431             : 0        |                    |
19:             33554432 -> 67108863             : 0        |                    |
19:             67108864 -> 134217727            : 0        |                    |
19:            134217728 -> 268435455            : 0        |                    |
19:            268435456 -> 536870911            : 0        |                    |
19:            536870912 -> 1073741823           : 0        |                    |
19:           1073741824 -> 2147483647           : 0        |                    |
19:           2147483648 -> 4294967295           : 0        |                    |
19:           4294967296 -> 8589934591           : 0        |                    |
19:           8589934592 -> 17179869183          : 0        |                    |
19:          17179869184 -> 34359738367          : 0        |                    |
19:          34359738368 -> 68719476735          : 0        |                    |
19:          68719476736 -> 137438953471         : 0        |                    |
19:         137438953472 -> 274877906943         : 0        |                    |
19:         274877906944 -> 549755813887         : 0        |                    |
19:         549755813888 -> 1099511627775        : 2        |********************|
19: 
19: Bucket ptr = b'java'
19:                value                         : count     distribution
19:                    0 -> 1                    : 0        |                    |
19:                    2 -> 3                    : 0        |                    |
19:                    4 -> 7                    : 0        |                    |
19:                    8 -> 15                   : 0        |                    |
19:                   16 -> 31                   : 0        |                    |
19:                   32 -> 63                   : 0        |                    |
19:                   64 -> 127                  : 0        |                    |
19:                  128 -> 255                  : 0        |                    |
19:                  256 -> 511                  : 0        |                    |
19:                  512 -> 1023                 : 0        |                    |
19:                 1024 -> 2047                 : 0        |                    |
19:                 2048 -> 4095                 : 0        |                    |
19:                 4096 -> 8191                 : 0        |                    |
19:                 8192 -> 16383                : 0        |                    |
19:                16384 -> 32767                : 0        |                    |
19:                32768 -> 65535                : 0        |                    |
19:                65536 -> 131071               : 0        |                    |
19:               131072 -> 262143               : 0        |                    |
19:               262144 -> 524287               : 0        |                    |
19:               524288 -> 1048575              : 0        |                    |
19:              1048576 -> 2097151              : 0        |                    |
19:              2097152 -> 4194303              : 0        |                    |
19:              4194304 -> 8388607              : 0        |                    |
19:              8388608 -> 16777215             : 0        |                    |
19:             16777216 -> 33554431             : 0        |                    |
19:             33554432 -> 67108863             : 26       |********************|
19:             67108864 -> 134217727            : 0        |                    |
19:            134217728 -> 268435455            : 0        |                    |
19:            268435456 -> 536870911            : 0        |                    |
19:            536870912 -> 1073741823           : 0        |                    |
19:           1073741824 -> 2147483647           : 0        |                    |
19:           2147483648 -> 4294967295           : 0        |                    |
19:           4294967296 -> 8589934591           : 0        |                    |
19:           8589934592 -> 17179869183          : 0        |                    |
19:          17179869184 -> 34359738367          : 0        |                    |
19:          34359738368 -> 68719476735          : 0        |                    |
19:          68719476736 -> 137438953471         : 0        |                    |
19:         137438953472 -> 274877906943         : 0        |                    |
19:         274877906944 -> 549755813887         : 0        |                    |
19:         549755813888 -> 1099511627775        : 1        |                    |
19: 
19: Bucket ptr = b'kworker/1:2'
19:      value               : count     distribution
19:          0 -> 1          : 0        |                                        |
19:          2 -> 3          : 0        |                                        |
19:          4 -> 7          : 0        |                                        |
19:          8 -> 15         : 0        |                                        |
19:         16 -> 31         : 0        |                                        |
19:         32 -> 63         : 0        |                                        |
19:         64 -> 127        : 0        |                                        |
19:        128 -> 255        : 0        |                                        |
19:        256 -> 511        : 0        |                                        |
19:        512 -> 1023       : 0        |                                        |
19:       1024 -> 2047       : 0        |                                        |
19:       2048 -> 4095       : 0        |                                        |
19:       4096 -> 8191       : 0        |                                        |
19:       8192 -> 16383      : 0        |                                        |
19:      16384 -> 32767      : 0        |                                        |
19:      32768 -> 65535      : 0        |                                        |
19:      65536 -> 131071     : 0        |                                        |
19:     131072 -> 262143     : 0        |                                        |
19:     262144 -> 524287     : 0        |                                        |
19:     524288 -> 1048575    : 0        |                                        |
19:    1048576 -> 2097151    : 0        |                                        |
19:    2097152 -> 4194303    : 0        |                                        |
19:    4194304 -> 8388607    : 0        |                                        |
19:    8388608 -> 16777215   : 0        |                                        |
19:   16777216 -> 33554431   : 0        |                                        |
19:   33554432 -> 67108863   : 1        |****************************************|
19: 
19: Bucket ptr = b'kworker/0:1'
19:                value                         : count     distribution
19:                    0 -> 1                    : 0        |                    |
19:                    2 -> 3                    : 0        |                    |
19:                    4 -> 7                    : 0        |                    |
19:                    8 -> 15                   : 0        |                    |
19:                   16 -> 31                   : 0        |                    |
19:                   32 -> 63                   : 0        |                    |
19:                   64 -> 127                  : 0        |                    |
19:                  128 -> 255                  : 0        |                    |
19:                  256 -> 511                  : 0        |                    |
19:                  512 -> 1023                 : 0        |                    |
19:                 1024 -> 2047                 : 0        |                    |
19:                 2048 -> 4095                 : 0        |                    |
19:                 4096 -> 8191                 : 0        |                    |
19:                 8192 -> 16383                : 0        |                    |
19:                16384 -> 32767                : 0        |                    |
19:                32768 -> 65535                : 0        |                    |
19:                65536 -> 131071               : 0        |                    |
19:               131072 -> 262143               : 0        |                    |
19:               262144 -> 524287               : 0        |                    |/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n#include <linux/sched.h>\ntypedef struct { char name[TASK_COMM_LEN]; u64 slot; } Key;\nBPF_HISTOGRAM(hist1, Key, 1024);\nint kprobe__finish_task_switch(struct pt_regs *ctx, struct task_struct *prev) {\n    Key k = {.slot = bpf_log2l(prev->real_start_time)};\n    if (!bpf_get_current_comm(&k.name, sizeof(k.name)))\n        hist1.increment(k);\n    return 0;\n}\n'
19:   text = _assert_is_bytes(text)
19: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'hist1'
19:   name = _assert_is_bytes(name)
19: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh: line 38: 11729 Segmentation fault      sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
19: Failed
19/42 Test #19: py_test_histogram ................***Failed    3.24 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:303: 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:496: DeprecationWarning: not a bytes object: 'table1'
20:   name = _assert_is_bytes(name)
20: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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:633: 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:648: DeprecationWarning: not a bytes object: 'do_sys_nanosleep'
20:   fn_name = _assert_is_bytes(fn_name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'events'
20:   name = _assert_is_bytes(name)
20: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:633: 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:648: DeprecationWarning: not a bytes object: 'do_sys_nanosleep'
20:   fn_name = _assert_is_bytes(fn_name)
20: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'events'
20:   name = _assert_is_bytes(name)
20: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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:496: DeprecationWarning: not a bytes object: 'table1'
20:   name = _assert_is_bytes(name)
20: .
20: ----------------------------------------------------------------------
20: Ran 4 tests in 1.540s
20: 
20: OK
20/42 Test #20: py_array .........................   Passed    1.92 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:303: 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 == 11754)\n        incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1081: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'count'
21:   fn_name = _assert_is_bytes(fn_name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1114: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1115: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1117: DeprecationWarning: not a bytes object: 'count'
21:   fn_name = _assert_is_bytes(fn_name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'stats'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1167: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1168: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1154: DeprecationWarning: not a bytes object: '/tmp/libz.so.1'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1155: DeprecationWarning: not a bytes object: 'zlibVersion'
21:   sym = _assert_is_bytes(sym)
21: .Python 2.7.15
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1081: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1114: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1115: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1167: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1168: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1154: DeprecationWarning: not a bytes object: '/usr/bin/python'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1155: DeprecationWarning: not a bytes object: 'main'
21:   sym = _assert_is_bytes(sym)
21: .Arena 0:
21: system bytes     =   20443136
21: in use bytes     =    3229040
21: Total (incl. mmap):
21: system bytes     =   20742144
21: in use bytes     =    3528048
21: max mmap regions =          7
21: max mmap bytes   =    2289664
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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 == 11752)\n        incr(0);\n    return 0;\n}'
21:   text = _assert_is_bytes(text)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1081: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1114: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1115: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1167: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1168: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1154: DeprecationWarning: not a bytes object: 'c'
21:   name = _assert_is_bytes(name)
21: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1155: DeprecationWarning: not a bytes object: 'malloc_stats'
21:   sym = _assert_is_bytes(sym)
21: .
21: ----------------------------------------------------------------------
21: Ran 3 tests in 6.497s
21: 
21: OK
21/42 Test #21: py_uprobes .......................   Passed    6.73 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:303: DeprecationWarning: not a bytes object: '\nint trace_fun_call(void *ctx) {{\n    return 1;\n}}\n'
22:   text = _assert_is_bytes(text)
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/tmp/tmprbezdwq3'
22:   name = _assert_is_bytes(name)
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1081: DeprecationWarning: not a bytes object: 'fun'
22:   sym = _assert_is_bytes(sym)
22: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'trace_fun_call'
22:   fn_name = _assert_is_bytes(fn_name)
22: .
22: ----------------------------------------------------------------------
22: Ran 1 test in 0.207s
22: 
22: OK
22/42 Test #22: py_uprobes_2 .....................   Passed    0.42 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:303: 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:496: 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:496: 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:496: DeprecationWarning: not a bytes object: 'stack_entries'
23:   name = _assert_is_bytes(name)
23: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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: .
23: ----------------------------------------------------------------------
23: Ran 2 tests in 0.866s
23: 
23: OK
23/42 Test #23: py_test_stackid ..................   Passed    1.18 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:303: 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:496: DeprecationWarning: not a bytes object: 'switches'
24:   name = _assert_is_bytes(name)
24: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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:496: DeprecationWarning: not a bytes object: 'execs'
24:   name = _assert_is_bytes(name)
24: .
24: ----------------------------------------------------------------------
24: Ran 2 tests in 2.460s
24: 
24: OK
24/42 Test #24: py_test_tracepoint ...............   Passed    2.71 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: perf_event_open: No such file or directory
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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    return 0;\n}\n'
25:   text = _assert_is_bytes(text)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:633: DeprecationWarning: not a bytes object: 'getuid'
25:   name = _assert_is_bytes(name)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'do_sys_getuid'
25:   fn_name = _assert_is_bytes(fn_name)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:674: DeprecationWarning: not a bytes object: 'do_ret_sys_getuid'
25:   fn_name = _assert_is_bytes(fn_name)
25: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'cnt1'
25:   name = _assert_is_bytes(name)
25: s
25: ----------------------------------------------------------------------
25: Ran 1 test in 0.420s
25: 
25: OK (skipped=1)
25/42 Test #25: py_test_perf_event ...............   Passed    0.67 sec
test 26
      Start 26: py_test_utils

26: 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"
26: Test timeout computed to be: 10000000
26: ..
26: ----------------------------------------------------------------------
26: Ran 2 tests in 0.001s
26: 
26: OK
26/42 Test #26: py_test_utils ....................   Passed    0.22 sec
test 27
      Start 27: py_test_percpu

27: 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"
27: Test timeout computed to be: 10000000
27: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: 'BPF_TABLE("percpu_array", u32, u32, stub, 1);'
27:   text = _assert_is_bytes(text)
27: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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        '
27:   text = _assert_is_bytes(text)
27: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n        typedef struct counter {\n        u32 c1;\n        u32 c2;\n        } counter;\n        BPF_TABLE("percpu_hash", u32, counter, stats, 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        '
27:   text = _assert_is_bytes(text)
27: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'stats'
27:   name = _assert_is_bytes(name)
27: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:633: DeprecationWarning: not a bytes object: 'clone'
27:   name = _assert_is_bytes(name)
27: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'hello_world'
27:   fn_name = _assert_is_bytes(fn_name)
27: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n        BPF_TABLE("percpu_array", u32, u32, stats, 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        '
27:   text = _assert_is_bytes(text)
27: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n        BPF_TABLE("percpu_hash", u32, u64, stats, 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        '
27:   text = _assert_is_bytes(text)
27: .
27: ----------------------------------------------------------------------
27: Ran 4 tests in 2.150s
27: 
27: OK
27/42 Test #27: py_test_percpu ...................   Passed    2.38 sec
test 28
      Start 28: py_test_dump_func

28: 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"
28: Test timeout computed to be: 10000000
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n            int entry(void)\n            {\n                return 1;\n            }'
28:   text = _assert_is_bytes(text)
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:415: DeprecationWarning: not a bytes object: 'entry'
28:   func_name = _assert_is_bytes(func_name)
28: .
28: ----------------------------------------------------------------------
28: Ran 1 test in 0.215s
28: 
28: OK
28/42 Test #28: py_test_dump_func ................   Passed    0.42 sec
test 29
      Start 29: py_test_disassembler

29: 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"
29: Test timeout computed to be: 10000000
29: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: 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            }'
29:   text = _assert_is_bytes(text)
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:415: DeprecationWarning: not a bytes object: 'test_func'
29:   func_name = _assert_is_bytes(func_name)
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'test_map'
29:   name = _assert_is_bytes(name)
29: .
29: ----------------------------------------------------------------------
29: Ran 2 tests in 0.228s
29: 
29: OK
29/42 Test #29: py_test_disassembler .............   Passed    0.47 sec
test 30
      Start 30: py_test_tools_smoke

30: 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"
30: Test timeout computed to be: 10000000
30: Traceback (most recent call last):
30:   File "../../tools/argdist.py", line 707, in run
30:     self._main_loop()
30:   File "../../tools/argdist.py", line 697, in _main_loop
30:     exit()
30:   File "/usr/lib64/python2.7/site.py", line 355, in __call__
30:     raise SystemExit(code)
30: SystemExit: None
30: ..Traceback (most recent call last):
30:   File "../../tools/bindsnoop.py", line 476, in <module>
30:     b = BPF(text=bpf_text)
30:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py", line 354, in __init__
30:     allow_rlimit, device)
30: KeyboardInterrupt
30: ...'unknown': unknown terminal type.
30: .'unknown': unknown terminal type.
30: 'unknown': unknown terminal type.
30: 'unknown': unknown terminal type.
30: .........timeout: the monitored command dumped core
30: /bin/sh: line 1: 11865 Segmentation fault      timeout -s KILL 10s ../../tools/cpuunclaimed.py 1 1 > /dev/null
30: F...........'unknown': unknown terminal type.
30: ....../bin/sh: line 1: 11918 Killed                  timeout -s KILL -k 5s 5s ../../tools/killsnoop.py > /dev/null
30: .s..........libbpf: failed to find valid kernel BTF
30: libbpf: vmlinux BTF is not found
30: ....timeout: the monitored command dumped core
30: /bin/sh: line 1: 11951 Segmentation fault      timeout -s KILL 10s ../../tools/runqlen.py 1 1 > /dev/null
30: F.'unknown': unknown terminal type.
30: ...............'unknown': unknown terminal type.
30: ...'unknown': unknown terminal type.
30: .....'unknown': unknown terminal type.
30: ...libbpf: failed to find valid kernel BTF
30: libbpf: vmlinux BTF is not found
30: ......
30: ======================================================================
30: FAIL: test_cpuunclaimed (__main__.SmokeTests)
30: ----------------------------------------------------------------------
30: Traceback (most recent call last):
30:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 124, in test_cpuunclaimed
30:     self.run_with_duration("cpuunclaimed.py 1 1")
30:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 33, in run_with_duration
30:     (timeout, full_command), shell=True))
30: AssertionError: 0 != 139
30: 
30: ======================================================================
30: FAIL: test_runqlen (__main__.SmokeTests)
30: ----------------------------------------------------------------------
30: Traceback (most recent call last):
30:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 281, in test_runqlen
30:     self.run_with_duration("runqlen.py 1 1")
30:   File "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py", line 33, in run_with_duration
30:     (timeout, full_command), shell=True))
30: AssertionError: 0 != 139
30: 
30: ----------------------------------------------------------------------
30: Ran 83 tests in 278.700s
30: 
30: FAILED (failures=2, skipped=1)
30: Failed
30/42 Test #30: py_test_tools_smoke ..............***Failed  279.00 sec
test 31
      Start 31: py_test_tools_memleak

31: 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"
31: Test timeout computed to be: 10000000
31: ........
31: ----------------------------------------------------------------------
31: Ran 8 tests in 22.741s
31: 
31: OK
31/42 Test #31: py_test_tools_memleak ............   Passed   22.85 sec
test 32
      Start 32: py_test_usdt

32: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt.py"
32: Test timeout computed to be: 10000000
32: <stdin>: In function ‘main’:
32: <stdin>:23:17: warning: null character(s) preserved in literal
32: <stdin>:28:17: warning: null character(s) preserved in literal
32: 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 -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/helpers.h -isystem /virtual/include -I /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python -D __BPF_TRACING__ -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/./arch/x86/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated/uapi -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -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
32: #if defined(BPF_LICENSE)
32: #error BPF_LICENSE cannot be specified through cflags
32: #endif
32: #if !defined(CONFIG_CC_STACKPROTECTOR)
32: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
32:     || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
32:     || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
32: #define CONFIG_CC_STACKPROTECTOR
32: #endif
32: #endif
32: #include <uapi/linux/ptrace.h>
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace1_1(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int8_t)) return -1;
32:   switch(PT_REGS_IP(ctx)) {
32:   case 0x400687ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
32:   case 0x400690ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
32:   }
32:   return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace1_2(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int32_t)) return -1;
32:   switch(PT_REGS_IP(ctx)) {
32:   case 0x400687ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32:   case 0x400690ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32:   }
32:   return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace3_1(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int32_t)) return -1;
32:   switch(PT_REGS_IP(ctx)) {
32:   case 0x400688ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32:   case 0x4006a7ULL: *((int32_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
32:   }
32:   return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace3_2(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int32_t)) return -1;
32:   switch(PT_REGS_IP(ctx)) {
32:   case 0x400688ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32:   case 0x4006a7ULL: *((int32_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory"); return 0;
32:   }
32:   return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace2_1(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int32_t)) return -1;
32:   *((int32_t *)dest) = 5;
32:   return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace2_2(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int8_t)) return -1;
32:   *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
32:   return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace4_1(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int64_t)) return -1;
32:   *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
32:   return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace4_2(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int64_t)) return -1;
32:   *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
32:   return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace5_1(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int64_t)) return -1;
32:   *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
32:   return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace5_2(struct pt_regs *ctx, void *dest, size_t len) {
32:   if (len != sizeof(int64_t)) return -1;
32:   *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
32:   return 0;
32: }
32: 
32: #include <linux/blkdev.h>
32: #include <uapi/linux/ptrace.h>
32: 
32: struct probe_result_t1 {
32:   char v1;
32:   int  v2;
32: };
32: 
32: struct probe_result_t2 {
32:   int  v1;
32:   char v2;
32: };
32: 
32: struct probe_result_t3 {
32:   int v1;
32:   int v2;
32: };
32: 
32: struct probe_result_t4 {
32:   u64  v1;
32:   char v2[8];
32: };
32: 
32: struct probe_result_t5 {
32:   char v1[8];
32:   u64  v2;
32: };
32: 
32: BPF_PERF_OUTPUT(event1);
32: BPF_PERF_OUTPUT(event2);
32: BPF_PERF_OUTPUT(event3);
32: BPF_PERF_OUTPUT(event4);
32: BPF_PERF_OUTPUT(event5);
32: 
32: __attribute__((section(".bpf.fn.do_trace1")))
32: int do_trace1(struct pt_regs *ctx) {
32: 
32:     struct probe_result_t1 result = {};
32:     _bpf_readarg_do_trace1_1(ctx, &result.v1, sizeof(*(&result.v1)));
32:     _bpf_readarg_do_trace1_2(ctx, &result.v2, sizeof(*(&result.v2)));
32:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -1), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32:     return 0;
32: };
32: __attribute__((section(".bpf.fn.do_trace2")))
32: int do_trace2(struct pt_regs *ctx) {
32: 
32:     struct probe_result_t2 result = {};
32:     _bpf_readarg_do_trace2_1(ctx, &result.v1, sizeof(*(&result.v1)));
32:     _bpf_readarg_do_trace2_2(ctx, &result.v2, sizeof(*(&result.v2)));
32:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -2), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32:     return 0;
32: }
32: __attribute__((section(".bpf.fn.do_trace3")))
32: int do_trace3(struct pt_regs *ctx) {
32: 
32:     struct probe_result_t3 result = {};
32:     _bpf_readarg_do_trace3_1(ctx, &result.v1, sizeof(*(&result.v1)));
32:     _bpf_readarg_do_trace3_2(ctx, &result.v2, sizeof(*(&result.v2)));
32:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -3), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32:     return 0;
32: }
32: __attribute__((section(".bpf.fn.do_trace4")))
32: int do_trace4(struct pt_regs *ctx) {
32: 
32:     struct probe_result_t4 result = {};
32:     _bpf_readarg_do_trace4_1(ctx, &result.v1, sizeof(*(&result.v1)));
32:     ({ u64 __addr = 0x0; _bpf_readarg_do_trace4_2(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v2, sizeof(result.v2), (void *)__addr);});
32:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -4), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32:     return 0;
32: }
32: __attribute__((section(".bpf.fn.do_trace5")))
32: int do_trace5(struct pt_regs *ctx) {
32: 
32:     struct probe_result_t5 result = {};
32:     ({ u64 __addr = 0x0; _bpf_readarg_do_trace5_1(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v1, sizeof(result.v1), (void *)__addr);});
32:     _bpf_readarg_do_trace5_2(ctx, &result.v2, sizeof(*(&result.v2)));
32:     bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -5), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32:     return 0;
32: }
32: 
32: #include <bcc/footer.h>
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <linux/blkdev.h>\n#include <uapi/linux/ptrace.h>\n\nstruct probe_result_t1 {\n  char v1;\n  int  v2;\n};\n\nstruct probe_result_t2 {\n  int  v1;\n  char v2;\n};\n\nstruct probe_result_t3 {\n  int v1;\n  int v2;\n};\n\nstruct probe_result_t4 {\n  u64  v1;\n  char v2[8];\n};\n\nstruct probe_result_t5 {\n  char v1[8];\n  u64  v2;\n};\n\nBPF_PERF_OUTPUT(event1);\nBPF_PERF_OUTPUT(event2);\nBPF_PERF_OUTPUT(event3);\nBPF_PERF_OUTPUT(event4);\nBPF_PERF_OUTPUT(event5);\n\nint do_trace1(struct pt_regs *ctx) {\n    struct probe_result_t1 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event1.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n};\nint do_trace2(struct pt_regs *ctx) {\n    struct probe_result_t2 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event2.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace3(struct pt_regs *ctx) {\n    struct probe_result_t3 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event3.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace4(struct pt_regs *ctx) {\n    struct probe_result_t4 result = {};\n    bpf_usdt_readarg(1, ctx, &result.v1);\n    bpf_usdt_readarg_p(2, ctx, &result.v2, sizeof(result.v2));\n    event4.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace5(struct pt_regs *ctx) {\n    struct probe_result_t5 result = {};\n    bpf_usdt_readarg_p(1, ctx, &result.v1, sizeof(result.v1));\n    bpf_usdt_readarg(2, ctx, &result.v2);\n    event5.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\n'
32:   text = _assert_is_bytes(text)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12129/root/tmp/tmpuzxb64w2'
32:   name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace1'
32:   fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace3'
32:   fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace2'
32:   fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace4'
32:   fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace5'
32:   fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event1'
32:   name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event2'
32:   name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event3'
32:   name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event4'
32:   name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event5'
32:   name = _assert_is_bytes(name)
32: .
32: ----------------------------------------------------------------------
32: Ran 1 test in 4.059s
32: 
32: OK
32: b'str4'
32: b'str5'
32: b'str6'
32: b'str7'
32: b'str8'
32: b'str9'
32: Running from kernel directory at: /lib/modules/4.17.12-200.fc28.x86_64/source
32/42 Test #32: py_test_usdt .....................   Passed    4.37 sec
test 33
      Start 33: py_test_usdt2

33: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt2.py"
33: Test timeout computed to be: 10000000
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n\nBPF_PERF_OUTPUT(event1);\nBPF_PERF_OUTPUT(event2);\nBPF_PERF_OUTPUT(event3);\nBPF_PERF_OUTPUT(event4);\nBPF_PERF_OUTPUT(event5);\nBPF_PERF_OUTPUT(event6);\n\nint do_trace1(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    if (pid == 12140)\n      event1.perf_submit(ctx, &result, sizeof(result));\n    else\n      event4.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n};\nint do_trace2(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    if (pid == 12140)\n      event2.perf_submit(ctx, &result, sizeof(result));\n    else\n      event5.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\nint do_trace3(struct pt_regs *ctx) {\n    u32 pid = bpf_get_current_pid_tgid();\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    if (pid == 12140)\n      event3.perf_submit(ctx, &result, sizeof(result));\n    else\n      event6.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n}\n'
33:   text = _assert_is_bytes(text)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12140/root/tmp/tmpgjup203d'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace1'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace2'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12141/root/tmp/tmpgjup203d'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace3'
33:   fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event1'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event2'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event3'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event4'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event5'
33:   name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event6'
33:   name = _assert_is_bytes(name)
33: .
33: ----------------------------------------------------------------------
33: Ran 1 test in 2.055s
33: 
33: OK
33/42 Test #33: py_test_usdt2 ....................   Passed    2.30 sec
test 34
      Start 34: py_test_usdt3

34: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt3" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt3.py"
34: Test timeout computed to be: 10000000
34: test:probe [sema 0x0]
34:   location #1 /proc/12165/root/tmp/tmppedd_ibk/liba.so 0x5c0
34:     argument #1 4 signed   bytes @ *(bp - 4)
34:   location #2 /proc/12165/root/tmp/tmppedd_ibk/libb.so 0x5c0
34:     argument #1 4 signed   bytes @ *(bp - 4)
34:   location #3 /proc/12165/root/tmp/tmppedd_ibk/a.out 0x40065d
34:     argument #1 4 signed   bytes @ *(bp - 4)
34: test_dup_name:probe [sema 0x0]
34:   location #1 /proc/12165/root/tmp/tmppedd_ibk/liba.so 0x5c1
34:     argument #1 4 signed   bytes @ *(bp - 4)
34:   location #2 /proc/12165/root/tmp/tmppedd_ibk/libb.so 0x5c1
34:     argument #1 4 signed   bytes @ *(bp - 4)
34:   location #3 /proc/12165/root/tmp/tmppedd_ibk/a.out 0x40065e
34:     argument #1 4 signed   bytes @ *(bp - 4)
34: libc:setjmp [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x36cc1
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ si
34:     argument #3 8 unsigned bytes @ ax
34: libc:longjmp [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x36da3
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ si
34:     argument #3 8 unsigned bytes @ dx
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x10b493
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ si
34:     argument #3 8 unsigned bytes @ dx
34: libc:longjmp_target [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x36dbf
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ ax
34:     argument #3 8 unsigned bytes @ dx
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x10b4af
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ ax
34:     argument #3 8 unsigned bytes @ dx
34: libc:memory_mallopt_arena_max [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7f783
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 32)
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x85dc9
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ *(&mp_ + 32)
34: libc:memory_mallopt_arena_test [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7f793
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 24)
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x85de1
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ *(&mp_ + 24)
34: libc:memory_tunable_tcache_max_bytes [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7f7ab
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 88)
34: libc:memory_tunable_tcache_count [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7f7e3
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 96)
34: libc:memory_tunable_tcache_unsorted_limit [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7f7f3
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 104)
34: libc:memory_mallopt_trim_threshold [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7fc03
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 0)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x85d60
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ *(&mp_ + 0)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_top_pad [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7fc23
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 8)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x85e90
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ *(&mp_ + 8)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_mmap_threshold [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7fc50
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ *(&mp_ + 16)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x85e6f
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ *(&mp_ + 16)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_mmap_max [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7fc73
34:     argument #1 4 signed   bytes @ ax
34:     argument #2 4 signed   bytes @ *(&mp_ + 44)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x85e40
34:     argument #1 4 signed   bytes @ bx
34:     argument #2 4 signed   bytes @ *(&mp_ + 44)
34:     argument #3 4 signed   bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_perturb [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7fc93
34:     argument #1 4 signed   bytes @ ax
34:     argument #2 4 signed   bytes @ *(&perturb_byte + 0)
34:   location #2 /proc/12165/root/usr/lib64/libc-2.27.so 0x85df0
34:     argument #1 4 signed   bytes @ bx
34:     argument #2 4 signed   bytes @ *(&perturb_byte + 0)
34: libc:memory_arena_reuse_free_list [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x7fe27
34:     argument #1 8 unsigned bytes @ bx
34: libc:memory_heap_new [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x802b9
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ bp
34: libc:memory_arena_reuse [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x808a1
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ bp
34: libc:memory_arena_reuse_wait [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x8091d
34:     argument #1 8 unsigned bytes @ dx
34:     argument #2 8 unsigned bytes @ dx
34:     argument #3 8 unsigned bytes @ bp
34: libc:memory_arena_new [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x80a84
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ r12
34: libc:memory_arena_retry [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x80c29
34:     argument #1 8 unsigned bytes @ si
34:     argument #2 8 unsigned bytes @ di
34: libc:memory_sbrk_less [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x8128f
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 signed   bytes @ bp
34: libc:memory_heap_free [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x81ab9
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ ax
34: libc:memory_heap_less [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x81d41
34:     argument #1 8 unsigned bytes @ bx
34:     argument #2 8 unsigned bytes @ r15
34: libc:memory_heap_more [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x81f96
34:     argument #1 8 unsigned bytes @ r9
34:     argument #2 8 unsigned bytes @ r8
34: libc:memory_sbrk_more [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x8230a
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 signed   bytes @ r12
34: libc:memory_malloc_retry [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x84890
34:     argument #1 8 unsigned bytes @ bp
34: libc:memory_memalign_retry [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x84b85
34:     argument #1 8 unsigned bytes @ bp
34:     argument #2 8 unsigned bytes @ bx
34: libc:memory_mallopt_free_dyn_thresholds [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x84cd8
34:     argument #1 8 unsigned bytes @ ax
34:     argument #2 8 unsigned bytes @ dx
34: libc:memory_realloc_retry [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x850e5
34:     argument #1 8 unsigned bytes @ bp
34:     argument #2 8 unsigned bytes @ bx
34: libc:memory_calloc_retry [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x85548
34:     argument #1 8 unsigned bytes @ bp
34: libc:memory_mallopt [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x85d24
34:     argument #1 4 signed   bytes @ bp
34:     argument #2 4 signed   bytes @ bx
34: libc:memory_mallopt_mxfast [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x85e16
34:     argument #1 4 signed   bytes @ bx
34:     argument #2 8 unsigned bytes @ *(&global_max_fast + 0)
34: libc:lll_lock_wait_private [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/libc-2.27.so 0x107504
34:     argument #1 8 unsigned bytes @ di
34: rtld:init_start [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x388f
34:     argument #1 4 signed   bytes @ 0
34:     argument #2 8 unsigned bytes @ bx
34: rtld:init_complete [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x3fe7
34:     argument #1 4 signed   bytes @ 0
34:     argument #2 8 unsigned bytes @ bx
34: rtld:map_failed [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x5bd6
34:     argument #1 8 signed   bytes @ *(sp + 72)
34:     argument #2 8 unsigned bytes @ bp
34: rtld:map_start [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x6002
34:     argument #1 8 signed   bytes @ *(bp + 40)
34:     argument #2 8 unsigned bytes @ bx
34: rtld:map_complete [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x1354c
34:     argument #1 8 signed   bytes @ *(r15 + 40)
34:     argument #2 8 unsigned bytes @ r14
34:     argument #3 8 unsigned bytes @ bx
34: rtld:reloc_start [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x13644
34:     argument #1 8 signed   bytes @ *(r15 + 40)
34:     argument #2 8 unsigned bytes @ *(bp - 64)
34: rtld:reloc_complete [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x139a8
34:     argument #1 8 signed   bytes @ *(r15 + 40)
34:     argument #2 8 unsigned bytes @ *(bp - 64)
34:     argument #3 8 unsigned bytes @ bx
34: rtld:unmap_start [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x144d7
34:     argument #1 8 signed   bytes @ r13
34:     argument #2 8 unsigned bytes @ r14
34: rtld:unmap_complete [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x14721
34:     argument #1 8 signed   bytes @ *(bp - 128)
34:     argument #2 8 unsigned bytes @ bx
34: rtld:setjmp [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x1ad9d
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ si
34:     argument #3 8 unsigned bytes @ ax
34: rtld:longjmp [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x1addd
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ si
34:     argument #3 8 unsigned bytes @ dx
34: rtld:longjmp_target [sema 0x0]
34:   location #1 /proc/12165/root/usr/lib64/ld-2.27.so 0x1adf9
34:     argument #1 8 unsigned bytes @ di
34:     argument #2 4 signed   bytes @ ax
34:     argument #3 8 unsigned bytes @ dx
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\nBPF_PERF_OUTPUT(event);\nint do_trace(struct pt_regs *ctx) {\n    int result = 0;\n    bpf_usdt_readarg(1, ctx, &result);\n    event.perf_submit(ctx, &result, sizeof(result));\n    return 0;\n};\n'
34:   text = _assert_is_bytes(text)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12165/root/tmp/tmppedd_ibk/liba.so'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace'
34:   fn_name = _assert_is_bytes(fn_name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12165/root/tmp/tmppedd_ibk/libb.so'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12165/root/tmp/tmppedd_ibk/a.out'
34:   name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event'
34:   name = _assert_is_bytes(name)
34: .
34: ----------------------------------------------------------------------
34: Ran 1 test in 1.157s
34: 
34: OK
34: temp directory: /tmp/tmppedd_ibk
34/42 Test #34: py_test_usdt3 ....................   Passed    1.38 sec
test 35
      Start 35: py_test_license

35: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_license" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py"
35: Test timeout computed to be: 10000000
35: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
35: #error BPF_LICENSE cannot be specified through cflags
35:  ^
35: 1 error generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n'
35:   text = _assert_is_bytes(text)
35: x/virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
35: #error BPF_LICENSE cannot be specified through cflags
35:  ^
35: 1 error generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE GPL\n'
35:   text = _assert_is_bytes(text)
35: x/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:633: DeprecationWarning: not a bytes object: 'read'
35:   name = _assert_is_bytes(name)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'license_program'
35:   fn_name = _assert_is_bytes(fn_name)
35: .bpf: Failed to load program: Invalid argument
35: 0: (bf) r6 = r1
35: 1: (85) call bpf_ktime_get_ns#5
35: cannot call GPL only function from proprietary program
35: 
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE \n'
35:   text = _assert_is_bytes(text)
35: x/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE Dual BSD/GPL\n'
35:   text = _assert_is_bytes(text)
35: ../virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
35: #error BPF_LICENSE cannot be specified through cflags
35:  ^
35: 1 error generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n    u64 ip;\n    u32 pid;\n    u32 uid;\n    char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n    struct key_t key = {};\n    u64 zero = 0 , *val;\n    u64 pid = bpf_get_current_pid_tgid();\n    u32 uid = bpf_get_current_uid_gid();\n\n    key.ip = PT_REGS_IP(ctx);\n    key.pid = pid & 0xFFFFFFFF;\n    key.uid = uid & 0xFFFFFFFF;\n    bpf_get_current_comm(&(key.comm), 16);\n\n    val = counts.lookup_or_try_init(&key, &zero);  // update counter\n    if (val) {\n        (*val)++;\n    }\n    return 0;\n}\n'
35:   text = _assert_is_bytes(text)
35: xbpf: Failed to load program: Invalid argument
35: 0: (bf) r6 = r1
35: 1: (85) call bpf_ktime_get_ns#5
35: cannot call GPL only function from proprietary program
35: 
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n    u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n    struct gpl_s data = {};\n    data.ts = bpf_ktime_get_ns();\n    events.perf_submit(ctx, &data, sizeof(data));\n    return 0;\n}\n\n#define BPF_LICENSE Proprietary license\n'
35:   text = _assert_is_bytes(text)
35: x/home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n    u64 ip;\n    u32 pid;\n    u32 uid;\n    char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n    struct key_t key = {};\n    u64 zero = 0 , *val;\n    u64 pid = bpf_get_current_pid_tgid();\n    u32 uid = bpf_get_current_uid_gid();\n\n    key.ip = PT_REGS_IP(ctx);\n    key.pid = pid & 0xFFFFFFFF;\n    key.uid = uid & 0xFFFFFFFF;\n    bpf_get_current_comm(&(key.comm), 16);\n\n    val = counts.lookup_or_try_init(&key, &zero);  // update counter\n    if (val) {\n        (*val)++;\n    }\n    return 0;\n}\n\n#define BPF_LICENSE Proprietary\n'
35:   text = _assert_is_bytes(text)
35: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n    u64 ip;\n    u32 pid;\n    u32 uid;\n    char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n    struct key_t key = {};\n    u64 zero = 0 , *val;\n    u64 pid = bpf_get_current_pid_tgid();\n    u32 uid = bpf_get_current_uid_gid();\n\n    key.ip = PT_REGS_IP(ctx);\n    key.pid = pid & 0xFFFFFFFF;\n    key.uid = uid & 0xFFFFFFFF;\n    bpf_get_current_comm(&(key.comm), 16);\n\n    val = counts.lookup_or_try_init(&key, &zero);  // update counter\n    if (val) {\n        (*val)++;\n    }\n    return 0;\n}\n\n#define BPF_LICENSE Proprietary license\n'
35:   text = _assert_is_bytes(text)
35: .
35: ----------------------------------------------------------------------
35: Ran 10 tests in 2.186s
35: 
35: OK (expected failures=5)
35/42 Test #35: py_test_license ..................   Passed    2.35 sec
test 36
      Start 36: py_test_free_bcc_memory

36: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_free_bcc_memory" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py"
36: Test timeout computed to be: 10000000
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: 'int test() { return 0; }'
36:   text = _assert_is_bytes(text)
36: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 12176 is still running
36:   ResourceWarning, source=self)
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:46: ResourceWarning: unclosed file <_io.BufferedReader name=3>
36:   [rss1, unit1] = self.getRssFile()
36: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 12177 is still running
36:   ResourceWarning, source=self)
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:53: ResourceWarning: unclosed file <_io.BufferedReader name=3>
36:   [rss2, unit2] = self.getRssFile()
36: .
36: ----------------------------------------------------------------------
36: Ran 1 test in 0.271s
36: 
36: OK
36: Before freeing llvm memory: RssFile:  b'55896' b'kB'
36: After  freeing llvm memory: RssFile:  b'54856' b'kB'
36/42 Test #36: py_test_free_bcc_memory ..........   Passed    0.44 sec
test 37
      Start 37: py_test_rlimit

37: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_rlimit" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_rlimit.py"
37: Test timeout computed to be: 10000000
37: could not open bpf map: unused, error: Operation not permitted
37: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\nBPF_HASH(unused, u64, u64, 65536);\nint test() { return 0; }\n'
37:   text = _assert_is_bytes(text)
37: .
37: ----------------------------------------------------------------------
37: Ran 1 test in 0.276s
37: 
37: OK
37/42 Test #37: py_test_rlimit ...................   Passed    0.45 sec
test 38
      Start 38: py_test_lpm_trie

38: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_lpm_trie" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_lpm_trie.py"
38: Test timeout computed to be: 10000000
38: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n        struct key_v4 {\n            u32 prefixlen;\n            u32 data[4];\n        };\n        BPF_LPM_TRIE(trie, struct key_v4, int, 16);\n        '
38:   text = _assert_is_bytes(text)
38: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'trie'
38:   name = _assert_is_bytes(name)
38: ./home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n        struct key_v6 {\n            u32 prefixlen;\n            u32 data[4];\n        };\n        BPF_LPM_TRIE(trie, struct key_v6, int, 16);\n        '
38:   text = _assert_is_bytes(text)
38: .
38: ----------------------------------------------------------------------
38: Ran 2 tests in 0.276s
38: 
38: OK
38/42 Test #38: py_test_lpm_trie .................   Passed    0.46 sec
test 39
      Start 39: lua_test_clang

39: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_clang" "sudo" "/usr/bin/luajit" "test_clang.lua"
39: Test timeout computed to be: 10000000
39: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh: line 38: 12187 Segmentation fault      sudo bash -c "PYTHONPATH=$PYTHONPATH PYTHON_TEST_LOGFILE=$PYTHON_TEST_LOGFILE LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
39: Failed
39/42 Test #39: lua_test_clang ...................***Failed    2.07 sec
test 40
      Start 40: lua_test_uprobes

40: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
40: Test timeout computed to be: 10000000
40: Python 2.7.15
40: Arena 0:
40: system bytes     =   18354176
40: in use bytes     =    1180032
40: Total (incl. mmap):
40: system bytes     =   18354176
40: in use bytes     =    1180032
40: max mmap regions =          7
40: max mmap bytes   =    2134016
40: ..
40: Ran 2 tests in 0.430 seconds, 2 successes, 0 failures
40: OK
40/42 Test #40: lua_test_uprobes .................   Passed    0.59 sec
test 41
      Start 41: lua_test_dump

41: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
41: Test timeout computed to be: 10000000
41: .
41: Ran 1 tests in 0.136 seconds, 1 successes, 0 failures
41: OK
41/42 Test #41: lua_test_dump ....................   Passed    0.21 sec
test 42
      Start 42: lua_test_standalone

42: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/lua/test_standalone.sh
42: Test timeout computed to be: 10000000
42: + cd src/lua
42: + [[ ! -x bcc-lua ]]
42: + echo 'bcc-lua not built --- skipping'
42: bcc-lua not built --- skipping
42: + exit 0
42/42 Test #42: lua_test_standalone ..............   Passed    0.00 sec

90% tests passed, 4 tests failed out of 42

Total Test time (real) = 401.60 sec

The following tests FAILED:
	 18 - py_test_clang (Failed)
	 19 - py_test_histogram (Failed)
	 30 - py_test_tools_smoke (Failed)
	 39 - lua_test_clang (Failed)
Errors while running CTest
Build step 'Execute shell' marked build as failure
Taking single-use slave fedora28-slave-765 offline.
Finished: FAILURE