Console Output
Skipping 304 KB..
Full LogW: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpstates.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpsubnet.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcptop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcptracer.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tplist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/trace.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ttysnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ucalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/uflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ugc.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/uobjnew.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ustat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/uthreads.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/vfscount.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/vfsstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/wakeuptime.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/xfsdist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/xfsslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/zfsdist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/zfsslower.8.gz
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/argdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/bashreadline
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/biolatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/biosnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/biotop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/bitesize
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/bpflist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/btrfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/btrfsslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cachestat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cachetop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/capable
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cpudist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cpuunclaimed
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/criticalstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dbslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dbstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dcsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dcstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/deadlock
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/drsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/execsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/exitsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/ext4dist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/ext4slower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/filelife
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/fileslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/filetop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/funccount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/funclatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/funcslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/gethostlatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/hardirqs
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/inject
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/killsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/ucalls
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/uflow
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/ugc
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/uobjnew
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/ustat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/uthreads
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/llcstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/mdflush
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/memleak
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/mountsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/mysqld_qslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/nfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/nfsslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/offcputime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/offwaketime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/bashreadline
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/biosnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/filelife
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/gethostlatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/killsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/memleak
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/offcputime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/offwaketime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/oomkill
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/opensnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/profile
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/softirqs
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/stackcount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/stacksnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/statsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/syncsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/tcpaccept
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/tcpconnect
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/wakeuptime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/oomkill
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/opensnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/pidpersec
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/profile
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/runqlat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/runqlen
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/runqslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/shmsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/slabratetop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/sofdsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/softirqs
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/solisten
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/sslsniff
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/stackcount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/statsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/syncsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/syscount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpaccept
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpconnect
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpconnlat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpdrop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcplife
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpretrans
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpstates
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpsubnet
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcptop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcptracer
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tplist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/trace
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/ttysnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/vfscount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/vfsstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/wakeuptime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/xfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/xfsslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/zfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/zfsslower
E: libbcc-examples: extended-description-is-empty
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/hello_world.py
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/bashreadline.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/kprobe-latency.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/kprobe-write.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/memleak.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/offcputime.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-parse-dns.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-parse-http.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-proto.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-protolen.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/strlen_count.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/task_switch.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/tracepoint-offcputime.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/uprobe-readline-perf.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/uprobe-readline.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/uprobe-tailkt.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/usdt_ruby.lua #!bcc-lua
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/distributed_bridge/main.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/distributed_bridge/tunnel.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/distributed_bridge/tunnel_mesh.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/http_filter/http-parse-complete.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/http_filter/http-parse-simple.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/neighbor_sharing/tc_neighbor_sharing.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/simple_tc.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/tc_perf_event.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/tunnel_monitor/main.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/tunnel_monitor/monitor.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/vlan_learning/vlan_learning.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_drop_count.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_macswap_count.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_redirect_cpu.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_redirect_map.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/bitehist.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/dddos.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/disksnoop.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/hello_fields.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/hello_perf_output.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/kvm_hypercall.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/mallocstacks.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/mysqld_query.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/nodejs_http_server.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/stack_buildid_example.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/stacksnoop.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/strlen_count.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/strlen_hist.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/strlen_snoop.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/sync_timing.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/task_switch.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/tcpv4connect.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/trace_fields.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/trace_perf_output.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/urandomread-explicit.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/urandomread.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/vfsreadlat.py
E: bcc-lua: arch-independent-package-contains-binary-or-object usr/bin/bcc-lua
E: bcc-lua: missing-dependency-on-libc needed by usr/bin/bcc-lua
E: bcc-lua: extended-description-is-empty
W: bcc-lua: binary-without-manpage usr/bin/bcc-lua
E: python-bcc: extended-description-is-empty
W: python-bcc: wrong-section-according-to-package-name python-bcc => python
Finished running lintian.
+ popd
~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ cp /tmp/debuild.Te3cVY/bcc-lua_0.10.0-100.git.42d092c_all.deb /tmp/debuild.Te3cVY/bcc-tools_0.10.0-100.git.42d092c_all.deb /tmp/debuild.Te3cVY/libbcc_0.10.0-100.git.42d092c_all.deb /tmp/debuild.Te3cVY/libbcc-examples_0.10.0-100.git.42d092c_amd64.deb /tmp/debuild.Te3cVY/python3-bcc_0.10.0-100.git.42d092c_all.deb /tmp/debuild.Te3cVY/python-bcc_0.10.0-100.git.42d092c_all.deb .
+ cleanup
+ [[ -d /tmp/debuild.Te3cVY ]]
+ rm -rf /tmp/debuild.Te3cVY
+ sudo dpkg -i bcc-lua_0.10.0-100.git.42d092c_all.deb bcc-tools_0.10.0-100.git.42d092c_all.deb libbcc-examples_0.10.0-100.git.42d092c_amd64.deb libbcc_0.10.0-100.git.42d092c_all.deb python-bcc_0.10.0-100.git.42d092c_all.deb python3-bcc_0.10.0-100.git.42d092c_all.deb
Selecting previously unselected package bcc-lua.
(Reading database ... 107639 files and directories currently installed.)
Preparing to unpack bcc-lua_0.10.0-100.git.42d092c_all.deb ...
Unpacking bcc-lua (0.10.0-100.git.42d092c) ...
Selecting previously unselected package bcc-tools.
Preparing to unpack bcc-tools_0.10.0-100.git.42d092c_all.deb ...
Unpacking bcc-tools (0.10.0-100.git.42d092c) ...
Selecting previously unselected package libbcc-examples.
Preparing to unpack libbcc-examples_0.10.0-100.git.42d092c_amd64.deb ...
Unpacking libbcc-examples (0.10.0-100.git.42d092c) ...
Selecting previously unselected package libbcc.
Preparing to unpack libbcc_0.10.0-100.git.42d092c_all.deb ...
Unpacking libbcc (0.10.0-100.git.42d092c) ...
Selecting previously unselected package python-bcc.
Preparing to unpack python-bcc_0.10.0-100.git.42d092c_all.deb ...
Unpacking python-bcc (0.10.0-100.git.42d092c) ...
Selecting previously unselected package python3-bcc.
Preparing to unpack python3-bcc_0.10.0-100.git.42d092c_all.deb ...
Unpacking python3-bcc (0.10.0-100.git.42d092c) ...
Setting up libbcc (0.10.0-100.git.42d092c) ...
Setting up python-bcc (0.10.0-100.git.42d092c) ...
Setting up python3-bcc (0.10.0-100.git.42d092c) ...
Setting up bcc-lua (0.10.0-100.git.42d092c) ...
Setting up bcc-tools (0.10.0-100.git.42d092c) ...
Setting up libbcc-examples (0.10.0-100.git.42d092c) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
+ mkdir upload
+ mv bcc-lua_0.10.0-100.git.42d092c_all.deb bcc-tools_0.10.0-100.git.42d092c_all.deb libbcc-examples_0.10.0-100.git.42d092c_amd64.deb libbcc_0.10.0-100.git.42d092c_all.deb python-bcc_0.10.0-100.git.42d092c_all.deb python3-bcc_0.10.0-100.git.42d092c_all.deb upload
[ubuntu1604] $ /bin/sh -xe /tmp/jenkins2383930156037631542.sh
+ mkdir build
+ cd build
+ [[ ubuntu1604 ubuntu1604-slave-169 = *fc28* ]]
/tmp/jenkins2383930156037631542.sh: 4: /tmp/jenkins2383930156037631542.sh: [[: not found
+ cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Latest recognized Git tag is v0.10.0
-- Git HEAD is 42d092c998f8e32f22ff38cd3832813087343e55
-- Revision is 0.10.0-42d092c9
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Failed
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found FLEX: /usr/bin/flex (found version "2.6.0")
-- Found LLVM: /usr/lib/llvm-3.8/include 3.8.0
-- Found LibElf: /usr/lib/x86_64-linux-gnu/libelf.so
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Using static-libstdc++
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.a;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build
+ make -j2 -C tests/cc
make: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc'
make[1]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bcc-loader-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 0%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
Scanning dependencies of target clang_frontend
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o
[ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[ 7%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[ 7%] Linking CXX static library libbcc-loader-static.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 7%] Built target bcc-loader-static
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bpf-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 7%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o
[ 7%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o
[ 15%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o
[ 15%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o
[ 18%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o
[ 18%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o
[ 18%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o
[ 18%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
[ 21%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o
[ 21%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
[ 23%] Linking C static library libbcc_bpf.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 23%] Built target bpf-static
[ 23%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o
[ 26%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o
[ 26%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target api-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 28%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
[ 28%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
[ 31%] Linking CXX static library libapi-static.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 31%] Built target api-static
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target usdt-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 31%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
[ 31%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
[ 34%] Linking CXX static library libclang_frontend.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 34%] Built target clang_frontend
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 34%] [FLEX][Lexer] Building scanner with flex 2.6.0
lexer.ll:110: warning, -s option given but default rule can be matched
[ 34%] [BISON][Parser] Building parser with bison 3.0.4
parser.yy:19.9-17: warning: deprecated directive, use ‘%define api.namespace ebpf::cc’ [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:19.9-17: warning: %define variable 'api.namespace' requires '{...}' values [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:20.9-25: warning: %define variable 'parser_class_name' requires '{...}' values [-Wdeprecated]
%define parser_class_name "BisonParser"
^^^^^^^^^^^^^^^^^
Scanning dependencies of target b_frontend
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 36%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o
[ 39%] Linking CXX static library libusdt-static.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 39%] Built target usdt-static
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target usdt_test_lib
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 39%] Building C object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.c.o
[ 42%] Linking C shared library libusdt_test_lib.so
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 42%] Built target usdt_test_lib
[ 42%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o
[ 44%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o
[ 44%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o
[ 44%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o
[ 47%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o
[ 47%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o
[ 47%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc: In member function ‘virtual int ebpf::cc::Lexer::yylex()’:
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc:764:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( yyl = 0; yyl < yyleng; ++yyl )
^
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc: In member function ‘int ebpfccFlexLexer::yy_get_next_buffer()’:
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc:1506:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
^
[ 50%] Linking CXX static library libb_frontend.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 50%] Built target b_frontend
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bcc-shared
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bcc-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 50%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[ 50%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[ 50%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[ 52%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
[ 55%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
[ 57%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[ 57%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
[ 57%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
[ 60%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o
[ 60%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
[ 60%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o
[ 63%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[ 65%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/shared_table.cc.o
[ 65%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[ 65%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpffs_table.cc.o
[ 68%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
[ 68%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o
[ 68%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
[ 71%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/common.cc.o
[ 71%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt.cc.o
[ 71%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[ 73%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[ 73%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o
[ 78%] Linking CXX shared library libbcc.so
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 78%] Built target bcc-shared
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target test_libbcc
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 78%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_libbcc.cc.o
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_syms.cc.o
[ 78%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_elf.c.o
[ 81%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o
[ 81%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_proc.c.o
[ 84%] Linking CXX static library libbcc.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 84%] Built target bcc-static
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target test_static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 84%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
[ 86%] Linking CXX executable test_static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 86%] Built target test_static
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_c_api.cc.o
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_array_table.cc.o
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o
[ 92%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_hash_table.cc.o
[ 92%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
[ 92%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/utils.cc.o
[100%] Linking CXX executable test_libbcc
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[100%] Built target test_libbcc
make[1]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc'
+ ctest -V -D ExperimentalTest --no-compress-output
UpdateCTestConfiguration from :/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Cannot find file: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Site:
Build name: (empty)
Create new tag: 20190916-1912 - Experimental
UpdateCTestConfiguration from :/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Cannot find file: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Test project /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build
Constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: style-check
1: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/scripts/c-style-check.sh
1: Test timeout computed to be: 9.99988e+06
1: diff --git a/examples/cpp/CPUDistribution.cc b/examples/cpp/CPUDistribution.cc
1: index 59411e4..13d9779 100644
1: --- a/examples/cpp/CPUDistribution.cc
1: +++ b/examples/cpp/CPUDistribution.cc
1: @@ -79,7 +79,8 @@ int main(int argc, char** argv) {
1: return 1;
1: }
1:
1: - std::cout << "Probing for " << probe_time << " seconds, cgroup: " << path << std::endl;
1: + std::cout << "Probing for " << probe_time << " seconds, cgroup: " << path
1: + << std::endl;
1: sleep(probe_time);
1:
1: auto table = bpf.get_hash_table<int, uint64_t>("cpu_time");
1: diff --git a/src/cc/api/BPF.cc b/src/cc/api/BPF.cc
1: index 47ad95f..91feb7a 100644
1: --- a/src/cc/api/BPF.cc
1: +++ b/src/cc/api/BPF.cc
1: @@ -26,9 +26,9 @@
1: #include <utility>
1: #include <vector>
1:
1: -#include <sys/types.h>
1: -#include <sys/stat.h>
1: #include <fcntl.h>
1: +#include <sys/stat.h>
1: +#include <sys/types.h>
1:
1: #include "bcc_exception.h"
1: #include "bcc_elf.h"
1: @@ -189,7 +189,8 @@ StatusTuple BPF::attach_kprobe_(const std::string& kernel_func,
1: cgroup_fd = open(cgroup_path.c_str(), O_RDONLY | O_DIRECTORY);
1: if (cgroup_fd < 0) {
1: TRY2(unload_func(probe_func));
1: - return StatusTuple(-1, "Wrong cgroup path %s specified", cgroup_name.c_str());
1: + return StatusTuple(-1, "Wrong cgroup path %s specified",
1: + cgroup_name.c_str());
1: }
1: }
1:
1: diff --git a/src/cc/api/BPF.h b/src/cc/api/BPF.h
1: index 70463ff..1c154e9 100644
1: --- a/src/cc/api/BPF.h
1: +++ b/src/cc/api/BPF.h
1: @@ -66,16 +66,18 @@ class BPF {
1: uint64_t kernel_func_offset = 0,
1: bpf_probe_attach_type type = BPF_PROBE_ENTRY,
1: int maxactive = 0) {
1: - return attach_kprobe_(kernel_func, probe_func, "", kernel_func_offset, type, maxactive);
1: + return attach_kprobe_(kernel_func, probe_func, "", kernel_func_offset, type,
1: + maxactive);
1: }
1:
1: StatusTuple attach_kprobe_cgroup(const std::string& kernel_func,
1: - const std::string& probe_func,
1: - const std::string& cgroup_name,
1: - uint64_t kernel_func_offset = 0,
1: - bpf_probe_attach_type type = BPF_PROBE_ENTRY,
1: - int maxactive = 0) {
1: - return attach_kprobe_(kernel_func, probe_func, cgroup_name, kernel_func_offset, type, maxactive);
1: + const std::string& probe_func,
1: + const std::string& cgroup_name,
1: + uint64_t kernel_func_offset = 0,
1: + bpf_probe_attach_type type = BPF_PROBE_ENTRY,
1: + int maxactive = 0) {
1: + return attach_kprobe_(kernel_func, probe_func, cgroup_name,
1: + kernel_func_offset, type, maxactive);
1: }
1: StatusTuple detach_kprobe(
1: const std::string& kernel_func,
1: diff --git a/src/cc/libbpf.c b/src/cc/libbpf.c
1: index 965c581..b9fc71c 100644
1: --- a/src/cc/libbpf.c
1: +++ b/src/cc/libbpf.c
1: @@ -757,8 +757,8 @@ static int bpf_get_retprobe_bit(const char *event_type)
1: * the [k,u]probe. This function tries to create pfd with the perf_kprobe PMU.
1: */
1: static int bpf_try_perf_event_open_with_probe(const char *name, uint64_t offs,
1: - int pid, const char *event_type, int is_return, int cgroup_fd)
1: -{
1: + int pid, const char *event_type,
1: + int is_return, int cgroup_fd) {
1: struct perf_event_attr attr = {};
1: int type = bpf_find_probe_type(event_type);
1: int is_return_bit = bpf_get_retprobe_bit(event_type);
1: @@ -808,7 +808,7 @@ static int bpf_try_perf_event_open_with_probe(const char *name, uint64_t offs,
1: if (pid != -1 && !(flags & PERF_FLAG_PID_CGROUP))
1: cpu = -1;
1: return syscall(__NR_perf_event_open, &attr, pid, cpu, -1 /* group_fd */,
1: - flags);
1: + flags);
1: }
1:
1: // When a valid Perf Event FD provided through pfd, it will be used to enable
1: @@ -1008,9 +1008,9 @@ error:
1: // config1 could be either kprobe_func or uprobe_path,
1: // see bpf_try_perf_event_open_with_probe().
1: static int bpf_attach_probe(int progfd, enum bpf_probe_attach_type attach_type,
1: - const char *ev_name, const char *config1, const char* event_type,
1: - uint64_t offset, pid_t pid, int maxactive, int cgroup_fd)
1: -{
1: + const char *ev_name, const char *config1,
1: + const char *event_type, uint64_t offset, pid_t pid,
1: + int maxactive, int cgroup_fd) {
1: int kfd, pfd = -1;
1: char buf[PATH_MAX], fname[256];
1: bool is_kprobe = strncmp("kprobe", event_type, 6) == 0;
1: @@ -1018,10 +1018,12 @@ static int bpf_attach_probe(int progfd, enum bpf_probe_attach_type attach_type,
1: if (maxactive <= 0)
1: // Try create the [k,u]probe Perf Event with perf_event_open API.
1: pfd = bpf_try_perf_event_open_with_probe(config1, offset, pid, event_type,
1: - attach_type != BPF_PROBE_ENTRY, cgroup_fd);
1: - // cgroup can only be supported with e12f03d ("perf/core: Implement the 'perf_kprobe' PMU")
1: + attach_type != BPF_PROBE_ENTRY,
1: + cgroup_fd);
1: + // cgroup can only be supported with e12f03d ("perf/core: Implement the
1: + // 'perf_kprobe' PMU")
1: // available.
1: - if(cgroup_fd >= 0 && pfd < 0)
1: + if (cgroup_fd >= 0 && pfd < 0)
1: goto error;
1:
1: // If failed, most likely Kernel doesn't support the perf_kprobe PMU
1: @@ -1082,10 +1084,8 @@ error:
1:
1: int bpf_attach_kprobe(int progfd, enum bpf_probe_attach_type attach_type,
1: const char *ev_name, const char *fn_name,
1: - uint64_t fn_offset, int maxactive, int cgroup_fd)
1: -{
1: - return bpf_attach_probe(progfd, attach_type,
1: - ev_name, fn_name, "kprobe",
1: + uint64_t fn_offset, int maxactive, int cgroup_fd) {
1: + return bpf_attach_probe(progfd, attach_type, ev_name, fn_name, "kprobe",
1: fn_offset, -1, maxactive, cgroup_fd);
1: }
1:
1: @@ -1093,9 +1093,7 @@ int bpf_attach_uprobe(int progfd, enum bpf_probe_attach_type attach_type,
1: const char *ev_name, const char *binary_path,
1: uint64_t offset, pid_t pid)
1: {
1: -
1: - return bpf_attach_probe(progfd, attach_type,
1: - ev_name, binary_path, "uprobe",
1: + return bpf_attach_probe(progfd, attach_type, ev_name, binary_path, "uprobe",
1: offset, pid, -1, -1);
1: }
1:
1: diff --git a/src/cc/libbpf.h b/src/cc/libbpf.h
1: index 53a2609..eb939dd 100644
1: --- a/src/cc/libbpf.h
1: +++ b/src/cc/libbpf.h
1: @@ -79,8 +79,8 @@ typedef void (*perf_reader_raw_cb)(void *cb_cookie, void *raw, int raw_size);
1: typedef void (*perf_reader_lost_cb)(void *cb_cookie, uint64_t lost);
1:
1: int bpf_attach_kprobe(int progfd, enum bpf_probe_attach_type attach_type,
1: - const char *ev_name, const char *fn_name, uint64_t fn_offset,
1: - int maxactive, int cgroup_fd);
1: + const char *ev_name, const char *fn_name,
1: + uint64_t fn_offset, int maxactive, int cgroup_fd);
1: int bpf_detach_kprobe(const char *ev_name);
1:
1: int bpf_attach_uprobe(int progfd, enum bpf_probe_attach_type attach_type,
1: Running clang-format on the following files:
1: src/cc/api/BPF.h
1: src/cc/api/BPF.cc
1: examples/cpp/CPUDistribution.cc
1: src/cc/libbpf.h
1: src/cc/libbpf.c
1: old tree: d8d8c5cb95628456f45c98c10bc6756f41ac2906
1: new tree: 68cb48648ad45f094ede4c56e751516b8ef1575f
1/40 Test #1: style-check ...................... Passed 2.26 sec
test 2
Start 2: c_test_static
2: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "c_test_static" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc/test_static"
2: Test timeout computed to be: 9.99988e+06
2: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -coverage-file /usr/src/linux-headers-4.4.0-116-generic/main.c -nostdsysteminc -nobuiltininc -resource-dir ../lib/clang/3.8.0 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc -D __BPF_TRACING__ -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/linux-headers-4.4.0-116-generic -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
2: #if defined(BPF_LICENSE)
2: #error BPF_LICENSE cannot be specified through cflags
2: #endif
2: #if !defined(CONFIG_CC_STACKPROTECTOR)
2: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
2: || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
2: || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
2: #define CONFIG_CC_STACKPROTECTOR
2: #endif
2: #endif
2: BPF_TABLE("array", int, int, stats, 10);
2:
2: #include <bcc/footer.h>
2: Running from kernel directory at: /lib/modules/4.4.0-116-generic/build
2/40 Test #2: c_test_static .................... Passed 1.07 sec
test 3
Start 3: test_libbcc
3: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "c_test_all" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc/test_libbcc"
3: Test timeout computed to be: 9.99988e+06
3: prog tag mismatch 57cd311f2e27366b 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: Parse error:
3: 4@i%ra+1r
3: -------^
3: prog tag mismatch a04f5eef06a7f555 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: prog tag mismatch a04f5eef06a7f555 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: ===============================================================================
3: All tests passed (486 assertions in 29 test cases)
3:
3/40 Test #3: test_libbcc ...................... Passed 9.21 sec
test 4
Start 4: py_test_stat1_b
4: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stat1_b" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py" "test_stat1.b" "proto.b"
4: Test timeout computed to be: 9.99988e+06
4: Actual changes:
4: tx-checksumming: off
4: tx-checksum-ip-generic: off
4: tcp-segmentation-offload: off
4: tx-tcp-segmentation: off [requested on]
4: tx-tcp-ecn-segmentation: off [requested on]
4: tx-tcp6-segmentation: off [requested on]
4: udp-fragmentation-offload: off [requested on]
4: .PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
4: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4: --- 172.16.1.1 ping statistics ---
4: 100 packets transmitted, 100 received, 0% packet loss, time 2ms
4: rtt min/avg/max/mdev = 0.006/0.010/0.109/0.010 ms, ipg/ewma 0.024/0.009 ms
4: .
4: ----------------------------------------------------------------------
4: Ran 2 tests in 0.363s
4:
4: OK
4/40 Test #4: py_test_stat1_b .................. Passed 1.22 sec
test 5
Start 5: py_test_bpf_log
5: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_bpf_prog" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_bpf_log.py"
5: Test timeout computed to be: 9.99988e+06
5/40 Test #5: py_test_bpf_log .................. Passed 1.83 sec
test 6
Start 6: py_test_stat1_c
6: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stat1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py" "test_stat1.c"
6: Test timeout computed to be: 9.99988e+06
6: Actual changes:
6: tx-checksumming: off
6: tx-checksum-ip-generic: off
6: tcp-segmentation-offload: off
6: tx-tcp-segmentation: off [requested on]
6: tx-tcp-ecn-segmentation: off [requested on]
6: tx-tcp6-segmentation: off [requested on]
6: udp-fragmentation-offload: off [requested on]
6: .PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
6: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6: --- 172.16.1.1 ping statistics ---
6: 100 packets transmitted, 100 received, 0% packet loss, time 1ms
6: rtt min/avg/max/mdev = 0.004/0.006/0.085/0.008 ms, ipg/ewma 0.017/0.007 ms
6: .
6: ----------------------------------------------------------------------
6: Ran 2 tests in 0.310s
6:
6: OK
6/40 Test #6: py_test_stat1_c .................. Passed 0.65 sec
test 7
Start 7: py_test_xlate1_c
7: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_xlate1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_xlate1.py" "test_xlate1.c"
7: Test timeout computed to be: 9.99988e+06
7: Actual changes:
7: tx-checksumming: off
7: tx-checksum-ip-generic: off
7: tcp-segmentation-offload: off
7: tx-tcp-segmentation: off [requested on]
7: tx-tcp-ecn-segmentation: off [requested on]
7: tx-tcp6-segmentation: off [requested on]
7: udp-fragmentation-offload: off [requested on]
7: PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
7: 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.076 ms
7:
7: --- 192.168.1.1 ping statistics ---
7: 1 packets transmitted, 1 received, 0% packet loss, time 0ms
7: rtt min/avg/max/mdev = 0.076/0.076/0.076/0.000 ms
7: .
7: ----------------------------------------------------------------------
7: Ran 1 test in 0.230s
7:
7: OK
7/40 Test #7: py_test_xlate1_c ................. Passed 0.67 sec
test 8
Start 8: py_test_call1
8: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_call1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_call1.py" "test_call1.c"
8: Test timeout computed to be: 9.99988e+06
8: Actual changes:
8: tx-checksumming: off
8: tx-checksum-ip-generic: off
8: tcp-segmentation-offload: off
8: tx-tcp-segmentation: off [requested on]
8: tx-tcp-ecn-segmentation: off [requested on]
8: tx-tcp6-segmentation: off [requested on]
8: udp-fragmentation-offload: off [requested on]
8: .
8: ----------------------------------------------------------------------
8: Ran 1 test in 0.164s
8:
8: OK
8/40 Test #8: py_test_call1 .................... Passed 0.55 sec
test 9
Start 9: py_test_trace1
9: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace1" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace1.py" "test_trace1.b" "kprobe.b"
9: Test timeout computed to be: 9.99988e+06
9: E
9: ======================================================================
9: ERROR: test_trace1 (__main__.TestKprobe)
9: ----------------------------------------------------------------------
9: Traceback (most recent call last):
9: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace1.py", line 30, in setUp
9: b.attach_kprobe(event=b.get_syscall_fnname("write"), fn_name="sys_wr")
9: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
9: (fn_name, event))
9: Exception: Failed to attach BPF program sys_wr to kprobe sys_write
9:
9: ----------------------------------------------------------------------
9: Ran 1 test in 0.243s
9:
9: FAILED (errors=1)
9: Failed
9/40 Test #9: py_test_trace1 ...................***Failed 0.29 sec
test 10
Start 10: py_test_trace2
10: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace2.py"
10: Test timeout computed to be: 9.99988e+06
10: E
10: ======================================================================
10: ERROR: test_sched1 (__main__.TestTracingEvent)
10: ----------------------------------------------------------------------
10: Traceback (most recent call last):
10: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace2.py", line 31, in setUp
10: b.attach_kprobe(event="finish_task_switch", fn_name="count_sched")
10: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
10: (fn_name, event))
10: Exception: Failed to attach BPF program count_sched to kprobe finish_task_switch
10:
10: ----------------------------------------------------------------------
10: Ran 1 test in 3.310s
10:
10: FAILED (errors=1)
10: Failed
10/40 Test #10: py_test_trace2 ...................***Failed 3.36 sec
test 11
Start 11: py_test_trace3_c
11: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace3_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace3.py" "test_trace3.c"
11: Test timeout computed to be: 9.99988e+06
11: E
11: ======================================================================
11: ERROR: test_blk1 (__main__.TestBlkRequest)
11: ----------------------------------------------------------------------
11: Traceback (most recent call last):
11: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace3.py", line 22, in setUp
11: fn_name="probe_blk_start_request")
11: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
11: (fn_name, event))
11: Exception: Failed to attach BPF program probe_blk_start_request to kprobe blk_start_request
11:
11: ----------------------------------------------------------------------
11: Ran 1 test in 1.607s
11:
11: FAILED (errors=1)
11: Failed
11/40 Test #11: py_test_trace3_c .................***Failed 1.66 sec
test 12
Start 12: py_test_trace4
12: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace4" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace4.py"
12: Test timeout computed to be: 9.99988e+06
12: .E
12: ======================================================================
12: ERROR: test_send1 (__main__.TestKprobeRgx)
12: ----------------------------------------------------------------------
12: Traceback (most recent call last):
12: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace4.py", line 33, in test_send1
12: self.assertTrue(self.b[b"stats"][k1].val >= 2)
12: File "/usr/lib/python2.7/dist-packages/bcc/table.py", line 239, in __getitem__
12: raise KeyError
12: KeyError
12:
12: ----------------------------------------------------------------------
12: Ran 2 tests in 1.382s
12:
12: FAILED (errors=1)
12: Failed
12/40 Test #12: py_test_trace4 ...................***Failed 1.43 sec
test 13
Start 13: py_test_trace_maxactive
13: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace_maxactive" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace_maxactive.py"
13: Test timeout computed to be: 9.99988e+06
13: E
13: ======================================================================
13: ERROR: test_send1 (__main__.TestKprobeMaxactive)
13: ----------------------------------------------------------------------
13: Traceback (most recent call last):
13: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace_maxactive.py", line 33, in test_send1
13: self.assertTrue(self.b[b"stats"][k1].val >= 2)
13: File "/usr/lib/python2.7/dist-packages/bcc/table.py", line 239, in __getitem__
13: raise KeyError
13: KeyError
13:
13: ----------------------------------------------------------------------
13: Ran 1 test in 0.931s
13:
13: FAILED (errors=1)
13: Failed
13/40 Test #13: py_test_trace_maxactive ..........***Failed 0.99 sec
test 14
Start 14: py_test_probe_count
14: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_probe_count" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_probe_count.py"
14: Test timeout computed to be: 9.99988e+06
14: EFE...
14: ======================================================================
14: ERROR: test_count (__main__.TestAutoKprobe)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_probe_count.py", line 53, in setUp
14: """)
14: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
14: self._trace_autoload()
14: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
14: fn_name=fn.name)
14: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
14: (fn_name, event))
14: Exception: Failed to attach BPF program kprobe__schedule to kprobe schedule
14:
14: ======================================================================
14: ERROR: test_probe_quota (__main__.TestProbeGlobalCnt)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_probe_count.py", line 38, in test_probe_quota
14: self.b1.attach_kprobe(event="schedule", fn_name="count")
14: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
14: (fn_name, event))
14: Exception: Failed to attach BPF program count to kprobe schedule
14:
14: ======================================================================
14: FAIL: test_attach1 (__main__.TestKprobeCnt)
14: ----------------------------------------------------------------------
14: Traceback (most recent call last):
14: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_probe_count.py", line 26, in test_attach1
14: self.assertEqual(actual_cnt, open_cnt)
14: AssertionError: 47 != 0
14:
14: ----------------------------------------------------------------------
14: Ran 6 tests in 1.716s
14:
14: FAILED (failures=1, errors=2)
14: Failed
14/40 Test #14: py_test_probe_count ..............***Failed 1.77 sec
test 15
Start 15: py_test_debuginfo
15: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_debuginfo" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_debuginfo.py"
15: Test timeout computed to be: 9.99988e+06
15: ......
15: ----------------------------------------------------------------------
15: Ran 6 tests in 0.676s
15:
15: OK
15/40 Test #15: py_test_debuginfo ................ Passed 0.73 sec
test 16
Start 16: py_test_brb
16: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_brb_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb.py" "test_brb.c"
16: Test timeout computed to be: 9.99988e+06
16: net.ipv4.ip_forward = 1
16: ARPING 100.1.1.254
16: Timeout
16:
16: --- 100.1.1.254 statistics ---
16: 1 packets transmitted, 0 packets received, 100% unanswered (0 extra)
16:
16: ARPING 200.1.1.254
16: Timeout
16:
16: --- 200.1.1.254 statistics ---
16: 1 packets transmitted, 0 packets received, 100% unanswered (0 extra)
16:
16: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
16: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.154 ms
16: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.091 ms
16:
16: --- 200.1.1.1 ping statistics ---
16: 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
16: rtt min/avg/max/mdev = 0.091/0.122/0.154/0.033 ms
16: [ ID] Interval Transfer Bandwidth
16: [ 7] 0.0- 1.0 sec 2.35 GBytes 20.2 Gbits/sec
16: [ ID] Interval Transfer Bandwidth
16: [ 10] 0.0- 1.0 sec 2.35 GBytes 20.2 Gbits/sec
16: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
16: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo
16: Recv Send Send
16: Socket Socket Message Elapsed
16: Size Size Size Time Throughput
16: bytes bytes bytes secs. 10^6bits/sec
16:
16: 87380 16384 65160 1.00 23654.49
16: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo : first burst 0
16: Local /Remote
16: Socket Size Request Resp. Elapsed Trans.
16: Send Recv Size Size Time Rate
16: bytes Bytes bytes bytes secs. per sec
16:
16: 16384 87380 1 1 1.00 24366.84
16: 16384 87380
16: .
16: ----------------------------------------------------------------------
16: Ran 1 test in 7.622s
16:
16: OK
16/40 Test #16: py_test_brb ...................... Passed 7.74 sec
test 17
Start 17: py_test_brb2
17: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_brb2_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb2.py" "test_brb2.c"
17: Test timeout computed to be: 9.99988e+06
17: net.ipv4.ip_forward = 1
17: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
17: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.220 ms
17: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.081 ms
17:
17: --- 200.1.1.1 ping statistics ---
17: 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
17: rtt min/avg/max/mdev = 0.081/0.150/0.220/0.070 ms
17: [ ID] Interval Transfer Bandwidth
17: [ 7] 0.0- 1.0 sec 2.35 GBytes 20.2 Gbits/sec
17: [ ID] Interval Transfer Bandwidth
17: [ 10] 0.0- 1.0 sec 2.35 GBytes 20.0 Gbits/sec
17: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
17: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo
17: Recv Send Send
17: Socket Socket Message Elapsed
17: Size Size Size Time Throughput
17: bytes bytes bytes secs. 10^6bits/sec
17:
17: 87380 16384 65160 1.00 22030.87
17: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo : first burst 0
17: Local /Remote
17: Socket Size Request Resp. Elapsed Trans.
17: Send Recv Size Size Time Rate
17: bytes Bytes bytes bytes secs. per sec
17:
17: 16384 87380 1 1 1.00 22842.87
17: 16384 87380
17: .
17: ----------------------------------------------------------------------
17: Ran 1 test in 7.666s
17:
17: OK
17/40 Test #17: py_test_brb2 ..................... Passed 7.80 sec
test 18
Start 18: py_test_clang
18: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_clang" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py"
18: Test timeout computed to be: 9.99988e+06
18: E.....E.....s..../virtual/main.c:2:1: error: field has incomplete type 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/include/bcc/helpers.h:167:48: note: expanded from macro 'BPF_HASH'
18: BPF_HASHX(__VA_ARGS__, BPF_HASH4, BPF_HASH3, BPF_HASH2, BPF_HASH1)(__VA_ARGS__)
18: ^
18: /virtual/main.c:2:24: note: forward declaration of 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/main.c:2:1: error: field has incomplete type 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/include/bcc/helpers.h:167:48: note: expanded from macro 'BPF_HASH'
18: BPF_HASHX(__VA_ARGS__, BPF_HASH4, BPF_HASH3, BPF_HASH2, BPF_HASH1)(__VA_ARGS__)
18: ^
18: /virtual/main.c:2:24: note: forward declaration of 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: 2 errors generated.
18: ../virtual/main.c:6:12: error: cannot call non-static helper function
18: return bar();
18: ^
18: 1 error generated.
18: ..E....s............................../virtual/main.c:7:12: warning: incompatible pointer to integer conversion returning 'u32 *' (aka 'unsigned int *') from a function with result type 'int' [-Wint-conversion]
18: return *(&skp->sk_daddr);
18: ^~~~~~~~~~~~~~~~~
18: 1 warning generated.
18: ....ss..E.E...../virtual/main.c:1:30: error: expected expression
18: int failure(void *ctx) { if (); return 0; }
18: ^
18: 1 error generated.
18: .E/virtual/main.c:3:73: error: too many arguments, bcc only supports in-register parameters
18: int many(struct pt_regs *ctx, int a, int b, int c, int d, int e, int f, int g) {
18: ^
18: 1 error generated.
18: .E..
18: ======================================================================
18: ERROR: test_arbitrary_increment_simple (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 1225, in test_arbitrary_increment_simple
18: b.attach_kprobe(event=b"htab_map_delete_elem", fn_name=b"map_delete")
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program map_delete to kprobe htab_map_delete_elem
18:
18: ======================================================================
18: ERROR: test_char_array_probe (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 324, in test_char_array_probe
18: }""")
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
18: self._trace_autoload()
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
18: fn_name=fn.name)
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program kprobe__blk_update_request to kprobe blk_update_request
18:
18: ======================================================================
18: ERROR: test_map_insert (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 888, in test_map_insert
18: b.attach_kprobe(event=b.get_syscall_fnname("sync"), fn_name="do_trace")
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program do_trace to kprobe sys_sync
18:
18: ======================================================================
18: ERROR: test_probe_simple_assign (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 417, in test_probe_simple_assign
18: }""")
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
18: self._trace_autoload()
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
18: fn_name=fn.name)
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program kprobe____kmalloc to kprobe __kmalloc
18:
18: ======================================================================
18: ERROR: test_probe_struct_assign (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 382, in test_probe_struct_assign
18: fn_name="do_sys_open")
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program do_sys_open to kprobe sys_open
18:
18: ======================================================================
18: ERROR: test_task_switch (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 403, in test_task_switch
18: """)
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
18: self._trace_autoload()
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
18: fn_name=fn.name)
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program kprobe__finish_task_switch to kprobe finish_task_switch
18:
18: ======================================================================
18: ERROR: test_unary_operator (__main__.TestClang)
18: ----------------------------------------------------------------------
18: Traceback (most recent call last):
18: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py", line 820, in test_unary_operator
18: b.attach_kprobe(event="__vfs_read", fn_name="trace_read_entry")
18: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
18: (fn_name, event))
18: Exception: Failed to attach BPF program trace_read_entry to kprobe __vfs_read
18:
18: ----------------------------------------------------------------------
18: Ran 79 tests in 58.320s
18:
18: FAILED (errors=7, skipped=4)
18: 0
18: Failed
18/40 Test #18: py_test_clang ....................***Failed 58.41 sec
test 19
Start 19: py_test_histogram
19: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_histogram" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py"
19: Test timeout computed to be: 9.99988e+06
19: EEEE
19: ======================================================================
19: ERROR: test_chars (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py", line 70, in test_chars
19: """)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program kprobe__finish_task_switch to kprobe finish_task_switch
19:
19: ======================================================================
19: ERROR: test_multiple_key (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py", line 96, in test_multiple_key
19: """)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program kprobe__vfs_read to kprobe vfs_read
19:
19: ======================================================================
19: ERROR: test_simple (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py", line 22, in test_simple
19: """)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program kprobe__htab_map_delete_elem to kprobe htab_map_delete_elem
19:
19: ======================================================================
19: ERROR: test_struct (__main__.TestHistogram)
19: ----------------------------------------------------------------------
19: Traceback (most recent call last):
19: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py", line 48, in test_struct
19: """)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
19: self._trace_autoload()
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
19: fn_name=fn.name)
19: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
19: (fn_name, event))
19: Exception: Failed to attach BPF program kprobe__htab_map_delete_elem to kprobe htab_map_delete_elem
19:
19: ----------------------------------------------------------------------
19: Ran 4 tests in 1.079s
19:
19: FAILED (errors=4)
19: Failed
19/40 Test #19: py_test_histogram ................***Failed 1.13 sec
test 20
Start 20: py_array
20: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_array" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_array.py"
20: Test timeout computed to be: 9.99988e+06
20: .EE.
20: ======================================================================
20: ERROR: test_perf_buffer (__main__.TestArray)
20: ----------------------------------------------------------------------
20: Traceback (most recent call last):
20: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_array.py", line 67, in test_perf_buffer
20: fn_name="do_sys_nanosleep")
20: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
20: (fn_name, event))
20: Exception: Failed to attach BPF program do_sys_nanosleep to kprobe sys_nanosleep
20:
20: ======================================================================
20: ERROR: test_perf_buffer_for_each_cpu (__main__.TestArray)
20: ----------------------------------------------------------------------
20: Traceback (most recent call last):
20: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_array.py", line 100, in test_perf_buffer_for_each_cpu
20: fn_name="do_sys_nanosleep")
20: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
20: (fn_name, event))
20: Exception: Failed to attach BPF program do_sys_nanosleep to kprobe sys_nanosleep
20:
20: ----------------------------------------------------------------------
20: Ran 4 tests in 0.616s
20:
20: FAILED (errors=2)
20: Failed
20/40 Test #20: py_array .........................***Failed 0.67 sec
test 21
Start 21: py_uprobes
21: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_uprobes" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_uprobes.py"
21: Test timeout computed to be: 9.99988e+06
21: .Python 2.7.12
21: .Arena 0:
21: system bytes = 19578880
21: in use bytes = 2923584
21: Total (incl. mmap):
21: system bytes = 20369408
21: in use bytes = 3714112
21: max mmap regions = 7
21: max mmap bytes = 2781184
21: .
21: ----------------------------------------------------------------------
21: Ran 3 tests in 6.405s
21:
21: OK
21/40 Test #21: py_uprobes ....................... Passed 6.45 sec
test 22
Start 22: py_test_stackid
22: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stackid" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stackid.py"
22: Test timeout computed to be: 9.99988e+06
22: ss
22: ----------------------------------------------------------------------
22: Ran 2 tests in 0.000s
22:
22: OK (skipped=2)
22/40 Test #22: py_test_stackid .................. Passed 0.05 sec
test 23
Start 23: py_test_tracepoint
23: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tracepoint" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tracepoint.py"
23: Test timeout computed to be: 9.99988e+06
23: ss
23: ----------------------------------------------------------------------
23: Ran 2 tests in 0.000s
23:
23: OK (skipped=2)
23/40 Test #23: py_test_tracepoint ............... Passed 0.05 sec
test 24
Start 24: py_test_perf_event
24: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_perf_event" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_perf_event.py"
24: Test timeout computed to be: 9.99988e+06
24: E
24: ======================================================================
24: ERROR: test_cycles (__main__.TestPerfCounter)
24: ----------------------------------------------------------------------
24: Traceback (most recent call last):
24: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_perf_event.py", line 44, in test_cycles
24: b.attach_kprobe(event=event_name, fn_name="do_sys_getuid")
24: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
24: (fn_name, event))
24: Exception: Failed to attach BPF program do_sys_getuid to kprobe sys_getuid
24:
24: ----------------------------------------------------------------------
24: Ran 1 test in 0.243s
24:
24: FAILED (errors=1)
24: Failed
24/40 Test #24: py_test_perf_event ...............***Failed 0.29 sec
test 25
Start 25: py_test_utils
25: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_utils" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_utils.py"
25: Test timeout computed to be: 9.99988e+06
25: ..
25: ----------------------------------------------------------------------
25: Ran 2 tests in 0.000s
25:
25: OK
25/40 Test #25: py_test_utils .................... Passed 0.05 sec
test 26
Start 26: py_test_percpu
26: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_percpu" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_percpu.py"
26: Test timeout computed to be: 9.99988e+06
26: could not open bpf map: stub, error: Invalid argument
26: scould not open bpf map: stub, error: Invalid argument
26: scould not open bpf map: stub, error: Invalid argument
26: scould not open bpf map: stub, error: Invalid argument
26: s
26: ----------------------------------------------------------------------
26: Ran 4 tests in 0.510s
26:
26: OK (skipped=4)
26/40 Test #26: py_test_percpu ................... Passed 0.56 sec
test 27
Start 27: py_test_dump_func
27: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_dump_func" "simple" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_dump_func.py"
27: Test timeout computed to be: 9.99988e+06
27: .
27: ----------------------------------------------------------------------
27: Ran 1 test in 0.132s
27:
27: OK
27/40 Test #27: py_test_dump_func ................ Passed 0.17 sec
test 28
Start 28: py_test_disassembler
28: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_disassembler.py"
28: Test timeout computed to be: 9.99988e+06
28: ..
28: ----------------------------------------------------------------------
28: Ran 2 tests in 0.150s
28:
28: OK
28/40 Test #28: py_test_disassembler ............. Passed 0.20 sec
test 29
Start 29: py_test_tools_smoke
29: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py"
29: Test timeout computed to be: 9.99988e+06
29: Traceback (most recent call last):
29: File "../../tools/argdist.py", line 711, in run
29: self._attach()
29: File "../../tools/argdist.py", line 682, in _attach
29: probe.attach(self.bpf)
29: File "../../tools/argdist.py", line 446, in attach
29: self._attach_k()
29: File "../../tools/argdist.py", line 437, in _attach_k
29: fn_name=self.probe_func_name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_sys_open_probe0 to kprobe do_sys_open
29: F.Traceback (most recent call last):
29: File "../../tools/biolatency.py", line 139, in <module>
29: b.attach_kprobe(event="blk_start_request", fn_name="trace_req_start")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_req_start to kprobe blk_start_request
29: FTraceback (most recent call last):
29: File "../../tools/biosnoop.py", line 158, in <module>
29: b.attach_kprobe(event="blk_account_io_start", fn_name="trace_pid_start")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_pid_start to kprobe blk_account_io_start
29: FTraceback (most recent call last):
29: File "../../tools/biotop.py", line 175, in <module>
29: b.attach_kprobe(event="blk_account_io_start", fn_name="trace_pid_start")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_pid_start to kprobe blk_account_io_start
29: FTraceback (most recent call last):
29: File "../../tools/biotop.py", line 175, in <module>
29: b.attach_kprobe(event="blk_account_io_start", fn_name="trace_pid_start")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_pid_start to kprobe blk_account_io_start
29: F.Traceback (most recent call last):
29: File "../../tools/btrfsdist.py", line 197, in <module>
29: b.attach_kprobe(event="generic_file_read_iter", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe generic_file_read_iter
29: FTraceback (most recent call last):
29: File "../../tools/btrfsslower.py", line 322, in <module>
29: b.attach_kprobe(event="generic_file_read_iter", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe generic_file_read_iter
29: FTraceback (most recent call last):
29: File "../../tools/cachestat.py", line 97, in <module>
29: b.attach_kprobe(event="add_to_page_cache_lru", fn_name="do_count")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_count to kprobe add_to_page_cache_lru
29: F.Traceback (most recent call last):
29: File "../../tools/capable.py", line 181, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__cap_capable to kprobe cap_capable
29: FTraceback (most recent call last):
29: File "../../tools/cpudist.py", line 160, in <module>
29: b.attach_kprobe(event="finish_task_switch", fn_name="sched_switch")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program sched_switch to kprobe finish_task_switch
29: Fs..Traceback (most recent call last):
29: File "../../tools/dcsnoop.py", line 130, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__d_lookup to kprobe d_lookup
29: FTraceback (most recent call last):
29: File "../../tools/dcstat.py", line 94, in <module>
29: b.attach_kprobe(event="lookup_fast", fn_name="count_fast")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program count_fast to kprobe lookup_fast
29: FsssTraceback (most recent call last):
29: File "../../tools/ext4dist.py", line 196, in <module>
29: b.attach_kprobe(event=ext4_read_fn, fn_name=ext4_trace_read_fn)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe generic_file_read_iter
29: FTraceback (most recent call last):
29: File "../../tools/ext4slower.py", line 317, in <module>
29: b.attach_kprobe(event="generic_file_read_iter", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe generic_file_read_iter
29: FTraceback (most recent call last):
29: File "../../tools/filelife.py", line 114, in <module>
29: b.attach_kprobe(event="vfs_create", fn_name="trace_create")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_create to kprobe vfs_create
29: FTraceback (most recent call last):
29: File "../../tools/fileslower.py", line 202, in <module>
29: b.attach_kprobe(event="__vfs_read", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe __vfs_read
29: FTraceback (most recent call last):
29: File "../../tools/filetop.py", line 162, in <module>
29: b.attach_kprobe(event="vfs_read", fn_name="trace_read_entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_read_entry to kprobe vfs_read
29: FFFTraceback (most recent call last):
29: File "../../tools/funcslower.py", line 240, in <module>
29: b.attach_kprobe(event=function, fn_name="trace_%d" % i)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_0 to kprobe __kmalloc
29: F.Traceback (most recent call last):
29: File "../../tools/hardirqs.py", line 152, in <module>
29: b.attach_kprobe(event="handle_irq_event_percpu", fn_name="trace_start")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_start to kprobe handle_irq_event_percpu
29: FTraceback (most recent call last):
29: File "../../tools/killsnoop.py", line 115, in <module>
29: b.attach_kprobe(event=kill_fnname, fn_name="syscall__kill")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__kill to kprobe sys_kill
29: FsTraceback (most recent call last):
29: File "../../tools/mdflush.py", line 54, in <module>
29: """)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__md_flush_request to kprobe md_flush_request
29: Fss...sssTraceback (most recent call last):
29: File "../../tools/opensnoop.py", line 181, in <module>
29: b.attach_kprobe(event="do_sys_open", fn_name="trace_entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_entry to kprobe do_sys_open
29: FTraceback (most recent call last):
29: File "../../tools/pidpersec.py", line 38, in <module>
29: b.attach_kprobe(event="sched_fork", fn_name="do_count")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_count to kprobe sched_fork
29: FsTraceback (most recent call last):
29: File "../../tools/runqlat.py", line 253, in <module>
29: b.attach_kprobe(event="ttwu_do_wakeup", fn_name="trace_ttwu_do_wakeup")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_ttwu_do_wakeup to kprobe ttwu_do_wakeup
29: FssTraceback (most recent call last):
29: File "../../tools/slabratetop.py", line 107, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__kmem_cache_alloc to kprobe kmem_cache_alloc
29: FssTraceback (most recent call last):
29: File "../../tools/solisten.py", line 186, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__inet_listen to kprobe inet_listen
29: F.sTraceback (most recent call last):
29: File "../../tools/statsnoop.py", line 118, in <module>
29: b.attach_kprobe(event=syscall_fnname, fn_name="syscall__entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__entry to kprobe sys_stat
29: FTraceback (most recent call last):
29: File "../../tools/syncsnoop.py", line 34, in <module>
29: fn_name="syscall__sync")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program syscall__sync to kprobe sys_sync
29: FsTraceback (most recent call last):
29: File "../../tools/tcpaccept.py", line 228, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1109, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 684, in attach_kretprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kretprobe__inet_csk_accept to kretprobe inet_csk_accept
29: FTraceback (most recent call last):
29: File "../../tools/tcpconnect.py", line 290, in <module>
29: b.attach_kprobe(event="tcp_v4_connect", fn_name="trace_connect_entry")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_connect_entry to kprobe tcp_v4_connect
29: FTraceback (most recent call last):
29: File "../../tools/tcpconnlat.py", line 196, in <module>
29: b.attach_kprobe(event="tcp_v4_connect", fn_name="trace_connect")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_connect to kprobe tcp_v4_connect
29: FsTraceback (most recent call last):
29: File "../../tools/tcplife.py", line 456, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__tcp_set_state to kprobe tcp_set_state
29: FTraceback (most recent call last):
29: File "../../tools/tcpretrans.py", line 255, in <module>
29: b.attach_kprobe(event="tcp_retransmit_skb", fn_name="trace_retransmit")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program trace_retransmit to kprobe tcp_retransmit_skb
29: FTraceback (most recent call last):
29: File "../../tools/tcptop.py", line 206, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__tcp_cleanup_rbuf to kprobe tcp_cleanup_rbuf
29: F.FTraceback (most recent call last):
29: File "../../tools/ttysnoop.py", line 101, in <module>
29: b = BPF(text=bpf_text)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 355, in __init__
29: self._trace_autoload()
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1104, in _trace_autoload
29: fn_name=fn.name)
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program kprobe__tty_write to kprobe tty_write
29: Fs...'unknown': I need something more specific.
29: ...Traceback (most recent call last):
29: File "../../tools/vfsstat.py", line 65, in <module>
29: b.attach_kprobe(event="vfs_read", fn_name="do_read")
29: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
29: (fn_name, event))
29: Exception: Failed to attach BPF program do_read to kprobe vfs_read
29: Fs....
29: ======================================================================
29: FAIL: test_argdist (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 69, in test_argdist
29: self.run_with_duration("argdist.py -v -C 'p::do_sys_open()' -n 1 -i 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_biolatency (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 76, in test_biolatency
29: self.run_with_duration("biolatency.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_biosnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 80, in test_biosnoop
29: self.run_with_int("biosnoop.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_biotop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 83, in test_biotop
29: self.run_with_duration("biotop.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_bitesize (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 86, in test_bitesize
29: self.run_with_int("biotop.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_btrfsdist (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 93, in test_btrfsdist
29: self.run_with_duration("btrfsdist.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_btrfsslower (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 98, in test_btrfsslower
29: self.run_with_int("btrfsslower.py", allow_early=True)
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_cachestat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 101, in test_cachestat
29: self.run_with_duration("cachestat.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_capable (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 111, in test_capable
29: self.run_with_int("capable.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_cpudist (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 114, in test_cpudist
29: self.run_with_duration("cpudist.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_dcsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 134, in test_dcsnoop
29: self.run_with_int("dcsnoop.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_dcstat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 137, in test_dcstat
29: self.run_with_duration("dcstat.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_ext4dist (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 156, in test_ext4dist
29: self.run_with_duration("ext4dist.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_ext4slower (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 160, in test_ext4slower
29: self.run_with_int("ext4slower.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_filelife (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 164, in test_filelife
29: self.run_with_int("filelife.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_fileslower (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 168, in test_fileslower
29: self.run_with_int("fileslower.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_filetop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 171, in test_filetop
29: self.run_with_duration("filetop.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_funccount (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 174, in test_funccount
29: self.run_with_int("funccount.py __kmalloc -i 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 0
29:
29: ======================================================================
29: FAIL: test_funclatency (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 178, in test_funclatency
29: self.run_with_int("funclatency.py __kmalloc -i 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 0
29:
29: ======================================================================
29: FAIL: test_funcslower (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 182, in test_funcslower
29: self.run_with_int("funcslower.py __kmalloc")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_hardirqs (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 189, in test_hardirqs
29: self.run_with_duration("hardirqs.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_killsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 200, in test_killsnoop
29: self.run_with_int("killsnoop.py", kill=True)
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_mdflush (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 209, in test_mdflush
29: self.run_with_int("mdflush.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_opensnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 253, in test_opensnoop
29: self.run_with_int("opensnoop.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_pidpersec (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 256, in test_pidpersec
29: self.run_with_int("pidpersec.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_runqlat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 263, in test_runqlat
29: self.run_with_duration("runqlat.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_slabratetop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 278, in test_slabratetop
29: self.run_with_duration("slabratetop.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_solisten (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 287, in test_solisten
29: self.run_with_int("solisten.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_statsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 299, in test_statsnoop
29: self.run_with_int("statsnoop.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_syncsnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 303, in test_syncsnoop
29: self.run_with_int("syncsnoop.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpaccept (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 311, in test_tcpaccept
29: self.run_with_int("tcpaccept.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpconnect (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 315, in test_tcpconnect
29: self.run_with_int("tcpconnect.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpconnlat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 319, in test_tcpconnlat
29: self.run_with_int("tcpconnlat.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_tcplife (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 323, in test_tcplife
29: self.run_with_int("tcplife.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_tcpretrans (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 327, in test_tcpretrans
29: self.run_with_int("tcpretrans.py")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_tcptop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 334, in test_tcptop
29: self.run_with_duration("tcptop.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ======================================================================
29: FAIL: test_trace (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 341, in test_trace
29: self.run_with_int("trace.py do_sys_open")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_ttysnoop (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 345, in test_ttysnoop
29: self.run_with_int("ttysnoop.py /dev/console")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 52, in run_with_int
29: or (rc == 137 and kill), "rc was %d" % rc)
29: AssertionError: rc was 1
29:
29: ======================================================================
29: FAIL: test_vfsstat (__main__.SmokeTests)
29: ----------------------------------------------------------------------
29: Traceback (most recent call last):
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 380, in test_vfsstat
29: self.run_with_duration("vfsstat.py 1 1")
29: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py", line 32, in run_with_duration
29: (timeout, full_command), shell=True))
29: AssertionError: 0 != 1
29:
29: ----------------------------------------------------------------------
29: Ran 80 tests in 79.029s
29:
29: FAILED (failures=39, skipped=20)
29: Failed
29/40 Test #29: py_test_tools_smoke ..............***Failed 79.07 sec
test 30
Start 30: py_test_tools_memleak
30: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_memleak.py"
30: Test timeout computed to be: 9.99988e+06
30: ssssssss
30: ----------------------------------------------------------------------
30: Ran 8 tests in 0.063s
30:
30: OK (skipped=8)
30/40 Test #30: py_test_tools_memleak ............ Passed 0.10 sec
test 31
Start 31: py_test_usdt
31: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt.py"
31: Test timeout computed to be: 9.99988e+06
31: <stdin>: In function ‘main’:
31: <stdin>:23:17: warning: null character(s) preserved in literal
31: <stdin>:25:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: <stdin>:25:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: <stdin>:28:17: warning: null character(s) preserved in literal
31: <stdin>:30:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: <stdin>:30:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -coverage-file /usr/src/linux-headers-4.4.0-116-generic/main.c -nostdsysteminc -nobuiltininc -resource-dir ../lib/clang/3.8.0 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python -D __BPF_TRACING__ -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/linux-headers-4.4.0-116-generic -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
31: #if defined(BPF_LICENSE)
31: #error BPF_LICENSE cannot be specified through cflags
31: #endif
31: #if !defined(CONFIG_CC_STACKPROTECTOR)
31: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
31: || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
31: || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
31: #define CONFIG_CC_STACKPROTECTOR
31: #endif
31: #endif
31: #include <uapi/linux/ptrace.h>
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace1_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int8_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e4ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: case 0x4006eaULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace1_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e4ULL: { u64 __addr = ctx->bp + -204; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006eaULL: { u64 __addr = ctx->bp + -208; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace3_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e5ULL: { u64 __addr = ctx->bp + -208; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006f8ULL: *((int32_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace3_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e5ULL: { u64 __addr = ctx->bp + -204; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006f8ULL: *((int32_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace2_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: *((int32_t *)dest) = 5;
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace2_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int8_t)) return -1;
31: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace4_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace4_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace5_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace5_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31:
31: #include <linux/blkdev.h>
31: #include <uapi/linux/ptrace.h>
31:
31: struct probe_result_t1 {
31: char v1;
31: int v2;
31: };
31:
31: struct probe_result_t2 {
31: int v1;
31: char v2;
31: };
31:
31: struct probe_result_t3 {
31: int v1;
31: int v2;
31: };
31:
31: struct probe_result_t4 {
31: u64 v1;
31: char v2[8];
31: };
31:
31: struct probe_result_t5 {
31: char v1[8];
31: u64 v2;
31: };
31:
31: BPF_PERF_OUTPUT(event1);
31: BPF_PERF_OUTPUT(event2);
31: BPF_PERF_OUTPUT(event3);
31: BPF_PERF_OUTPUT(event4);
31: BPF_PERF_OUTPUT(event5);
31:
31: __attribute__((section(".bpf.fn.do_trace1")))
31: int do_trace1(struct pt_regs *ctx) {
31:
31: struct probe_result_t1 result = {};
31: _bpf_readarg_do_trace1_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace1_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -1), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: };
31: __attribute__((section(".bpf.fn.do_trace2")))
31: int do_trace2(struct pt_regs *ctx) {
31:
31: struct probe_result_t2 result = {};
31: _bpf_readarg_do_trace2_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace2_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -2), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace3")))
31: int do_trace3(struct pt_regs *ctx) {
31:
31: struct probe_result_t3 result = {};
31: _bpf_readarg_do_trace3_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace3_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -3), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace4")))
31: int do_trace4(struct pt_regs *ctx) {
31:
31: struct probe_result_t4 result = {};
31: _bpf_readarg_do_trace4_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: ({ u64 __addr = 0x0; _bpf_readarg_do_trace4_2(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v2, sizeof(result.v2), (void *)__addr);});
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -4), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace5")))
31: int do_trace5(struct pt_regs *ctx) {
31:
31: struct probe_result_t5 result = {};
31: ({ u64 __addr = 0x0; _bpf_readarg_do_trace5_1(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v1, sizeof(result.v1), (void *)__addr);});
31: _bpf_readarg_do_trace5_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -5), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31:
31: #include <bcc/footer.h>
31: .
31: ----------------------------------------------------------------------
31: Ran 1 test in 4.050s
31:
31: OK
31: Running from kernel directory at: /lib/modules/4.4.0-116-generic/build
31: str5
31: str4
31: str7
31: str6
31: str9
31: str8
31/40 Test #31: py_test_usdt ..................... Passed 4.28 sec
test 32
Start 32: py_test_usdt2
32: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt2.py"
32: Test timeout computed to be: 9.99988e+06
32: .
32: ----------------------------------------------------------------------
32: Ran 1 test in 2.045s
32:
32: OK
32/40 Test #32: py_test_usdt2 .................... Passed 2.20 sec
test 33
Start 33: py_test_usdt3
33: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt3" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt3.py"
33: Test timeout computed to be: 9.99988e+06
33: test:probe [sema 0x0]
33: location #1 /proc/8840/root/tmp/tmpXYzRdZ/liba.so 0x657
33: argument #1 4 signed bytes @ *(bp - 4)
33: location #2 /proc/8840/root/tmp/tmpXYzRdZ/libb.so 0x657
33: argument #1 4 signed bytes @ *(bp - 4)
33: location #3 /proc/8840/root/tmp/tmpXYzRdZ/a.out 0x40072d
33: argument #1 4 signed bytes @ *(bp - 4)
33: libc:setjmp [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x351f1
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ ax
33: libc:longjmp [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x352d3
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: location #2 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x119063
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: libc:longjmp_target [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x352ef
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: location #2 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x11907f
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: libc:memory_heap_new [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d398
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ bp
33: libc:memory_arena_reuse_free_list [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d6ec
33: argument #1 8 unsigned bytes @ dx
33: libc:memory_sbrk_less [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d8de
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 signed bytes @ bx
33: libc:memory_arena_reuse_wait [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d9eb
33: argument #1 8 unsigned bytes @ dx
33: argument #2 8 unsigned bytes @ dx
33: argument #3 8 unsigned bytes @ bx
33: libc:memory_arena_reuse [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7db14
33: argument #1 8 unsigned bytes @ dx
33: argument #2 8 unsigned bytes @ bx
33: libc:memory_arena_new [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7dcbb
33: argument #1 8 unsigned bytes @ dx
33: argument #2 8 unsigned bytes @ bp
33: libc:memory_arena_retry [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7deb3
33: argument #1 8 unsigned bytes @ si
33: argument #2 8 unsigned bytes @ di
33: libc:memory_heap_free [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x80265
33: argument #1 8 unsigned bytes @ di
33: argument #2 8 unsigned bytes @ ax
33: libc:memory_heap_less [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x8040e
33: argument #1 8 unsigned bytes @ r15
33: argument #2 8 unsigned bytes @ r14
33: libc:memory_heap_more [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x81351
33: argument #1 8 unsigned bytes @ r8
33: argument #2 8 unsigned bytes @ cx
33: libc:memory_sbrk_more [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x81638
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 signed bytes @ r15
33: libc:memory_malloc_retry [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84268
33: argument #1 8 unsigned bytes @ bp
33: location #2 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85978
33: argument #1 8 unsigned bytes @ bp
33: libc:memory_mallopt_free_dyn_thresholds [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84581
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ dx
33: libc:memory_realloc_retry [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84a20
33: argument #1 8 unsigned bytes @ r13
33: argument #2 8 unsigned bytes @ bx
33: location #2 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85da0
33: argument #1 8 unsigned bytes @ r13
33: argument #2 8 unsigned bytes @ bx
33: libc:memory_memalign_retry [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84c48
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #2 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85fe8
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #3 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x867d8
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #4 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x86ac8
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #5 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x87822
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ r12
33: libc:memory_calloc_retry [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84f40
33: argument #1 8 unsigned bytes @ bp
33: libc:memory_mallopt [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x852d4
33: argument #1 4 signed bytes @ bx
33: argument #2 4 signed bytes @ bp
33: libc:memory_mallopt_mxfast [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85302
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&global_max_fast + 0)
33: libc:memory_mallopt_arena_max [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x8532c
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 32)
33: libc:memory_mallopt_arena_test [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85384
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 24)
33: libc:memory_mallopt_mmap_max [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85398
33: argument #1 4 signed bytes @ bp
33: argument #2 4 signed bytes @ *(&mp_ + 44)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_mmap_threshold [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x853be
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 16)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_top_pad [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x853e0
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 8)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_trim_threshold [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85400
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 0)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_perturb [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85420
33: argument #1 4 signed bytes @ bp
33: argument #2 4 signed bytes @ *(&perturb_byte + 0)
33: libc:memory_mallopt_check_action [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85438
33: argument #1 4 signed bytes @ bp
33: argument #2 4 signed bytes @ *(&check_action + 0)
33: libc:lll_lock_wait_private [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/libc-2.23.so 0x115094
33: argument #1 8 unsigned bytes @ di
33: rtld:init_start [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x396a
33: argument #1 4 signed bytes @ 0
33: argument #2 8 unsigned bytes @ r14
33: rtld:init_complete [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x3f3b
33: argument #1 4 signed bytes @ 0
33: argument #2 8 unsigned bytes @ bx
33: rtld:map_failed [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x56f6
33: argument #1 8 signed bytes @ *(sp + 72)
33: argument #2 8 unsigned bytes @ bp
33: rtld:map_start [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x669a
33: argument #1 8 signed bytes @ *(bp + 40)
33: argument #2 8 unsigned bytes @ *(bp - 216)
33: rtld:map_complete [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x15650
33: argument #1 8 signed bytes @ *(ax + 40)
33: argument #2 8 unsigned bytes @ *(bp - 120)
33: argument #3 8 unsigned bytes @ *(bp - 104)
33: rtld:reloc_start [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1586c
33: argument #1 8 signed bytes @ *(r12 + 40)
33: argument #2 8 unsigned bytes @ *(bp - 120)
33: rtld:reloc_complete [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x158c9
33: argument #1 8 signed bytes @ *(ax + 40)
33: argument #2 8 unsigned bytes @ *(bp - 120)
33: argument #3 8 unsigned bytes @ *(bp - 104)
33: rtld:unmap_start [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x165d5
33: argument #1 8 signed bytes @ *(bp - 112)
33: argument #2 8 unsigned bytes @ *(bp - 88)
33: rtld:unmap_complete [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x167e6
33: argument #1 8 signed bytes @ *(bp - 112)
33: argument #2 8 unsigned bytes @ *(bp - 88)
33: rtld:setjmp [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1b64d
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ ax
33: rtld:longjmp [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1b68d
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: rtld:longjmp_target [sema 0x0]
33: location #1 /proc/8840/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1b6a9
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: .
33: ----------------------------------------------------------------------
33: Ran 1 test in 1.126s
33:
33: OK
33: temp directory: /tmp/tmpXYzRdZ
33/40 Test #33: py_test_usdt3 .................... Passed 1.26 sec
test 34
Start 34: py_test_license
34: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_license" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py"
34: Test timeout computed to be: 9.99988e+06
34: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: x/virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: xEbpf: Failed to load program: Invalid argument
34: 0: (bf) r6 = r1
34: 1: (85) call 5
34: cannot call GPL only function from proprietary program
34:
34: xEE/virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: xbpf: Failed to load program: Invalid argument
34: 0: (bf) r6 = r1
34: 1: (85) call 5
34: cannot call GPL only function from proprietary program
34:
34: xEE
34: ======================================================================
34: ERROR: test_default (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 63, in test_default
34: self.load_bpf_code(b)
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program license_program to kprobe sys_read
34:
34: ======================================================================
34: ERROR: test_gpl_compatible_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 75, in test_gpl_compatible_macro
34: self.load_bpf_code(b)
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program license_program to kprobe sys_read
34:
34: ======================================================================
34: ERROR: test_gpl_helper_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 67, in test_gpl_helper_macro
34: self.load_bpf_code(b)
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program license_program to kprobe sys_read
34:
34: ======================================================================
34: ERROR: test_proprietary_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 71, in test_proprietary_macro
34: self.load_bpf_code(b)
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program license_program to kprobe sys_read
34:
34: ======================================================================
34: ERROR: test_proprietary_words_macro (__main__.TestLicense)
34: ----------------------------------------------------------------------
34: Traceback (most recent call last):
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 79, in test_proprietary_words_macro
34: self.load_bpf_code(b)
34: File "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py", line 58, in load_bpf_code
34: bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
34: File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 659, in attach_kprobe
34: (fn_name, event))
34: Exception: Failed to attach BPF program license_program to kprobe sys_read
34:
34: ----------------------------------------------------------------------
34: Ran 10 tests in 1.512s
34:
34: FAILED (errors=5, expected failures=5)
34: Failed
34/40 Test #34: py_test_license ..................***Failed 1.56 sec
test 35
Start 35: py_test_free_bcc_memory
35: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_free_bcc_memory" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_free_bcc_memory.py"
35: Test timeout computed to be: 9.99988e+06
35: s
35: ----------------------------------------------------------------------
35: Ran 1 test in 0.000s
35:
35: OK (skipped=1)
35/40 Test #35: py_test_free_bcc_memory .......... Passed 0.05 sec
test 36
Start 36: py_test_rlimit
36: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_rlimit" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_rlimit.py"
36: Test timeout computed to be: 9.99988e+06
36: could not open bpf map: unused, error: Operation not permitted
36: .
36: ----------------------------------------------------------------------
36: Ran 1 test in 0.298s
36:
36: OK
36/40 Test #36: py_test_rlimit ................... Passed 0.37 sec
test 37
Start 37: lua_test_clang
37: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_clang" "sudo" "/usr/bin/luajit" "test_clang.lua"
37: Test timeout computed to be: 9.99988e+06
37: /virtual/main.c:1:30: error: expected expression
37: int failure(void *ctx) { if (); return 0; }
37: ^
37: 1 error generated.
37: ....................
37: Ran 20 tests in 10.907 seconds, 20 successes, 0 failures
37: OK
37/40 Test #37: lua_test_clang ................... Passed 10.94 sec
test 38
Start 38: lua_test_uprobes
38: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
38: Test timeout computed to be: 9.99988e+06
38: Python 2.7.12
38: Arena 0:
38: system bytes = 17678336
38: in use bytes = 1009344
38: Total (incl. mmap):
38: system bytes = 17678336
38: in use bytes = 1009344
38: max mmap regions = 6
38: max mmap bytes = 1990656
38: ..
38: Ran 2 tests in 0.298 seconds, 2 successes, 0 failures
38: OK
38/40 Test #38: lua_test_uprobes ................. Passed 0.40 sec
test 39
Start 39: lua_test_dump
39: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
39: Test timeout computed to be: 9.99988e+06
39: .
39: Ran 1 tests in 0.152 seconds, 1 successes, 0 failures
39: OK
39/40 Test #39: lua_test_dump .................... Passed 0.17 sec
test 40
Start 40: lua_test_standalone
40: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/lua/test_standalone.sh
40: Test timeout computed to be: 9.99988e+06
40: + cd src/lua
40: + [[ ! -x bcc-lua ]]
40: + echo 'bcc-lua not built --- skipping'
40: bcc-lua not built --- skipping
40: + exit 0
40/40 Test #40: lua_test_standalone .............. Passed 0.00 sec
70% tests passed, 12 tests failed out of 40
Total Test time (real) = 211.69 sec
The following tests 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)
18 - py_test_clang (Failed)
19 - py_test_histogram (Failed)
20 - py_array (Failed)
24 - py_test_perf_event (Failed)
29 - py_test_tools_smoke (Failed)
34 - py_test_license (Failed)
Errors while running CTest
Build step 'Execute shell' marked build as failure
Finished: FAILURE