Pin functest-healthcheck docker image to known sha 09/59009/4
authorFatih Degirmenci <fdegir@gmail.com>
Mon, 25 Jun 2018 19:32:00 +0000 (21:32 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Tue, 26 Jun 2018 07:01:08 +0000 (09:01 +0200)
Functest changes have significant impact which blocks everything in XCI so this
change pins the image to a known sha to get the original set of healthcheck
testcases until the impacts are analysed and concerns are raised to Functest
and the wider OPNFV Community and addressed based on community consensus.

Pinned version of functest-healthcheck contains the test cases below.
- connection_check
- api_check
- snaps_health_check

deploy-scenario:os-nosdn-nofeature
installer-type:osa

Change-Id: Ic9222af8c27e58491b7b60a7504df9d792b5e753
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
xci/config/pinned-versions
xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2

index 874ee6b..da82c9c 100755 (executable)
@@ -25,6 +25,8 @@
 #-------------------------------------------------------------------------------
 # use releng-xci from master until the development work with the sandbox is complete
 export OPNFV_RELENG_VERSION="master"
+# use functest-healthcheck image that is known to work and contains the original list of testcases
+export OPNFV_FUNCTEST_HEALTHCHECK_DOCKER_IMAGE_DIGEST="sha256:faa1ec5778ac1580cc46f0e4f5abec24026868b95fc6fc3ae6023275dc980c2d"
 # HEAD of bifrost "master" as of 13.02.2018
 export OPENSTACK_BIFROST_VERSION=${OPENSTACK_BIFROST_VERSION:-"28b6b8c96f89532bbddeca513285e6c00db89205"}
 # HEAD of ironic "master" as of 13.02.2018
index 7856cb0..52bca30 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # Variables that we need to pass from XCI to functest
-XCI_ENV=(INSTALLER_TYPE XCI_FLAVOR OPENSTACK_OSA_VERSION CI_LOOP BUILD_TAG NODE_NAME FUNCTEST_MODE FUNCTEST_SUITE_NAME)
+XCI_ENV=(INSTALLER_TYPE XCI_FLAVOR OPENSTACK_OSA_VERSION CI_LOOP BUILD_TAG NODE_NAME FUNCTEST_MODE FUNCTEST_SUITE_NAME OPNFV_FUNCTEST_HEALTHCHECK_DOCKER_IMAGE_DIGEST)
 
 # Create directory to store functest logs
 mkdir -p ~/results/
@@ -60,7 +60,7 @@ sudo docker run --env-file env \
     -v $(pwd)/openrc:/home/opnfv/functest/conf/env_file  \
     -v $(pwd)/images:/home/opnfv/functest/images  \
     -v $(pwd)/results:/home/opnfv/functest/results \
-    $DOCKER_IMAGE_NAME
+    ${DOCKER_IMAGE_NAME}@${OPNFV_FUNCTEST_HEALTHCHECK_DOCKER_IMAGE_DIGEST}
 {% else %}
 {# stuff needed for Kubernetes based scenarios #}
 # Create k8s.creds file for functest