From: Vsevolod Stakhov Date: Fri, 15 Mar 2024 14:05:42 +0000 (+0000) Subject: [Test] Run functional tests using root user X-Git-Tag: 3.9.0~93^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5e13c2e31441e4e75ae537179ba4152a26e70a82;p=rspamd.git [Test] Run functional tests using root user --- 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