From 5e13c2e31441e4e75ae537179ba4152a26e70a82 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 15 Mar 2024 14:05:42 +0000 Subject: [PATCH] [Test] Run functional tests using root user --- .github/workflows/ci_rspamd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_rspamd.yml b/.github/workflows/ci_rspamd.yml index 9496d2f29..04a6eff34 100644 --- a/.github/workflows/ci_rspamd.yml +++ b/.github/workflows/ci_rspamd.yml @@ -67,7 +67,7 @@ jobs: ulimit -c unlimited ulimit -s unlimited set +e - RSPAMD_INSTALLROOT=${GITHUB_WORKSPACE}/install robot --removekeywords wuks --exclude isbroken ${GITHUB_WORKSPACE}/src/test/functional/cases; EXIT_CODE=$? + RSPAMD_INSTALLROOT=${GITHUB_WORKSPACE}/install robot -v RSPAMD_USER:root -v RSPAMD_GROUP:root --removekeywords wuks --exclude isbroken ${GITHUB_WORKSPACE}/src/test/functional/cases; EXIT_CODE=$? set -e core_files=$(find /var/tmp/ -name '*.core') for core in $core_files; do exe=$(gdb --batch -ex 'info proc mappings' -c $core | tail -1 | awk '{print $5}'); gdb --batch -ex 'bt' -c $core $exe; echo '---'; done -- 2.39.5