[lxc-devel] [lxd/master] [DO NOT MERGE]: jenkins debugging

brauner on Github lxc-bot at linuxcontainers.org
Fri Apr 28 14:57:00 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170428/48d51f61/attachment.bin>
-------------- next part --------------
From 0bd11549028d8221c52e2a38d03992c5d0f93d8a Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Fri, 28 Apr 2017 16:55:54 +0200
Subject: [PATCH] [DO NOT MERGE]: jenkins debugging

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 test/suites/migration.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/test/suites/migration.sh b/test/suites/migration.sh
index 3fb3714..8407387 100644
--- a/test/suites/migration.sh
+++ b/test/suites/migration.sh
@@ -204,4 +204,15 @@ migration() {
   lxc_remote stop --stateful l1:migratee
   lxc_remote start l1:migratee
   lxc_remote delete --force l1:migratee
+
+  lxc_remote init testimage l1:cccp
+  lxc_remote snapshot l1:cccp
+  lxc_remote snapshot l1:cccp
+
+  # Remote container with snapshots live migration.
+  lxc_remote start l1:cccp
+  lxc_remote move l1:cccp l2:udssr
+  ! lxc_remote info l1:cccp
+  [ "$(lxc_remote info l2:udssr | grep -c snap)" -eq 2 ]
+  lxc_remote delete l2:udssr
 }


More information about the lxc-devel mailing list