[CRIU] [PATCH v2 0/4] test: improve lazy-pages testing

Mike Rapoport rppt at linux.vnet.ibm.com
Wed May 31 02:51:40 PDT 2017


Hi,

A while ago I've noticed that zdtm/static/uffd-events passes in travis that
runs kernel that does not support these events. After some digging I've
realized, that zdtm waits for lazy-pages daemon to finish before signaling
to the test process. Tests that verify memory contents after test_waitsig()
actually do not use lazy-pages in such setting, as all the memory already
in place by the time lazy-pages daemon exits.

These patches aim to improve the testing coverage.

v2: exclude also file_read as it implicilty calls munmap()

Mike Rapoport (4):
  travis-test: select tests skipped by lazy-pages pass more carefully
  zdtm: check lazy-pages and page-server exit status after test is gone
  zdtm: introduce 'noremotelazy' flag
  zdtm: enable fork tests with --lazy-pages

 scripts/travis/travis-tests     | 12 +++++++++++-
 test/zdtm.py                    | 35 +++++++++++++++++++----------------
 test/zdtm/transition/fork.desc  |  2 +-
 test/zdtm/transition/fork2.desc |  2 +-
 4 files changed, 32 insertions(+), 19 deletions(-)

-- 
2.7.4



More information about the CRIU mailing list