Console Output

Skipping 421 KB.. Full Log
[ 81%] Built target bcc-static
[ 84%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_c_api.cc.o
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target test_static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 86%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
[ 86%] Linking CXX executable test_static
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_array_table.cc.o
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 86%] Built target test_static
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o
[ 89%] 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
[ 92%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
[ 92%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
[ 92%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_queuestack_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sock_table.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/utils.cc.o
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_parse_tracepoint.cc.o
[100%] Linking CXX executable test_libbcc
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[100%] Built target test_libbcc
make[1]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc'
+ ctest -V -D ExperimentalTest --no-compress-output
UpdateCTestConfiguration  from :/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Cannot find file: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
   Site: 
   Build name: (empty)
Create new tag: 20210814-0645 - Experimental
UpdateCTestConfiguration  from :/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Cannot find file: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Test project /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build
Constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
      Start  1: style-check

1: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/scripts/c-style-check.sh
1: Test timeout computed to be: 9.99988e+06
 1/47 Test  #1: style-check ......................   Passed    0.17 sec
test 2
      Start  2: c_test_static

2: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "c_test_static" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc/test_static"
2: Test timeout computed to be: 9.99988e+06
2: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -coverage-file /usr/src/linux-headers-4.4.0-116-generic/main.c -nostdsysteminc -nobuiltininc -resource-dir ../lib/clang/3.8.0 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/bpf_workaround.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc -D __BPF_TRACING__ -I arch/x86/include/ -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 KBUILD_MODNAME="bcc" -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/linux-headers-4.4.0-116-generic -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
2: #if defined(BPF_LICENSE)
2: #error BPF_LICENSE cannot be specified through cflags
2: #endif
2: #if !defined(CONFIG_CC_STACKPROTECTOR)
2: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
2:     || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
2:     || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
2: #define CONFIG_CC_STACKPROTECTOR
2: #endif
2: #endif
2: #define bpf_probe_read_kernel bpf_probe_read
2: #define bpf_probe_read_kernel_str bpf_probe_read_str
2: #define bpf_probe_read_user bpf_probe_read
2: #define bpf_probe_read_user_str bpf_probe_read_str
2: BPF_TABLE("array", int, int, stats, 10);
2: 
2: #include <bcc/footer.h>
2: Running from kernel directory at: /lib/modules/4.4.0-116-generic/build
 2/47 Test  #2: c_test_static ....................   Passed    1.04 sec
test 3
      Start  3: test_libbcc

3: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "c_test_all" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc/test_libbcc"
3: Test timeout computed to be: 9.99988e+06
3: prog tag mismatch 57cd311f2e27366b 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: Parse error:
3:     4@i%ra+1r
3: -------^
3: prog tag mismatch a04f5eef06a7f555 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: prog tag mismatch a04f5eef06a7f555 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: prog tag mismatch a04f5eef06a7f555 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
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/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:352
3: ...............................................................................
3: 
3: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:367: FAILED:
3:   REQUIRE( res.msg() == "" )
3: with expansion:
3:   "Unable to load USDT ruby:gc__mark__begin from binary  PID 7876 for probe
3:   on_event"
3:   ==
3:   ""
3: 
3: unshare: unrecognized option '--kill-child'
3: 
3: Usage:
3:  unshare [options] <program> [<argument>...]
3: 
3: Run a program with some namespaces unshared from the parent.
3: 
3: Options:
3:  -m, --mount[=<file>]      unshare mounts namespace
3:  -u, --uts[=<file>]        unshare UTS namespace (hostname etc)
3:  -i, --ipc[=<file>]        unshare System V IPC namespace
3:  -n, --net[=<file>]        unshare network namespace
3:  -p, --pid[=<file>]        unshare pid namespace
3:  -U, --user[=<file>]       unshare user namespace
3:  -f, --fork                fork before launching <program>
3:      --mount-proc[=<dir>]  mount proc filesystem first (implies --mount)
3:  -r, --map-root-user       map current user to root (implies --user)
3:      --propagation slave|shared|private|unchanged
3:                            modify mount propagation in mount namespace
3:  -s, --setgroups allow|deny  control the setgroups syscall in user namespaces
3: 
3:  -h, --help     display this help and exit
3:  -V, --version  output version information and exit
3: 
3: For more details see unshare(1).
3: -------------------------------------------------------------------------------
3: test probing running Ruby process in namespaces
3:   in separate mount namespace and separate PID namespace
3: -------------------------------------------------------------------------------
3: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:352
3: ...............................................................................
3: 
3: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:393: FAILED:
3:   REQUIRE( res.msg() == "" )
3: with expansion:
3:   "No valid Binary Path or PID provided"
3:   ==
3:   ""
3: 
3: ===============================================================================
3: test cases:  34 |  33 passed | 1 failed as expected
3: assertions: 519 | 517 passed | 2 failed as expected
3: 
 3/47 Test  #3: test_libbcc ......................   Passed    9.88 sec
test 4
      Start  4: py_test_stat1_b

4: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stat1_b" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py" "test_stat1.b" "proto.b"
4: Test timeout computed to be: 9.99988e+06
4: Actual changes:
4: tx-checksumming: off
4: 	tx-checksum-ip-generic: off
4: tcp-segmentation-offload: off
4: 	tx-tcp-segmentation: off [requested on]
4: 	tx-tcp-ecn-segmentation: off [requested on]
4: 	tx-tcp6-segmentation: off [requested on]
4: udp-fragmentation-offload: off [requested on]
4: Traceback (most recent call last):
4:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py", line 10, in <module>
4:     from bcc import BPF
4:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
4:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
4:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
4:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
4:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
4:     self.size = 120  # PERF_ATTR_SIZE_VER6
4:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
4:     super(perf_event_attr, self).__setattr__(key, value)
4: NameError: global name 'perf_event_attr' is not defined
4: Failed
 4/47 Test  #4: py_test_stat1_b ..................***Failed    0.71 sec
test 5
      Start  5: py_test_bpf_log

5: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_bpf_prog" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_bpf_log.py"
5: Test timeout computed to be: 9.99988e+06
5: Traceback (most recent call last):
5:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_bpf_log.py", line 5, in <module>
5:     from bcc import BPF
5:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
5:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
5:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
5:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
5:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
5:     self.size = 120  # PERF_ATTR_SIZE_VER6
5:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
5:     super(perf_event_attr, self).__setattr__(key, value)
5: NameError: global name 'perf_event_attr' is not defined
5: Failed
 5/47 Test  #5: py_test_bpf_log ..................***Failed    0.04 sec
test 6
      Start  6: py_test_stat1_c

6: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stat1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py" "test_stat1.c"
6: Test timeout computed to be: 9.99988e+06
6: Actual changes:
6: tx-checksumming: off
6: 	tx-checksum-ip-generic: off
6: tcp-segmentation-offload: off
6: 	tx-tcp-segmentation: off [requested on]
6: 	tx-tcp-ecn-segmentation: off [requested on]
6: 	tx-tcp6-segmentation: off [requested on]
6: udp-fragmentation-offload: off [requested on]
6: Traceback (most recent call last):
6:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py", line 10, in <module>
6:     from bcc import BPF
6:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
6:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
6:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
6:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
6:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
6:     self.size = 120  # PERF_ATTR_SIZE_VER6
6:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
6:     super(perf_event_attr, self).__setattr__(key, value)
6: NameError: global name 'perf_event_attr' is not defined
6: Failed
 6/47 Test  #6: py_test_stat1_c ..................***Failed    0.29 sec
test 7
      Start  7: py_test_xlate1_c

7: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_xlate1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_xlate1.py" "test_xlate1.c"
7: Test timeout computed to be: 9.99988e+06
7: Actual changes:
7: tx-checksumming: off
7: 	tx-checksum-ip-generic: off
7: tcp-segmentation-offload: off
7: 	tx-tcp-segmentation: off [requested on]
7: 	tx-tcp-ecn-segmentation: off [requested on]
7: 	tx-tcp6-segmentation: off [requested on]
7: udp-fragmentation-offload: off [requested on]
7: Traceback (most recent call last):
7:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_xlate1.py", line 6, in <module>
7:     from bcc import BPF
7:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
7:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
7:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
7:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
7:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
7:     self.size = 120  # PERF_ATTR_SIZE_VER6
7:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
7:     super(perf_event_attr, self).__setattr__(key, value)
7: NameError: global name 'perf_event_attr' is not defined
7: Failed
 7/47 Test  #7: py_test_xlate1_c .................***Failed    0.33 sec
test 8
      Start  8: py_test_call1

8: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_call1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_call1.py" "test_call1.c"
8: Test timeout computed to be: 9.99988e+06
8: Actual changes:
8: tx-checksumming: off
8: 	tx-checksum-ip-generic: off
8: tcp-segmentation-offload: off
8: 	tx-tcp-segmentation: off [requested on]
8: 	tx-tcp-ecn-segmentation: off [requested on]
8: 	tx-tcp6-segmentation: off [requested on]
8: udp-fragmentation-offload: off [requested on]
8: Traceback (most recent call last):
8:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_call1.py", line 7, in <module>
8:     from bcc import BPF
8:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
8:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
8:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
8:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
8:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
8:     self.size = 120  # PERF_ATTR_SIZE_VER6
8:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
8:     super(perf_event_attr, self).__setattr__(key, value)
8: NameError: global name 'perf_event_attr' is not defined
8: Failed
 8/47 Test  #8: py_test_call1 ....................***Failed    0.33 sec
test 9
      Start  9: py_test_trace1

9: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace1" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace1.py" "test_trace1.b" "kprobe.b"
9: Test timeout computed to be: 9.99988e+06
9: Traceback (most recent call last):
9:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace1.py", line 6, in <module>
9:     from bcc import BPF
9:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
9:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
9:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
9:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
9:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
9:     self.size = 120  # PERF_ATTR_SIZE_VER6
9:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
9:     super(perf_event_attr, self).__setattr__(key, value)
9: NameError: global name 'perf_event_attr' is not defined
9: Failed
 9/47 Test  #9: py_test_trace1 ...................***Failed    0.04 sec
test 10
      Start 10: py_test_trace2

10: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace2.py"
10: Test timeout computed to be: 9.99988e+06
10: Traceback (most recent call last):
10:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace2.py", line 6, in <module>
10:     from bcc import BPF
10:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
10:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
10:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
10:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
10:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
10:     self.size = 120  # PERF_ATTR_SIZE_VER6
10:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
10:     super(perf_event_attr, self).__setattr__(key, value)
10: NameError: global name 'perf_event_attr' is not defined
10: Failed
10/47 Test #10: py_test_trace2 ...................***Failed    0.04 sec
test 11
      Start 11: py_test_trace3_c

11: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace3_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace3.py" "test_trace3.c"
11: Test timeout computed to be: 9.99988e+06
11: Traceback (most recent call last):
11:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace3.py", line 6, in <module>
11:     from bcc import BPF
11:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
11:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
11:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
11:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
11:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
11:     self.size = 120  # PERF_ATTR_SIZE_VER6
11:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
11:     super(perf_event_attr, self).__setattr__(key, value)
11: NameError: global name 'perf_event_attr' is not defined
11: Failed
11/47 Test #11: py_test_trace3_c .................***Failed    0.04 sec
test 12
      Start 12: py_test_trace4

12: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace4" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace4.py"
12: Test timeout computed to be: 9.99988e+06
12: Traceback (most recent call last):
12:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace4.py", line 5, in <module>
12:     from bcc import BPF
12:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
12:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
12:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
12:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
12:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
12:     self.size = 120  # PERF_ATTR_SIZE_VER6
12:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
12:     super(perf_event_attr, self).__setattr__(key, value)
12: NameError: global name 'perf_event_attr' is not defined
12: Failed
12/47 Test #12: py_test_trace4 ...................***Failed    0.04 sec
test 13
      Start 13: py_test_trace_maxactive

13: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace_maxactive" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace_maxactive.py"
13: Test timeout computed to be: 9.99988e+06
13: Traceback (most recent call last):
13:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace_maxactive.py", line 5, in <module>
13:     from bcc import BPF
13:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
13:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
13:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
13:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
13:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
13:     self.size = 120  # PERF_ATTR_SIZE_VER6
13:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
13:     super(perf_event_attr, self).__setattr__(key, value)
13: NameError: global name 'perf_event_attr' is not defined
13: Failed
13/47 Test #13: py_test_trace_maxactive ..........***Failed    0.04 sec
test 14
      Start 14: py_test_probe_count

14: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_probe_count" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_probe_count.py"
14: Test timeout computed to be: 9.99988e+06
14: Traceback (most recent call last):
14:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_probe_count.py", line 5, in <module>
14:     from bcc import BPF, _get_num_open_probes, TRACEFS
14:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
14:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
14:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
14:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
14:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
14:     self.size = 120  # PERF_ATTR_SIZE_VER6
14:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
14:     super(perf_event_attr, self).__setattr__(key, value)
14: NameError: global name 'perf_event_attr' is not defined
14: Failed
14/47 Test #14: py_test_probe_count ..............***Failed    0.04 sec
test 15
      Start 15: py_test_debuginfo

15: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_debuginfo" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_debuginfo.py"
15: Test timeout computed to be: 9.99988e+06
15: Traceback (most recent call last):
15:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_debuginfo.py", line 7, in <module>
15:     from bcc import SymbolCache, BPF
15:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
15:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
15:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
15:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
15:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
15:     self.size = 120  # PERF_ATTR_SIZE_VER6
15:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
15:     super(perf_event_attr, self).__setattr__(key, value)
15: NameError: global name 'perf_event_attr' is not defined
15: Failed
15/47 Test #15: py_test_debuginfo ................***Failed    0.04 sec
test 16
      Start 16: py_test_brb

16: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_brb_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb.py" "test_brb.c"
16: Test timeout computed to be: 9.99988e+06
16: Traceback (most recent call last):
16:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb.py", line 66, in <module>
16:     from bcc import BPF
16:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
16:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
16:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
16:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
16:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
16:     self.size = 120  # PERF_ATTR_SIZE_VER6
16:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
16:     super(perf_event_attr, self).__setattr__(key, value)
16: NameError: global name 'perf_event_attr' is not defined
16: Failed
16/47 Test #16: py_test_brb ......................***Failed    0.05 sec
test 17
      Start 17: py_test_brb2

17: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_brb2_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb2.py" "test_brb2.c"
17: Test timeout computed to be: 9.99988e+06
17: Traceback (most recent call last):
17:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb2.py", line 58, in <module>
17:     from bcc import BPF
17:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
17:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
17:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
17:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
17:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
17:     self.size = 120  # PERF_ATTR_SIZE_VER6
17:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
17:     super(perf_event_attr, self).__setattr__(key, value)
17: NameError: global name 'perf_event_attr' is not defined
17: Failed
17/47 Test #17: py_test_brb2 .....................***Failed    0.04 sec
test 18
      Start 18: py_test_clang

18: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_clang" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py"
18: Test timeout computed to be: 9.99988e+06
18: Traceback (most recent call last):
18:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 5, in <module>
18:     from bcc import BPF
18:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
18:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
18:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
18:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
18:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
18:     self.size = 120  # PERF_ATTR_SIZE_VER6
18:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
18:     super(perf_event_attr, self).__setattr__(key, value)
18: NameError: global name 'perf_event_attr' is not defined
18: Failed
18/47 Test #18: py_test_clang ....................***Failed    0.04 sec
test 19
      Start 19: py_test_histogram

19: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_histogram" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py"
19: Test timeout computed to be: 9.99988e+06
19: Traceback (most recent call last):
19:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py", line 5, in <module>
19:     from bcc import BPF
19:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
19:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
19:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
19:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
19:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
19:     self.size = 120  # PERF_ATTR_SIZE_VER6
19:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
19:     super(perf_event_attr, self).__setattr__(key, value)
19: NameError: global name 'perf_event_attr' is not defined
19: Failed
19/47 Test #19: py_test_histogram ................***Failed    0.04 sec
test 20
      Start 20: py_array

20: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_array" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_array.py"
20: Test timeout computed to be: 9.99988e+06
20: Traceback (most recent call last):
20:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_array.py", line 5, in <module>
20:     from bcc import BPF
20:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
20:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
20:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
20:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
20:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
20:     self.size = 120  # PERF_ATTR_SIZE_VER6
20:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
20:     super(perf_event_attr, self).__setattr__(key, value)
20: NameError: global name 'perf_event_attr' is not defined
20: Failed
20/47 Test #20: py_array .........................***Failed    0.03 sec
test 21
      Start 21: py_uprobes

21: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_uprobes" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_uprobes.py"
21: Test timeout computed to be: 9.99988e+06
21: Traceback (most recent call last):
21:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_uprobes.py", line 5, in <module>
21:     import bcc
21:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
21:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
21:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
21:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
21:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
21:     self.size = 120  # PERF_ATTR_SIZE_VER6
21:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
21:     super(perf_event_attr, self).__setattr__(key, value)
21: NameError: global name 'perf_event_attr' is not defined
21: Failed
21/47 Test #21: py_uprobes .......................***Failed    0.04 sec
test 22
      Start 22: py_uprobes_2

22: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_uprobes2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_uprobes2.py"
22: Test timeout computed to be: 9.99988e+06
22: Traceback (most recent call last):
22:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_uprobes2.py", line 8, in <module>
22:     from bcc import BPF
22:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
22:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
22:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
22:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
22:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
22:     self.size = 120  # PERF_ATTR_SIZE_VER6
22:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
22:     super(perf_event_attr, self).__setattr__(key, value)
22: NameError: global name 'perf_event_attr' is not defined
22: Failed
22/47 Test #22: py_uprobes_2 .....................***Failed    0.04 sec
test 23
      Start 23: py_test_stackid

23: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stackid" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stackid.py"
23: Test timeout computed to be: 9.99988e+06
23: Traceback (most recent call last):
23:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stackid.py", line 5, in <module>
23:     import bcc
23:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
23:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
23:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
23:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
23:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
23:     self.size = 120  # PERF_ATTR_SIZE_VER6
23:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
23:     super(perf_event_attr, self).__setattr__(key, value)
23: NameError: global name 'perf_event_attr' is not defined
23: Failed
23/47 Test #23: py_test_stackid ..................***Failed    0.04 sec
test 24
      Start 24: py_test_tracepoint

24: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tracepoint" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tracepoint.py"
24: Test timeout computed to be: 9.99988e+06
24: Traceback (most recent call last):
24:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tracepoint.py", line 5, in <module>
24:     import bcc
24:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
24:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
24:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
24:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
24:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
24:     self.size = 120  # PERF_ATTR_SIZE_VER6
24:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
24:     super(perf_event_attr, self).__setattr__(key, value)
24: NameError: global name 'perf_event_attr' is not defined
24: Failed
24/47 Test #24: py_test_tracepoint ...............***Failed    0.04 sec
test 25
      Start 25: py_test_perf_event

25: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_perf_event" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_perf_event.py"
25: Test timeout computed to be: 9.99988e+06
25: Traceback (most recent call last):
25:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_perf_event.py", line 5, in <module>
25:     import bcc
25:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
25:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
25:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
25:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
25:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
25:     self.size = 120  # PERF_ATTR_SIZE_VER6
25:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
25:     super(perf_event_attr, self).__setattr__(key, value)
25: NameError: global name 'perf_event_attr' is not defined
25: Failed
25/47 Test #25: py_test_perf_event ...............***Failed    0.04 sec
test 26
      Start 26: py_test_attach_perf_event

26: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_attach_perf_event" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_attach_perf_event.py"
26: Test timeout computed to be: 9.99988e+06
26: Traceback (most recent call last):
26:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_attach_perf_event.py", line 5, in <module>
26:     import bcc
26:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
26:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
26:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
26:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
26:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
26:     self.size = 120  # PERF_ATTR_SIZE_VER6
26:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
26:     super(perf_event_attr, self).__setattr__(key, value)
26: NameError: global name 'perf_event_attr' is not defined
26: Failed
26/47 Test #26: py_test_attach_perf_event ........***Failed    0.04 sec
test 27
      Start 27: py_test_utils

27: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_utils" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_utils.py"
27: Test timeout computed to be: 9.99988e+06
27: Traceback (most recent call last):
27:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_utils.py", line 5, in <module>
27:     from bcc.utils import get_online_cpus, detect_language
27:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
27:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
27:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
27:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
27:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
27:     self.size = 120  # PERF_ATTR_SIZE_VER6
27:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
27:     super(perf_event_attr, self).__setattr__(key, value)
27: NameError: global name 'perf_event_attr' is not defined
27: Failed
27/47 Test #27: py_test_utils ....................***Failed    0.04 sec
test 28
      Start 28: py_test_percpu

28: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_percpu" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_percpu.py"
28: Test timeout computed to be: 9.99988e+06
28: Traceback (most recent call last):
28:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_percpu.py", line 7, in <module>
28:     from bcc import BPF
28:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
28:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
28:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
28:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
28:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
28:     self.size = 120  # PERF_ATTR_SIZE_VER6
28:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
28:     super(perf_event_attr, self).__setattr__(key, value)
28: NameError: global name 'perf_event_attr' is not defined
28: Failed
28/47 Test #28: py_test_percpu ...................***Failed    0.16 sec
test 29
      Start 29: py_test_dump_func

29: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_dump_func" "simple" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_dump_func.py"
29: Test timeout computed to be: 9.99988e+06
29: Traceback (most recent call last):
29:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_dump_func.py", line 7, in <module>
29:     from bcc import BPF
29:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
29:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
29:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
29:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
29:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
29:     self.size = 120  # PERF_ATTR_SIZE_VER6
29:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
29:     super(perf_event_attr, self).__setattr__(key, value)
29: NameError: global name 'perf_event_attr' is not defined
29: Failed
29/47 Test #29: py_test_dump_func ................***Failed    0.03 sec
test 30
      Start 30: py_test_disassembler

30: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_disassembler.py"
30: Test timeout computed to be: 9.99988e+06
30: Traceback (most recent call last):
30:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_disassembler.py", line 7, in <module>
30:     from bcc import BPF
30:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
30:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
30:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
30:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
30:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
30:     self.size = 120  # PERF_ATTR_SIZE_VER6
30:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
30:     super(perf_event_attr, self).__setattr__(key, value)
30: NameError: global name 'perf_event_attr' is not defined
30: Failed
30/47 Test #30: py_test_disassembler .............***Failed    0.04 sec
test 31
      Start 31: py_test_tools_smoke

31: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py"
31: Test timeout computed to be: 9.99988e+06
31: Traceback (most recent call last):
31:   File "../../tools/argdist.py", line 12, in <module>
31:     from bcc import BPF, USDT, StrcmpRewrite
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: CRITICAL:root:WARNING! Test test_argdist (__main__.SmokeTests) failed, but marked as passed because it is decorated with @mayFail.
31: CRITICAL:root:	The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
31: CRITICAL:root:	The failure was: "0 != 1"
31: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/utils.py", line 35, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 71, in test_argdist
31:     self.run_with_duration("argdist.py -v -C 'p::do_sys_open()' -n 1 -i 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31:   File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
31:     assertion_func(first, second, msg=msg)
31:   File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
31:     raise self.failureException(msg)
31: AssertionError: 0 != 1
31: "
31: .Traceback (most recent call last):
31:   File "../../tools/bashreadline.py", line 20, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/bindsnoop.py", line 30, in <module>
31:     from bcc import BPF, DEBUG_SOURCE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/biolatency.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/biosnoop.py", line 17, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/biotop.py", line 18, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/biotop.py", line 18, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/bpflist.py", line 15, in <module>
31:     from bcc import BPF, USDT
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/btrfsdist.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/btrfsslower.py", line 28, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/cachestat.py", line 21, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: F.Traceback (most recent call last):
31:   File "../../tools/capable.py", line 17, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FsTraceback (most recent call last):
31:   File "../../tools/cpudist.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: Fs..Traceback (most recent call last):
31:   File "../../tools/dcsnoop.py", line 24, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/dcstat.py", line 19, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FsssTraceback (most recent call last):
31:   File "../../tools/ext4dist.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/ext4slower.py", line 29, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/filelife.py", line 21, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/fileslower.py", line 32, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/filetop.py", line 17, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/funccount.py", line 20, in <module>
31:     from bcc import ArgString, BPF, USDT
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/funclatency.py", line 27, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/funcslower.py", line 25, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/gethostlatency.py", line 19, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FsTraceback (most recent call last):
31:   File "../../tools/killsnoop.py", line 16, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FssTraceback (most recent call last):
31:   File "../../tools/mdflush.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: Fss...sssTraceback (most recent call last):
31:   File "../../tools/opensnoop.py", line 19, in <module>
31:     from bcc import ArgString, BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/pidpersec.py", line 16, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FsTraceback (most recent call last):
31:   File "../../tools/runqlat.py", line 28, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FssTraceback (most recent call last):
31:   File "../../tools/slabratetop.py", line 19, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FssTraceback (most recent call last):
31:   File "../../tools/solisten.py", line 24, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/sslsniff.py", line 17, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: CRITICAL:root:WARNING! Test test_sslsniff (__main__.SmokeTests) failed, but marked as passed because it is decorated with @mayFail.
31: CRITICAL:root:	The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
31: CRITICAL:root:	The failure was: "rc was 1"
31: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/utils.py", line 35, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 307, in test_sslsniff
31:     self.run_with_int("sslsniff.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31:   File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
31:     raise self.failureException(msg)
31: AssertionError: rc was 1
31: "
31: .sTraceback (most recent call last):
31:   File "../../tools/statsnoop.py", line 16, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/syncsnoop.py", line 17, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FsTraceback (most recent call last):
31:   File "../../tools/tcpaccept.py", line 19, in <module>
31:     from bcc.containers import filter_by_containers
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/tcpconnect.py", line 25, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/tcpconnlat.py", line 19, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FsTraceback (most recent call last):
31:   File "../../tools/tcplife.py", line 26, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/tcpretrans.py", line 19, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/tcptop.py", line 28, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/tplist.py", line 16, in <module>
31:     from bcc import USDT
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/trace.py", line 14, in <module>
31:     from bcc import BPF, USDT, StrcmpRewrite
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/ttysnoop.py", line 18, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: Fs..Traceback (most recent call last):
31:   File "../../tools/lib/uobjnew.py", line 16, in <module>
31:     from bcc import BPF, USDT, utils
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/lib/ustat.py", line 23, in <module>
31:     from bcc import BPF, USDT, USDTException
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/lib/uthreads.py", line 16, in <module>
31:     from bcc import BPF, USDT, utils
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/vfscount.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: FTraceback (most recent call last):
31:   File "../../tools/vfsstat.py", line 17, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
31:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
31:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
31:     self.size = 120  # PERF_ATTR_SIZE_VER6
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
31:     super(perf_event_attr, self).__setattr__(key, value)
31: NameError: global name 'perf_event_attr' is not defined
31: Fs....
31: ======================================================================
31: FAIL: test_bashreadline (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 75, in test_bashreadline
31:     self.run_with_int("bashreadline.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_bindsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 79, in test_bindsnoop
31:     self.run_with_int("bindsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_biolatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 82, in test_biolatency
31:     self.run_with_duration("biolatency.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_biosnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 86, in test_biosnoop
31:     self.run_with_int("biosnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_biotop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 89, in test_biotop
31:     self.run_with_duration("biotop.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_bitesize (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 92, in test_bitesize
31:     self.run_with_int("biotop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_bpflist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 95, in test_bpflist
31:     self.run_with_duration("bpflist.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_btrfsdist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 99, in test_btrfsdist
31:     self.run_with_duration("btrfsdist.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_btrfsslower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 104, in test_btrfsslower
31:     self.run_with_int("btrfsslower.py", allow_early=True)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_cachestat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 107, in test_cachestat
31:     self.run_with_duration("cachestat.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_capable (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 117, in test_capable
31:     self.run_with_int("capable.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_cpudist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 120, in test_cpudist
31:     self.run_with_duration("cpudist.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_dcsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 144, in test_dcsnoop
31:     self.run_with_int("dcsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_dcstat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 147, in test_dcstat
31:     self.run_with_duration("dcstat.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_ext4dist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 166, in test_ext4dist
31:     self.run_with_duration("ext4dist.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_ext4slower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 170, in test_ext4slower
31:     self.run_with_int("ext4slower.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_filelife (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 174, in test_filelife
31:     self.run_with_int("filelife.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_fileslower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 178, in test_fileslower
31:     self.run_with_int("fileslower.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_filetop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 181, in test_filetop
31:     self.run_with_duration("filetop.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_funccount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 184, in test_funccount
31:     self.run_with_int("funccount.py __kmalloc -i 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_funclatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 188, in test_funclatency
31:     self.run_with_int("funclatency.py __kmalloc -i 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_funcslower (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 192, in test_funcslower
31:     self.run_with_int("funcslower.py __kmalloc")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_gethostlatency (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 196, in test_gethostlatency
31:     self.run_with_int("gethostlatency.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_killsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 211, in test_killsnoop
31:     self.run_with_int("killsnoop.py", kill=True)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_mdflush (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 224, in test_mdflush
31:     self.run_with_int("mdflush.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_opensnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 268, in test_opensnoop
31:     self.run_with_int("opensnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_pidpersec (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 271, in test_pidpersec
31:     self.run_with_int("pidpersec.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_runqlat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 278, in test_runqlat
31:     self.run_with_duration("runqlat.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_slabratetop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 293, in test_slabratetop
31:     self.run_with_duration("slabratetop.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_solisten (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 302, in test_solisten
31:     self.run_with_int("solisten.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_statsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 315, in test_statsnoop
31:     self.run_with_int("statsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_syncsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 319, in test_syncsnoop
31:     self.run_with_int("syncsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcpaccept (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 327, in test_tcpaccept
31:     self.run_with_int("tcpaccept.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcpconnect (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 331, in test_tcpconnect
31:     self.run_with_int("tcpconnect.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcpconnlat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 335, in test_tcpconnlat
31:     self.run_with_int("tcpconnlat.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcplife (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 339, in test_tcplife
31:     self.run_with_int("tcplife.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcpretrans (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 343, in test_tcpretrans
31:     self.run_with_int("tcpretrans.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_tcptop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 351, in test_tcptop
31:     self.run_with_duration("tcptop.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_tplist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 354, in test_tplist
31:     self.run_with_duration("tplist.py -p %d" % os.getpid())
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_trace (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 358, in test_trace
31:     self.run_with_int("trace.py do_sys_open")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_ttysnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 362, in test_ttysnoop
31:     self.run_with_int("ttysnoop.py /dev/console")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_uobjnew (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 383, in test_uobjnew
31:     self.run_with_int("cobjnew.sh %d" % os.getpid())
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_ustat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 387, in test_ustat
31:     self.run_with_duration("lib/ustat.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ======================================================================
31: FAIL: test_uthreads (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 391, in test_uthreads
31:     self.run_with_int("lib/uthreads.py %d" % os.getpid())
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_vfscount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 394, in test_vfscount
31:     self.run_with_int("vfscount.py", timeout=15, kill_timeout=15)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 53, in run_with_int
31:     or (rc == 137 and kill), "rc was %d" % rc)
31: AssertionError: rc was 1
31: 
31: ======================================================================
31: FAIL: test_vfsstat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 397, in test_vfsstat
31:     self.run_with_duration("vfsstat.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 33, in run_with_duration
31:     (timeout, full_command), shell=True))
31: AssertionError: 0 != 1
31: 
31: ----------------------------------------------------------------------
31: Ran 83 tests in 1.547s
31: 
31: FAILED (failures=46, skipped=23)
31: Failed
31/47 Test #31: py_test_tools_smoke ..............***Failed    2.40 sec
test 32
      Start 32: py_test_tools_memleak

32: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_memleak.py"
32: Test timeout computed to be: 9.99988e+06
32: ssssssss
32: ----------------------------------------------------------------------
32: Ran 8 tests in 0.077s
32: 
32: OK (skipped=8)
32/47 Test #32: py_test_tools_memleak ............   Passed    0.16 sec
test 33
      Start 33: py_test_usdt

33: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt.py"
33: Test timeout computed to be: 9.99988e+06
33: Traceback (most recent call last):
33:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt.py", line 9, in <module>
33:     from bcc import BPF, USDT
33:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
33:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
33:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
33:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
33:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
33:     self.size = 120  # PERF_ATTR_SIZE_VER6
33:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
33:     super(perf_event_attr, self).__setattr__(key, value)
33: NameError: global name 'perf_event_attr' is not defined
33: Failed
33/47 Test #33: py_test_usdt .....................***Failed    0.04 sec
test 34
      Start 34: py_test_usdt2

34: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt2.py"
34: Test timeout computed to be: 9.99988e+06
34: Traceback (most recent call last):
34:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt2.py", line 9, in <module>
34:     from bcc import BPF, USDT
34:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
34:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
34:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
34:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
34:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
34:     self.size = 120  # PERF_ATTR_SIZE_VER6
34:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
34:     super(perf_event_attr, self).__setattr__(key, value)
34: NameError: global name 'perf_event_attr' is not defined
34: Failed
34/47 Test #34: py_test_usdt2 ....................***Failed    0.04 sec
test 35
      Start 35: py_test_usdt3

35: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt3" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt3.py"
35: Test timeout computed to be: 9.99988e+06
35: Traceback (most recent call last):
35:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt3.py", line 9, in <module>
35:     from bcc import BPF, USDT
35:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
35:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
35:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
35:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
35:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
35:     self.size = 120  # PERF_ATTR_SIZE_VER6
35:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
35:     super(perf_event_attr, self).__setattr__(key, value)
35: NameError: global name 'perf_event_attr' is not defined
35: Failed
35/47 Test #35: py_test_usdt3 ....................***Failed    0.04 sec
test 36
      Start 36: py_test_license

36: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_license" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py"
36: Test timeout computed to be: 9.99988e+06
36: Traceback (most recent call last):
36:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 6, in <module>
36:     from bcc import BPF
36:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
36:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
36:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
36:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
36:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
36:     self.size = 120  # PERF_ATTR_SIZE_VER6
36:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
36:     super(perf_event_attr, self).__setattr__(key, value)
36: NameError: global name 'perf_event_attr' is not defined
36: Failed
36/47 Test #36: py_test_license ..................***Failed    0.04 sec
test 37
      Start 37: py_test_free_bcc_memory

37: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_free_bcc_memory" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_free_bcc_memory.py"
37: Test timeout computed to be: 9.99988e+06
37: Traceback (most recent call last):
37:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_free_bcc_memory.py", line 9, in <module>
37:     from bcc import BPF
37:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
37:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
37:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
37:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
37:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
37:     self.size = 120  # PERF_ATTR_SIZE_VER6
37:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
37:     super(perf_event_attr, self).__setattr__(key, value)
37: NameError: global name 'perf_event_attr' is not defined
37: Failed
37/47 Test #37: py_test_free_bcc_memory ..........***Failed    0.04 sec
test 38
      Start 38: py_test_rlimit

38: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_rlimit" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_rlimit.py"
38: Test timeout computed to be: 9.99988e+06
38: Traceback (most recent call last):
38:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_rlimit.py", line 9, in <module>
38:     from bcc import BPF
38:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
38:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
38:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
38:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
38:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
38:     self.size = 120  # PERF_ATTR_SIZE_VER6
38:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
38:     super(perf_event_attr, self).__setattr__(key, value)
38: NameError: global name 'perf_event_attr' is not defined
38: Failed
38/47 Test #38: py_test_rlimit ...................***Failed    0.04 sec
test 39
      Start 39: py_test_lpm_trie

39: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_lpm_trie" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_lpm_trie.py"
39: Test timeout computed to be: 9.99988e+06
39: Traceback (most recent call last):
39:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_lpm_trie.py", line 9, in <module>
39:     from bcc import BPF
39:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
39:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
39:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
39:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
39:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
39:     self.size = 120  # PERF_ATTR_SIZE_VER6
39:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
39:     super(perf_event_attr, self).__setattr__(key, value)
39: NameError: global name 'perf_event_attr' is not defined
39: Failed
39/47 Test #39: py_test_lpm_trie .................***Failed    0.04 sec
test 40
      Start 40: py_ringbuf

40: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_ringbuf" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_ringbuf.py"
40: Test timeout computed to be: 9.99988e+06
40: Traceback (most recent call last):
40:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_ringbuf.py", line 5, in <module>
40:     from bcc import BPF
40:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
40:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
40:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
40:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
40:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
40:     self.size = 120  # PERF_ATTR_SIZE_VER6
40:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
40:     super(perf_event_attr, self).__setattr__(key, value)
40: NameError: global name 'perf_event_attr' is not defined
40: Failed
40/47 Test #40: py_ringbuf .......................***Failed    0.04 sec
test 41
      Start 41: py_queuestack

41: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_queuestack" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_queuestack.py"
41: Test timeout computed to be: 9.99988e+06
41: Traceback (most recent call last):
41:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_queuestack.py", line 9, in <module>
41:     from bcc import BPF
41:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
41:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
41:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
41:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
41:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
41:     self.size = 120  # PERF_ATTR_SIZE_VER6
41:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
41:     super(perf_event_attr, self).__setattr__(key, value)
41: NameError: global name 'perf_event_attr' is not defined
41: Failed
41/47 Test #41: py_queuestack ....................***Failed    0.04 sec
test 42
      Start 42: py_test_map_batch_ops

42: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_map_batch_ops" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_map_batch_ops.py"
42: Test timeout computed to be: 9.99988e+06
42: Traceback (most recent call last):
42:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_map_batch_ops.py", line 10, in <module>
42:     from bcc import BPF
42:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
42:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
42:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
42:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
42:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
42:     self.size = 120  # PERF_ATTR_SIZE_VER6
42:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
42:     super(perf_event_attr, self).__setattr__(key, value)
42: NameError: global name 'perf_event_attr' is not defined
42: Failed
42/47 Test #42: py_test_map_batch_ops ............***Failed    0.04 sec
test 43
      Start 43: py_test_map_in_map

43: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_map_in_map" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_map_in_map.py"
43: Test timeout computed to be: 9.99988e+06
43: Traceback (most recent call last):
43:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_map_in_map.py", line 9, in <module>
43:     from bcc import BPF
43:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
43:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
43:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
43:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
43:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
43:     self.size = 120  # PERF_ATTR_SIZE_VER6
43:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
43:     super(perf_event_attr, self).__setattr__(key, value)
43: NameError: global name 'perf_event_attr' is not defined
43: Failed
43/47 Test #43: py_test_map_in_map ...............***Failed    0.04 sec
test 44
      Start 44: lua_test_clang

44: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_clang" "sudo" "/usr/bin/luajit" "test_clang.lua"
44: Test timeout computed to be: 9.99988e+06
44: /virtual/main.c:1:30: error: expected expression
44: int failure(void *ctx) { if (); return 0; }
44:                              ^
44: 1 error generated.
44: ....................
44: Ran 20 tests in 10.089 seconds, 20 successes, 0 failures
44: OK
44/47 Test #44: lua_test_clang ...................   Passed   12.50 sec
test 45
      Start 45: lua_test_uprobes

45: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
45: Test timeout computed to be: 9.99988e+06
45: Python 2.7.12
45: Arena 0:
45: system bytes     =   23429120
45: in use bytes     =    1009600
45: Total (incl. mmap):
45: system bytes     =   23429120
45: in use bytes     =    1009600
45: max mmap regions =          6
45: max mmap bytes   =    8413184
45: ..
45: Ran 2 tests in 0.436 seconds, 2 successes, 0 failures
45: OK
45/47 Test #45: lua_test_uprobes .................   Passed    0.52 sec
test 46
      Start 46: lua_test_dump

46: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
46: Test timeout computed to be: 9.99988e+06
46: .
46: Ran 1 tests in 0.211 seconds, 1 successes, 0 failures
46: OK
46/47 Test #46: lua_test_dump ....................   Passed    0.23 sec
test 47
      Start 47: lua_test_standalone

47: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/lua/test_standalone.sh
47: Test timeout computed to be: 9.99988e+06
47: + cd src/lua
47: + [[ ! -x bcc-lua ]]
47: + echo 'bcc-lua not built --- skipping'
47: bcc-lua not built --- skipping
47: + exit 0
47/47 Test #47: lua_test_standalone ..............   Passed    0.00 sec

17% tests passed, 39 tests failed out of 47

Total Test time (real) =  29.99 sec

The following tests FAILED:
	  4 - py_test_stat1_b (Failed)
	  5 - py_test_bpf_log (Failed)
	  6 - py_test_stat1_c (Failed)
	  7 - py_test_xlate1_c (Failed)
	  8 - py_test_call1 (Failed)
	  9 - py_test_trace1 (Failed)
	 10 - py_test_trace2 (Failed)
	 11 - py_test_trace3_c (Failed)
	 12 - py_test_trace4 (Failed)
	 13 - py_test_trace_maxactive (Failed)
	 14 - py_test_probe_count (Failed)
	 15 - py_test_debuginfo (Failed)
	 16 - py_test_brb (Failed)
	 17 - py_test_brb2 (Failed)
	 18 - py_test_clang (Failed)
	 19 - py_test_histogram (Failed)
	 20 - py_array (Failed)
	 21 - py_uprobes (Failed)
	 22 - py_uprobes_2 (Failed)
	 23 - py_test_stackid (Failed)
	 24 - py_test_tracepoint (Failed)
	 25 - py_test_perf_event (Failed)
	 26 - py_test_attach_perf_event (Failed)
	 27 - py_test_utils (Failed)
	 28 - py_test_percpu (Failed)
	 29 - py_test_dump_func (Failed)
	 30 - py_test_disassembler (Failed)
	 31 - py_test_tools_smoke (Failed)
	 33 - py_test_usdt (Failed)
	 34 - py_test_usdt2 (Failed)
	 35 - py_test_usdt3 (Failed)
	 36 - py_test_license (Failed)
	 37 - py_test_free_bcc_memory (Failed)
	 38 - py_test_rlimit (Failed)
	 39 - py_test_lpm_trie (Failed)
	 40 - py_ringbuf (Failed)
	 41 - py_queuestack (Failed)
	 42 - py_test_map_batch_ops (Failed)
	 43 - py_test_map_in_map (Failed)
Errors while running CTest
Build step 'Execute shell' marked build as failure
Taking single-use agent ubuntu1604-slave-525 offline.
Finished: FAILURE