Console Output
Started by upstream project "libnsutils" build number 311
originally caused by:
Started by upstream project "buildsystem" build number 1462
originally caused by:
Started by user Vincent Sanders
Building remotely on ciworker0 (x86_64-linux-gnu runner) in workspace /var/lib/jenkins/workspace/scan-build-lbnsutils
> 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 #113 jenkins-scan-build-lbnsutils-113 # timeout=10
[scan-build-lbnsutils] $ /bin/sh -xe /tmp/hudson17686022003202749988.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 static
+ '[' 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_STATIC=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
rm -f
rm -f
rm -f
rm -f -r build/docs
rm -f -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
+ '[' xx86_64-linux-gnu = x ']'
+ '[' xx86_64-linux-gnu = xx86_64-linux-gnu ']'
+ rm -rf clangScanBuildReports
+ CFLAGS=-Wno-error
+ scan-build -o clangScanBuildReports -v -v --use-cc clang --use-analyzer=/usr/bin/clang make Q= VARIANT=debug
scan-build: Using '/usr/bin/clang' for static analysis
scan-build: Emitting reports for this run to '/var/lib/jenkins/workspace/scan-build-lbnsutils/clangScanBuildReports/2024-03-18-092218-236977-1'.
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
COMPILE: src/base64.c
/usr/share/clang/scan-build-14/bin/../libexec/ccc-analyzer -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/scan-build-lbnsutils/include/ -I/var/lib/jenkins/workspace/scan-build-lbnsutils/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 -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
[LOCATION]: /var/lib/jenkins/workspace/scan-build-lbnsutils
'/usr/bin/clang' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-clear-ast-before-backend' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'base64.c' '-analyzer-store=region' '-analyzer-opt-analyze-nested-blocks' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-setup-static-analyzer' '-mrelocation-model' 'pic' '-pic-level' '2' '-pic-is-pie' '-mframe-pointer=all' '-fmath-errno' '-ffp-contract=on' '-fno-rounding-math' '-mconstructor-aliases' '-funwind-tables=2' '-target-cpu' 'x86-64' '-tune-cpu' 'generic' '-debugger-tuning=gdb' '-fcoverage-compilation-dir=/var/lib/jenkins/workspace/scan-build-lbnsutils' '-resource-dir' '/usr/lib/llvm-14/lib/clang/14.0.6' '-D' '_GNU_SOURCE' '-D' '_DEFAULT_SOURCE' '-I' '/var/lib/jenkins/workspace/scan-build-lbnsutils/include/' '-I' '/var/lib/jenkins/workspace/scan-build-lbnsutils/src' '-D' '_ALIGNED=__attribute__((aligned))' '-D' 'STMTEXPR=1' '-D' 'DEBUG' '-D' '_POSIX_C_SOURCE=200809L' '-internal-isystem' '/usr/lib/llvm-14/lib/clang/14.0.6/include' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include' '-internal-externc-isystem' '/usr/include/x86_64-linux-gnu' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wwrite-strings' '-Wno-error' '-std=c99' '-fconst-strings' '-fdebug-compilation-dir=/var/lib/jenkins/workspace/scan-build-lbnsutils' '-ferror-limit' '19' '-fgnuc-version=4.2.1' '-analyzer-display-progress' '-analyzer-output=html' '-faddrsig' '-D__GCC_HAVE_DWARF2_CFI_ASM=1' '-o' '/var/lib/jenkins/workspace/scan-build-lbnsutils/clangScanBuildReports/2024-03-18-092218-236977-1' '-x' 'c' 'src/base64.c'
ANALYZE (Syntax): src/base64.c table_encode : 0.5 ms
ANALYZE (Syntax): src/base64.c table_encode_alloc : 0.1 ms
ANALYZE (Syntax): src/base64.c nsu_base64_encode_alloc : 0.0 ms
ANALYZE (Syntax): src/base64.c nsu_base64_encode_alloc_url : 0.0 ms
ANALYZE (Syntax): src/base64.c nsu_base64_encode : 0.0 ms
ANALYZE (Syntax): src/base64.c nsu_base64_encode_url : 0.0 ms
ANALYZE (Syntax): src/base64.c base64_decode_alloc : 0.5 ms
ANALYZE (Syntax): src/base64.c nsu_base64_decode_alloc : 0.0 ms
ANALYZE (Syntax): src/base64.c nsu_base64_decode_alloc_url : 0.0 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/base64.h nsu_base64_decode_alloc_url : 82.3 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/base64.h nsu_base64_decode_alloc : 0.5 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/base64.h nsu_base64_encode_url : 30.1 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/base64.h nsu_base64_encode : 0.4 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/base64.h nsu_base64_encode_alloc_url : 1.7 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/base64.h nsu_base64_encode_alloc : 1.1 ms
===-------------------------------------------------------------------------===
Analyzer timers
===-------------------------------------------------------------------------===
Total Execution Time: 0.1175 seconds (0.1175 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.1128 ( 99.2%) 0.0033 ( 87.4%) 0.1161 ( 98.9%) 0.1161 ( 98.8%) Path exploration time
0.0009 ( 0.7%) 0.0005 ( 12.6%) 0.0013 ( 1.1%) 0.0013 ( 1.1%) Syntax-based analysis time
0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) Path-sensitive report post-processing time
0.1137 (100.0%) 0.0038 (100.0%) 0.1175 (100.0%) 0.1175 (100.0%) Total
COMPILE: src/time.c
/usr/share/clang/scan-build-14/bin/../libexec/ccc-analyzer -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/scan-build-lbnsutils/include/ -I/var/lib/jenkins/workspace/scan-build-lbnsutils/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 -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
[LOCATION]: /var/lib/jenkins/workspace/scan-build-lbnsutils
'/usr/bin/clang' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-clear-ast-before-backend' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'time.c' '-analyzer-store=region' '-analyzer-opt-analyze-nested-blocks' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-setup-static-analyzer' '-mrelocation-model' 'pic' '-pic-level' '2' '-pic-is-pie' '-mframe-pointer=all' '-fmath-errno' '-ffp-contract=on' '-fno-rounding-math' '-mconstructor-aliases' '-funwind-tables=2' '-target-cpu' 'x86-64' '-tune-cpu' 'generic' '-debugger-tuning=gdb' '-fcoverage-compilation-dir=/var/lib/jenkins/workspace/scan-build-lbnsutils' '-resource-dir' '/usr/lib/llvm-14/lib/clang/14.0.6' '-D' '_GNU_SOURCE' '-D' '_DEFAULT_SOURCE' '-I' '/var/lib/jenkins/workspace/scan-build-lbnsutils/include/' '-I' '/var/lib/jenkins/workspace/scan-build-lbnsutils/src' '-D' '_ALIGNED=__attribute__((aligned))' '-D' 'STMTEXPR=1' '-D' 'DEBUG' '-D' '_POSIX_C_SOURCE=200809L' '-internal-isystem' '/usr/lib/llvm-14/lib/clang/14.0.6/include' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include' '-internal-externc-isystem' '/usr/include/x86_64-linux-gnu' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wwrite-strings' '-Wno-error' '-std=c99' '-fconst-strings' '-fdebug-compilation-dir=/var/lib/jenkins/workspace/scan-build-lbnsutils' '-ferror-limit' '19' '-fgnuc-version=4.2.1' '-analyzer-display-progress' '-analyzer-output=html' '-faddrsig' '-D__GCC_HAVE_DWARF2_CFI_ASM=1' '-o' '/var/lib/jenkins/workspace/scan-build-lbnsutils/clangScanBuildReports/2024-03-18-092218-236977-1' '-x' 'c' 'src/time.c'
ANALYZE (Syntax): src/time.c nsu_getmonotonic_ms : 0.1 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/time.h nsu_getmonotonic_ms : 1.5 ms
===-------------------------------------------------------------------------===
Analyzer timers
===-------------------------------------------------------------------------===
Total Execution Time: 0.0017 seconds (0.0017 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0015 ( 92.7%) 0.0000 ( 0.0%) 0.0015 ( 89.5%) 0.0015 ( 89.3%) Path exploration time
0.0001 ( 7.3%) 0.0001 (100.0%) 0.0002 ( 10.4%) 0.0002 ( 10.6%) Syntax-based analysis time
0.0000 ( 0.1%) 0.0000 ( 0.0%) 0.0000 ( 0.1%) 0.0000 ( 0.1%) Path-sensitive report post-processing time
0.0017 (100.0%) 0.0001 (100.0%) 0.0017 (100.0%) 0.0017 (100.0%) Total
COMPILE: src/unistd.c
/usr/share/clang/scan-build-14/bin/../libexec/ccc-analyzer -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/scan-build-lbnsutils/include/ -I/var/lib/jenkins/workspace/scan-build-lbnsutils/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 -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
[LOCATION]: /var/lib/jenkins/workspace/scan-build-lbnsutils
'/usr/bin/clang' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-clear-ast-before-backend' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'unistd.c' '-analyzer-store=region' '-analyzer-opt-analyze-nested-blocks' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-setup-static-analyzer' '-mrelocation-model' 'pic' '-pic-level' '2' '-pic-is-pie' '-mframe-pointer=all' '-fmath-errno' '-ffp-contract=on' '-fno-rounding-math' '-mconstructor-aliases' '-funwind-tables=2' '-target-cpu' 'x86-64' '-tune-cpu' 'generic' '-debugger-tuning=gdb' '-fcoverage-compilation-dir=/var/lib/jenkins/workspace/scan-build-lbnsutils' '-resource-dir' '/usr/lib/llvm-14/lib/clang/14.0.6' '-D' '_GNU_SOURCE' '-D' '_DEFAULT_SOURCE' '-I' '/var/lib/jenkins/workspace/scan-build-lbnsutils/include/' '-I' '/var/lib/jenkins/workspace/scan-build-lbnsutils/src' '-D' '_ALIGNED=__attribute__((aligned))' '-D' 'STMTEXPR=1' '-D' 'DEBUG' '-D' '_POSIX_C_SOURCE=200809L' '-internal-isystem' '/usr/lib/llvm-14/lib/clang/14.0.6/include' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include' '-internal-externc-isystem' '/usr/include/x86_64-linux-gnu' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wwrite-strings' '-Wno-error' '-std=c99' '-fconst-strings' '-fdebug-compilation-dir=/var/lib/jenkins/workspace/scan-build-lbnsutils' '-ferror-limit' '19' '-fgnuc-version=4.2.1' '-analyzer-display-progress' '-analyzer-output=html' '-faddrsig' '-D__GCC_HAVE_DWARF2_CFI_ASM=1' '-o' '/var/lib/jenkins/workspace/scan-build-lbnsutils/clangScanBuildReports/2024-03-18-092218-236977-1' '-x' 'c' 'src/unistd.c'
ANALYZE (Syntax): src/unistd.c nsu_pwrite : 0.1 ms
ANALYZE (Syntax): src/unistd.c nsu_pread : 0.0 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/unistd.h nsu_pread : 0.7 ms
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-lbnsutils/include/nsutils/unistd.h nsu_pwrite : 0.4 ms
===-------------------------------------------------------------------------===
Analyzer timers
===-------------------------------------------------------------------------===
Total Execution Time: 0.0013 seconds (0.0013 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0006 ( 88.4%) 0.0005 ( 87.6%) 0.0011 ( 88.0%) 0.0011 ( 87.6%) Path exploration time
0.0001 ( 11.4%) 0.0001 ( 12.2%) 0.0002 ( 11.8%) 0.0002 ( 12.2%) Syntax-based analysis time
0.0000 ( 0.1%) 0.0000 ( 0.2%) 0.0000 ( 0.2%) 0.0000 ( 0.2%) Path-sensitive report post-processing time
0.0007 (100.0%) 0.0006 (100.0%) 0.0013 (100.0%) 0.0013 (100.0%) Total
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')
scan-build: Analysis run complete.
scan-build: Removing directory '/var/lib/jenkins/workspace/scan-build-lbnsutils/clangScanBuildReports/2024-03-18-092218-236977-1' because it contains no reports.
scan-build: No bugs found.
+ 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
rm -f
rm -f
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
rm -f -r build/docs
rm -f -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
+ '[' xx86_64-linux-gnu = x ']'
+ '[' xx86_64-linux-gnu = x ']'
Publishing Clang scan-build results
Could not locate a unique scan-build output folder in: /var/lib/jenkins/workspace/scan-build-lbnsutils/clangScanBuildReports
Finished: SUCCESS