Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms6SL-0003kI-Ki for pgsql-committers@arkaria.postgresql.org; Tue, 30 Nov 2021 16:58:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ms6SK-0003oT-C6 for pgsql-committers@arkaria.postgresql.org; Tue, 30 Nov 2021 16:58:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms6SK-0003oG-4w for pgsql-committers@lists.postgresql.org; Tue, 30 Nov 2021 16:58:12 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms6SH-0000Ac-5z for pgsql-committers@lists.postgresql.org; Tue, 30 Nov 2021 16:58:11 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 822902EE7729 for ; Tue, 30 Nov 2021 17:58:06 +0100 (CET) Received: from s899.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 734CC2E30A2E for ; Tue, 30 Nov 2021 17:58:06 +0100 (CET) Received: from s475.loopia.se (unknown [172.22.191.6]) by s899.loopia.se (Postfix) with ESMTP id 71ED92C8BA54 for ; Tue, 30 Nov 2021 17:58:06 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from s934.loopia.se ([172.22.191.5]) by s475.loopia.se (s475.loopia.se [172.22.190.15]) (amavisd-new, port 10024) with LMTP id Co43lRDx0tBm for ; Tue, 30 Nov 2021 17:58:06 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from [192.168.72.144] (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s934.loopia.se (Postfix) with ESMTPSA id 09A187D8E0A for ; Tue, 30 Nov 2021 17:58:06 +0100 (CET) From: Daniel Gustafsson Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: pgsql: Add TAP tests for contrib/sslinfo Date: Tue, 30 Nov 2021 17:58:05 +0100 References: <058AAA2B-06CA-4D1C-8D24-B9EA6632C072@yesql.se> To: pgsql-committers@lists.postgresql.org In-Reply-To: <058AAA2B-06CA-4D1C-8D24-B9EA6632C072@yesql.se> Message-Id: X-Mailer: Apple Mail (2.3608.120.23.2.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 30 Nov 2021, at 17:40, Daniel Gustafsson wrote: >=20 >> On 30 Nov 2021, at 11:50, Daniel Gustafsson = wrote: >>=20 >> Add TAP tests for contrib/sslinfo >=20 > This just failed on fairywren with the below: >=20 > not ok 1 - certificate authorization succeeds with correct client = cert in PEM format >=20 > # Failed test 'certificate authorization succeeds with correct = client cert in PEM format' > # at t/003_sslinfo.pl line 71. > # got: '2' > # expected: '0' > connection error: 'psql: error: connection to server at "127.0.0.1", = port 60695 failed: certificate present, but not private key file = "/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/ssl/tmp_check/client_ext= .key"' > while running 'psql -XAtq -d sslrootcert=3Dssl/root+server_ca.crt = sslmode=3Drequire dbname=3Dcertdb hostaddr=3D127.0.0.1 user=3Dssltestuser = sslcert=3Dssl/client_ext.crt = sslkey=3D/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/ssl/tmp_check/cl= ient_ext.key -f - -v ON_ERROR_STOP=3D1' at = /home/pgrunner/bf/root/HEAD/pgsql.build/../pgsql/src/test/perl/PostgreSQL/= Test/Cluster.pm line 1807. >=20 > ..which is odd, since the key was copied to tmp_check earlier in the = test and > passed that. The 001 and 002 tests do the same kind of copying and = there it > worked, so it seems a tad odd. Does anyone have any ideas on insights = here? Scratch that, all the copying for tests 001 through 003 had failed. I = clearly need another coffee. The question still stands though, does anyone have any ideas on what = could've happened as I'm currently drawing a blank? -- Daniel Gustafsson https://vmware.com/