noc | 18 Apr 18:17 2014

Build failed in Jenkins: 3.HEAD-amd64-centos-6 #295

See <http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/295/changes>

Changes:

[Amos Jeffries] squidclient: Support TLS for testing https:// URLs and HTTPS servers

Also adds detection of the GnuTLS library which is used to provide this
squidclient feature.

------------------------------------------
[...truncated 5422 lines...]
	ccache g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/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-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">  -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT err_detail_type.o -MD -MP -MF $depbase.Tpo -c -o err_detail_type.o err_detail_type.cc &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo globals.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	ccache g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/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-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">  -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT globals.o -MD -MP -MF $depbase.Tpo -c -o globals.o globals.cc &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo hier_code.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	ccache g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/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-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">  -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT hier_code.o -MD -MP -MF $depbase.Tpo -c -o hier_code.o hier_code.cc &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo icp_opcode.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	ccache g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/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-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">  -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT icp_opcode.o -MD -MP -MF $depbase.Tpo -c -o icp_opcode.o icp_opcode.cc &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo LogTags.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	ccache g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/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-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">  -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT LogTags.o -MD -MP -MF $depbase.Tpo -c -o LogTags.o LogTags.cc &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo lookup_t.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	ccache g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/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-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">  -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT lookup_t.o -MD -MP -MF $depbase.Tpo -c -o lookup_t.o lookup_t.cc &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo repl_modules.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	ccache g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/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-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share\"> -DDEFAULT_SQUID_CONFIG_DIR=\"<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc\">  -I../.. -I../../include -I../../lib -I../../src -I../include    -I../src     -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT repl_modules.o -MD -MP -MF $depbase.Tpo -c -o repl_modules.o repl_modules.cc &&\
(Continue reading)

Eliezer Croitoru | 16 Apr 22:34 2014
Picon

Oracle RPM build? would it be good?

I have just created a new RPM for ORACLE Linux which I am not sure if to 
publish or not.
It's almost a copy paste for CentOS but it seems that ORACLE Linux has a 
more up-to-date software then CentOS.
I did not made sure it's all libs and versions but the kernel seems to 
be 3.8 which is pretty advanced to most Enterprise linux Distros.

Would it be good to publish it in the new version 3.4.4? (If you have 
pros and cons for it add it please)

Thanks,
Eliezer

Eliezer Croitoru | 16 Apr 22:22 2014
Picon

Anyone knows how to build a build node for SUSE Linux Enterprise?

I know that suse linux enterprise has SDK but I am not sure how to build 
a build node.

If anyone has one and can show me how to build One please help me with it.

Eliezer

Amos Jeffries | 16 Apr 15:44 2014
Picon

[PATCH] squidclient TLS support

This begins the GnuTLS library support in Squid by adding primitive TLS
support to the squidclient tool.

GnuTLS library detection is done in a compatible way such that Squid as
a whole can be built against both, either, or neither of OpenSSL and
GnuTLS. GnuTLS being FOSS and compatible license with Squid is enabled
by default when available, OpenSSL remains disabled by default due to
the licensing issues some have.

At present the library default TLS settings are used to make
connections. This tool is primarily used for debugging the HTTP messages
inside the TLS wrappings of HTTPS servers. Debugging of TLS wrappers
aroudn HTTPS is expected to come eventually, but not with this update.

Both CA verified and anonymous TLS are supported with CA verification
being the default.

The patch extends the module design by placing TLS operations and the
existing transport connection operations into a namespace/module
Transport:: .

Amos
=== modified file 'configure.ac'
--- configure.ac	2014-04-08 15:52:58 +0000
+++ configure.ac	2014-04-12 02:03:43 +0000
 <at>  <at>  -1196,40 +1196,87  <at>  <at> 
   esac
 ])
(Continue reading)

Kinkie | 14 Apr 21:01 2014
Picon

shm and MacOs

Consider me puzzled.
The attached test program runs just fine on MacOS Mavericks; testRock
fails, yet the code looks really the same as in src/ipc/mem/Segment.cc
to me (after removing the O_TRUNC flag to shm_open).. can anyone spot
a difference I can't see?

output:
--------------
mini:shm_test kinkie$ ./shm_test 66584
start
fd: 3
sz: 66584
mmap
mem at 0x10dd9b000
ok!
--------------
testRock:
mini:squid kinkie$ gdb-apple ./src/tests/testRock
[...]

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000068
0x00007fff92ff8eca in flockfile ()

(gdb) bt
#0  0x00007fff92ff8eca in flockfile ()
#1  0x00007fff93001b10 in vfprintf_l ()
#2  0x00007fff92ffa68e in fprintf ()
#3  0x000000010000b4fb in fatal_common (message=0x1000fb8b0
"Ipc::Mem::Segment::create failed to
(Continue reading)

Stuart Henderson | 13 Apr 14:36 2014

atomic ops on i386

I'm just trying to build 3.5-HEAD on OpenBSD/i386 (i.e. 32-bit mode) for
the first time. It fails due to use of 64-bit atomic ops:

MemStore.o(.text+0xc90): In function `MemStore::anchorEntry(StoreEntry&, int,
Ipc::StoreMapAnchor const&)':
: undefined reference to `__sync_fetch_and_add_8'
MemStore.o(.text+0x3aa3): In function `MemStore::copyFromShm(StoreEntry&, int,
Ipc::StoreMapAnchor const&)':
: undefined reference to `__sync_fetch_and_add_8'
MemStore.o(.text+0x3cce): In function `MemStore::copyFromShm(StoreEntry&, int,
Ipc::StoreMapAnchor const&)':
: undefined reference to `__sync_fetch_and_add_8'
MemStore.o(.text+0x4040): In function `MemStore::copyFromShm(StoreEntry&, int,
Ipc::StoreMapAnchor const&)':
: undefined reference to `__sync_fetch_and_add_8'
MemStore.o(.text+0x435f): In function `MemStore::copyFromShm(StoreEntry&, int,
Ipc::StoreMapAnchor const&)':
: undefined reference to `__sync_fetch_and_add_8'
MemStore.o(.text+0x473d): more undefined references to `__sync_fetch_and_add_8' follow
collect2: error: ld returned 1 exit status

(cmpxchg8b isn't used on OpenBSD/i386 as binaries are supposed to work
on old CPUs too; 64 bit ops are of course OK on 64-bit architectures).

The autoconf test for atomic ops support is working, but it only checks
for int-sized atomic ops (which work OK here) - since the "Initial Large
Rock and Collapsed Forwarding support" commit (bzr rev 13201), Squid
started requiring 64-bit atomic ops too.

Should the autoconf test be changed to check for working 64-bit ops, or
(Continue reading)

noc | 12 Apr 22:46 2014

Build failed in Jenkins: 3.HEAD-amd64-OpenBSD-5.4 #35

See <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/35/>

------------------------------------------
Started by upstream project "3.HEAD-amd64-centos-6" build number 288
originally caused by:
 Started by an SCM change
Building remotely on ypg-openbsd-54 (gcc farm amd64-openbsd 5.4 openbsd-5.4 openbsd
amd64-openbsd-5.4 amd64) in workspace <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/>
$ bzr revision-info -d <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/>
info result: bzr revision-info -d
<http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/> returned 0. Command output:
"13348 kinkie <at> squid-cache.org-20140410080255-cn0q2mjkb9c80o19
" stderr: ""
[3.HEAD-amd64-OpenBSD-5.4] $ bzr pull --overwrite http://bzr.squid-cache.org/bzr/squid3/trunk/
http://bzr.squid-cache.org/bzr/squid3/trunk is permanently redirected to http://bzr.squid-cache.org/bzr/squid3/trunk/
bzr: ERROR: Connection error: while sending GET
/bzr/squid3/.bzr/repository/indices/215348bae8808ed54879bcf4a11849b1.rix: [Errno 60]
Connection timed out
ERROR: Failed to pull
Since BZR itself isn't crash safe, we'll clean the workspace so that on the next try we'll do a clean pull...
Retrying after 10 seconds
Cleaning workspace...
$ bzr branch http://bzr.squid-cache.org/bzr/squid3/trunk/ <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/>
bzr: ERROR: Connection error: while sending GET
/bzr/squid3/.bzr/repository/packs/9bd649e5c3c9a4c3d52a0bf83d9dfd34.pack: [Errno 60]
Connection timed out
ERROR: Failed to branch http://bzr.squid-cache.org/bzr/squid3/trunk/
Retrying after 10 seconds
$ bzr revision-info -d <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/ws/>
info result: bzr revision-info -d
(Continue reading)

Tsantilas Christos | 12 Apr 20:36 2014
Picon
Picon

[PATCH] Ssl::PeerConnector class

Hi all,

This patch moves the SSL initialization code from FwdState class to a
new Ssl::PeerConnector class, and uses the new class from tunnel.cc and
FwdState.cc code to connect to ssl peer (ssl cache_peer or ssl server).

The Ssl::PeerConnector class connects Squid client-side to a SSL
cache_peer or SSL server. It is used by  TunnelStateData and FwdState to
initiate and establish the SSL connection. The Ssl::PeerConnector class
handles peer certificate validation.

The caller receives a call back with PeerConnectorAnswer. In the case
the SSL connection is not established because of an error, an error
object suitable for error response generation is attached to
PeerConnectorAnser.

The Ssl::PeerConnector class includes the old SSL initialization code
from FwdState class.

This is a Measurement Factory project

noc | 12 Apr 20:15 2014

Build failed in Jenkins: 3.HEAD-amd64-centos-6 #287

See <http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/287/changes>

Changes:

[Francesco Chemolli] Use SBufList instead of wordlist to collect data for mgr:config

[Francesco Chemolli] Report MemBlob capacity and not size in destruct-time histogram

------------------------------------------
[...truncated 3901 lines...]
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth/fake'>
ccache g++ -DHAVE_CONFIG_H  -I../../../.. -I../../../../include -I../../../../lib
-I../../../../src -I../../../include    -I../../../../lib   -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT ntlm_fake_auth.o -MD -MP -MF
.deps/ntlm_fake_auth.Tpo -c -o ntlm_fake_auth.o ../../../../helpers/ntlm_auth/fake/ntlm_fake_auth.cc
mv -f .deps/ntlm_fake_auth.Tpo .deps/ntlm_fake_auth.Po
/bin/sh ../../../libtool --tag=CXX   --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2  -g -o ntlm_fake_auth ntlm_fake_auth.o
../../../lib/ntlmauth/libntlmauth.la ../../../lib/libmiscencoding.la
../../../compat/libcompat-squid.la  -lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe
-D_REENTRANT -g -O2 -g -o ntlm_fake_auth ntlm_fake_auth.o 
../../../lib/ntlmauth/.libs/libntlmauth.a ../../../lib/.libs/libmiscencoding.a
../../../compat/.libs/libcompat-squid.a -lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth/fake'>
Making all in smb_lm
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth/smb_lm'>
ccache g++ -DHAVE_CONFIG_H  -I../../../.. -I../../../../include -I../../../../lib
-I../../../../src -I../../../include    -I../../../../lib   -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT ntlm_smb_lm_auth.o -MD -MP -MF
(Continue reading)

noc | 12 Apr 20:13 2014

Build failed in Jenkins: 3.HEAD-coadvisor #260

See <http://build.squid-cache.org/job/3.HEAD-coadvisor/260/>

------------------------------------------
Started by an SCM change
Building remotely on co-advisor (gcc i386 i386-Ubuntu 12.04 Ubuntu i386-Ubuntu-12.04 Ubuntu-12.04) in
workspace <http://build.squid-cache.org/job/3.HEAD-coadvisor/ws/>
Cleaning workspace...
$ bzr checkout --lightweight http://bzr.squid-cache.org/bzr/squid3/trunk/ <http://build.squid-cache.org/job/3.HEAD-coadvisor/ws/>
Getting local revision...
$ bzr revision-info -d <http://build.squid-cache.org/job/3.HEAD-coadvisor/ws/>
info result: bzr revision-info -d <http://build.squid-cache.org/job/3.HEAD-coadvisor/ws/>
returned 0. Command output: "13350 kinkie <at> squid-cache.org-20140412174337-c8ria40lqq54r8uj
" stderr: ""
RevisionState revno:13350 revid:kinkie <at> squid-cache.org-20140412174337-c8ria40lqq54r8uj
[3.HEAD-coadvisor] $ /bin/sh -xe /tmp/hudson1148569747867327366.sh
+ /home/jenkins/script/makeOneTest.pl --config=/home/jenkins/script/config.cfg
--audited=http://eu.kinkie.it/coadvisor-artifacts/52/archive/result --jjid=260
Make has failed:  at /home/jenkins/script/makeOneTest.pl line 152.
Build step 'Execute shell' marked build as failure
Archiving artifacts

Kinkie | 12 Apr 16:54 2014
Picon

[PATCH] Use SBufList instead of wordlist in collecting acl cachemgr output

Hi,
  the attached patch cachemgr output collection from wordlist to SBufList.
build- and run-tested.

--

-- 
    Francesco
Attachment (acl-dump-wordlist-to-sbuflist.bundle): application/octet-stream, 78 KiB

Gmane