From 019aa20d9f51c695af7f0a8840cf15d1678a084c Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Wed, 24 Oct 2018 16:48:00 +0300 Subject: [PATCH] Disable execution of new tests which need Docker privileged mode (cherry picked from commit 7d2b9d2d3088bae2e0bf0fb15811233507dc8237) --- tests/test_cli.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.sh b/tests/test_cli.sh index f121347a..9158f1f7 100755 --- a/tests/test_cli.sh +++ b/tests/test_cli.sh @@ -23,8 +23,13 @@ done; # invoke cli/ tests ./tests/cli/test_blueprints_sanity.sh ./tests/cli/test_compose_sanity.sh -./tests/cli/test_compose_ext4-filesystem.sh -./tests/cli/test_compose_partitioned-disk.sh + +# need `losetup`, which needs Docker to be in privileged mode (--privileged), +# which is available only for `docker run`, however we use `docker build`! +# And all of this may not even work on Travis CI so disabling execution for now! +# maybe we will figure out how to execute these two scripts on internal Jenkins instance +#./tests/cli/test_compose_ext4-filesystem.sh +#./tests/cli/test_compose_partitioned-disk.sh # Stop lorax-composer and remove /run/weldr/api.socket pkill -9 lorax-composer