Commit 516b7795 authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin

travis-test: select tests skipped by lazy-pages pass more carefully

Most of zdtm test should pass with --lazy-pages with kernels newer than
4.11.
Some test excluded for older kernels surprisingly pass even now, mainly
becuase they do not actually stress userfaultfd, which will be fixed in the
upcoming commits :)
The cmdlinenv00 fails even with kernel 4.11 because of a race between uffd
and gup in the case external process reads /proc/<pid>/cmdline before
memory containing the command line is populated.
Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent bd39d5ed
......@@ -70,7 +70,17 @@ chmod 0777 test/zdtm/static
chmod 0777 test/zdtm/transition
./test/zdtm.py run -a -p 2
./test/zdtm.py run -a -p 2 --lazy-pages -x maps007
KERN_MAJ=`uname -r | cut -d. -f1`
KERN_MIN=`uname -r | cut -d. -f2`
if [ $KERN_MAJ -ge "4" ] && [ $KERN_MIN -ge "11" ]; then
LAZY_EXCLUDE="-x cmdlinenv00"
else
LAZY_EXCLUDE="-x maps007 -x fork -x fork2 -x uffd-events -x cgroupns
-x socket_listen -x socket_listen6 -x cmdlinenv00
-x socket_close_data01 -x file_read"
fi
./test/zdtm.py run -a -p 2 --lazy-pages $LAZY_EXCLUDE --keep-going --report report
bash ./test/jenkins/criu-fault.sh
bash ./test/jenkins/criu-fcg.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment