Instability in parallel regression tests

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Instability in parallel regression tests
Date: 2018-03-14 23:31:08
Message-ID: 4627.1521070268@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

guaibasaurus just failed in a way I'd not seen before:

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2018-03-14%2006%3A33%3A01

Inspection of the diffs makes it depressingly obvious what happened:
the concurrently-executing "alter_table" and "with" scripts both create
short-lived tables named "test". Given the right timing, those tests
stomp on each other. This seems to have been there a long time;
surprising we'd not noticed it before.

Moral: choose names less generic than "test" for globally-visible
objects. I wonder if there's some way we could check for such
conflicts automatically?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-03-15 00:03:55 Re: neqjoinsel versus "refresh materialized view concurrently"
Previous Message Mark Wong 2018-03-14 23:14:38 Re: Re: Re: [GSOC 18] Performance Farm Project——Initialization Project