pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Skip isolation tests that terminate other backends on Windows 6+ messages / 1 participants [nested] [flat]
* pgsql: Skip isolation tests that terminate other backends on Windows @ 2026-10-05 02:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-10-05 02:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Skip isolation tests that terminate other backends on Windows On Windows, a backend exiting resets its connection, and the client discards any data not yet read, including the FATAL message of a terminated backend. isolationtester polls one connection at a time, so when it waits on a different session the message can get lost, failing the permutation and the tests that run after it. wait_cleanup in injection_points (down to v17) and slot_creation_error in test_decoding (down to v15) have this pattern, and have been failing randomly in the buildfarm. Let's skip them on Windows. The cause of the instabilities is proving to be tricky to deal with, pointing for example at 29992a6a509b. This will be tackled later, perhaps with a backpatch (or perhaps with a HEAD-only solution), but it is difficult to be sure at this stage of the work. In theory, a8458f508a7 should make a revert of 29992a6a509b (revert of a revert!) safe on WIN32. Note that 278cdea6b9d2, that has introduced the isolation test slot_creation_error in test_decoding, has mentioned the potential output instability. Author: Zsolt Parragi <zsolt.parragi@percona.com> Author: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAN4CZFOoiKa9E4Gnh_OzLk3S5Z6RFyg_oY1e_WddCVYhkpTVow@mail.gmail.com Backpatch-through: 15 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e0f633ca6bc6a2ace3e6c0e79157c3bf0edddfbe Modified Files -------------- contrib/test_decoding/Makefile | 8 ++++- contrib/test_decoding/meson.build | 40 +++++++++++++---------- src/test/modules/injection_points/Makefile | 7 +++- src/test/modules/injection_points/meson.build | 46 ++++++++++++++++----------- 4 files changed, 64 insertions(+), 37 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Skip isolation tests that terminate other backends on Windows @ 2026-10-05 02:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-10-05 02:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Skip isolation tests that terminate other backends on Windows On Windows, a backend exiting resets its connection, and the client discards any data not yet read, including the FATAL message of a terminated backend. isolationtester polls one connection at a time, so when it waits on a different session the message can get lost, failing the permutation and the tests that run after it. wait_cleanup in injection_points (down to v17) and slot_creation_error in test_decoding (down to v15) have this pattern, and have been failing randomly in the buildfarm. Let's skip them on Windows. The cause of the instabilities is proving to be tricky to deal with, pointing for example at 29992a6a509b. This will be tackled later, perhaps with a backpatch (or perhaps with a HEAD-only solution), but it is difficult to be sure at this stage of the work. In theory, a8458f508a7 should make a revert of 29992a6a509b (revert of a revert!) safe on WIN32. Note that 278cdea6b9d2, that has introduced the isolation test slot_creation_error in test_decoding, has mentioned the potential output instability. Author: Zsolt Parragi <zsolt.parragi@percona.com> Author: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAN4CZFOoiKa9E4Gnh_OzLk3S5Z6RFyg_oY1e_WddCVYhkpTVow@mail.gmail.com Backpatch-through: 15 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/35185ce0fd40d698b9f726dd8abb97728a6cc975 Modified Files -------------- contrib/test_decoding/Makefile | 8 ++++- contrib/test_decoding/meson.build | 40 +++++++++++++---------- src/test/modules/injection_points/Makefile | 7 +++- src/test/modules/injection_points/meson.build | 46 ++++++++++++++++----------- 4 files changed, 64 insertions(+), 37 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Skip isolation tests that terminate other backends on Windows @ 2026-10-05 02:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-10-05 02:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Skip isolation tests that terminate other backends on Windows On Windows, a backend exiting resets its connection, and the client discards any data not yet read, including the FATAL message of a terminated backend. isolationtester polls one connection at a time, so when it waits on a different session the message can get lost, failing the permutation and the tests that run after it. wait_cleanup in injection_points (down to v17) and slot_creation_error in test_decoding (down to v15) have this pattern, and have been failing randomly in the buildfarm. Let's skip them on Windows. The cause of the instabilities is proving to be tricky to deal with, pointing for example at 29992a6a509b. This will be tackled later, perhaps with a backpatch (or perhaps with a HEAD-only solution), but it is difficult to be sure at this stage of the work. In theory, a8458f508a7 should make a revert of 29992a6a509b (revert of a revert!) safe on WIN32. Note that 278cdea6b9d2, that has introduced the isolation test slot_creation_error in test_decoding, has mentioned the potential output instability. Author: Zsolt Parragi <zsolt.parragi@percona.com> Author: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAN4CZFOoiKa9E4Gnh_OzLk3S5Z6RFyg_oY1e_WddCVYhkpTVow@mail.gmail.com Backpatch-through: 15 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/710364f7a817e4768f6cb898df37be4ada50f292 Modified Files -------------- contrib/test_decoding/Makefile | 8 +++++- contrib/test_decoding/meson.build | 38 ++++++++++++++++----------- src/test/modules/injection_points/Makefile | 7 ++++- src/test/modules/injection_points/meson.build | 26 +++++++++++------- 4 files changed, 53 insertions(+), 26 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Skip isolation tests that terminate other backends on Windows @ 2026-10-05 02:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-10-05 02:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Skip isolation tests that terminate other backends on Windows On Windows, a backend exiting resets its connection, and the client discards any data not yet read, including the FATAL message of a terminated backend. isolationtester polls one connection at a time, so when it waits on a different session the message can get lost, failing the permutation and the tests that run after it. wait_cleanup in injection_points (down to v17) and slot_creation_error in test_decoding (down to v15) have this pattern, and have been failing randomly in the buildfarm. Let's skip them on Windows. The cause of the instabilities is proving to be tricky to deal with, pointing for example at 29992a6a509b. This will be tackled later, perhaps with a backpatch (or perhaps with a HEAD-only solution), but it is difficult to be sure at this stage of the work. In theory, a8458f508a7 should make a revert of 29992a6a509b (revert of a revert!) safe on WIN32. Note that 278cdea6b9d2, that has introduced the isolation test slot_creation_error in test_decoding, has mentioned the potential output instability. Author: Zsolt Parragi <zsolt.parragi@percona.com> Author: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAN4CZFOoiKa9E4Gnh_OzLk3S5Z6RFyg_oY1e_WddCVYhkpTVow@mail.gmail.com Backpatch-through: 15 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5efbd9536ced70dc5d29abd320d3dc26774509ad Modified Files -------------- contrib/test_decoding/Makefile | 8 +++++- contrib/test_decoding/meson.build | 38 ++++++++++++++++----------- src/test/modules/injection_points/Makefile | 7 ++++- src/test/modules/injection_points/meson.build | 24 +++++++++++------ 4 files changed, 52 insertions(+), 25 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Skip isolation tests that terminate other backends on Windows @ 2026-10-05 02:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-10-05 02:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Skip isolation tests that terminate other backends on Windows On Windows, a backend exiting resets its connection, and the client discards any data not yet read, including the FATAL message of a terminated backend. isolationtester polls one connection at a time, so when it waits on a different session the message can get lost, failing the permutation and the tests that run after it. wait_cleanup in injection_points (down to v17) and slot_creation_error in test_decoding (down to v15) have this pattern, and have been failing randomly in the buildfarm. Let's skip them on Windows. The cause of the instabilities is proving to be tricky to deal with, pointing for example at 29992a6a509b. This will be tackled later, perhaps with a backpatch (or perhaps with a HEAD-only solution), but it is difficult to be sure at this stage of the work. In theory, a8458f508a7 should make a revert of 29992a6a509b (revert of a revert!) safe on WIN32. Note that 278cdea6b9d2, that has introduced the isolation test slot_creation_error in test_decoding, has mentioned the potential output instability. Author: Zsolt Parragi <zsolt.parragi@percona.com> Author: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAN4CZFOoiKa9E4Gnh_OzLk3S5Z6RFyg_oY1e_WddCVYhkpTVow@mail.gmail.com Backpatch-through: 15 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8606467fc51669c9008fb5e5d4056a5b9bf5f9f3 Modified Files -------------- contrib/test_decoding/Makefile | 8 +++++++- contrib/test_decoding/meson.build | 38 +++++++++++++++++++++++--------------- 2 files changed, 30 insertions(+), 16 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Skip isolation tests that terminate other backends on Windows @ 2026-10-05 02:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-10-05 02:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Skip isolation tests that terminate other backends on Windows On Windows, a backend exiting resets its connection, and the client discards any data not yet read, including the FATAL message of a terminated backend. isolationtester polls one connection at a time, so when it waits on a different session the message can get lost, failing the permutation and the tests that run after it. wait_cleanup in injection_points (down to v17) and slot_creation_error in test_decoding (down to v15) have this pattern, and have been failing randomly in the buildfarm. Let's skip them on Windows. The cause of the instabilities is proving to be tricky to deal with, pointing for example at 29992a6a509b. This will be tackled later, perhaps with a backpatch (or perhaps with a HEAD-only solution), but it is difficult to be sure at this stage of the work. In theory, a8458f508a7 should make a revert of 29992a6a509b (revert of a revert!) safe on WIN32. Note that 278cdea6b9d2, that has introduced the isolation test slot_creation_error in test_decoding, has mentioned the potential output instability. Author: Zsolt Parragi <zsolt.parragi@percona.com> Author: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAN4CZFOoiKa9E4Gnh_OzLk3S5Z6RFyg_oY1e_WddCVYhkpTVow@mail.gmail.com Backpatch-through: 15 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8aa9e3e0fd3cf7ff475b5adc495e3faf256354e9 Modified Files -------------- contrib/test_decoding/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-10-05 02:12 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-05 02:12 pgsql: Skip isolation tests that terminate other backends on Windows Michael Paquier <michael@paquier.xyz> 2026-10-05 02:12 pgsql: Skip isolation tests that terminate other backends on Windows Michael Paquier <michael@paquier.xyz> 2026-10-05 02:12 pgsql: Skip isolation tests that terminate other backends on Windows Michael Paquier <michael@paquier.xyz> 2026-10-05 02:12 pgsql: Skip isolation tests that terminate other backends on Windows Michael Paquier <michael@paquier.xyz> 2026-10-05 02:12 pgsql: Skip isolation tests that terminate other backends on Windows Michael Paquier <michael@paquier.xyz> 2026-10-05 02:12 pgsql: Skip isolation tests that terminate other backends on Windows Michael Paquier <michael@paquier.xyz>
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