Console Output
Started by upstream project "libwapcaplet" build number 319
originally caused by:
Started by upstream project "buildsystem" build number 1459
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 b5e42b12211a92339b0b62cb90f1a86a397e146e (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f b5e42b12211a92339b0b62cb90f1a86a397e146e
> git rev-list b5e42b12211a92339b0b62cb90f1a86a397e146e # timeout=10
> git tag -a -f -m Jenkins Build #150 jenkins-coverage-libwapcaplet-150 # timeout=10
[coverage-libwapcaplet] $ /bin/sh -xe /tmp/hudson1528765037811306037.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/test_basictests.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.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/test_basictests.o 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/src_libwapcaplet.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 -O0 -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 -O0 -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 -O0 -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 -pthread -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
Found gcov version: 8.3.0
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_testmain.gcda
Processing test_basictests.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......: 86.3% (107 of 124 lines)
functions..: 100.0% (13 of 13 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......: 86.3% (107 of 124 lines)
functions..: 100.0% (13 of 13 functions)
+ gcovr -v -x -e 'test/.*' -r . -o coverage.xml
Filters for --root: (1)
- re.compile('/var/lib/jenkins/workspace/coverage\\-libwapcaplet/')
Filters for --filter: (1)
- DirectoryPrefixFilter(/var/lib/jenkins/workspace/coverage\-libwapcaplet/)
Filters for --exclude: (1)
- RelativeFilter(test/.* root=/var/lib/jenkins/workspace/coverage-libwapcaplet)
Filters for --gcov-filter: (1)
- AlwaysMatchFilter()
Filters for --gcov-exclude: (0)
Filters for --exclude-directories: (0)
Scanning directory . for gcda/gcno files...
Found 6 files (and will process 3)
Pool started with 1 threads
Processing file: /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.gcda
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 --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/tmp/tmpnro9s_e8'
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 --preserve-paths --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'
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
gcov_fname /tmp/tmpnro9s_e8/test#basictests.c.gcov
[' -', ' 0', 'Source', 'test/basictests.c\n']
source_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_basictests.gcda
root /var/lib/jenkins/workspace/coverage-libwapcaplet
fname /var/lib/jenkins/workspace/coverage-libwapcaplet/test/basictests.c
Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/basictests.c
Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/basictests.c
Processing file: /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda
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 --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/tmp/tmpnro9s_e8'
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 --preserve-paths --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'
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
gcov_fname /tmp/tmpnro9s_e8/test#testmain.c.gcov
[' -', ' 0', 'Source', 'test/testmain.c\n']
source_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda
root /var/lib/jenkins/workspace/coverage-libwapcaplet
fname /var/lib/jenkins/workspace/coverage-libwapcaplet/test/testmain.c
Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/testmain.c
Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/test/testmain.c
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
gcov_fname /tmp/tmpnro9s_e8/#usr#include#assert.h.gcov
[' -', ' 0', 'Source', '/usr/include/assert.h\n']
source_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_testmain.gcda
root /var/lib/jenkins/workspace/coverage-libwapcaplet
fname /usr/include/assert.h
Parsing coverage data for file /usr/include/assert.h
Filtering coverage data for file /usr/include/assert.h
Processing file: /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.gcda
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 --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/tmp/tmpnro9s_e8'
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 --preserve-paths --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'
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libwapcaplet
gcov_fname /tmp/tmpnro9s_e8/src#libwapcaplet.c.gcov
[' -', ' 0', 'Source', 'src/libwapcaplet.c\n']
source_fname /var/lib/jenkins/workspace/coverage-libwapcaplet/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.gcda
root /var/lib/jenkins/workspace/coverage-libwapcaplet
fname /var/lib/jenkins/workspace/coverage-libwapcaplet/src/libwapcaplet.c
Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libwapcaplet/src/libwapcaplet.c
uncovered: {288, 97, 194, 99, 289, 69, 70, 71, 290, 236, 114, 178, 277, 56, 121, 61, 126}
covered: {20: 87, 22: 87, 24: 372, 25: 285, 26: 285, 27: 285, 30: 87, 53: 21, 55: 21, 58: 21, 60: 21, 63: 21, 65: 21, 66: 21, 68: 21, 74: 21, 76: 21, 80: 96, 91: 96, 92: 96, 94: 96, 95: 21, 96: 21, 98: 21, 102: 96, 103: 96, 104: 96, 106: 96, 107: 11, 108: 11, 109: 11, 110: 11, 111: 11, 118: 85, 120: 85, 123: 85, 124: 85, 125: 85, 127: 85, 129: 85, 130: 85, 131: 85, 132: 85, 134: 85, 137: 85, 139: 85, 143: 87, 146: 87, 152: 4, 156: 4, 157: 4, 159: 4, 160: 1, 161: 3, 162: 1, 164: 2, 168: 2, 170: 2, 171: 2, 175: 2, 176: 1, 177: 1, 182: 2, 183: 2, 187: 68, 189: 68, 191: 68, 193: 68, 196: 68, 197: 2, 200: 68, 203: 68, 204: 68, 209: 54, 211: 54, 212: 30, 213: 24, 217: 9, 219: 9, 221: 36, 222: 27, 223: 27, 224: 27, 227: 9, 231: 8, 233: 32, 234: 24, 238: 8, 242: 1, 244: 1, 245: 1, 247: 4, 248: 3, 251: 1, 255: 9, 257: 9, 258: 9, 260: 18, 261: 9, 270: 1, 274: 1, 276: 1, 279: 4092, 280: 4095, 281: 4, 282: 4, 286: 1}
branches: {24: {0: 285, 1: 87}, 55: {0: 0, 1: 21}, 60: {0: 0, 1: 21}, 68: {0: 0, 1: 21}, 91: {0: 0, 1: 96, 2: 0, 3: 0}, 92: {0: 0, 1: 96}, 94: {0: 21, 1: 75}, 96: {0: 0, 1: 21}, 98: {0: 0, 1: 21}, 106: {0: 11, 1: 85}, 107: {0: 11, 1: 0, 2: 11, 3: 0}, 108: {1: 11, 2: 0}, 120: {0: 0, 1: 85}, 125: {0: 0, 1: 85}, 156: {0: 0, 1: 4}, 157: {0: 0, 1: 4}, 159: {0: 1, 1: 3}, 161: {0: 1, 1: 2}, 170: {0: 0, 1: 2}, 171: {0: 0, 1: 2}, 175: {0: 1, 1: 1}, 177: {0: 0, 1: 1}, 182: {0: 0, 1: 2}, 189: {0: 0, 1: 68}, 193: {0: 0, 1: 68}, 196: {0: 3, 1: 65, 2: 2, 3: 1}, 197: {0: 0, 1: 2, 3: 1, 4: 1, 5: 0, 6: 1, 7: 0, 8: 0}, 211: {0: 54, 1: 0, 2: 30, 3: 24}, 221: {0: 27, 1: 9}, 233: {0: 24, 1: 8}, 234: {1: 0, 2: 24}, 247: {0: 3, 1: 1}, 257: {0: 0, 1: 9}, 258: {0: 0, 1: 9}, 276: {0: 0, 1: 1}, 279: {0: 4091, 1: 1}, 280: {0: 4, 1: 4091}, 286: {0: 0, 1: 1}}
noncode: {8, 12, 14, 18, 21, 23, 28, 29, 31, 32, 35, 37, 42, 44, 47, 51, 54, 57, 59, 62, 64, 67, 72, 73, 75, 77, 78, 85, 90, 93, 100, 101, 105, 112, 113, 115, 116, 119, 122, 128, 133, 135, 138, 140, 141, 145, 149, 150, 155, 158, 163, 165, 166, 169, 172, 179, 180, 181, 184, 185, 188, 190, 192, 195, 198, 202, 205, 207, 210, 214, 215, 218, 220, 225, 226, 228, 229, 232, 237, 239, 240, 243, 246, 249, 250, 252, 253, 256, 259, 265, 266, 268, 271, 275, 278, 283, 284, 285, 291, 292}
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