diff --git a/root/opt/wheels/pip-21.0.1-py3-none-any.whl b/root/opt/wheels/pip-21.0.1-py3-none-any.whl deleted file mode 100755 index 87a37e6..0000000 Binary files a/root/opt/wheels/pip-21.0.1-py3-none-any.whl and /dev/null differ diff --git a/root/opt/wheels/pip-21.2.3-py3-none-any.whl b/root/opt/wheels/pip-21.2.3-py3-none-any.whl new file mode 100755 index 0000000..a337a36 Binary files /dev/null and b/root/opt/wheels/pip-21.2.3-py3-none-any.whl differ diff --git a/test/imagestreams/python-centos.json b/test/imagestreams/python-centos.json index 1be8538..405c06e 100644 --- a/test/imagestreams/python-centos.json +++ b/test/imagestreams/python-centos.json @@ -1,6 +1,6 @@ { "kind": "ImageStream", - "apiVersion": "v1", + "apiVersion": "image.openshift.io/v1", "metadata": { "name": "python", "annotations": { diff --git a/test/imagestreams/python-rhel-aarch64.json b/test/imagestreams/python-rhel-aarch64.json index a390935..f1400c5 100644 --- a/test/imagestreams/python-rhel-aarch64.json +++ b/test/imagestreams/python-rhel-aarch64.json @@ -1,6 +1,6 @@ { "kind": "ImageStream", - "apiVersion": "v1", + "apiVersion": "image.openshift.io/v1", "metadata": { "name": "python", "annotations": { diff --git a/test/imagestreams/python-rhel.json b/test/imagestreams/python-rhel.json index 7522c80..92f545f 100644 --- a/test/imagestreams/python-rhel.json +++ b/test/imagestreams/python-rhel.json @@ -1,6 +1,6 @@ { "kind": "ImageStream", - "apiVersion": "v1", + "apiVersion": "image.openshift.io/v1", "metadata": { "name": "python", "annotations": { diff --git a/test/test-lib-openshift.sh b/test/test-lib-openshift.sh index b98e628..96cae8d 100644 --- a/test/test-lib-openshift.sh +++ b/test/test-lib-openshift.sh @@ -14,6 +14,7 @@ OS_TESTSUITE_RESULT=1 OS_CLUSTER_STARTED_BY_TEST=0 function ct_os_cleanup() { + echo "${test_short_summary:-}" if [ $OS_TESTSUITE_RESULT -eq 0 ] ; then # shellcheck disable=SC2153 echo "OpenShift tests for ${IMAGE_NAME} succeeded." @@ -957,8 +958,9 @@ ct_os_test_image_update() { local old_image=$1; shift local istag=$1; shift local check_function=$1; shift - local service_name=${image_name##*/} local ip="" check_command_exp="" + local image_name_no_namespace=${image_name##*/} + local service_name="${image_name_no_namespace%%:*}-testing" echo "Running image update test for: $image_name" # shellcheck disable=SC2119 diff --git a/test/test-lib.sh b/test/test-lib.sh index 42f22ba..e954053 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -61,9 +61,9 @@ function ct_enable_cleanup() { # Function returns either 0 in case of pull was successful # Or the test suite exit with 1 in case of pull error function ct_pull_image() { - local image_name="$1"; shift - local exit=${1:-"false"}; shift - local loops=${1:-10}; shift + local image_name="$1"; [[ $# -gt 0 ]] && shift + local exit_variable=${1:-"false"}; [[ $# -gt 0 ]] && shift + local loops=${1:-10} local loop=0 # Let's try to pull image. @@ -84,7 +84,7 @@ function ct_pull_image() { echo "Pulling of image $image_name failed $loops times in a row. Giving up." echo "!!! ERROR with pulling image $image_name !!!!" # shellcheck disable=SC2268 - if [[ x"$exit" == x"false" ]]; then + if [[ x"$exit_variable" == x"false" ]]; then return 1 else exit 1