[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-centos-7-clang #84

noc at squid-cache.org noc at squid-cache.org
Sun Nov 9 15:48:30 UTC 2014


See <http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/84/changes>

Changes:

[Amos Jeffries] parserNG: add missing unit test for HTTP/0.9 case

[Christos Tsantilas] Parser-NG: fixes to allow ecap and ssl subsystems build

[Amos Jeffries] Parser-NG: adjust unit tests for new RFC compliance behaviour

Current parser in strict mode is complying with RFC 7230 removal of
completely empty lines (but not whitespace) before the request-line.

[squidadm at squid-cache.org] SourceFormat Enforcement

[Amos Jeffries] Parser-NG: HTTP Parser structural redesign

This update is to lay the groundwork for several planned future projects
implementing protocol specific parsers, seperating the currently
intertwinned client connection management and HTTP protocol parsing
logics, and for zero-copy processing of transactions using SBuf.


This patch renames the HttpParser class as RequestParser and moves it
into the Http::One:: namespace as child of an Http::Parser class with
generic API accessors for shared use by other HTTP message parsers.

The class API
- is updated to process both the request-line and HTTP mime headers,
returning an incomplete parse result until the entire headers parts of
the message have been received.
- now contains accessor methods for retrieving the method, URI,
protocol, mime headers block (as an SBuf) and some metrics about those.
- the old request_offsets structure and similar offset details are no
longer exposed.
- now emits 414 and 431 HTTP status codes as appropriate.

The parser is made partially incremental and some use of Tokenizer is
added for faster parsing. There is more that can be done to further
speed up parsing of slow or very large requests.

Much of the code from client_side.cc parseHttpRequest() and also the
header-field code from mime_headers.cc has been moved into the parser
class. The client_side.cc code now simply runs the main
Http1::RequestParser::parse() method then uses accessors to retrieve
and process the parse results.

A unit test for incremental parsing has been added to testHttpParser.

Also, the HttpRequestMethod class is moved into the Http:: namespace and
library to reduce dependencies on the parser class outside the library.


The gains made so far from incremental parse, reducing parser passes and
zero-copy SBuf are offset by several temporary performance regressions
added converting SBuf for legacy code use. These are marked for later
removal.

------------------------------------------
[...truncated 8884 lines...]
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_HelperChildConfig.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_HelperChildConfig.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_HelperChildConfig.o ../../src/tests/stub_HelperChildConfig.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_http.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_http.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_http.o ../../src/tests/stub_http.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_icp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_icp.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_icp.o ../../src/tests/stub_icp.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_internal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_internal.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_internal.o ../../src/tests/stub_internal.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_ipc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_ipc.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_ipc.o ../../src/tests/stub_ipc.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_ipcache.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_ipcache.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_ipcache.o ../../src/tests/stub_ipcache.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_libeui.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_libeui.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_libeui.o ../../src/tests/stub_libeui.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_libicmp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_libicmp.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_libicmp.o ../../src/tests/stub_libicmp.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_neighbors.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_neighbors.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_neighbors.o ../../src/tests/stub_neighbors.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_stat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_stat.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_stat.o ../../src/tests/stub_stat.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/testDiskIO.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/testDiskIO.o -MD -MP -MF $depbase.Tpo -c -o tests/testDiskIO.o ../../src/tests/testDiskIO.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/testStoreSupport.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/testStoreSupport.o -MD -MP -MF $depbase.Tpo -c -o tests/testStoreSupport.o ../../src/tests/testStoreSupport.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/testEvent.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/testEvent.o -MD -MP -MF $depbase.Tpo -c -o tests/testEvent.o ../../src/tests/testEvent.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/testEventLoop.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/testEventLoop.o -MD -MP -MF $depbase.Tpo -c -o tests/testEventLoop.o ../../src/tests/testEventLoop.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/test_http_range.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/test_http_range.o -MD -MP -MF $depbase.Tpo -c -o tests/test_http_range.o ../../src/tests/test_http_range.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_external_acl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_external_acl.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_external_acl.o ../../src/tests/stub_external_acl.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_comm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_comm.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_comm.o ../../src/tests/stub_comm.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_event.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_event.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_event.o ../../src/tests/stub_event.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/stub_stmem.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/stub_stmem.o -MD -MP -MF $depbase.Tpo -c -o tests/stub_stmem.o ../../src/tests/stub_stmem.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tests/testHttp1Parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/squid.conf\"> -DDEFAULT_SQUID_DATA_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">   -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src    -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT tests/testHttp1Parser.o -MD -MP -MF $depbase.Tpo -c -o tests/testHttp1Parser.o ../../src/tests/testHttp1Parser.cc &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -ldl -g -o tests/testHttpReply cbdata.o ConfigParser.o tests/stub_ETag.o tests/stub_fatal.o HttpBody.o HttpHdrCc.o HttpHdrContRange.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHeader.o HttpHeaderTools.o HttpMsg.o HttpReply.o MasterXaction.o tests/stub_mem.o RegexList.o MemBuf.o mime_header.o Notes.o Packer.o MemBlob.o SBuf.o SBufExceptions.o tests/stub_SBufDetailedStats.o String.o StrList.o tests/stub_access_log.o tests/stub_cache_cf.o tests/stub_cache_manager.o tests/stub_comm.o tests/stub_debug.o tests/stub_errorpage.o tests/stub_event.o tests/stub_fd.o tests/stub_HelperChildConfig.o tests/stub_libformat.o tests/stub_libauth.o tests/stub_libcomm.o tests/stub_libmgr.o tests/stub_libsslsquid.o StatCounters.o tests/stub_StatHist.o tests/stub_store.o tests/stub_store_stats.o tests/stub_tools.o tests/stub_HttpRequest.o tests/testHttpReply.o tests/testMain.o tests/stub_time.o url.o wordlist.o test_tools.o globals.o CommCalls.o http/libsquid-http.la parser/libsquid-parser.la acl/libacls.la acl/libapi.la acl/libstate.la anyp/libanyp.la ip/libip.la base/libbase.la ipc/libipc.la ../lib/libmisccontainers.la ../lib/libmiscencoding.la ../lib/libmiscutil.la -lcppunit -ldl  -lnettle  ../compat/libcompat-squid.la  -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -g -o tests/testHttpReply cbdata.o ConfigParser.o tests/stub_ETag.o tests/stub_fatal.o HttpBody.o HttpHdrCc.o HttpHdrContRange.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHeader.o HttpHeaderTools.o HttpMsg.o HttpReply.o MasterXaction.o tests/stub_mem.o RegexList.o MemBuf.o mime_header.o Notes.o Packer.o MemBlob.o SBuf.o SBufExceptions.o tests/stub_SBufDetailedStats.o String.o StrList.o tests/stub_access_log.o tests/stub_cache_cf.o tests/stub_cache_manager.o tests/stub_comm.o tests/stub_debug.o tests/stub_errorpage.o tests/stub_event.o tests/stub_fd.o tests/stub_HelperChildConfig.o tests/stub_libformat.o tests/stub_libauth.o tests/stub_libcomm.o tests/stub_libmgr.o tests/stub_libsslsquid.o StatCounters.o tests/stub_StatHist.o tests/stub_store.o tests/stub_store_stats.o tests/stub_tools.o tests/stub_HttpRequest.o tests/testHttpReply.o tests/testMain.o tests/stub_time.o url.o wordlist.o test_tools.o globals.o CommCalls.o  http/.libs/libsquid-http.a parser/.libs/libsquid-parser.a acl/.libs/libacls.a acl/.libs/libapi.a acl/.libs/libstate.a anyp/.libs/libanyp.a ip/.libs/libip.a base/.libs/libbase.a ipc/.libs/libipc.a ../lib/.libs/libmisccontainers.a ../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lcppunit -lnettle ../compat/.libs/libcompat-squid.a -lm -lnsl -lresolv -lcap -lrt -ldl
In file included from ../../src/tests/testHttp1Parser.cc:11:
/usr/include/cppunit/TestAssert.h:49:13: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
        ost << x;
            ^
/usr/include/cppunit/TestAssert.h:101:50: note: in instantiation of member function 'CppUnit::assertion_traits<AnyP::ProtocolVersion>::toString' requested here
    Asserter::failNotEqual( assertion_traits<T>::toString(expected),
                                                 ^
../../src/tests/testHttp1Parser.cc:85:16: note: in instantiation of function template specialization 'CppUnit::assertEquals<AnyP::ProtocolVersion>' requested here
    ( CppUnit::assertEquals( (expect.version), (output.msgProtocol_), CppUnit::SourceLine( "../../src/tests/testHttp1Parser.cc", 85 ), "" ) );
               ^
../../src/anyp/ProtocolVersion.h:94:1: note: 'operator<<' should be declared prior to the call site or in namespace 'AnyP'
operator << (std::ostream &os, const AnyP::ProtocolVersion &v)
^
1 error generated.
make[5]: *** [tests/testHttp1Parser.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/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/3.HEAD-amd64-centos-7-clang/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/3.HEAD-amd64-centos-7-clang/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: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2
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: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2
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
# 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
/usr/include/cppunit/TestAssert.h:49:13: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
make[5]: *** [tests/testHttp1Parser.o] Error 1
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