Console Output
Started by upstream project "libwapcaplet" build number 332
originally caused by:
Started by upstream project "buildsystem" build number 1472
originally caused by:
Started by user Vincent Sanders
Building remotely on ciworker0 (x86_64-linux-gnu runner) in workspace /var/lib/jenkins/workspace/coverage-libwapcaplet
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git://git.netsurf-browser.org/libwapcaplet.git # timeout=10
Fetching upstream changes from git://git.netsurf-browser.org/libwapcaplet.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress git://git.netsurf-browser.org/libwapcaplet.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 857ac3ff3f26dfe5a662b072d4d808f847bbac78 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 857ac3ff3f26dfe5a662b072d4d808f847bbac78
> git rev-list 857ac3ff3f26dfe5a662b072d4d808f847bbac78 # timeout=10
> git tag -a -f -m Jenkins Build #162 jenkins-coverage-libwapcaplet-162 # timeout=10
[coverage-libwapcaplet] $ /bin/sh -xe /tmp/hudson4951081025272063237.sh
+ cc -dumpmachine
+ export HOST=x86_64-linux-gnu
+ bash -ex /var/lib/jenkins/artifacts-x86_64-linux-gnu/share/netsurf-buildsystem/citools/jenkins-build.sh coverage
+ '[' xx86_64-linux-gnu = x ']'
+ ARTIFACT_HOME=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ '[' x = x ']'
++ cc -dumpmachine
+ BUILD=x86_64-linux-gnu
+ TARGET_TEST=
+ TARGET_INSTALL=
+ TARGET_COVERAGE=
+ TARGET_STATIC=
+ TARGET_COVERITY=
+ TARGET_DOCS=
+ VARIANT=release
+ case "$1" in
+ TARGET_COVERAGE=x86_64-linux-gnu
+ VARIANT=debug
+ export CCACHE=
+ CCACHE=
+ case ${BUILD} in
+ MAKE=make
+ mkdir -p /var/lib/jenkins/artifacts-x86_64-linux-gnu
+ export PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ export PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig
+ PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig
+ export LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib
+ LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib
+ export PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin
+ PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin
+ make Q= clean HOST=x86_64-linux-gnu VARIANT=debug
rm -f
rm -f gmon.out
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.d
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.gcda build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.gcda build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.gcno build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.gcno build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcno
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.o
rm -f -r build/docs
rm -f -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
+ '[' xx86_64-linux-gnu = xx86_64-linux-gnu ']'
+ CFLAGS=-Wno-error
+ make Q= HOST=x86_64-linux-gnu VARIANT=debug coverage
mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage
touch build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/stamp
rm -f
rm -f gmon.out
rm -f
rm -f
rm -f
rm -f
lcov --directory . --zerocounters
Deleting all .da files in . and subdirectories
Done.
COMPILE: src/libwapcaplet.c
cc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/coverage-libwapcaplet/include/ -I/var/lib/jenkins/workspace/coverage-libwapcaplet/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -Og -DDEBUG -std=c99 -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.o -c src/libwapcaplet.c
AR: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libwapcaplet.a
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libwapcaplet.a
ar cru build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libwapcaplet.a build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.o
ar: `u' modifier ignored since `D' is the default (see `U')
COMPILE: test/testmain.c
cc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/coverage-libwapcaplet/include/ -I/var/lib/jenkins/workspace/coverage-libwapcaplet/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -Og -DDEBUG -std=c99 -pthread -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.o -c test/testmain.c
COMPILE: test/basictests.c
cc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/coverage-libwapcaplet/include/ -I/var/lib/jenkins/workspace/coverage-libwapcaplet/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -Og -DDEBUG -std=c99 -pthread -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.o -c test/basictests.c
LINK: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testrunner
cc -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testrunner build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.o -Lbuild-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/ -lwapcaplet -lgcov -g -lcheck_pic -lrt -lm -lsubunit
build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testrunner build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static \
/var/lib/jenkins/workspace/coverage-libwapcaplet/test/ test_
Running suite(s): Test suite for libwapcaplet
libwapcaplet: Basic tests
100%: Checks: 32, Failures: 0, Errors: 0
TEST: Testing complete
lcov --directory build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static --base-directory /var/lib/jenkins/workspace/coverage-libwapcaplet \
--capture --output-file build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet_tmp.info
Capturing coverage data from build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
Subroutine read_intermediate_text redefined at /usr/bin/geninfo line 2637.
Subroutine read_intermediate_json redefined at /usr/bin/geninfo line 2669.
Subroutine intermediate_text_to_info redefined at /usr/bin/geninfo line 2717.
Subroutine intermediate_json_to_info redefined at /usr/bin/geninfo line 2806.
Subroutine get_output_fd redefined at /usr/bin/geninfo line 2886.
Subroutine print_gcov_warnings redefined at /usr/bin/geninfo line 2914.
Subroutine process_intermediate redefined at /usr/bin/geninfo line 2944.
Found gcov version: 12.2.0
Using intermediate gcov format
Using JSON module JSON::XS
Scanning build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static for .gcda files ...
Found 3 data files in build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
Processing test_basictests.gcda
Processing test_testmain.gcda
Processing src_libwapcaplet.gcda
Finished .info-file creation
lcov --extract build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet_tmp.info \
"/var/lib/jenkins/workspace/coverage-libwapcaplet/src*" -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet.info
Reading tracefile build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet_tmp.info
Extracting /var/lib/jenkins/workspace/coverage-libwapcaplet/src/libwapcaplet.c
Extracted 1 files
Writing data to build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet.info
Summary coverage rate:
lines......: 92.4% (109 of 118 lines)
functions..: 100.0% (12 of 12 functions)
branches...: no data found
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet_tmp.info
genhtml -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage --num-spaces 2 \
build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet.info
Reading data file build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/wapcaplet.info
Found 1 entries.
Found common filename prefix "/var/lib/jenkins/workspace/coverage-libwapcaplet"
Writing .css and .png files.
Generating output.
Processing file src/libwapcaplet.c
Writing directory view page.
Overall coverage rate:
lines......: 92.4% (109 of 118 lines)
functions..: 100.0% (12 of 12 functions)
+ gcovr -v -x -e 'test/.*' -r . -o coverage.xml
(DEBUG) Filters for --root: (1)
(DEBUG) - re.compile('^/var/lib/jenkins/workspace/coverage\\-libwapcaplet/')
(DEBUG) Filters for --filter: (1)
(DEBUG) - DirectoryPrefixFilter(/var/lib/jenkins/workspace/coverage\-libwapcaplet/)
(DEBUG) Filters for --exclude: (1)
(DEBUG) - RelativeFilter(test/.* root=/var/lib/jenkins/workspace/coverage-libwapcaplet)
(DEBUG) Filters for --gcov-filter: (1)
(DEBUG) - AlwaysMatchFilter()
(DEBUG) Filters for --gcov-exclude: (0)
(DEBUG) Filters for --exclude-directories: (0)
(DEBUG) Scanning directory . for gcda/gcno files...
(DEBUG) Found 6 files (and will process 3)
(DEBUG) Pool started with 1 threads
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda
(DEBUG) Running gcov: 'gcov --help' in '.'
(DEBUG) Running gcov: 'gcov --help-hidden' in '.'
(DEBUG) Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda --branch-counts --branch-probabilities --demangled-names --hash-filenames --object-directory /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libwapcaplet'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/testmain.c##99978ebf47f6c7316193e64adb21b775.gcov
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
root /var/lib/jenkins/workspace/coverage-libwapcaplet
starting_dir /var/lib/jenkins/workspace/coverage-libwapcaplet
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda
--> fname /var/lib/jenkins/workspace/coverage-libwapcaplet/test/testmain.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/testmain.c
(DEBUG) Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/testmain.c
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/assert.h##a53e75e909bf97f3431f68f1c8fc4c7e.gcov
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
root /var/lib/jenkins/workspace/coverage-libwapcaplet
starting_dir /var/lib/jenkins/workspace/coverage-libwapcaplet
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda
--> fname /usr/include/assert.h
(DEBUG) Parsing coverage data for file /usr/include/assert.h
(DEBUG) Filtering coverage data for file /usr/include/assert.h
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.gcda
(DEBUG) Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.gcda --branch-counts --branch-probabilities --demangled-names --hash-filenames --object-directory /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libwapcaplet'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/basictests.c##0ce67bfa712d3a97b36f4e82e283d2ee.gcov
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
root /var/lib/jenkins/workspace/coverage-libwapcaplet
starting_dir /var/lib/jenkins/workspace/coverage-libwapcaplet
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.gcda
--> fname /var/lib/jenkins/workspace/coverage-libwapcaplet/test/basictests.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/basictests.c
(DEBUG) Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/basictests.c
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.gcda
(DEBUG) Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.gcda --branch-counts --branch-probabilities --demangled-names --hash-filenames --object-directory /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libwapcaplet'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/libwapcaplet.c##720e0cda53fe2cf45eff5b2faabab78d.gcov
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
root /var/lib/jenkins/workspace/coverage-libwapcaplet
starting_dir /var/lib/jenkins/workspace/coverage-libwapcaplet
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.gcda
--> fname /var/lib/jenkins/workspace/coverage-libwapcaplet/src/libwapcaplet.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/src/libwapcaplet.c
(DEBUG) Gathered coveraged data for 1 files
+ '[' xx86_64-linux-gnu = x ']'
+ '[' xx86_64-linux-gnu = x ']'
[Cobertura] Publishing Cobertura coverage report...
Publishing Cobertura coverage results...
Cobertura coverage report found.
Finished: SUCCESS