Re: Weird test mixup
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Michael Paquier <michael@paquier.xyz>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-03-15T18:27:27Z
Lists: pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes: > On 15/03/2024 16:00, Tom Lane wrote: >> It may be even worse than it appears from the buildfarm status page. >> My animals were stuck in infinite loops that required a manual "kill" >> to get out of, and it's reasonable to assume there are others that >> will require owner intervention. Why would this test have done that, >> if the module failed to load? > The gin_incomplete_split test inserts rows until it hits the injection > point, at page split. There is a backstop, it should give up after 10000 > iterations, but that was broken. Fixed that, thanks for the report! Duh ... > Hmm, don't we have any timeout that would kill tests if they get stuck? AFAIK, the only constraint on a buildfarm animal's runtime is the wait_timeout setting, which is infinite by default, and was on my machines. (Not anymore ;-).) We do have timeouts in (most?) TAP tests, but this wasn't a TAP test. If this is a continuous-insertion loop, presumably it will run the machine out of disk space eventually, which could be unpleasant if there are other services running besides the buildfarm. I think I'll go notify the buildfarm owners list to check for trouble. Are there limits on the runtime of CI or cfbot jobs? Maybe somebody should go check those systems. regards, tom lane
Commits
-
injection_points: Store runtime conditions in private area
- 267d41dc4f41 17.0 landed
-
Introduce private data area for injection points
- 33181b48fd0e 17.0 landed
-
injection_points: Fix incorrect spinlock acquisition
- 597f66942d0b 17.0 landed
-
Make GIN tests using injection points concurrent-safe
- 5105c9079681 17.0 landed
-
injection_points: Fix race condition with local injection point tests
- f4083c497510 17.0 landed
-
injection_points: Introduce runtime conditions
- f587338dec87 17.0 landed
-
Make GIN test using injection points repeatable
- 997db123c054 17.0 landed
-
Fix backstop in gin test if injection point is not reached
- d802ff06d021 17.0 landed
-
Try to unbreak injection-fault tests in the buildfarm
- 85f65d7a26fc 17.0 landed
-
Disable tests using injection points in installcheck
- e2e3b8ae9ed7 17.0 landed