Re: MSVC SSL test failure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: MSVC SSL test failure
Date
Msg-id 3497326.1638894315@sss.pgh.pa.us
Whole thread Raw
In response to Re: MSVC SSL test failure  (Alexander Lakhin <exclusion@gmail.com>)
Responses Re: MSVC SSL test failure  (Alexander Lakhin <exclusion@gmail.com>)
List pgsql-hackers
Alexander Lakhin <exclusion@gmail.com> writes:
> It seems that the test failure rate may depend on the specs/environment.

No surprise there, since the issue is almost surely timing-dependent.

> shutdown(MyProcPort->sock, SD_SEND) apparently fixes the issue, I've got
> 83 successful runs, but then iteration 84 unfortunately failed:
> t/001_ssltests.pl .. 106/110
> #   Failed test 'intermediate client certificate is missing: matches'
> #   at t/001_ssltests.pl line 608.
> #                   'psql: error: connection to server at "127.0.0.1",
> port 63187 failed: could not receive data from server: Software caused
> connection abort (0x00002745/10053)
> # SSL SYSCALL error: Software caused connection abort (0x00002745/10053)
> # could not send startup packet: No error (0x00000000/0)'
> #     doesn't match '(?^:SSL error: tlsv1 alert unknown ca)'
> # Looks like you failed 1 test of 110.

Hmm.  I wonder whether using SD_BOTH behaves any differently.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ExecTypeSetColNames is fundamentally broken
Next
From: Robert Haas
Date:
Subject: Re: pg_dump versus ancient server versions