From 90412e4c56b72efb4bdbb26fc45c1383f51db46a Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 23 Nov 2018 15:18:58 +0000 Subject: Load NAT modules to fix tests involving CRIU CRIU uses iptables to lock and unlock the network during checkpoint and restore. If Podman is running in Podman the automatic loading of modules does not work and thus this commit pre-loads the necessary modules to make sure the checkpoint test cases are not failing. Signed-off-by: Adrian Reber --- .papr_prepare.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.papr_prepare.sh') diff --git a/.papr_prepare.sh b/.papr_prepare.sh index e0657dcd2..5d7d21530 100644 --- a/.papr_prepare.sh +++ b/.papr_prepare.sh @@ -10,6 +10,13 @@ if [[ ${DIST} != "Fedora" ]]; then PYTHON=python fi +# Since CRIU 3.11 has been pushed to Fedora 28 the checkpoint/restore +# test cases are actually run. As CRIU uses iptables to lock and unlock +# the network during checkpoint and restore it needs the following two +# modules loaded. +modprobe ip6table_nat || : +modprobe iptable_nat || : + # Build the test image ${CONTAINER_RUNTIME} build -t ${IMAGE} -f Dockerfile.${DIST} . 2>build.log -- cgit v1.2.3-54-g00ecf