Started by upstream project "bcc-pr" build number 222 originally caused by: GitHub pull request #2665 of commit 28de2a84ef1c9b2b4fa66b2957f98522990a1c4e, no merge conflicts. Running as SYSTEM Building remotely on fedora25-slave-2b6 (fc25) in workspace /home/fedora/jenkins/workspace/bcc-pr/label/fc25 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/fc25 # 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 0973d77c52fc33cee6a347384aeb3ba0e38b0e01 (refs/remotes/origin/pr/2665/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 0973d77c52fc33cee6a347384aeb3ba0e38b0e01 # timeout=10 Commit message: "Merge 28de2a84ef1c9b2b4fa66b2957f98522990a1c4e into c14d02a521cdeddc54a1189cd66a90cbd632a9a5" > git rev-list --no-walk 7994de7b50d0810eb45433b2930144b634e292da # timeout=10 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] [fc25] $ /bin/sh -xe /tmp/CommandInterpreterCondition9223243109471561099.sh + grep -q '^ID=fedora' /etc/os-release Run condition [Execute Shell] enabling perform for step [Execute shell] [fc25] $ /bin/sh -xe /tmp/jenkins4468693765575407701.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.Tj8Bp7 + trap cleanup EXIT + mkdir /tmp/rpmbuild.Tj8Bp7/BUILD /tmp/rpmbuild.Tj8Bp7/RPMS /tmp/rpmbuild.Tj8Bp7/SOURCES /tmp/rpmbuild.Tj8Bp7/SPECS /tmp/rpmbuild.Tj8Bp7/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/fc25/src/cc/libbpf'... Submodule path 'src/cc/libbpf': checked out 'e7a82fc0330f1189797d16b03fc6391475d79c6d' + . scripts/git-tag.sh +++ git describe --abbrev=0 ++ git_tag_latest=v0.11.0 +++ git rev-list v0.11.0.. --count ++ git_rev_count=96 ++ git_rev_count=97 +++ git log --pretty=%s -n 1 ++ git_subject='Merge 28de2a84ef1c9b2b4fa66b2957f98522990a1c4e into c14d02a521cdeddc54a1189cd66a90cbd632a9a5' ++ release=97 ++ [[ 97 != \1 ]] +++ git log --pretty=%h -n 1 ++ release=97.git.0973d77 ++ revision=0.11.0 + git archive HEAD --prefix=bcc/ --format=tar -o /tmp/rpmbuild.Tj8Bp7/SOURCES/bcc.tar + pushd src/cc/libbpf ~/jenkins/workspace/bcc-pr/label/fc25/src/cc/libbpf ~/jenkins/workspace/bcc-pr/label/fc25 + git archive HEAD --prefix=bcc/src/cc/libbpf/ --format=tar -o /tmp/rpmbuild.Tj8Bp7/SOURCES/bcc_libbpf.tar + popd ~/jenkins/workspace/bcc-pr/label/fc25 + pushd /tmp/rpmbuild.Tj8Bp7/SOURCES /tmp/rpmbuild.Tj8Bp7/SOURCES ~/jenkins/workspace/bcc-pr/label/fc25 + tar -A -f bcc.tar bcc_libbpf.tar + gzip bcc.tar + popd ~/jenkins/workspace/bcc-pr/label/fc25 + sed -e 's/^\(Version:\s*\)@REVISION@/\10.11.0/' -e 's/^\(Release:\s*\)@GIT_REV_COUNT@/\197.git.0973d77/' SPECS/bcc.spec + pushd /tmp/rpmbuild.Tj8Bp7 /tmp/rpmbuild.Tj8Bp7 ~/jenkins/workspace/bcc-pr/label/fc25 ++ pwd + rpmbuild --define '_topdir /tmp/rpmbuild.Tj8Bp7' -ba SPECS/bcc.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OJrJrf + umask 022 + cd /tmp/rpmbuild.Tj8Bp7/BUILD + cd /tmp/rpmbuild.Tj8Bp7/BUILD + rm -rf bcc + /usr/bin/tar -xof - + /usr/bin/gzip -dc /tmp/rpmbuild.Tj8Bp7/SOURCES/bcc.tar.gz + 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.Yci9tR + umask 022 + cd /tmp/rpmbuild.Tj8Bp7/BUILD + cd bcc + mkdir build + pushd build /tmp/rpmbuild.Tj8Bp7/BUILD/bcc/build /tmp/rpmbuild.Tj8Bp7/BUILD/bcc ++ pkg-config --variable=includedir luajit ++ pkg-config --variable=libdir luajit ++ pkg-config --variable=libname luajit + cmake .. -DREVISION_LAST=0.11.0 -DREVISION=0.11.0 -DCMAKE_INSTALL_PREFIX=/usr -DLUAJIT_INCLUDE_DIR=/usr/include/luajit-2.0 -DLUAJIT_LIBRARIES=/usr/lib64/libluajit-5.1.so -DPYTHON_CMD=python2 -- The C compiler identification is GNU 6.4.1 -- The CXX compiler identification is GNU 6.4.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 -- Revision is 0.11.0 -- 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/include 3.9.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.Tj8Bp7/BUILD/bcc/build + make -j2 Scanning dependencies of target bpf-static Scanning dependencies of target clang_frontend [ 0%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o [ 0%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o [ 0%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o [ 1%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o [ 1%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o [ 2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o [ 2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o [ 2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o [ 3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o [ 3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o [ 3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o [ 4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o [ 4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o [ 5%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o [ 5%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o [ 5%] Linking C static library libbcc_bpf.a [ 5%] Built target bpf-static Scanning dependencies of target api-static [ 5%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o [ 6%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o [ 7%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o [ 7%] Linking CXX static library libapi-static.a [ 7%] Built target api-static [ 7%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o [ 8%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o [ 8%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o Scanning dependencies of target usdt-static [ 8%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o [ 8%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o [ 9%] Linking CXX static library libusdt-static.a [ 9%] Built target usdt-static [ 10%] [FLEX][Lexer] Building scanner with flex 2.6.0 lexer.ll:110: warning, -s option given but default rule can be matched [ 10%] [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 [ 10%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o [ 11%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o [ 11%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o [ 11%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o [ 11%] Linking CXX static library libclang_frontend.a [ 11%] Built target clang_frontend Scanning dependencies of target bcc-loader-static [ 12%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o /tmp/rpmbuild.Tj8Bp7/BUILD/bcc/src/cc/bcc_syms.cc: In function 'int bcc_resolve_symname(const char*, const char*, uint64_t, int, bcc_symbol_option*, bcc_symbol*)': /tmp/rpmbuild.Tj8Bp7/BUILD/bcc/src/cc/bcc_syms.cc:778:5: error: expected ';' before 'if' if (bcc_elf_foreach_load_section(sym->module, &_find_load, &addr) < 0) ^~ src/cc/CMakeFiles/bcc-loader-static.dir/build.make:62: recipe for target 'src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o' failed make[2]: *** [src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o] Error 1 CMakeFiles/Makefile2:166: recipe for target 'src/cc/CMakeFiles/bcc-loader-static.dir/all' failed make[1]: *** [src/cc/CMakeFiles/bcc-loader-static.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 13%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o [ 13%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o [ 14%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o [ 14%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o /tmp/rpmbuild.Tj8Bp7/BUILD/bcc/build/src/cc/frontends/b/lexer.ll.cc: In member function 'virtual int ebpf::cc::Lexer::yylex()': /tmp/rpmbuild.Tj8Bp7/BUILD/bcc/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 ) ~~~~^~~~~~~~ [ 14%] Linking CXX static library libb_frontend.a [ 14%] Built target b_frontend Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Yci9tR (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Yci9tR (%build) + cleanup + [[ -d /tmp/rpmbuild.Tj8Bp7 ]] + rm -rf /tmp/rpmbuild.Tj8Bp7 Build step 'Conditional step (single)' marked build as failure Taking single-use slave fedora25-slave-2b6 offline. Finished: FAILURE