See <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/121/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 8687 lines...] 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 test -z "debug.log syntheticoperators.log VirtualDeleteOperator.log splay.log MemPoolTest.log mem_node_test.log mem_hdr_test.log squid-conf-tests.log" || rm -f debug.log syntheticoperators.log VirtualDeleteOperator.log splay.log MemPoolTest.log mem_node_test.log mem_hdr_test.log squid-conf-tests.log test -z "debug.trs syntheticoperators.trs VirtualDeleteOperator.trs splay.trs MemPoolTest.trs mem_node_test.trs mem_hdr_test.trs squid-conf-tests.trs" || rm -f debug.trs syntheticoperators.trs VirtualDeleteOperator.trs splay.trs MemPoolTest.trs mem_node_test.trs mem_hdr_test.trs squid-conf-tests.trs test -z "test-suite.log" || rm -f test-suite.log 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 test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log 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 test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log 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 test -z "" || rm -f test -z "" || rm -f test -z "test-suite.log" || rm -f test-suite.log 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 *** Error 1 in squid-3.HEAD-BZR/_build (Makefile:822 'distcleancheck': @test `find . -type f -print | wc -l` -eq 0 || { echo "ERROR: files ...) *** Error 1 in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default> (Makefile:792 'distcheck') 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: -Wall 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 -march=native configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT configure: BUILD Tools C++ FLAGS: -march=native -g -O2 -march=native configure: BUILD LIBRARIES: configure: BUILD EXTRA LIBRARIES: -lm configure: BUILD OBJECTS: configure: BUILD EXTRA OBJECTS: configure: BUILD C FLAGS: -Wall 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 -march=native configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT configure: BUILD Tools C++ FLAGS: -march=native -g -O2 -march=native # 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 2014/07/23 13:39:41| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory 2014/07/23 13:39:41| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory 2014/07/23 13:39:41| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory 2014/07/23 13:39:41| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory # XFAIL: 0 # FAIL: 0 ERROR: files left in build directory after distclean: *** Error 1 in squid-3.HEAD-BZR/_build (Makefile:822 'distcleancheck': @test `find . -type f -print | wc -l` -eq 0 || { echo "ERROR: files ...) *** Error 1 in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/btlayer-00-default> (Makefile:792 'distcheck') Build FAILED. Build step 'Execute shell' marked build as failure