Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, byavuz81(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0
Date: 2022-02-04 14:12:47
Message-ID: 887CBA28-0942-4084-BE09-FBE0D6A1DB53@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 3 Feb 2022, at 15:25, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:

> The remaining tests are both CRL tests, but I haven't had time yet to dig into
> why those are failing (the logs weren't terribly helpful on a quick glance).

Looking at these remaining failures today left me a bit confused. It seems to
be some form of timing or synchronization issue as delaying shutdown with a
sleep(1) in the be_tls_open_server errorpath makes the tests pass. With the
attached diff I get all tests passing on OpenBSD 7. Following the bouncing
ball into differences between OpenSSL and LibreSSL in the revocation and
shutdown paths didn't lead to anything.

Does anyone have any ideas what this could be?

Thomas: Does the attached reproduce these results for you?

--
Daniel Gustafsson https://vmware.com/

Attachment Content-Type Size
kludge.diff application/octet-stream 5.5 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2022-02-04 14:47:50 Re: BUG #17394: pg_dump: query returned 0 rows instead of one:
Previous Message Julien Rouhaud 2022-02-04 12:49:17 Re: BUG #17394: pg_dump: query returned 0 rows instead of one: