Re: Non-reproducible AIO failure

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Tomas Vondra <tomas(at)vondra(dot)me>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Non-reproducible AIO failure
Date: 2025-05-27 14:00:01
Message-ID: 87673f76-1ed7-44dc-8e8b-6aaf78e2817a@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Tomas,

27.05.2025 16:26, Tomas Vondra wrote:
> I'm interested in how you run these tests in parallel. Can you share the
> patch/script?

Yeah, sure. I'm running the test as follows:
rm -rf src/test/recovery_*; for i in `seq 40`; do cp -r src/test/recovery/ src/test/recovery_$i/; sed -i .bak
"s|src/test/recovery|src/test/recovery_$i|" src/test/recovery_$i/Makefile; done
PROVE_TESTS="t/027*" make -s check -s -C src/test/recovery

for i in `seq 100`; do echo "iteration $i"; parallel -j40 --linebuffer --tag PROVE_TESTS="t/027*" NO_TEMP_INSTALL=1 make
-s check -s -C src/test/recovery_{} ::: `seq 8` || break;  done; echo -e "\007"

Alexander Lakhin
Neon (https://neon.tech)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-05-27 14:10:15 Re: Non-reproducible AIO failure
Previous Message Chapman Flack 2025-05-27 13:47:05 Re: All supported PostgreSQL 17 extensions list