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

From Andres Freund
Subject Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0
Date
Msg-id 20220204160528.2la7bcwi2fkz6fj3@alap3.anarazel.de
Whole thread Raw
In response to Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
Hi,

On 2022-02-04 15:12:47 +0100, Daniel Gustafsson wrote:
> 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.

Have you checked whether openssl on openbsd doesn't have this problem? It
could be an OS issue, rather than libressl.


> Does anyone have any ideas what this could be?

I wonder if reverting 6051857fc and ed52c3707 makes a difference (like done in
the stable branches, due to windows issues)?

Greetings,

Andres Freund



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum
Next
From: Tom Lane
Date:
Subject: Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0