CI: Two Machines#402
Merged
dmitry-lipetsk merged 45 commits intoJul 14, 2026
Merged
Conversation
NOTE: TEST_FILTER is "init or kill or app" (temporarily).
…logs It is an experiment. os_ops does not do it.
…dated Code was copied from testgres.os_ops package.
Ofcourse, py3.12/pg17 is excluded.
CI: runs only 'kill' tests.
It allows to create files in '/var/run/postgresql' folder.
We may catch a zombie during a node stop: "FAILED tests/test_testgres_common.py::TestTestgresCommon::test_pg_ctl_wait_option[local] - Exception: Unexpected node status: 3." It was on astralinux_1_7.
NEW: MaxAuthTries 20 MaxSessions 500 MaxStartups 2000:30:2000 OLD: #MaxAuthTries 6 #MaxSessions 10 #MaxStartups 10:30:100 NOTE: We change they via find&replace.
… on PG10. It does not work there.
Run containers with the following settings: --sysctl net.core.somaxconn=4096 --sysctl net.ipv4.tcp_max_syn_backlog=4096 --ulimit nofile=524288:524288 --ulimit nproc=65535:65535
- It is based of FS locks - It replaces PortManager__Generic
Testgres does not provide this information any more.
--sysctl net.core.somaxconn=4096 --sysctl net.ipv4.tcp_max_syn_backlog=4096 --ulimit nofile=524288:524288 --ulimit nproc=65535:65535 --sysctl net.ipv4.tcp_tw_reuse=1 --sysctl net.ipv4.ip_local_port_range="1024 65535"
It must remove zomby processes in our container (alt11)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch starts using two machines to test testgres.
Key things
--initis used in a commanddocker runto prevent a problem with lots of zomby processes on altlinux-11, alpine-pg10 and alpine-pg11 targets.Co-authored-by: Mark G. mark@google.com