[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-CentOs-icc #1500

noc at squid-cache.org noc at squid-cache.org
Tue Nov 18 12:05:25 UTC 2014


See <http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/1500/changes>

Changes:

[Amos Jeffries] Alternate-Protocol is a hop-by-hop header

Google are pushing Alternate-Protocol header to arbitrarily move clients
from HTTP to their experimental and proprietary protocols.

When relayed through a proxy this can cause traffic bifurcation with
side effects ranging from client visible failures, to traffic increase
on the network as proxy caching is bypassed, to security vulnerabilities
or privacy information leaks over the experimental protocol.

Treating the Alternate-Protocol header as a hop-by-hop header only
relevant on client->origin connections we can both prevent the above
issues occuring on networks utilizing a proxy, and also participate in
the protocol exprimentation process ourselves.

------------------------------------------
[...truncated 8151 lines...]
../../src/tests/testHttp1Parser.cc(255): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .needsMore = true,
               ^

../../src/tests/testHttp1Parser.cc(256): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .parserState = Http1::HTTP_PARSE_MIME,
               ^

../../src/tests/testHttp1Parser.cc(257): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .status = Http::scOkay,
               ^

../../src/tests/testHttp1Parser.cc(258): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .msgStart = 0,
               ^

../../src/tests/testHttp1Parser.cc(259): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .msgEnd = (int)input.length()-1,
               ^

../../src/tests/testHttp1Parser.cc(260): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .suffixSz = 0,
               ^

../../src/tests/testHttp1Parser.cc(261): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .methodStart = 0,
               ^

../../src/tests/testHttp1Parser.cc(262): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .methodEnd = 2,
               ^

../../src/tests/testHttp1Parser.cc(263): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .method = HttpRequestMethod(Http::METHOD_GET),
               ^

../../src/tests/testHttp1Parser.cc(264): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uriStart = 4,
               ^

../../src/tests/testHttp1Parser.cc(265): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uriEnd = 4,
               ^

../../src/tests/testHttp1Parser.cc(266): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uri = "/",
               ^

../../src/tests/testHttp1Parser.cc(267): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .versionStart = 6,
               ^

../../src/tests/testHttp1Parser.cc(268): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .versionEnd = 13,
               ^

../../src/tests/testHttp1Parser.cc(269): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .version = AnyP::ProtocolVersion(AnyP::PROTO_HTTP,1,2)
               ^

../../src/tests/testHttp1Parser.cc(280): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .parsed = false,
               ^

../../src/tests/testHttp1Parser.cc(281): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .needsMore = false,
               ^

../../src/tests/testHttp1Parser.cc(282): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .parserState = Http1::HTTP_PARSE_MIME,
               ^

../../src/tests/testHttp1Parser.cc(283): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .status = Http::scHttpVersionNotSupported,
               ^

../../src/tests/testHttp1Parser.cc(284): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .msgStart = 0,
               ^

../../src/tests/testHttp1Parser.cc(285): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .msgEnd = (int)input.length()-1,
               ^

../../src/tests/testHttp1Parser.cc(286): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .suffixSz = input.length(),
               ^

../../src/tests/testHttp1Parser.cc(287): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .methodStart = 0,
               ^

../../src/tests/testHttp1Parser.cc(288): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .methodEnd = 2,
               ^

../../src/tests/testHttp1Parser.cc(289): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .method = HttpRequestMethod(Http::METHOD_GET),
               ^

../../src/tests/testHttp1Parser.cc(290): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uriStart = 4,
               ^

../../src/tests/testHttp1Parser.cc(291): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uriEnd = 4,
               ^

../../src/tests/testHttp1Parser.cc(292): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uri = "/",
               ^

../../src/tests/testHttp1Parser.cc(293): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .versionStart = 6,
               ^

../../src/tests/testHttp1Parser.cc(294): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .versionEnd = 15,
               ^

../../src/tests/testHttp1Parser.cc(295): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .version = AnyP::ProtocolVersion()
               ^

../../src/tests/testHttp1Parser.cc(306): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .parsed = false,
               ^

../../src/tests/testHttp1Parser.cc(307): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .needsMore = false,
               ^

../../src/tests/testHttp1Parser.cc(308): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .parserState = Http1::HTTP_PARSE_DONE,
               ^

../../src/tests/testHttp1Parser.cc(309): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .status = Http::scHttpVersionNotSupported,
               ^

../../src/tests/testHttp1Parser.cc(310): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .msgStart = 0,
               ^

../../src/tests/testHttp1Parser.cc(311): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .msgEnd = (int)input.length()-1,
               ^

../../src/tests/testHttp1Parser.cc(312): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .suffixSz = input.length(),
               ^

../../src/tests/testHttp1Parser.cc(313): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .methodStart = 0,
               ^

../../src/tests/testHttp1Parser.cc(314): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .methodEnd = 2,
               ^

../../src/tests/testHttp1Parser.cc(315): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .method = HttpRequestMethod(Http::METHOD_GET),
               ^

../../src/tests/testHttp1Parser.cc(316): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uriStart = 4,
               ^

../../src/tests/testHttp1Parser.cc(317): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uriEnd = 4,
               ^

../../src/tests/testHttp1Parser.cc(318): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .uri = "/",
               ^

../../src/tests/testHttp1Parser.cc(319): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .versionStart = 6,
               ^

../../src/tests/testHttp1Parser.cc(320): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .versionEnd = 12,
               ^

../../src/tests/testHttp1Parser.cc(321): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .version = AnyP::ProtocolVersion()
               ^

../../src/tests/testHttp1Parser.cc(332): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .parsed = false,
               ^

../../src/tests/testHttp1Parser.cc(333): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .needsMore = false,
               ^

../../src/tests/testHttp1Parser.cc(334): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .parserState = Http1::HTTP_PARSE_DONE,
               ^

../../src/tests/testHttp1Parser.cc(335): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
              .status = Http::scHttpVersionNotSupported,
               ^

compilation aborted for ../../src/tests/testHttp1Parser.cc (code 4)
make[5]: *** [tests/testHttp1Parser.o] Error 4
make[5]: *** Waiting for unfinished jobs....
libtool: link: icpc -gcc-sys -Werror -D_REENTRANT -g -std=c++11 -g -o tests/testString tests/stub_mem.o MemBuf.o String.o MemBlob.o SBuf.o SBufExceptions.o tests/stub_SBufDetailedStats.o tests/testMain.o tests/testString.o tests/stub_cache_cf.o tests/stub_cache_manager.o tests/stub_debug.o tests/stub_HelperChildConfig.o tests/stub_tools.o tests/stub_time.o wordlist.o test_tools.o globals.o  base/.libs/libbase.a ./.libs/libsquid.a ip/.libs/libip.a ../lib/.libs/libmiscutil.a -lcppunit -ldl ../compat/.libs/libcompat-squid.a -lnsl -lresolv -lcap -lrt
libtool: link: icpc -gcc-sys -Werror -D_REENTRANT -g -std=c++11 -g -o tests/testStore tests/stub_CacheDigest.o cbdata.o tests/stub_CollapsedForwarding.o ConfigOption.o ConfigParser.o disk.o DiskIO/ReadRequest.o DiskIO/WriteRequest.o ETag.o event.o EventLoop.o tests/stub_fatal.o filemap.o HttpHdrCc.o HttpHdrContRange.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHeaderTools.o HttpHeader.o HttpMsg.o RequestFlags.o int.o SquidList.o MasterXaction.o tests/stub_mem.o mem_node.o MemBuf.o MemObject.o Notes.o Packer.o Parsing.o RemovalPolicy.o refresh.o StatCounters.o StatHist.o stmem.o store.o store_dir.o store_io.o store_swapout.o StoreIOState.o tests/stub_StoreMeta.o StoreMetaUnpacker.o StoreSwapLogData.o store_key_md5.o MemBlob.o SBuf.o SBufExceptions.o tests/stub_SBufDetailedStats.o String.o StrList.o SwapDir.o tests/stub_access_log.o tests/stub_acl.o tests/stub_cache_cf.o tests/stub_cache_manager.o tests/stub_client_side_request.o tests/stub_comm.o tests/stub_debug.o tests/stub_DiskIOModule.o tests/stub_errorpage.o tests/stub_fd.o tests/stub_helper.o tests/stub_HelperChildConfig.o tests/stub_http.o tests/stub_libauth.o tests/stub_libeui.o tests/stub_libformat.o tests/stub_libsslsquid.o HttpBody.o tests/stub_HttpReply.o tests/stub_HttpRequest.o tests/stub_libcomm.o tests/stub_MemStore.o tests/stub_mime.o tests/stub_Port.o tests/stub_stat.o tests/stub_store_client.o tests/stub_store_stats.o tests/stub_store_rebuild.o tests/stub_store_swapout.o Transients.o tests/stub_tools.o tests/stub_UdsOp.o tests/testMain.o tests/testStore.o tests/testStoreEntryStream.o tests/testStoreController.o tests/testStoreHashIndex.o tests/testStoreSupport.o tests/TestSwapDir.o tests/stub_time.o url.o wordlist.o test_tools.o globals.o SquidMath.o swap_log_op.o CommCalls.o DnsLookupDetails.o  ./.libs/libsquid.a http/.libs/libsquid-http.a parser/.libs/libsquid-parser.a ident/.libs/libident.a acl/.libs/libacls.a acl/.libs/libstate.a acl/.libs/libapi.a base/.libs/libbase.a ip/.libs/libip.a fs/.libs/libfs.a mgr/.libs/libmgr.a ipc/.libs/libipc.a anyp/.libs/libanyp.a ../lib/.libs/libmisccontainers.a ../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lnettle -lcppunit -ldl ../compat/.libs/libcompat-squid.a -lnsl -lresolv -lcap -lrt
libtool: link: icpc -gcc-sys -Werror -D_REENTRANT -g -std=c++11 -g -o tests/testHttpRequest AccessLogEntry.o RequestFlags.o HttpRequest.o tests/stub_mem.o String.o tests/testHttpRequest.o tests/testHttpRequestMethod.o tests/testMain.o tests/stub_DiskIOModule.o tests/stub_libauth.o tests/stub_main_cc.o tests/stub_ipc_Forwarder.o tests/stub_libeui.o tests/stub_store_stats.o tests/stub_EventLoop.o time.o BodyPipe.o cache_manager.o YesNoNone.o cache_cf.o debug.o tests/stub_CacheDigest.o tests/stub_carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o client_side_reply.o client_side_request.o clientStream.o tests/stub_CollapsedForwarding.o ConfigOption.o ConfigParser.o CpuAffinityMap.o CpuAffinitySet.o disk.o dlink.o dns_internal.o DnsLookupDetails.o errorpage.o tests/stub_ETag.o external_acl.o ExternalACLEntry.o tests/stub_fatal.o fd.o fde.o fqdncache.o FwdState.o gopher.o helper.o htcp.o http.o HttpBody.o HttpHeader.o HttpHeaderTools.o HttpHdrCc.o HttpHdrContRange.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpMsg.o HttpReply.o icp_v2.o icp_v3.o ipc.o ipcache.o int.o internal.o SquidList.o MasterXaction.o multicast.o mem_node.o MemBuf.o MemObject.o mime.o mime_header.o neighbors.o Notes.o Packer.o Parsing.o pconn.o peer_digest.o peer_proxy_negotiate_auth.o peer_select.o peer_sourcehash.o peer_userhash.o PeerPoolMgr.o tests/stub_libauth_acls.o tests/stub_redirect.o refresh.o RemovalPolicy.o MemBlob.o SBuf.o SBufExceptions.o tests/stub_SBufDetailedStats.o snmp_core.o snmp_agent.o SquidMath.o stat.o StatCounters.o StatHist.o stmem.o store.o store_client.o tests/stub_store_digest.o store_dir.o store_io.o store_key_md5.o store_log.o store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o StoreFileSystem.o StoreIOState.o tests/stub_StoreMeta.o StoreMetaUnpacker.o StoreSwapLogData.o StrList.o event.o tools.o Transients.o tests/stub_tunnel.o tests/stub_SwapDir.o MemStore.o url.o urn.o tests/stub_wccp2.o tests/stub_whois.o FadingCounter.o wordlist.o err_type.o err_detail_type.o globals.o hier_code.o icp_opcode.o LogTags.o lookup_t.o repl_modules.o swap_log_op.o  ./.libs/libsquid.a clients/.libs/libclients.a servers/.libs/libservers.a helper/.libs/libhelper.a ftp/.libs/libftp.a http/.libs/libsquid-http.a ident/.libs/libident.a acl/.libs/libacls.a acl/.libs/libstate.a acl/.libs/libapi.a ip/.libs/libip.a fs/.libs/libfs.a ipc/.libs/libipc.a parser/.libs/libsquid-parser.a base/.libs/libbase.a mgr/.libs/libmgr.a anyp/.libs/libanyp.a snmp/.libs/libsnmp.a ../lib/snmplib/.libs/libsnmplib.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a comm/.libs/libcomm.a log/.libs/liblog.a format/.libs/libformat.a repl/liblru.a adaptation/.libs/libadaptation.a ../lib/.libs/libmisccontainers.a ../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lpthread -lnettle -lcppunit -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ../compat/.libs/libcompat-squid.a -lnsl -lresolv -lcap -lrt
make[5]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/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-icc/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-icc/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-icc/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-icc/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: -lnsl -lresolv -lcap -lrt
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g
configure: BUILD EXTRA C FLAGS:  -Werror  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -std=c++11
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lnsl -lresolv -lcap -lrt
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g
configure: BUILD EXTRA C FLAGS:  -Werror  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -std=c++11
cat: ../../src/DiskIO/../../scripts/boilerplate.h: No such file or directory
make[5]: *** [tests/testHttp1Parser.o] Error 4
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