From 93ecafcbaec20c7f2c21896932d93b7a5df13f65 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 6 Apr 2022 16:18:39 -0400 Subject: Workaround criu re-linking output in system test When run on an F36 host using netavark/aardvark-dns, for whatever underlying reason most checkpoint/restore tests are emitting an error similar to: `criu: Symbol `__rseq_offset' has different size in shared object, consider re-linking` This extraneous output is causing the basic checkpoint system test to fail. Since, all other testing of checkpoint/restore feature is passing (also with the extraneous message) loosen the system test sensitivity to match. Signed-off-by: Chris Evich --- test/system/520-checkpoint.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/system') diff --git a/test/system/520-checkpoint.bats b/test/system/520-checkpoint.bats index 046dfd126..b41d460a4 100644 --- a/test/system/520-checkpoint.bats +++ b/test/system/520-checkpoint.bats @@ -47,7 +47,8 @@ function teardown() { # Checkpoint, and confirm via inspect run_podman container checkpoint $cid - is "$output" "$cid" "podman container checkpoint" + # FIXME: remove the `.*` prefix after fix packaged for https://github.com/checkpoint-restore/criu/pull/1706 + is "$output" ".*$cid" "podman container checkpoint" run_podman container inspect \ --format '{{.State.Status}}:{{.State.Running}}:{{.State.Paused}}:{{.State.Checkpointed}}' $cid -- cgit v1.2.3-54-g00ecf