From: Evgeny Vereshchagin Date: Mon, 12 Apr 2021 17:36:50 +0000 (+0000) Subject: ci: get around https://github.com/lxc/lxc/issues/3788 X-Git-Tag: lxc-5.0.0~200^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=335a140542f7fe5622882c6127be3e231642a83a;p=thirdparty%2Flxc.git ci: get around https://github.com/lxc/lxc/issues/3788 Signed-off-by: Evgeny Vereshchagin --- diff --git a/.github/workflows/sanitizers.sh b/.github/workflows/sanitizers.sh index 706fe25f9..59e8a3388 100755 --- a/.github/workflows/sanitizers.sh +++ b/.github/workflows/sanitizers.sh @@ -40,6 +40,14 @@ cat <<'EOF' >/usr/bin/lxc-test-share-ns printf "The test is skipped due to https://github.com/lxc/lxc/issues/3798.\n" EOF +mv /usr/bin/{lxc-test-concurrent,test-concurrent.orig} +cat </usr/bin/lxc-test-concurrent +#!/bin/bash +printf "Memory leaks are ignored due to https://github.com/lxc/lxc/issues/3788.\n" +ASAN_OPTIONS=$ASAN_OPTIONS:detect_leaks=0 UBSAN_OPTIONS=$UBSAN_OPTIONS /usr/bin/test-concurrent.orig +EOF +chmod +x /usr/bin/lxc-test-concurrent + sed -i 's/USE_LXC_BRIDGE="false"/USE_LXC_BRIDGE="true"/' /etc/default/lxc systemctl daemon-reload systemctl restart apparmor