Console Output
Started by upstream project "libnsutils" build number 313
originally caused by:
Started by upstream project "buildsystem" build number 1466
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 #137 jenkins-coverage-libnsutils-137 # timeout=10
[coverage-libnsutils] $ /bin/sh -xe /tmp/hudson16295778910986170123.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/src_time.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/test_base64.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/src_time.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/test_base64.gcno
rm -f 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 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
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 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/src_base64.gcda
Processing build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_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
(DEBUG) Filters for --root: (1)
(DEBUG) - re.compile('^/var/lib/jenkins/workspace/coverage\\-libnsutils/')
(DEBUG) Filters for --filter: (1)
(DEBUG) - DirectoryPrefixFilter(/var/lib/jenkins/workspace/coverage\-libnsutils/)
(DEBUG) Filters for --exclude: (1)
(DEBUG) - RelativeFilter(test/.* root=/var/lib/jenkins/workspace/coverage-libnsutils)
(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 4)
(DEBUG) Pool started with 1 threads
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.gcno
(DEBUG) Running gcov: 'gcov --help' in '.'
(DEBUG) Running gcov: 'gcov --help-hidden' in '.'
(DEBUG) 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 --demangled-names --hash-filenames --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'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsutils/unistd.c##a597da088760e351099993c887fb2670.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsutils
root /var/lib/jenkins/workspace/coverage-libnsutils
starting_dir /var/lib/jenkins/workspace/coverage-libnsutils
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_unistd.gcno
--> fname /var/lib/jenkins/workspace/coverage-libnsutils/src/unistd.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/src/unistd.c
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.gcno
(DEBUG) 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 --demangled-names --hash-filenames --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'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsutils/time.c##a3bd9f647c0af790261143797b6f2f42.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsutils
root /var/lib/jenkins/workspace/coverage-libnsutils
starting_dir /var/lib/jenkins/workspace/coverage-libnsutils
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_time.gcno
--> fname /var/lib/jenkins/workspace/coverage-libnsutils/src/time.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/src/time.c
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda
(DEBUG) 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 --demangled-names --hash-filenames --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'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsutils/base64.c##641053233bff1578ffd162efe87bd28f.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsutils
root /var/lib/jenkins/workspace/coverage-libnsutils
starting_dir /var/lib/jenkins/workspace/coverage-libnsutils
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_base64.gcda
--> fname /var/lib/jenkins/workspace/coverage-libnsutils/test/base64.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/test/base64.c
(DEBUG) Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/test/base64.c
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda
(DEBUG) 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 --demangled-names --hash-filenames --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'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsutils/base64.c##6cc41135837c80527c8f246c27adf87e.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsutils
root /var/lib/jenkins/workspace/coverage-libnsutils
starting_dir /var/lib/jenkins/workspace/coverage-libnsutils
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsutils/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_base64.gcda
--> fname /var/lib/jenkins/workspace/coverage-libnsutils/src/base64.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsutils/src/base64.c
(DEBUG) 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