[HACKERS] tap tests on older branches fail if concurrency is used - Mailing list pgsql-hackers

From Andres Freund
Subject [HACKERS] tap tests on older branches fail if concurrency is used
Date
Msg-id 20170601001515.gspwgjxfhstzpxwe@alap3.anarazel.de
Whole thread Raw
Responses Re: [HACKERS] tap tests on older branches fail if concurrency is used  (Craig Ringer <craig@2ndquadrant.com>)
Re: [HACKERS] tap tests on older branches fail if concurrency is used  (Craig Ringer <craig@2ndquadrant.com>)
Re: [HACKERS] tap tests on older branches fail if concurrency is used  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

when using
$ cat ~/.proverc
-j9

some tests fail for me in 9.4 and 9.5.  E.g. src/bin/script's tests
yields a lot of fun like:
$ (cd ~/build/postgres/9.5-assert/vpath/src/bin/scripts/ && make check)
...
# LOG:  received immediate shutdown request
# WARNING:  terminating connection because of crash of another server process
# DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because
anotherserver process exited abnormally and possibly corrupted shared memory.
 
# HINT:  In a moment you should be able to reconnect to the database and repeat your command.
...

it appears as if various tests are trampling over each other.  If needed
I can provide detailed logs, but it appears to readily reproduce on
several machines...

See Michael, I'll provide the details and a reproducer ;)

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression
Next
From: Craig Ringer
Date:
Subject: Re: [HACKERS] TAP backpatching policy