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: SKIP_LOCKED test causes random buildfarm failures
Date: Wed, 06 Nov 2019 16:54:38 -0500
Message-ID: <25294.1573077278@sss.pgh.pa.us> (raw)

Every once in awhile we get failures like this one:

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=gull&dt=2019-11-05%2008%3A27%3A27

inline patch 1: /home/pgsql/build-farm/buildroot-clang/HEAD/pgsql.build/src/test/regress/results/vacuum.out (+1/-0 lines) download inline-1.patchdiff -U3 /home/pgsql/build-farm/buildroot-clang/HEAD/pgsql.build/../pgsql/src/test/regress/expected/vacuum.out /home/pgsql/build-farm/buildroot-clang/HEAD/pgsql.build/src/test/regress/results/vacuum.out --- /home/pgsql/build-farm/buildroot-clang/HEAD/pgsql.build/../pgsql/src/test/regress/expected/vacuum.out 2019-08-11 03:02:18.921535948 -0700 +++ /home/pgsql/build-farm/buildroot-clang/HEAD/pgsql.build/src/test/regress/results/vacuum.out 2019-11-05 00:50:42.381244885 -0800 @@ -204,6 +204,7 @@ -- SKIP_LOCKED option VACUUM (SKIP_LOCKED) vactst; VACUUM (SKIP_LOCKED, FULL) vactst; +WARNING: skipping vacuum of "vactst" --- lock not available ANALYZE (SKIP_LOCKED) vactst; -- ensure VACUUM and ANALYZE don't have a problem with serializable SET default_transaction_isolation = serializable;
No doubt this is a conflict with autovacuum. There are two reasonable ways to remove the test instability: * Crank up client_min_messages to more than WARNING for this test stanza. * Downgrade the "skipping" messages to DEBUG1 or less. I kind of wonder why we are issuing a "WARNING" when the statement does exactly what you asked it to, anyway. At most I'd expect that to be a NOTICE condition. regards, tom lane

view thread (11+ messages)  latest in thread

Message-ID: <25294.1573077278@sss.pgh.pa.us>
Permalink:  ../25294.1573077278@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25294.1573077278@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: SKIP_LOCKED test causes random buildfarm failures
  In-Reply-To: <25294.1573077278@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