forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitae0f7b1
committed
Paper over regression failures in infinite_recurse() on PPC64 Linux.
Our infinite_recurse() test to verify sane stack-overrun behavioris affected by a bug of the Linux kernel on PPC64: it will get SIGSEGVif it receives a signal when the stack depth is (a) over 1MB and(b) within a few kB of filling the current physical stack allocation.Seehttps://bugzilla.kernel.org/show_bug.cgi?id=205183.Since this test is a bit time-consuming and we run it in parallel withtest scripts that do a lot of DDL, it can be expected to get an sinvalcatchup interrupt at some point, leading to failure if the timing iswrong. This has caused more than 100 buildfarm failures over thepast year or so.While a fix exists for the kernel bug, it might be years before thatpropagates into all production kernels, particularly in some of theolder distros we have in the buildfarm. For now, let's just back offand not run this test on Linux PPC64; that loses nothing in testcoverage so far as our own code is concerned.To do that, split this test into a new script infinite_recurse.sqland skip the test when the platform name is powerpc64...-linux-gnu.Back-patch to v12. Branches before that have not been seen to getthis failure. No doubt that's because the "errors" test was notrun in parallel with other tests before commit798070e, greatlyreducing the odds of an sinval catchup being necessary.I also back-patched3c85535 into v12, just so the new regressionscript would look the same in all branches having it.Discussion:https://postgr.es/m/3479046.1602607848@sss.pgh.pa.usDiscussion:https://postgr.es/m/20190723162703.GM22387%40telsasoft.com1 parent1375422 commitae0f7b1
File tree
7 files changed
+71
-20
lines changed- src/test/regress
- expected
- sql
7 files changed
+71
-20
lines changedLines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
440 | 440 |
| |
441 | 441 |
| |
442 | 442 |
| |
443 |
| - | |
444 |
| - | |
445 |
| - | |
446 |
| - | |
447 |
| - | |
448 |
| - | |
449 |
| - | |
450 |
| - | |
451 |
| - | |
452 |
| - |
Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + |
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
| 58 | + | |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
| 86 | + | |
86 | 87 |
| |
87 | 88 |
| |
88 | 89 |
| |
|
Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
364 | 364 |
| |
365 | 365 |
| |
366 | 366 |
| |
367 |
| - | |
368 |
| - | |
369 |
| - | |
370 |
| - | |
371 |
| - | |
372 |
| - | |
373 |
| - | |
374 |
| - | |
375 |
| - |
Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + |
0 commit comments
Comments
(0)