From: | Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | intermittent test failure on Windows |
Date: | 2019-10-21 15:07:28 |
Message-ID: | 9c575d7c-9ed2-27f6-6935-d47e6b37a961@2ndQuadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bowerbird (Visual Studio 2017 / Windows 10 pro) just had a failure on
the pg_ctl test :
<https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bowerbird&dt=2019-10-21%2011%3A50%3A21>
There was a similar failure 17 days ago.
I surmise that what's happening here is that the test is trying to read
current_logfiles while the server is writing it, so there's a race
condition.
Perhaps what we need to do is have slurp_file sleep a bit and try again
on Windows if it gets EPERM, or else we need to have the pg_ctl test
wait a bit before calling slurp_file. But we have seen occasional
similar failures on other tests in Windows so a more systemic approach
might be better.
Thoughts?
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2019-10-21 15:20:04 | Re: Declaring a strict function returns not null / eval speed |
Previous Message | Adrian Klaver | 2019-10-21 15:06:46 | Re: jsonb_set() strictness considered harmful to data |