Console Output
Started by upstream project "libnsutils" build number 309
originally caused by:
Started by upstream project "buildsystem" build number 1460
originally caused by:
Started by user Vincent Sanders
Building remotely on ciworker0 (x86_64-linux-gnu runner) in workspace /var/lib/jenkins/workspace/coverage-libnsutils
> 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/libnsutils.git # timeout=10
Fetching upstream changes from git://git.netsurf-browser.org/libnsutils.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress git://git.netsurf-browser.org/libnsutils.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 490205e84fad9cf927cb9c73d58caf11c7a1d97f (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 490205e84fad9cf927cb9c73d58caf11c7a1d97f
> git rev-list 490205e84fad9cf927cb9c73d58caf11c7a1d97f # timeout=10
> git tag -a -f -m Jenkins Build #133 jenkins-coverage-libnsutils-133 # timeout=10
[coverage-libnsutils] $ /bin/sh -xe /tmp/hudson8333582928551556597.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_base64.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.d
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcno build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcno build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.gcno build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.gcno
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.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/base64.c
cc -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/coverage-libnsutils/include/ -I/var/lib/jenkins/workspace/coverage-libnsutils/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -O0 -DDEBUG -std=c99 -D_POSIX_C_SOURCE=200809L -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.o -c src/base64.c
COMPILE: src/time.c
cc -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/coverage-libnsutils/include/ -I/var/lib/jenkins/workspace/coverage-libnsutils/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -O0 -DDEBUG -std=c99 -D_POSIX_C_SOURCE=200809L -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.o -c src/time.c
COMPILE: src/unistd.c
cc -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/coverage-libnsutils/include/ -I/var/lib/jenkins/workspace/coverage-libnsutils/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -O0 -DDEBUG -std=c99 -D_POSIX_C_SOURCE=200809L -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.o -c src/unistd.c
AR: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsutils.a
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsutils.a
ar cru build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsutils.a build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.o
ar: `u' modifier ignored since `D' is the default (see `U')
COMPILE: test/base64.c
cc -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/coverage-libnsutils/include/ -I/var/lib/jenkins/workspace/coverage-libnsutils/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -O0 -DDEBUG -std=c99 -D_POSIX_C_SOURCE=200809L -g -O2 -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.o -c test/base64.c
LINK: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64
cc -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64 build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.o -lm -lnsutils -Lbuild-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/ -lnsutils -lgcov -g
test/runtest.sh build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static \
/var/lib/jenkins/workspace/coverage-libnsutils/test/ test_
TEST: Testing complete
lcov --directory build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static --base-directory /var/lib/jenkins/workspace/coverage-libnsutils \
--capture --output-file build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsutils_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 2 data files in build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
Processing build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda
Processing build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda
Finished .info-file creation
lcov --extract build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsutils_tmp.info \
"/var/lib/jenkins/workspace/coverage-libnsutils/src*" -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsutils.info
Reading tracefile build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsutils_tmp.info
Extracting /var/lib/jenkins/workspace/coverage-libnsutils/src/base64.c
Extracted 1 files
Writing data to build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsutils.info
Summary coverage rate:
lines......: 84.9% (79 of 93 lines)
functions..: 77.8% (7 of 9 functions)
branches...: no data found
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsutils_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/nsutils.info
Reading data file build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsutils.info
Found 1 entries.
Found common filename prefix "/var/lib/jenkins/workspace/coverage-libnsutils"
Writing .css and .png files.
Generating output.
Processing file src/base64.c
Writing directory view page.
Overall coverage rate:
lines......: 84.9% (79 of 93 lines)
functions..: 77.8% (7 of 9 functions)
+ gcovr -v -x -e 'test/.*' -r . -o coverage.xml
Filters for --root: (1)
- re.compile('/var/lib/jenkins/workspace/coverage\\-libnsutils/')
Filters for --filter: (1)
- DirectoryPrefixFilter(/var/lib/jenkins/workspace/coverage\-libnsutils/)
Filters for --exclude: (1)
- RelativeFilter(test/.* root=/var/lib/jenkins/workspace/coverage-libnsutils)
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 4)
Pool started with 1 threads
Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/tmp/tmpjuk65xwp'
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libnsutils'
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libnsutils
gcov_fname /tmp/tmpjuk65xwp/src#base64.c.gcov
[' -', ' 0', 'Source', 'src/base64.c\n']
source_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda
root /var/lib/jenkins/workspace/coverage-libnsutils
fname /var/lib/jenkins/workspace/coverage-libnsutils/src/base64.c
Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/src/base64.c
uncovered: {352, 353, 258, 322, 354, 197, 356, 263, 363, 206, 143, 277, 375, 282}
covered: {129: 16, 139: 16, 141: 16, 146: 38, 148: 22, 149: 22, 150: 22, 152: 22, 154: 22, 155: 22, 156: 22, 157: 22, 160: 28, 161: 12, 164: 16, 166: 16, 183: 16, 193: 16, 195: 16, 196: 16, 200: 16, 205: 16, 208: 16, 209: 16, 211: 16, 220: 8, 225: 8, 239: 8, 244: 8, 303: 16, 316: 16, 317: 16, 318: 16, 320: 16, 321: 16, 325: 16, 326: 16, 327: 16, 328: 84, 329: 84, 330: 84, 332: 8, 333: 8, 336: 76, 337: 76, 338: 14, 339: 8, 341: 6, 342: 6, 343: 6, 345: 6, 351: 16, 358: 4, 359: 4, 360: 4, 362: 4, 365: 4, 367: 4, 368: 4, 369: 4, 371: 4, 372: 4, 374: 4, 377: 4, 379: 8, 380: 8, 381: 8, 383: 8, 384: 8, 386: 8, 387: 8, 389: 8, 392: 16, 393: 16, 395: 16, 405: 8, 410: 8, 424: 8, 429: 8}
branches: {141: {0: 0, 1: 16}, 146: {0: 22, 1: 16}, 148: {0: 22, 1: 0}, 149: {0: 18, 1: 4}, 150: {0: 14, 1: 8}, 160: {0: 12, 1: 16}, 196: {0: 0, 1: 16}, 205: {0: 0, 1: 16}, 317: {0: 8, 1: 8}, 318: {0: 4, 1: 12}, 321: {0: 0, 1: 16}, 328: {0: 84, 1: 0}, 330: {0: 8, 1: 76}, 332: {0: 8, 1: 0}, 337: {0: 14, 1: 62}, 338: {0: 8, 1: 6}, 351: {0: 0, 1: 4, 2: 4, 3: 8, 4: 0}, 353: {0: 0, 1: 0}, 359: {0: 4, 1: 0}, 362: {0: 0, 1: 4}, 368: {0: 4, 1: 0}, 371: {0: 4, 1: 0}, 374: {0: 0, 1: 4}, 380: {0: 8, 1: 0}, 383: {0: 8, 1: 0}, 386: {0: 8, 1: 0}}
noncode: {9, 16, 21, 23, 111, 112, 113, 114, 134, 138, 140, 144, 145, 147, 151, 153, 158, 159, 162, 163, 165, 167, 168, 169, 170, 188, 192, 194, 198, 199, 210, 212, 213, 224, 230, 231, 232, 243, 249, 250, 251, 262, 268, 269, 270, 281, 287, 288, 289, 308, 315, 319, 323, 324, 334, 340, 344, 346, 347, 348, 349, 355, 357, 361, 364, 366, 370, 373, 376, 378, 382, 385, 388, 390, 391, 394, 396, 397, 398, 409, 415, 416, 417, 428, 434}
Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.gcno
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.gcno --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/tmp/tmpjuk65xwp'
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.gcno --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libnsutils'
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libnsutils
gcov_fname /tmp/tmpjuk65xwp/src#unistd.c.gcov
[' -', ' 0', 'Source', 'src/unistd.c\n']
source_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.gcno
root /var/lib/jenkins/workspace/coverage-libnsutils
fname /var/lib/jenkins/workspace/coverage-libnsutils/src/unistd.c
Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/src/unistd.c
uncovered: {54, 49, 22, 65}
covered: {}
branches: {}
noncode: {67, 58, 68, 38, 9, 42, 14, 46, 18, 51, 20, 52, 55, 23, 26, 62}
Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/tmp/tmpjuk65xwp'
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libnsutils'
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libnsutils
gcov_fname /tmp/tmpjuk65xwp/test#base64.c.gcov
[' -', ' 0', 'Source', 'test/base64.c\n']
source_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda
root /var/lib/jenkins/workspace/coverage-libnsutils
fname /var/lib/jenkins/workspace/coverage-libnsutils/test/base64.c
Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/test/base64.c
Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/test/base64.c
Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.gcno
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.gcno --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/tmp/tmpjuk65xwp'
Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.gcno --branch-counts --branch-probabilities --preserve-paths --object-directory /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libnsutils'
Finding source file corresponding to a gcov data file
currdir /var/lib/jenkins/workspace/coverage-libnsutils
gcov_fname /tmp/tmpjuk65xwp/src#time.c.gcov
[' -', ' 0', 'Source', 'src/time.c\n']
source_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.gcno
root /var/lib/jenkins/workspace/coverage-libnsutils
fname /var/lib/jenkins/workspace/coverage-libnsutils/src/time.c
Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/src/time.c
uncovered: {96, 39, 47, 48, 90, 91, 92, 94}
covered: {}
branches: {90: {0: 0, 1: 0}}
noncode: {97, 67, 37, 40, 9, 43, 75, 14, 46, 18, 51, 83, 85, 88, 57, 61, 95}
Gathered coveraged data for 3 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