[squid-dev] Build failed in Jenkins: trunk-x64-centos-7 #343

noc at squid-cache.org noc at squid-cache.org
Fri Feb 6 22:30:49 UTC 2015


See <http://build.squid-cache.org/job/trunk-x64-centos-7/343/changes>

Changes:

[Amos Jeffries] Fix for Coverity Scan false positives in SBuf

Coverity scanner gets badly confused with SBuf::npos being used as
default parameter value, even though its used to indicate that
strlen() needs to be used on the string.

This is an experiment to see if it gets less confused by having
explicit overloads for the two cases and not using SBuf::npos value
in relation to the unknown length c-strings.

[Amos Jeffries] Fix crash when parsing invalid squid.conf

If a time value is going to overflow with default units the
critical debugs() can trigger a segfault instead of logging
and aborting Squid with self_destruct().

Detected by Coverity Scan. Issue 1258698

[Amos Jeffries] Fix potential NULL dereference

Logging can potentially happen when there is no client
request underway.

Detected by Coverity Scan. Issue 434122

[Francesco Chemolli] Fix not-fully-initialized data member in ACLUserData

------------------------------------------
[...truncated 7837 lines...]
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[6]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/helper'>
make[5]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/helper'>
make[4]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/helper'>
Making check in dns
make[4]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
make  
make[5]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
make  check-TESTS
make[5]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
make[6]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11" "../../../src/dns" || exit 1
Testing ../../../src/dns ...Ok.
PASS: testHeaders
make[7]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
============================================================================
Testsuite summary for Squid Web Proxy 3.HEAD-BZR
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[6]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
make[5]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
make[4]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/dns'>
Making check in ftp
make[4]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
make  
make[5]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
make  check-TESTS
make[5]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
make[6]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11" "../../../src/ftp" || exit 1
Testing ../../../src/ftp ...Ok.
PASS: testHeaders
make[7]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
============================================================================
Testsuite summary for Squid Web Proxy 3.HEAD-BZR
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[6]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
make[5]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
make[4]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ftp'>
Making check in parser
make[4]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
make  testTokenizer
make[5]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT SBuf.o -MD -MP -MF .deps/SBuf.Tpo -c -o SBuf.o `test -f '../../../src/SBuf.cc' || echo '../../../src/parser/'`../../../src/SBuf.cc
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT MemBlob.o -MD -MP -MF .deps/MemBlob.Tpo -c -o MemBlob.o `test -f '../../../src/MemBlob.cc' || echo '../../../src/parser/'`../../../src/MemBlob.cc
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT SBufExceptions.o -MD -MP -MF .deps/SBufExceptions.Tpo -c -o SBufExceptions.o `test -f '../../../src/SBufExceptions.cc' || echo '../../../src/parser/'`../../../src/SBufExceptions.cc
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT String.o -MD -MP -MF .deps/String.Tpo -c -o String.o `test -f '../../../src/String.cc' || echo '../../../src/parser/'`../../../src/String.cc
mv -f .deps/SBufExceptions.Tpo .deps/SBufExceptions.Po
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT TextException.o -MD -MP -MF .deps/TextException.Tpo -c -o TextException.o `test -f '../../../src/base/TextException.cc' || echo '../../../src/parser/'`../../../src/base/TextException.cc
mv -f .deps/MemBlob.Tpo .deps/MemBlob.Po
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT testTokenizer.o -MD -MP -MF .deps/testTokenizer.Tpo -c -o testTokenizer.o ../../../src/parser/testTokenizer.cc
mv -f .deps/String.Tpo .deps/String.Po
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT stub_libmem.o -MD -MP -MF .deps/stub_libmem.Tpo -c -o stub_libmem.o `test -f '../../../src/tests/stub_libmem.cc' || echo '../../../src/parser/'`../../../src/tests/stub_libmem.cc
mv -f .deps/TextException.Tpo .deps/TextException.Po
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT stub_debug.o -MD -MP -MF .deps/stub_debug.Tpo -c -o stub_debug.o `test -f '../../../src/tests/stub_debug.cc' || echo '../../../src/parser/'`../../../src/tests/stub_debug.cc
mv -f .deps/stub_debug.Tpo .deps/stub_debug.Po
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT stub_time.o -MD -MP -MF .deps/stub_time.Tpo -c -o stub_time.o `test -f '../../../src/tests/stub_time.cc' || echo '../../../src/parser/'`../../../src/tests/stub_time.cc
mv -f .deps/SBuf.Tpo .deps/SBuf.Po
ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -MT stub_SBufDetailedStats.o -MD -MP -MF .deps/stub_SBufDetailedStats.Tpo -c -o stub_SBufDetailedStats.o `test -f '../../../src/tests/stub_SBufDetailedStats.cc' || echo '../../../src/parser/'`../../../src/tests/stub_SBufDetailedStats.cc
mv -f .deps/stub_libmem.Tpo .deps/stub_libmem.Po
mv -f .deps/stub_time.Tpo .deps/stub_time.Po
mv -f .deps/stub_SBufDetailedStats.Tpo .deps/stub_SBufDetailedStats.Po
mv -f .deps/testTokenizer.Tpo .deps/testTokenizer.Po
/bin/sh ../../libtool  --tag=CXX   --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -ldl -g -o testTokenizer SBuf.o MemBlob.o SBufExceptions.o String.o TextException.o testTokenizer.o stub_libmem.o stub_debug.o stub_time.o stub_SBufDetailedStats.o libsquid-parser.la ../../lib/libmiscutil.la ../../src/base/libbase.la -lcppunit -ldl  ../../compat/libcompat-squid.la  
libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11 -g -o testTokenizer SBuf.o MemBlob.o SBufExceptions.o String.o TextException.o testTokenizer.o stub_libmem.o stub_debug.o stub_time.o stub_SBufDetailedStats.o  ./.libs/libsquid-parser.a ../../lib/.libs/libmiscutil.a ../../src/base/.libs/libbase.a -lcppunit -ldl ../../compat/.libs/libcompat-squid.a
make[5]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
make  check-TESTS
make[5]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
make[6]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -std=c++11" "../../../src/parser" || exit 1
Testing ../../../src/parser ...Ok.
../../../cfgaux/test-driver: line 95:   403 Aborted                 "$@" > $log_file 2>&1
FAIL: testTokenizer
PASS: testHeaders
make[7]: Entering directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
============================================================================
Testsuite summary for Squid Web Proxy 3.HEAD-BZR
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/parser/test-suite.log
Please report to http://bugs.squid-cache.org/
============================================================================
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/parser'>
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[2]: *** [check] Error 2
make[2]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `<http://build.squid-cache.org/job/trunk-x64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'>
make: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-00-default.opts
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: 
configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: 
configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
cat: ../../src/DiskIO/../../scripts/boilerplate.h: No such file or directory
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
FAIL: testTokenizer
# XFAIL: 0
# FAIL:  1
make[6]: *** [test-suite.log] Error 1
make[5]: *** [check-TESTS] Error 2
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure


More information about the squid-dev mailing list