summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-01-13 20:34:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-13 20:34:22 +0000
commitc055fcef6a23ed15ae42dd6c68005d48ed3c0a96 (patch)
tree820885f12b4f6c746bbcb4bf8d6f1cf64bb17c40
parent7cd3e80f8d34cb998d1cae1af58afdda406d5a3b (diff)
parent4ff43caffd5acea6b7db3a4b48eadeb0e4a944af (diff)
Merge "Adding installation of ansible and dependencies to host attempting to execute <apex>/ci/run_smoke_tests.sh. Also fixed the filename that contains the test stdout/stderr output from snoke-tests.out to smoke-tests.out"
-rwxr-xr-xci/run_smoke_tests.sh7
-rwxr-xr-xtests/smoke_tests/execute_smoke_tests.sh2
2 files changed, 8 insertions, 1 deletions
diff --git a/ci/run_smoke_tests.sh b/ci/run_smoke_tests.sh
index 8985ed86..7cbd390d 100755
--- a/ci/run_smoke_tests.sh
+++ b/ci/run_smoke_tests.sh
@@ -4,5 +4,12 @@ source ../lib/utility-functions.sh
export ANSIBLE_HOST_KEY_CHECKING=False
+./dev_dep_check.sh
+
+yum install python-devel -y
+yum install openssl-devel -y
+easy_install pip
+pip install ansible
+
echo 'See ~stack/smoke-tests.out on the undercloud for result log'
ansible-playbook -i "$(get_undercloud_ip)," ../tests/smoke_tests/smoke_tests.yml
diff --git a/tests/smoke_tests/execute_smoke_tests.sh b/tests/smoke_tests/execute_smoke_tests.sh
index 5ebbf3a4..a9a7b740 100755
--- a/tests/smoke_tests/execute_smoke_tests.sh
+++ b/tests/smoke_tests/execute_smoke_tests.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-python ~/snaps/snaps/unit_test_suite.py -e ~stack/overcloudrc -n external -l INFO &> ~stack/snoke-tests.out \ No newline at end of file
+python ~/snaps/snaps/unit_test_suite.py -e ~stack/overcloudrc -n external -k -l INFO &> ~stack/smoke-tests.out \ No newline at end of file