Build failed in Jenkins: 3.HEAD-amd64-FreeBSD-9.1-clang #615

From: <noc_at_squid-cache.org>
Date: Wed, 23 Jul 2014 03:45:11 +0200 (CEST)

See <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/615/changes>

Changes:

[Amos Jeffries] Fix unit test linker issues in testHttpReply and testStore

Also, update STUB files for comm.cc, event.cc, and libssl-squid.la

[Automatic source maintenance] SourceFormat Enforcement

[Christos Tsantilas] Fix tcp outgoing tos bugs

The tcp_outgoing_tos is buggy in trunk:
- The ToS is never set for packets of the first request of a TCP connection.
- The ToS is never set for HTTPS traffic no matter whether requests are bumped
or not.
- The ToS value is not set for ftp data connections

This patch solve the above problems:
- It moves the codes which sets the TOS value for a new connection from the
the comm_openex to a higher-level code, where the connection protocol
(IPv4 or IPv6) is known.
- Add code to set TOS value for ftp data connections.
- Add a check on parsing code to warn users if the configured ToS value has the
ECN bits set, and adjust the value to a correct one.

Notes
Currently squid support only passive ftp data connections. If squid in the
future supports active ftp connections, then some work required to TcpAcceptor
class to allow setting ToS values for connections established on squid listening
sockets.

This is a Measurement Factory project

[Amos Jeffries] Fix various trunk unit test build issues

[Amos Jeffries] Fix out of bounds memory access on -n option

[Amos Jeffries] Fix unit test issue after rev.1498

Moves service_name global definition to tools.h where it can be
accessible to more unit tests, in particular tests outside of
src/Makefile.am

Adds stub_SBuf.cc for use by unit tests not actually needing SBuf.

[Christos Tsantilas] squidclient: Fix -m option to correctly read method argument

[Amos Jeffries] Bug 4085: cache_miss_revalidate / ignore_ims_on_miss docs confusing

[Amos Jeffries] Fix http_port after rev.13497

Also, remove dead code if-statement in httpAccept(). Replace with a note
that the call may have been queued when a reconfgure happened to the port

[Amos Jeffries] Validate -n service name parameter value

Service name is used for path prefixes in SHM/UDS sockets, Windows
service name, Unix/Linux/BSD daemon names, and file path segments.

Restrict service names to a max 32 character alphanumeric value in order
to accommodate as widely portable names as possible in all these cases.

[Amos Jeffries] Converts the PortCfgPointer to reference counted

This allows long-lived connections to retain access to their original
receiving port configuration even after squid has been reconfigured.
Reference counting prevents some leaking of these port configuration
details and associated state by removing locking uncertainties.

Also, fixes all parsing errors resulting from the change. Most of
the issues were due to use of raw-pointers and explicit
cbdataReference*() API.

------------------------------------------
[...truncated 8109 lines...]
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../src/ipc" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in mgr
test -z "testHeaders" || rm -f testHeaders
rm -rf .libs _libs
test -z "libmgr.la" || rm -f libmgr.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../src/mgr" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in ssl
test -z "testHeaders" || rm -f testHeaders
rm -rf .libs _libs
test -z "libsslsquid.la libsslutil.la" || rm -f libsslsquid.la libsslutil.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../src/ssl" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in snmp
test -z "testHeaders" || rm -f testHeaders
rm -rf .libs _libs
test -z "libsnmp.la" || rm -f libsnmp.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../src/snmp" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in adaptation
Making distclean in icap
test -z "testHeaders" || rm -f testHeaders
rm -rf .libs _libs
test -z "libicap.la" || rm -f libicap.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../../src/adaptation/icap" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in ecap
test -z "testHeaders" || rm -f testHeaders
rm -rf .libs _libs
test -z "libsquid-ecap.la" || rm -f libsquid-ecap.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../../src/adaptation/ecap" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
test -z "testHeaders" || rm -f testHeaders
rm -rf .libs _libs
test -z "libadaptation.la" || rm -f libadaptation.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../src/adaptation" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in esi
test -z "testHeaders" || rm -f testHeaders
rm -rf .libs _libs
test -z "libesi.la" || rm -f libesi.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../src/esi" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
 rm -f tests/testACLMaxUserIP tests/testBoilerplate tests/testCacheManager tests/testDiskIO tests/testEvent tests/testEventLoop tests/test_http_range tests/testHttpParser tests/testHttpReply tests/testHttpRequest tests/testStore tests/testString tests/testURL tests/testSBuf tests/testSBufList tests/testConfigParser tests/testStatHist tests/testRock tests/testUfs testRefCount
test -z "cf_gen_defines.cci cf_parser.cci err_type.cc err_detail_type.cc globals.cc hier_code.cc icp_opcode.cc LogTags.cc lookup_t.cc repl_modules.cc swap_log_op.cc squid.8 cf.data squid.conf.default squid.conf.documented DiskIO/DiskIOModules_gen.cc test_tools.cc *.a testHeaders" || rm -f cf_gen_defines.cci cf_parser.cci err_type.cc err_detail_type.cc globals.cc hier_code.cc icp_opcode.cc LogTags.cc lookup_t.cc repl_modules.cc swap_log_op.cc squid.8 cf.data squid.conf.default squid.conf.documented DiskIO/DiskIOModules_gen.cc test_tools.cc *.a testHeaders
 rm -f DiskIO/DiskDaemon/diskd unlinkd
