pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use native methods to open input in TestLib::slurp_file on Windo
Date: Tue, 26 Nov 2019 21:17:34 -0500
Message-ID: <d225a565-3137-f48e-0bdb-e9924215dbc7@2ndQuadrant.com> (raw)
In-Reply-To: <20191126044110.GB5435@paquier.xyz>
References: <E1iZ1h5-0000qS-1f@gemulon.postgresql.org>
	<20191126044110.GB5435@paquier.xyz>


On 11/25/19 11:41 PM, Michael Paquier wrote:
> Hi Andrew,
>
> On Sun, Nov 24, 2019 at 11:53:31PM +0000, Andrew Dunstan wrote:
>> Use native methods to open input in TestLib::slurp_file on Windows.
>>
>> It is hoped that this will avoid some errors that we have seen before,
>> but lately with greater frequency, in buildfarm animals.
>>
>> For now apply only to master. If this proves effective it can be
>> backpatched.
>>
>> Discussion: https://postgr.es/m/13900.1572839580@sss.pgh.pa.us
> jacana is visibly complaining about this commit:
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jacana&dt=2019-11-25%2020%3A19%3A49
>
> The tests of commit_ts are failing:
> Nov 25 16:46:52 t/001_base.........# Looks like your test exited with
> 255 before it could output anything.
> Nov 25 16:46:52 dubious
> Nov 25 16:46:52		Test returned status 255 (wstat 65280, 0xff00)
> Nov 25 16:46:52 DIED. FAILED tests 1-2


Yeah, when the client is updated it actually fails at the same spot that
fairywren is failing.


I suspect this API doesn´t understand Msys virtualised paths, even
though it's running inside Msys' perl. So either we need to convert the
path to a Windows path, or we need to restrict use of this API to MSVC
builds.


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services






view thread (10+ messages)  latest in thread

Message-ID: <d225a565-3137-f48e-0bdb-e9924215dbc7@2ndQuadrant.com>
Permalink:  ../d225a565-3137-f48e-0bdb-e9924215dbc7@2ndQuadrant.com/
Also on:    postgresql.org/message-id/d225a565-3137-f48e-0bdb-e9924215dbc7@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, michael@paquier.xyz, andrew@dunslane.net
  Subject: Re: pgsql: Use native methods to open input in TestLib::slurp_file on Windo
  In-Reply-To: <d225a565-3137-f48e-0bdb-e9924215dbc7@2ndQuadrant.com>
  References: <E1iZ1h5-0000qS-1f@gemulon.postgresql.org> <20191126044110.GB5435@paquier.xyz> <d225a565-3137-f48e-0bdb-e9924215dbc7@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox