Console Output

Started by upstream project "bcc-pr" build number 932
originally caused by:
 GitHub pull request #3371 of commit 6c903d2d977e176eb93842c489f95d356b2b4468, no merge conflicts.
Running as SYSTEM
Building remotely on fedora28-slave-97d (fc28) in workspace /home/fedora/jenkins/workspace/bcc-pr/label/fc28
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/iovisor/bcc.git
 > git init /home/fedora/jenkins/workspace/bcc-pr/label/fc28 # timeout=10
Fetching upstream changes from https://github.com/iovisor/bcc.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/iovisor/bcc.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10
Fetching upstream changes from https://github.com/iovisor/bcc.git
 > git fetch --tags --progress -- https://github.com/iovisor/bcc.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins.io/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData
Checking out Revision 0a37f904eace616b467a6f16d55c024fd9dab6f1 (refs/remotes/origin/pr/3371/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0a37f904eace616b467a6f16d55c024fd9dab6f1 # timeout=10
Commit message: "Merge 6c903d2d977e176eb93842c489f95d356b2b4468 into 0cf8166505ba89f14545d6fc54d088aad127d870"
First time build. Skipping changelog.
Run condition [Execute Shell] enabling prebuild for step [Execute shell]
Run condition [Execute Shell] enabling prebuild for step [Execute shell]
[fc28] $ /bin/sh -xe /tmp/CommandInterpreterCondition8625023069522966102.sh
+ grep -q '^ID=fedora' /etc/os-release
Run condition [Execute Shell] enabling perform for step [Execute shell]
[fc28] $ /bin/sh -xe /tmp/jenkins3348088721105441287.sh
+ git clean -df
+ sudo dnf erase -y bcc-tools libbcc libbcc-examples python-bcc bcc-lua
No match for argument: bcc-tools
No match for argument: libbcc
No match for argument: libbcc-examples
No match for argument: python-bcc
No match for argument: bcc-lua
Error: No packages marked for removal.
+ :
+ rm -rf build
+ export PATH=/opt/local/llvm/bin:/usr/local/bin:/usr/bin
+ PATH=/opt/local/llvm/bin:/usr/local/bin:/usr/bin
+ ./scripts/build-rpm.sh
+ set -e
++ mktemp -d /tmp/rpmbuild.XXXXXX
+ TMP=/tmp/rpmbuild.Mht0S3
+ trap cleanup EXIT
+ '[' -f os-release ']'
+ [[ '' -lt 30 ]]
+ PKGS='python3-cachetools python-cachetools'
+ sudo dnf install -y python3-cachetools python-cachetools
Fedora 28 - x86_64 - Updates                     25 MB/s |  30 MB     00:01    
Fedora 28 - x86_64                              110 MB/s |  60 MB     00:00    
Last metadata expiration check: 0:00:08 ago on Sat 24 Apr 2021 06:36:02 PM UTC.
Dependencies resolved.
================================================================================
 Package                  Arch         Version               Repository    Size
================================================================================
Installing:
 python2-cachetools       noarch       2.0.1-4.fc28          fedora        30 k
 python3-cachetools       noarch       2.0.1-4.fc28          fedora        31 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 61 k
Installed size: 142 k
Downloading Packages:
(1/2): python2-cachetools-2.0.1-4.fc28.noarch.r  79 kB/s |  30 kB     00:00    
(2/2): python3-cachetools-2.0.1-4.fc28.noarch.r  80 kB/s |  31 kB     00:00    
--------------------------------------------------------------------------------
Total                                            74 kB/s |  61 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : python2-cachetools-2.0.1-4.fc28.noarch                 1/2 
  Installing       : python3-cachetools-2.0.1-4.fc28.noarch                 2/2 
  Running scriptlet: python3-cachetools-2.0.1-4.fc28.noarch                 2/2 
  Verifying        : python3-cachetools-2.0.1-4.fc28.noarch                 1/2 
  Verifying        : python2-cachetools-2.0.1-4.fc28.noarch                 2/2 

Installed:
  python2-cachetools.noarch 2.0.1-4.fc28 python3-cachetools.noarch 2.0.1-4.fc28

Complete!
+ mkdir /tmp/rpmbuild.Mht0S3/BUILD /tmp/rpmbuild.Mht0S3/RPMS /tmp/rpmbuild.Mht0S3/SOURCES /tmp/rpmbuild.Mht0S3/SPECS /tmp/rpmbuild.Mht0S3/SRPMS
+ llvmver=3.7.1
+ git submodule update --init --recursive
Submodule 'src/cc/libbpf' (https://github.com/libbpf/libbpf.git) registered for path 'src/cc/libbpf'
Cloning into '/home/fedora/jenkins/workspace/bcc-pr/label/fc28/src/cc/libbpf'...
Submodule path 'src/cc/libbpf': checked out '174d0b7b499fd90cb1d67bee689fb55974009f3e'
+ . scripts/git-tag.sh
+++ git describe --tags --abbrev=0
++ git_tag_latest=v0.19.0
+++ git rev-list v0.19.0.. --count
++ git_rev_count=20
++ git_rev_count=21
+++ git log --pretty=%s -n 1
++ git_subject='Merge 6c903d2d977e176eb93842c489f95d356b2b4468 into 0cf8166505ba89f14545d6fc54d088aad127d870'
++ release=21
++ [[ 21 != \1 ]]
+++ git log --pretty=%h -n 1
++ release=21.git.0a37f904
++ revision=0.19.0
+ git archive HEAD --prefix=bcc/ --format=tar -o /tmp/rpmbuild.Mht0S3/SOURCES/bcc.tar
+ pushd src/cc/libbpf
~/jenkins/workspace/bcc-pr/label/fc28/src/cc/libbpf ~/jenkins/workspace/bcc-pr/label/fc28
+ git archive HEAD --prefix=bcc/src/cc/libbpf/ --format=tar -o /tmp/rpmbuild.Mht0S3/SOURCES/bcc_libbpf.tar
+ popd
~/jenkins/workspace/bcc-pr/label/fc28
+ pushd /tmp/rpmbuild.Mht0S3/SOURCES
/tmp/rpmbuild.Mht0S3/SOURCES ~/jenkins/workspace/bcc-pr/label/fc28
+ tar -A -f bcc.tar bcc_libbpf.tar
+ gzip bcc.tar
+ popd
~/jenkins/workspace/bcc-pr/label/fc28
+ sed -e 's/^\(Version:\s*\)@REVISION@/\10.19.0/' -e 's/^\(Release:\s*\)@GIT_REV_COUNT@/\121.git.0a37f904/' SPECS/bcc.spec
+ pushd /tmp/rpmbuild.Mht0S3
/tmp/rpmbuild.Mht0S3 ~/jenkins/workspace/bcc-pr/label/fc28
++ pwd
+ rpmbuild --define '_topdir /tmp/rpmbuild.Mht0S3' -ba SPECS/bcc.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pTME7f
+ umask 022
+ cd /tmp/rpmbuild.Mht0S3/BUILD
+ cd /tmp/rpmbuild.Mht0S3/BUILD
+ rm -rf bcc
+ /usr/bin/gzip -dc /tmp/rpmbuild.Mht0S3/SOURCES/bcc.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd bcc
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fFQAQj
+ umask 022
+ cd /tmp/rpmbuild.Mht0S3/BUILD
+ cd bcc
+ mkdir build
+ pushd build
/tmp/rpmbuild.Mht0S3/BUILD/bcc/build /tmp/rpmbuild.Mht0S3/BUILD/bcc
++ pkg-config --variable=includedir luajit
++ pkg-config --variable=libdir luajit
++ pkg-config --variable=libname luajit
+ cmake .. -DREVISION_LAST=0.19.0 -DREVISION=0.19.0 -DCMAKE_INSTALL_PREFIX=/usr -DLUAJIT_INCLUDE_DIR=/usr/include/luajit-2.1 -DLUAJIT_LIBRARIES=/usr/lib64/libluajit-5.1.so '-DPYTHON_CMD=python2;python3' -DENABLE_LLVM_SHARED=1
-- The C compiler identification is GNU 8.1.1
-- The CXX compiler identification is GNU 8.1.1
-- 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
Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path>
fatal: not a git repository (or any of the parent directories): .git
-- Revision is 0.19.0
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Success
-- Found LLVM: /usr/include 6.0.1
-- Found BISON: /usr/bin/bison (found version "3.0.4") 
-- Found FLEX: /usr/bin/flex (found version "2.6.1") 
-- Found LibElf: /usr/lib64/libelf.so  
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Found LuaJIT: /usr/lib64/libluajit-5.1.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/rpmbuild.Mht0S3/BUILD/bcc/build
+ make -j2
Scanning dependencies of target bpf-shared
Scanning dependencies of target bpf-static
[  2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o
[  2%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o
[  2%] Building C object src/cc/CMakeFiles/bpf-shared.dir/perf_reader.c.o
[  2%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o
[  2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o
[  2%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf_prog_linfo.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf_dump.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/hashmap.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_errno.c.o
[  7%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_probes.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/linker.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/linker.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/netlink.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/nlattr.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/ringbuf.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/ringbuf.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/str_error.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
[ 11%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/strset.c.o
[ 12%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/strset.c.o
[ 12%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o
[ 12%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/xsk.c.o
[ 12%] Linking C static library libbcc_bpf.a
[ 12%] Linking C shared library libbcc_bpf.so
[ 12%] Built target bpf-shared
Scanning dependencies of target bcc-loader-static
[ 12%] Built target bpf-static
[ 13%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
Scanning dependencies of target clang_frontend
[ 13%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o
[ 13%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[ 13%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[ 14%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[ 14%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[ 14%] Linking CXX static library libbcc-loader-static.a
[ 14%] Built target bcc-loader-static
Scanning dependencies of target api-static
[ 14%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
In file included from /tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/api/BPF.cc:32:
/tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/bcc_exception.h: In member function 'ebpf::StatusTuple ebpf::BPF::detach_raw_tracepoint_event(const string&, ebpf::open_probe_t&)':
/tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/bcc_exception.h:24:7: warning: '__stp.ebpf::StatusTuple::code_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 class StatusTuple {
       ^~~~~~~~~~~
[ 14%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
/tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/api/BPFTable.cc:277:6: error: no declaration matches 'void ebpf::BPFStackTable::free_symcache(int)'
 void BPFStackTable::free_symcache(int pid) {
      ^~~~~~~~~~~~~
/tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/api/BPFTable.cc:277:6: note: no functions named 'void ebpf::BPFStackTable::free_symcache(int)'
In file included from /tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/api/BPFTable.cc:29:
/tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/api/BPFTable.h:374:7: note: 'class ebpf::BPFStackTable' defined here
 class BPFStackTable : public BPFTableBase<int, stacktrace_t> {
       ^~~~~~~~~~~~~
make[2]: *** [src/cc/api/CMakeFiles/api-static.dir/build.make:76: src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:370: src/cc/api/CMakeFiles/api-static.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 15%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
[ 15%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o
[ 15%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o
/tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/frontends/clang/kbuild_helper.cc:80:3: warning: multi-line comment [-Wcomment]
   // USERINCLUDE    := \
   ^
/tmp/rpmbuild.Mht0S3/BUILD/bcc/src/cc/frontends/clang/kbuild_helper.cc:89:3: warning: multi-line comment [-Wcomment]
   // LINUXINCLUDE    := \
   ^
[ 16%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o
[ 16%] Linking CXX static library libclang_frontend.a
[ 16%] Built target clang_frontend
make: *** [Makefile:141: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.fFQAQj (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.fFQAQj (%build)
+ cleanup
+ [[ -d /tmp/rpmbuild.Mht0S3 ]]
+ rm -rf /tmp/rpmbuild.Mht0S3
Build step 'Conditional step (single)' marked build as failure
Taking single-use slave fedora28-slave-97d offline.
Finished: FAILURE