Started by upstream project "libnsgif" build number 1273
originally caused by:
Started by upstream project "buildsystem" build number 1470
originally caused by:
Started by user Vincent Sanders
Building remotely on ciworker0 (x86_64-linux-gnu runner) in workspace /var/lib/jenkins/workspace/coverage-libnsgif
> 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/libnsgif.git # timeout=10
Fetching upstream changes from git://git.netsurf-browser.org/libnsgif.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress git://git.netsurf-browser.org/libnsgif.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision e97bc7b86f19ace910a2c71025ad2d94a28a1d2e (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f e97bc7b86f19ace910a2c71025ad2d94a28a1d2e
> git rev-list e97bc7b86f19ace910a2c71025ad2d94a28a1d2e # timeout=10
> git tag -a -f -m Jenkins Build #159 jenkins-coverage-libnsgif-159 # timeout=10
[coverage-libnsgif] $ /bin/sh -xe /tmp/hudson5170648452109958789.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_gif.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.d build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.d
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.gcda build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.gcda build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.gcda
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.gcno build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.gcno build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.gcno
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.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/gif.c
cc -MMD -MP -DNSGIF_NAME=nsgif -DNSGIF_VERSION=1.0.0 -I/var/lib/jenkins/workspace/coverage-libnsgif/include/ -I/var/lib/jenkins/workspace/coverage-libnsgif/src -Wall -Wextra -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -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_gif.o -c src/gif.c
COMPILE: src/lzw.c
cc -MMD -MP -DNSGIF_NAME=nsgif -DNSGIF_VERSION=1.0.0 -I/var/lib/jenkins/workspace/coverage-libnsgif/include/ -I/var/lib/jenkins/workspace/coverage-libnsgif/src -Wall -Wextra -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -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_lzw.o -c src/lzw.c
AR: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsgif.a
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsgif.a
ar cru build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsgif.a build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.o
ar: `u' modifier ignored since `D' is the default (see `U')
COMPILE: test/nsgif.c
cc -MMD -MP -DNSGIF_NAME=nsgif -DNSGIF_VERSION=1.0.0 -I/var/lib/jenkins/workspace/coverage-libnsgif/include/ -I/var/lib/jenkins/workspace/coverage-libnsgif/src -Wall -Wextra -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -fprofile-arcs -ftest-coverage -g -Og -DDEBUG -std=c99 -g -O2 -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.o -c test/nsgif.c
LINK: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif
cc -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.o -lm -lnsgif -Lbuild-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/ -lnsgif -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-libnsgif/test/ test_
Testing GIF decode
Tests:284 Pass:284 Fail:0 Error: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-libnsgif \
--capture --output-file build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsgif_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 src_lzw.gcda
Processing src_gif.gcda
Processing test_nsgif.gcda
Finished .info-file creation
lcov --extract build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsgif_tmp.info \
"/var/lib/jenkins/workspace/coverage-libnsgif/src*" -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsgif.info
Reading tracefile build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsgif_tmp.info
Extracting /var/lib/jenkins/workspace/coverage-libnsgif/src/gif.c
Extracting /var/lib/jenkins/workspace/coverage-libnsgif/src/lzw.c
Extracted 2 files
Writing data to build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsgif.info
Summary coverage rate:
lines......: 94.4% (845 of 895 lines)
functions..: 90.9% (50 of 55 functions)
branches...: no data found
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsgif_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/nsgif.info
Reading data file build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage/nsgif.info
Found 2 entries.
Found common filename prefix "/var/lib/jenkins/workspace/coverage-libnsgif"
Writing .css and .png files.
Generating output.
Processing file src/gif.c
Processing file src/lzw.c
Writing directory view page.
Overall coverage rate:
lines......: 94.4% (845 of 895 lines)
functions..: 90.9% (50 of 55 functions)
+ gcovr -v -x -e 'test/.*' -r . -o coverage.xml
(DEBUG) Filters for --root: (1)
(DEBUG) - re.compile('^/var/lib/jenkins/workspace/coverage\\-libnsgif/')
(DEBUG) Filters for --filter: (1)
(DEBUG) - DirectoryPrefixFilter(/var/lib/jenkins/workspace/coverage\-libnsgif/)
(DEBUG) Filters for --exclude: (1)
(DEBUG) - RelativeFilter(test/.* root=/var/lib/jenkins/workspace/coverage-libnsgif)
(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-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.gcda
(DEBUG) Running gcov: 'gcov --help' in '.'
(DEBUG) Running gcov: 'gcov --help-hidden' in '.'
(DEBUG) Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.gcda --branch-counts --branch-probabilities --demangled-names --hash-filenames --object-directory /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libnsgif'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsgif/nsgif.c##1992454ba7e8be49e616fdd7850f8c9a.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsgif
root /var/lib/jenkins/workspace/coverage-libnsgif
starting_dir /var/lib/jenkins/workspace/coverage-libnsgif
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.gcda
--> fname /var/lib/jenkins/workspace/coverage-libnsgif/test/nsgif.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsgif/test/nsgif.c
(DEBUG) Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libnsgif/test/nsgif.c
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsgif/cli.c##2c3e45972e9524dc8cf2f7d0d4ce454c.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsgif
root /var/lib/jenkins/workspace/coverage-libnsgif
starting_dir /var/lib/jenkins/workspace/coverage-libnsgif
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/test_nsgif.gcda
--> fname /var/lib/jenkins/workspace/coverage-libnsgif/test/cli.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsgif/test/cli.c
(DEBUG) Excluding coverage data for file /var/lib/jenkins/workspace/coverage-libnsgif/test/cli.c
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.gcda
(DEBUG) Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.gcda --branch-counts --branch-probabilities --demangled-names --hash-filenames --object-directory /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libnsgif'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsgif/lzw.c##9b0aa38c99a1fe00f076430066e38de6.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsgif
root /var/lib/jenkins/workspace/coverage-libnsgif
starting_dir /var/lib/jenkins/workspace/coverage-libnsgif
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_lzw.gcda
--> fname /var/lib/jenkins/workspace/coverage-libnsgif/src/lzw.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsgif/src/lzw.c
(DEBUG) Processing file: /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.gcda
(DEBUG) Running gcov: 'gcov /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.gcda --branch-counts --branch-probabilities --demangled-names --hash-filenames --object-directory /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static' in '/var/lib/jenkins/workspace/coverage-libnsgif'
(DEBUG) Finding source file corresponding to a gcov data file
gcov_fname /var/lib/jenkins/workspace/coverage-libnsgif/gif.c##ee62f87ca9e8c156b19418e54927b070.gcov
currdir /var/lib/jenkins/workspace/coverage-libnsgif
root /var/lib/jenkins/workspace/coverage-libnsgif
starting_dir /var/lib/jenkins/workspace/coverage-libnsgif
obj_dir None
gcda_fname /var/lib/jenkins/workspace/coverage-libnsgif/build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_gif.gcda
--> fname /var/lib/jenkins/workspace/coverage-libnsgif/src/gif.c
(DEBUG) Parsing coverage data for file /var/lib/jenkins/workspace/coverage-libnsgif/src/gif.c
(DEBUG) Gathered coveraged data for 2 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