pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Subject: Instability in parallel regression tests
Date: Wed, 14 Mar 2018 19:31:08 -0400
Message-ID: <4627.1521070268@sss.pgh.pa.us> (raw)

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%3A0...

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




view thread (5+ messages)  latest in thread

Message-ID: <4627.1521070268@sss.pgh.pa.us>
Permalink:  ../4627.1521070268@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4627.1521070268@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
  Subject: Re: Instability in parallel regression tests
  In-Reply-To: <4627.1521070268@sss.pgh.pa.us>

* 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