Console Output

Skipping 441 KB.. Full Log
test 28
      Start 28: py_test_percpu

28: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_percpu" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_percpu.py", line 7, in <module>
28:     from bcc import BPF
28:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.10 sec
test 29
      Start 29: py_test_dump_func

29: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_dump_func" "simple" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_dump_func.py", line 7, in <module>
29:     from bcc import BPF
29:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_disassembler.py", line 7, in <module>
30:     from bcc import BPF
30:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 31
      Start 31: py_test_tools_smoke

31: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/tests/python/utils.py", line 35, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/cpuunclaimed.py", line 60, in <module>
31:     from bcc import BPF, PerfType, PerfSWConfig
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/dcsnoop.py", line 24, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/drsnoop.py", line 18, in <module>
31:     from bcc import ArgString, BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/execsnoop.py", line 21, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ext4dist.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/hardirqs.py", line 18, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/killsnoop.py", line 16, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/mdflush.py", line 15, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/memleak.py", line 14, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/mountsnoop.py", line 15, in <module>
31:     import bcc
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/offcputime.py", line 14, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/offwaketime.py", line 14, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/oomkill.py", line 17, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/opensnoop.py", line 19, in <module>
31:     from bcc import ArgString, BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/profile.py", line 30, in <module>
31:     from bcc import BPF, PerfType, PerfSWConfig
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/runqlat.py", line 28, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/runqlen.py", line 23, in <module>
31:     from bcc import BPF, PerfType, PerfSWConfig
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/shmsnoop.py", line 15, in <module>
31:     from bcc import ArgString, BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/slabratetop.py", line 19, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/sofdsnoop.py", line 15, in <module>
31:     from bcc import ArgString, BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/softirqs.py", line 16, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/solisten.py", line 24, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/tests/python/utils.py", line 35, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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: .Traceback (most recent call last):
31:   File "../../tools/stackcount.py", line 19, in <module>
31:     from bcc import BPF, USDT
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/statsnoop.py", line 16, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/syscount.py", line 18, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/tcpaccept.py", line 19, in <module>
31:     from bcc.containers import filter_by_containers
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/tcpdrop.py", line 21, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_tcpdrop (__main__.SmokeTests) failed, but marked as passed because it is decorated with @mayFail.
31: CRITICAL:root:	The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
31: CRITICAL:root:	The failure was: "rc was 1"
31: CRITICAL:root:	Stacktrace: "Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/utils.py", line 35, in wrapper
31:     res = func(*args, **kwargs)
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 348, in test_tcpdrop
31:     self.run_with_int("tcpdrop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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: .Traceback (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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ucalls.py", line 18, in <module>
31:     from bcc import BPF, USDT, utils
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/lib/uobjnew.py", line 16, in <module>
31:     from bcc import BPF, USDT, utils
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/wakeuptime.py", line 14, in <module>
31:     from bcc import BPF
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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....
31: ======================================================================
31: FAIL: test_bashreadline (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_cpuunclaimed (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 124, in test_cpuunclaimed
31:     self.run_with_duration("cpuunclaimed.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_drsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 159, in test_drsnoop
31:     self.run_with_int("drsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_execsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 163, in test_execsnoop
31:     self.run_with_int("execsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_ext4dist (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_hardirqs (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 200, in test_hardirqs
31:     self.run_with_duration("hardirqs.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_killsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_memleak (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 228, in test_memleak
31:     self.run_with_duration("memleak.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_mountsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 232, in test_mountsnoop
31:     self.run_with_int("mountsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_offcputime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 256, in test_offcputime
31:     self.run_with_duration("offcputime.py 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_offwaketime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 260, in test_offwaketime
31:     self.run_with_duration("offwaketime.py 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_oomkill (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 264, in test_oomkill
31:     self.run_with_int("oomkill.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_profile (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 275, in test_profile
31:     self.run_with_duration("profile.py 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_runqlat (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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_runqlen (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 282, in test_runqlen
31:     self.run_with_duration("runqlen.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_shmsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 286, in test_shmsnoop
31:     self.run_with_int("shmsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_slabratetop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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_sofdsnoop (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 290, in test_sofdsnoop
31:     self.run_with_int("sofdsnoop.py")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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_softirqs (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 297, in test_softirqs
31:     self.run_with_duration("softirqs.py 1 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_stackcount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 311, in test_stackcount
31:     self.run_with_int("stackcount.py __kmalloc -i 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_syscount (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 323, in test_syscount
31:     self.run_with_int("syscount.py -i 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_ucalls (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 366, in test_ucalls
31:     self.run_with_int("lib/ucalls.py -l none -S %d" % os.getpid())
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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_wakeuptime (__main__.SmokeTests)
31: ----------------------------------------------------------------------
31: Traceback (most recent call last):
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_smoke.py", line 401, in test_wakeuptime
31:     self.run_with_duration("wakeuptime.py 1")
31:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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.845s
31: 
31: FAILED (failures=64, skipped=2)
31: Failed
31/47 Test #31: py_test_tools_smoke ..............***Failed    2.37 sec
test 32
      Start 32: py_test_tools_memleak

32: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py"
32: Test timeout computed to be: 9.99988e+06
32: Traceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: FTraceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: FTraceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: FTraceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: FTraceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: FTraceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: FTraceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: FTraceback (most recent call last):
32:   File "../../tools/memleak.py", line 14, in <module>
32:     from bcc import BPF
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/__init__.py", line 26, in <module>
32:     from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/libbcc.py", line 154, in <module>
32:     lib.bpf_attach_perf_event_raw.argtype = [Perf.perf_event_attr(), ct.c_uint, ct.c_uint, ct.c_uint, ct.c_uint]
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 115, in __init__
32:     self.size = 120  # PERF_ATTR_SIZE_VER6
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/src/python/bcc-python/bcc/perf.py", line 125, in __setattr__
32:     super(perf_event_attr, self).__setattr__(key, value)
32: NameError: global name 'perf_event_attr' is not defined
32: F
32: ======================================================================
32: FAIL: test_aligned_alloc (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 120, in test_aligned_alloc
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("aligned_alloc"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ======================================================================
32: FAIL: test_calloc (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 102, in test_calloc
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("calloc"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ======================================================================
32: FAIL: test_malloc (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 99, in test_malloc
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("malloc"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ======================================================================
32: FAIL: test_memalign (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 114, in test_memalign
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("memalign"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ======================================================================
32: FAIL: test_posix_memalign (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 108, in test_posix_memalign
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("posix_memalign"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ======================================================================
32: FAIL: test_pvalloc (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 117, in test_pvalloc
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("pvalloc"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ======================================================================
32: FAIL: test_realloc (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 105, in test_realloc
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("realloc"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ======================================================================
32: FAIL: test_valloc (__main__.MemleakToolTests)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 111, in test_valloc
32:     self.assertEqual(cfg.leaking_amount, self.run_leaker("valloc"))
32:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/tests/python/test_tools_memleak.py", line 88, in run_leaker
32:     msg="At least one line should have 'byte' substring.")
32: AssertionError: At least one line should have 'byte' substring.
32: 
32: ----------------------------------------------------------------------
32: Ran 8 tests in 0.330s
32: 
32: FAILED (failures=8)
32: Failed
32/47 Test #32: py_test_tools_memleak ............***Failed    0.39 sec
test 33
      Start 33: py_test_usdt

33: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_usdt" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_usdt.py", line 9, in <module>
33:     from bcc import BPF, USDT
33:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 34
      Start 34: py_test_usdt2

34: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_usdt2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_usdt2.py", line 9, in <module>
34:     from bcc import BPF, USDT
34:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 35
      Start 35: py_test_usdt3

35: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_usdt3" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_usdt3.py", line 9, in <module>
35:     from bcc import BPF, USDT
35:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 36
      Start 36: py_test_license

36: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_license" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_license.py", line 6, in <module>
36:     from bcc import BPF
36:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/build/tests/wrapper.sh "py_test_free_bcc_memory" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/build/tests/wrapper.sh "py_test_rlimit" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_rlimit.py", line 9, in <module>
38:     from bcc import BPF
38:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 39
      Start 39: py_test_lpm_trie

39: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_lpm_trie" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_lpm_trie.py", line 9, in <module>
39:     from bcc import BPF
39:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/build/tests/wrapper.sh "py_ringbuf" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_ringbuf.py", line 5, in <module>
40:     from bcc import BPF
40:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 41
      Start 41: py_queuestack

41: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_queuestack" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/tests/python/test_queuestack.py", line 9, in <module>
41:     from bcc import BPF
41:   File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 42
      Start 42: py_test_map_batch_ops

42: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/build/tests/wrapper.sh "py_test_map_batch_ops" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/build/tests/wrapper.sh "py_test_map_in_map" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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/ubuntu1710/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.03 sec
test 44
      Start 44: lua_test_clang

44: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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.170 seconds, 20 successes, 0 failures
44: OK
44/47 Test #44: lua_test_clang ...................   Passed   11.69 sec
test 45
      Start 45: lua_test_uprobes

45: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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.14
45: Arena 0:
45: system bytes     =   24522752
45: in use bytes     =    1199808
45: Total (incl. mmap):
45: system bytes     =   24522752
45: in use bytes     =    1199808
45: max mmap regions =          6
45: max mmap bytes   =    8413184
45: ..
45: Ran 2 tests in 0.430 seconds, 2 successes, 0 failures
45: OK
45/47 Test #45: lua_test_uprobes .................   Passed    0.59 sec
test 46
      Start 46: lua_test_dump

46: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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.204 seconds, 1 successes, 0 failures
46: OK
46/47 Test #46: lua_test_dump ....................   Passed    0.22 sec
test 47
      Start 47: lua_test_standalone

47: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1710/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

15% tests passed, 40 tests failed out of 47

Total Test time (real) =  34.13 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)
	 32 - py_test_tools_memleak (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 ubuntu1710-slave-3e5 offline.
Finished: FAILURE