Re: ldap tls test fails in some environments

2020-05-19 Thread Christoph Berg
Re: Thomas Munro > In your transcript for test 20, it looks like the client (PostgreSQL) > is hanging up without even sending a TLS ClientHello: Maybe tests 19 and 20 are failing because 18 was already bad. (But probably not.) > I wonder how to figure out why... does this tell you anything? > >

Re: ldap tls test fails in some environments

2020-05-16 Thread Thomas Munro
On Sat, May 16, 2020 at 2:25 AM Christoph Berg wrote: > > Somebody should get out the LDAP RFCs and decode the packet contents > > that this log helpfully provides, but I suspect that we're just looking > > at an authentication failure; there's still not much clue as to why. > > The non-TLS tests

Re: ldap tls test fails in some environments

2020-05-15 Thread Christoph Berg
Re: Tom Lane > Somebody should get out the LDAP RFCs and decode the packet contents > that this log helpfully provides, but I suspect that we're just looking > at an authentication failure; there's still not much clue as to why. The non-TLS tests work, so it's not a plain auth failure... I'm atta

Re: ldap tls test fails in some environments

2020-05-15 Thread Tom Lane
Christoph Berg writes: > The slapd debug log is mostly garbage to me, the error seems to be > this: > ldap_read: want=8 error=Resource temporarily unavailable Hm, so EAGAIN (although that's a BSD-ish spelling of the strerror string, which seems pretty odd in a Debian context). I don't think that

Re: ldap tls test fails in some environments

2020-05-15 Thread Christoph Berg
> I'll see if I can catch a shell in the environment where it fails. It failed right away when I tried on the buildd machine: The slapd debug log is mostly garbage to me, the error seems to be this: ldap_read: want=8 error=Resource temporarily unavailable src/test/ldap/t/001_auth.pl: system_or

Re: ldap tls test fails in some environments

2020-05-14 Thread Christoph Berg
Re: Thomas Munro > > 17:28:59 Data directory: > > /<>/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata > > I know nothing about Debian package building so I could be missing > something about how this works, but I wonder if our script variable > handling is hygienic enough for paths like

Re: ldap tls test fails in some environments

2020-05-13 Thread Thomas Munro
On Thu, May 14, 2020 at 4:05 AM Christoph Berg wrote: > Some other problem emerged here in the ldap test: Hi Christoph, > 17:28:59 Data directory: > /<>/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata I know nothing about Debian package building so I could be missing something about

ldap tls test fails in some environments

2020-05-13 Thread Christoph Berg
> I just added the extra tests to the postgresql-13 package and got > this: Some other problem emerged here in the ldap test: 17:28:58 17:28:58 # Failed test 'StartTLS' 17:28:58 # at t/001_auth.pl line 169. 17:28:58 # got: '2' 17:28:58 # expected: '0' 17:28:58 17:28:58 # Failed