Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 09F531FE6210 for ; Sun, 15 Jan 2012 12:25:47 -0400 (AST) Received: from milan.hostgo.com ([72.52.99.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RmSts-0005Nq-CC for pgsql-jdbc@postgresql.org; Sun, 15 Jan 2012 16:25:47 +0000 Received: from 5e07fee8.bb.sky.com ([94.7.254.232] helo=[192.168.0.4]) by milan.hostgo.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1RmStY-00006q-UT; Sun, 15 Jan 2012 11:25:25 -0500 Message-ID: <4F12FDF0.2000903@mlfowler.com> Date: Sun, 15 Jan 2012 16:25:20 +0000 From: Mike Fowler User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: Dave Cramer CC: List Subject: Re: Fwd: Re: Buildfarm now building but with test failures References: <4F04BC6F.4080808@gmail.com> <4F04D051.8000105@mlfowler.com> In-Reply-To: <4F04D051.8000105@mlfowler.com> Content-Type: multipart/mixed; boundary="------------000600020106050202080800" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - milan.hostgo.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mlfowler.com X-Source: X-Source-Args: X-Source-Dir: X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/47 X-Sequence-Number: 22587 This is a multi-part message in MIME format. --------------000600020106050202080800 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/01/12 22:18, Mike Fowler wrote: > On 04/01/12 21:34, Dave Cramer wrote: >> This is from Andras Bodor >> >> I am afraid, simply enabling ssl will not be enough >> to pass the test. Different databases with different >> pg_hba.conf configurations must be set up, as >> documented in certdir/README. >> I do not think, it can be expected from every buildfarm >> host, so ssl tests might be switched off by default, or >> we must streamline its customization. >> Andras >> > > OK, it's going to require some thought as I haven't a clue how a > buildfarm run can use different pg_hba.conf configurations. I'd suggest > disabling the SSL tests that require bespoke pg_hba.confs in the short > term so that we can get the build testing running again. Long term I'll > see what is possible within the buildfarm framework, hopefully I'll get > some time this weekend. > > Regards, I had a look at the tests and with SSL enabled and 216 tests pass but 432 still fail. Looking at the the way the test suites are built there is no easy way to separate out the ones that are working from the ones that are not. I also noticed that the tests are looking for test databases for which there are no creation scripts - hostnossldb, hostdb, hostssldb, hostsslcertdb and certdb. It seems to me the simplest way to get the buildfarm running again is to apply the patch I've attached. Once applied I'll re-enable to cron jobs on the buildfarm. Regards, -- Mike Fowler Registered Linux user: 379787 --------------000600020106050202080800 Content-Type: text/x-diff; name="jdbc-disablessltests.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jdbc-disablessltests.patch" ? org/postgresql/ssl/MakeSSL.java Index: ssltest.properties =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/ssltest.properties,v retrieving revision 1.1 diff -c -r1.1 ssltest.properties *** ssltest.properties 17 Nov 2011 11:27:50 -0000 1.1 --- ssltest.properties 15 Jan 2012 16:01:02 -0000 *************** *** 5,55 **** ssloff8= ssloff8prefix= ! sslhostnossl8=jdbc:postgresql://localhost:5432/hostnossldb?sslpassword=sslpwd sslhostnossl8prefix= ! sslhostgh8=jdbc:postgresql://localhost:5432/hostdb?sslpassword=sslpwd sslhostgh8prefix= ! sslhostbh8=jdbc:postgresql://127.0.0.1:5432/hostdb?sslpassword=sslpwd sslhostbh8prefix= ! sslhostsslgh8=jdbc:postgresql://localhost:5432/hostssldb?sslpassword=sslpwd sslhostsslgh8prefix= ! sslhostsslbh8=jdbc:postgresql://127.0.0.1:5432/hostssldb?sslpassword=sslpwd sslhostsslbh8prefix= ! sslhostsslcertgh8=jdbc:postgresql://localhost:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertgh8prefix= ! sslhostsslcertbh8=jdbc:postgresql://127.0.0.1:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertbh8prefix= ! sslcertgh8=jdbc:postgresql://localhost:5432/certdb?sslpassword=sslpwd sslcertgh8prefix= ! sslcertbh8=jdbc:postgresql://127.0.0.1:5432/certdb?sslpassword=sslpwd sslcertbh8prefix= ssloff9= ssloff9prefix= ! sslhostnossl9=jdbc:postgresql://localhost:5432/hostnossldb?sslpassword=sslpwd sslhostnossl9prefix= ! sslhostgh9=jdbc:postgresql://localhost:5432/hostdb?sslpassword=sslpwd sslhostgh9prefix= ! sslhostbh9=jdbc:postgresql://127.0.0.1:5432/hostdb?sslpassword=sslpwd sslhostbh9prefix= ! sslhostsslgh9=jdbc:postgresql://localhost:5432/hostssldb?sslpassword=sslpwd sslhostsslgh9prefix= ! sslhostsslbh9=jdbc:postgresql://127.0.0.1:5432/hostssldb?sslpassword=sslpwd sslhostsslbh9prefix= ! sslhostsslcertgh9=jdbc:postgresql://localhost:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertgh9prefix= ! sslhostsslcertbh9=jdbc:postgresql://127.0.0.1:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertbh9prefix= ! sslcertgh9=jdbc:postgresql://localhost:5432/certdb?sslpassword=sslpwd sslcertgh9prefix= ! sslcertbh9=jdbc:postgresql://127.0.0.1:5432/certdb?sslpassword=sslpwd sslcertbh9prefix= --- 5,55 ---- ssloff8= ssloff8prefix= ! #sslhostnossl8=jdbc:postgresql://localhost:5432/hostnossldb?sslpassword=sslpwd sslhostnossl8prefix= ! #sslhostgh8=jdbc:postgresql://localhost:5432/hostdb?sslpassword=sslpwd sslhostgh8prefix= ! #sslhostbh8=jdbc:postgresql://127.0.0.1:5432/hostdb?sslpassword=sslpwd sslhostbh8prefix= ! #sslhostsslgh8=jdbc:postgresql://localhost:5432/hostssldb?sslpassword=sslpwd sslhostsslgh8prefix= ! #sslhostsslbh8=jdbc:postgresql://127.0.0.1:5432/hostssldb?sslpassword=sslpwd sslhostsslbh8prefix= ! #sslhostsslcertgh8=jdbc:postgresql://localhost:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertgh8prefix= ! #sslhostsslcertbh8=jdbc:postgresql://127.0.0.1:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertbh8prefix= ! #sslcertgh8=jdbc:postgresql://localhost:5432/certdb?sslpassword=sslpwd sslcertgh8prefix= ! #sslcertbh8=jdbc:postgresql://127.0.0.1:5432/certdb?sslpassword=sslpwd sslcertbh8prefix= ssloff9= ssloff9prefix= ! #sslhostnossl9=jdbc:postgresql://localhost:5432/hostnossldb?sslpassword=sslpwd sslhostnossl9prefix= ! #sslhostgh9=jdbc:postgresql://localhost:5432/hostdb?sslpassword=sslpwd sslhostgh9prefix= ! #sslhostbh9=jdbc:postgresql://127.0.0.1:5432/hostdb?sslpassword=sslpwd sslhostbh9prefix= ! #sslhostsslgh9=jdbc:postgresql://localhost:5432/hostssldb?sslpassword=sslpwd sslhostsslgh9prefix= ! #sslhostsslbh9=jdbc:postgresql://127.0.0.1:5432/hostssldb?sslpassword=sslpwd sslhostsslbh9prefix= ! #sslhostsslcertgh9=jdbc:postgresql://localhost:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertgh9prefix= ! #sslhostsslcertbh9=jdbc:postgresql://127.0.0.1:5432/hostsslcertdb?sslpassword=sslpwd sslhostsslcertbh9prefix= ! #sslcertgh9=jdbc:postgresql://localhost:5432/certdb?sslpassword=sslpwd sslcertgh9prefix= ! #sslcertbh9=jdbc:postgresql://127.0.0.1:5432/certdb?sslpassword=sslpwd sslcertbh9prefix= --------------000600020106050202080800--