2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

ci: skip MAP_HUGETLB tests in stream test

Currently, hugetlb mappings is not premapped so in the restore content phase, we
skip page read these pages, enqueue the iovec for later reading in restorer and
eventually close the page read. However, image-streamer expects the whole image
to be read and the image is not re-opened, sent twice. These MAP_HUGETLB test
cases will result in EPIPE error. Temporarily disable these test cases for now.

Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
This commit is contained in:
Bui Quang Minh 2022-02-12 16:00:39 +07:00 committed by Andrei Vagin
parent 2dc6d146b9
commit 56df8aeeb5

View File

@ -63,8 +63,15 @@ ci_prep () {
test_stream() { test_stream() {
# Testing CRIU streaming to criu-image-streamer # Testing CRIU streaming to criu-image-streamer
# FIXME: Currently, hugetlb mappings is not premapped, so in the restore content
# phase, we skip page read these pages, enqueue the iovec for later reading in
# restorer and eventually close the page read. However, image-streamer expects the
# whole image to be read and the image is not reopened, sent twice. These MAP_HUGETLB
# test cases will result in EPIPE error at the moment.
STREAM_TEST_EXCLUDE="-x maps09 -x maps10"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
./test/zdtm.py run --stream -p 2 --keep-going -a $ZDTM_OPTS ./test/zdtm.py run --stream -p 2 --keep-going -a $STREAM_TEST_EXCLUDE $ZDTM_OPTS
} }
print_header() { print_header() {