2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 18:07:57 +00:00
criu/scripts/ci/asan.sh
Andrei Vagin 5e544dc449 ci: stop testing ubuntu overlayfs
They break it with each kernel rebase. More details are here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1857257

Last time, it was fixed a few month ago and it has been broken again in
5.15.0-1046-azure.

Let's bind-mount the CRIU directory into a test container to make it
independent of a container file system.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
2023-10-22 13:29:25 -07:00

26 lines
464 B
Bash
Executable File

#!/bin/bash
set -x
cat /proc/self/mountinfo
time make ASAN=1 -j 4 V=1
time make -j4 -C test/zdtm V=1
chmod 0777 test
chmod 0777 test/zdtm/transition/
chmod 0777 test/zdtm/static
./test/zdtm.py run -a --keep-going -k always --parallel 4 -x zdtm/static/rtc "$@"
ret=$?
shopt -s globstar nullglob
for i in /**/asan.log*; do
echo "$i"
echo ========================================
cat "$i"
echo ========================================
ret=1
done
exit $ret