Skip to content

CI: Two Machines#402

Merged
dmitry-lipetsk merged 45 commits into
postgrespro:masterfrom
dmitry-lipetsk:D20260712_001--ci-creates-two-machines
Jul 14, 2026
Merged

CI: Two Machines#402
dmitry-lipetsk merged 45 commits into
postgrespro:masterfrom
dmitry-lipetsk:D20260712_001--ci-creates-two-machines

Conversation

@dmitry-lipetsk

@dmitry-lipetsk dmitry-lipetsk commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

This patch starts using two machines to test testgres.

Key things

  • Option --init is used in a command docker run to 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

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.
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.
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
@dmitry-lipetsk dmitry-lipetsk merged commit 6da409c into postgrespro:master Jul 14, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant