From cdc1fb0ae38007f396b563bd34ce2276e2cd3e28 Mon Sep 17 00:00:00 2001 From: elajkat Date: Tue, 10 Sep 2024 09:36:32 +0200 Subject: [PATCH] [CI] Functional: Increase Ulimit to 4096 Functional tests started to fail with "Too many open files" randomly, the default ulimit in OS is configured to 1024, increasing this to 4096 to avoid these random failures. Closes-Bug: #2080199 Change-Id: Iff86599678ebdd5189d5b56d11f3373c9b138562 (cherry picked from commit 6970f39a49b83f279b9e0479f7637d03a123a40e) (cherry picked from commit b4241e3a3b22dea274e8d865d4016431ac0d29b6) Conflicts: roles/configure_functional_tests/tasks/main.yaml (cherry picked from commit 266475dc9b52f6e8f14384ba7c10835be09e06ce) Signed-off-by: Yatin Karel --- roles/configure_functional_tests/tasks/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/configure_functional_tests/tasks/main.yaml b/roles/configure_functional_tests/tasks/main.yaml index 1a61e0b32ad..4b26eca88af 100644 --- a/roles/configure_functional_tests/tasks/main.yaml +++ b/roles/configure_functional_tests/tasks/main.yaml @@ -40,5 +40,9 @@ fi configure_host_for_func_testing + echo "$USER soft nofile 4096" | sudo tee /etc/security/limits.d/99-user.conf executable: /bin/bash + +- name: Reset ssh connection to pick up limits + meta: reset_connection