pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Paper over regression failures in infinite_recurse() on PPC64 Li 3+ messages / 1 participants [nested] [flat]
* pgsql: Paper over regression failures in infinite_recurse() on PPC64 Li @ 2020-10-13 21:45 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2020-10-13 21:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Paper over regression failures in infinite_recurse() on PPC64 Linux. Our infinite_recurse() test to verify sane stack-overrun behavior is affected by a bug of the Linux kernel on PPC64: it will get SIGSEGV if 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. See https://bugzilla.kernel.org/show_bug.cgi?id=205183. Since this test is a bit time-consuming and we run it in parallel with test scripts that do a lot of DDL, it can be expected to get an sinval catchup interrupt at some point, leading to failure if the timing is wrong. This has caused more than 100 buildfarm failures over the past year or so. While a fix exists for the kernel bug, it might be years before that propagates into all production kernels, particularly in some of the older distros we have in the buildfarm. For now, let's just back off and not run this test on Linux PPC64; that loses nothing in test coverage so far as our own code is concerned. To do that, split this test into a new script infinite_recurse.sql and skip the test when the platform name is powerpc64...-linux-gnu. Back-patch to v12. Branches before that have not been seen to get this failure. No doubt that's because the "errors" test was not run in parallel with other tests before commit 798070ec0, greatly reducing the odds of an sinval catchup being necessary. I also back-patched 3c8553547 into v12, just so the new regression script would look the same in all branches having it. Discussion: https://postgr.es/m/3479046.1602607848@sss.pgh.pa.us Discussion: https://postgr.es/m/20190723162703.GM22387%40telsasoft.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ae0f7b11f143d9748e2201c3647330893c4c1c5a Modified Files -------------- src/test/regress/expected/errors.out | 10 -------- src/test/regress/expected/infinite_recurse.out | 24 ++++++++++++++++++++ src/test/regress/expected/infinite_recurse_1.out | 16 +++++++++++++ src/test/regress/parallel_schedule | 2 +- src/test/regress/serial_schedule | 1 + src/test/regress/sql/errors.sql | 9 -------- src/test/regress/sql/infinite_recurse.sql | 29 ++++++++++++++++++++++++ 7 files changed, 71 insertions(+), 20 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Paper over regression failures in infinite_recurse() on PPC64 Li @ 2020-10-13 21:45 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2020-10-13 21:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Paper over regression failures in infinite_recurse() on PPC64 Linux. Our infinite_recurse() test to verify sane stack-overrun behavior is affected by a bug of the Linux kernel on PPC64: it will get SIGSEGV if 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. See https://bugzilla.kernel.org/show_bug.cgi?id=205183. Since this test is a bit time-consuming and we run it in parallel with test scripts that do a lot of DDL, it can be expected to get an sinval catchup interrupt at some point, leading to failure if the timing is wrong. This has caused more than 100 buildfarm failures over the past year or so. While a fix exists for the kernel bug, it might be years before that propagates into all production kernels, particularly in some of the older distros we have in the buildfarm. For now, let's just back off and not run this test on Linux PPC64; that loses nothing in test coverage so far as our own code is concerned. To do that, split this test into a new script infinite_recurse.sql and skip the test when the platform name is powerpc64...-linux-gnu. Back-patch to v12. Branches before that have not been seen to get this failure. No doubt that's because the "errors" test was not run in parallel with other tests before commit 798070ec0, greatly reducing the odds of an sinval catchup being necessary. I also back-patched 3c8553547 into v12, just so the new regression script would look the same in all branches having it. Discussion: https://postgr.es/m/3479046.1602607848@sss.pgh.pa.us Discussion: https://postgr.es/m/20190723162703.GM22387%40telsasoft.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c7e2364a5f17b3ef3518f92542fb1b1628288382 Modified Files -------------- src/test/regress/expected/errors.out | 7 ------ src/test/regress/expected/infinite_recurse.out | 24 ++++++++++++++++++++ src/test/regress/expected/infinite_recurse_1.out | 16 +++++++++++++ src/test/regress/parallel_schedule | 2 +- src/test/regress/serial_schedule | 1 + src/test/regress/sql/errors.sql | 7 ------ src/test/regress/sql/infinite_recurse.sql | 29 ++++++++++++++++++++++++ 7 files changed, 71 insertions(+), 15 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Paper over regression failures in infinite_recurse() on PPC64 Li @ 2020-10-13 21:45 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2020-10-13 21:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Paper over regression failures in infinite_recurse() on PPC64 Linux. Our infinite_recurse() test to verify sane stack-overrun behavior is affected by a bug of the Linux kernel on PPC64: it will get SIGSEGV if 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. See https://bugzilla.kernel.org/show_bug.cgi?id=205183. Since this test is a bit time-consuming and we run it in parallel with test scripts that do a lot of DDL, it can be expected to get an sinval catchup interrupt at some point, leading to failure if the timing is wrong. This has caused more than 100 buildfarm failures over the past year or so. While a fix exists for the kernel bug, it might be years before that propagates into all production kernels, particularly in some of the older distros we have in the buildfarm. For now, let's just back off and not run this test on Linux PPC64; that loses nothing in test coverage so far as our own code is concerned. To do that, split this test into a new script infinite_recurse.sql and skip the test when the platform name is powerpc64...-linux-gnu. Back-patch to v12. Branches before that have not been seen to get this failure. No doubt that's because the "errors" test was not run in parallel with other tests before commit 798070ec0, greatly reducing the odds of an sinval catchup being necessary. I also back-patched 3c8553547 into v12, just so the new regression script would look the same in all branches having it. Discussion: https://postgr.es/m/3479046.1602607848@sss.pgh.pa.us Discussion: https://postgr.es/m/20190723162703.GM22387%40telsasoft.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/855b6f287100f3eab24df0a83998db251ac4fd09 Modified Files -------------- src/test/regress/expected/errors.out | 10 -------- src/test/regress/expected/infinite_recurse.out | 24 ++++++++++++++++++++ src/test/regress/expected/infinite_recurse_1.out | 16 +++++++++++++ src/test/regress/parallel_schedule | 2 +- src/test/regress/serial_schedule | 1 + src/test/regress/sql/errors.sql | 9 -------- src/test/regress/sql/infinite_recurse.sql | 29 ++++++++++++++++++++++++ 7 files changed, 71 insertions(+), 20 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-10-13 21:45 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-10-13 21:45 pgsql: Paper over regression failures in infinite_recurse() on PPC64 Li Tom Lane <tgl@sss.pgh.pa.us> 2020-10-13 21:45 pgsql: Paper over regression failures in infinite_recurse() on PPC64 Li Tom Lane <tgl@sss.pgh.pa.us> 2020-10-13 21:45 pgsql: Paper over regression failures in infinite_recurse() on PPC64 Li Tom Lane <tgl@sss.pgh.pa.us>
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