rm -rf .libs _libs
rm -rf DiskIO/DiskDaemon/.libs DiskIO/DiskDaemon/_libs
rm -rf tests/.libs tests/_libs
test -z "libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a libIpcIo.a libMmapped.a" || rm -f libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a libIpcIo.a libMmapped.a
test -z "libsquid.la" || rm -f libsquid.la
rm -f ./so_locations
 rm -f cf_gen
 rm -f squid
rm -f *.o
rm -f DiskIO/*.o
rm -f DiskIO/AIO/*.o
rm -f DiskIO/Blocking/*.o
rm -f DiskIO/DiskDaemon/*.o
rm -f DiskIO/DiskThreads/*.o
rm -f DiskIO/IpcIo/*.o
rm -f DiskIO/Mmapped/*.o
rm -f tests/*.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../src" || test -z "" || rm -f
rm -f DiskIO/.deps/.dirstamp
rm -f DiskIO/.dirstamp
rm -f DiskIO/AIO/.deps/.dirstamp
rm -f DiskIO/AIO/.dirstamp
rm -f DiskIO/Blocking/.deps/.dirstamp
rm -f DiskIO/Blocking/.dirstamp
rm -f DiskIO/DiskDaemon/.deps/.dirstamp
rm -f DiskIO/DiskDaemon/.dirstamp
rm -f DiskIO/DiskThreads/.deps/.dirstamp
rm -f DiskIO/DiskThreads/.dirstamp
rm -f DiskIO/IpcIo/.deps/.dirstamp
rm -f DiskIO/IpcIo/.dirstamp
rm -f DiskIO/Mmapped/.deps/.dirstamp
rm -f DiskIO/Mmapped/.dirstamp
rm -f tests/.deps/.dirstamp
rm -f tests/.dirstamp
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps DiskIO/.deps DiskIO/AIO/.deps DiskIO/Blocking/.deps DiskIO/DiskDaemon/.deps DiskIO/DiskThreads/.deps DiskIO/IpcIo/.deps DiskIO/Mmapped/.deps tests/.deps
rm -f Makefile
Making distclean in test-suite
 rm -f debug MemPoolTest mem_node_test mem_hdr_test splay syntheticoperators VirtualDeleteOperator
test -z "stub_debug.cc stub_tools.cc stub_fatal.cc squid-conf-tests" || rm -f stub_debug.cc stub_tools.cc stub_fatal.cc squid-conf-tests
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../test-suite" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in tools
Making distclean in purge
 rm -f purge
test -z "" || rm -f
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../tools/purge" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
Making distclean in squidclient
 rm -f squidclient
test -z "test_tools.cc stub_debug.cc time.cc" || rm -f test_tools.cc stub_debug.cc time.cc
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../../tools/squidclient" || test -z "" || rm -f
test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
test -z "test_tools.cc stub_debug.cc time.cc cachemgr.cgi.8" || rm -f test_tools.cc stub_debug.cc time.cc cachemgr.cgi.8
 rm -f cachemgr.cgi
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "../../tools" || test -z "" || rm -f
test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
test . = ".." || test -z "" || rm -f
test -z "include/stamp-h include/stamp-h[0-9]*" || rm -f include/stamp-h include/stamp-h[0-9]*
rm -f include/autoconf.h include/stamp-h1
rm -f libtool config.lt
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f Makefile
ERROR: files left in build directory after distclean:
./test-suite/stub_SBuf.cc
*** [distcleancheck] Error code 1

Stop in /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build.>
*** [distcheck] Error code 1

Stop in /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default.>
buildtest.sh result is 1
BUILD: .././test-suite/buildtests/layer-00-default.opts
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lm
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C FLAGS: -Werror -Qunused-arguments -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -Werror -Qunused-arguments -D_REENTRANT
configure: BUILD Tools C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lm
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C FLAGS: -Werror -Qunused-arguments -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -Werror -Qunused-arguments -D_REENTRANT
configure: BUILD Tools C++ FLAGS: -g -O2 -I/usr/local/include
2014/07/23 01:50:17| FATAL ERROR: MIME Config Table /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: unlinkd_program /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: logfile_daemon /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: Icon Directory /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory
/usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory
2014/07/23 01:50:17| FATAL ERROR: MIME Config Table /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: unlinkd_program /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: logfile_daemon /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: Icon Directory /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory
/usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory
2014/07/23 01:50:17| FATAL ERROR: MIME Config Table /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: unlinkd_program /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: logfile_daemon /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory
2014/07/23 01:50:17| FATAL ERROR: Icon Directory /usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory
/usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory
ERROR: files left in build directory after distclean:
*** [distcleancheck] Error code 1
*** [distcheck] Error code 1
Build FAILED.
Build step 'Execute shell' marked build as failure
Received on Wed Jul 23 2014 - 01:45:13 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 23 2014 - 12:00:11 MDT