tests/acceptance: add base class record/replay kernel tests
commitc7ebab0f16fd4e0dc3dd6d9c7ea73876a9db88f5
authorPavel Dovgalyuk <Pavel.Dovgaluk@gmail.com>
Fri, 29 May 2020 07:04:51 +0000 (29 10:04 +0300)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 21 Jun 2020 11:58:45 +0000 (21 13:58 +0200)
tree2f04b92569a50f47e51afd96a5889adc84324d9a
parent6634f1c43d0e2f26ab2cc71d1f53a25c5b56bdd9
tests/acceptance: add base class record/replay kernel tests

This patch adds a base for testing kernel boot recording and replaying.
Each test has the phase of recording and phase of replaying.
Virtual machines just boot the kernel and do not interact with
the network.
Structure and image links for the tests are borrowed from boot_linux_console.py
Testing controls the message pattern at the end of the kernel
boot for both record and replay modes. In replay mode QEMU is also
intended to finish the execution automatically.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Tested-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <159073589099.20809.14078431743098373301.stgit@pasha-ThinkPad-X280>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[PMD: Keep imports sorted alphabetically]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
MAINTAINERS
tests/acceptance/replay_kernel.py [new file with mode: 0644]