From: Mike Fowler <mike@mlfowler.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: Fwd: Re: Buildfarm now building but with test failures
Date: Sun, 15 Jan 2012 16:25:20 +0000
Message-ID: <4F12FDF0.2000903@mlfowler.com> (raw)
In-Reply-To: <4F04D051.8000105@mlfowler.com>
References: <4F04BC6F.4080808@gmail.com>
<CADK3HH+PsScAouzhtH6G4dpBU8REd2SdQmniwYJSsH+gPbsyfw@mail.gmail.com>
<4F04D051.8000105@mlfowler.com>
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
Attachments:jdbc-disablessltests.patch (text/x-diff, 4.1K) download
? 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=
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: mike@mlfowler.com, pg@fastcrypt.com
Subject: Re: Fwd: Re: Buildfarm now building but with test failures
In-Reply-To: <4F12FDF0.2000903@mlfowler.com>
References: <4F04BC6F.4080808@gmail.com> <CADK3HH+PsScAouzhtH6G4dpBU8REd2SdQmniwYJSsH+gPbsyfw@mail.gmail.com> <4F04D051.8000105@mlfowler.com> <4F12FDF0.2000903@mlfowler.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox