Re: brin regression test intermittent failures - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: brin regression test intermittent failures
Date
Msg-id 20150515224525.GL2523@alvh.no-ip.org
Whole thread Raw
In response to brin regression test intermittent failures  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: brin regression test intermittent failures  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Andrew Dunstan wrote:
> 
> There's something odd about the brin regression tests. They seem to generate
> intermittent failures, which suggests some sort of race condition or
> ordering failure.
> 
> See for example <http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=fulmar&dt=2015-05-15%2001%3A02%3A28>
> and <http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=sittella&dt=2015-05-15%2021%3A08%3A38>

Yeah it's pretty odd.  I guess the way to figure out what is going on is
to get the test to print out the index contents in case of failure.
I guess I could do something with \gset.

(The way to print out the index is to use the pageinspect functions.
One problem is that at the time the brin test is run we don't have
pageinspect)

Of course, if I could reproduce the issue locally, this would be a lot
easier.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: brin regression test intermittent failures
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Triaging the remaining open commitfest items