container-common-scripts
container-common-scripts copied to clipboard
Fix check_latest_imagestreams.py
Container platform
OCP 4
Version
No response
OS version of the container image
No response
Bugzilla, Jira
No response
Description
OpenShift 4 tests are failing in case of micro, minimal images are tested.
We should skip these kinds of tests.
RHEL8 - OpenShift 4 - 1.22-micro tests failed for this reason:
-----------------------------------------------
Running test test_latest_imagestreams (starting at 2023-11-28 09:23:26-05:00) ...
-----------------------------------------------
Testing the latest version in imagestreams
Version to check is 1.22-micro.
Checking file imagestreams/nginx-centos.json.
check_version: Compare tags['name']:'latest' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi9' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi8' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi7' against version:'1.22-micro'
The latest version is not present in imagestreams/nginx-centos.json or in latest tag.
Checking file imagestreams/nginx-rhel-aarch64.json.
check_version: Compare tags['name']:'latest' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi9' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi8' against version:'1.22-micro'
The latest version is not present in imagestreams/nginx-rhel-aarch64.json or in latest tag.
Checking file imagestreams/nginx-rhel.json.
check_version: Compare tags['name']:'latest' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi9' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi8' against version:'1.22-micro'
check_version: Compare tags['name']:'1.20-ubi7' against version:'1.22-micro'
The latest version is not present in imagestreams/nginx-rhel.json or in latest tag.
Test for image 'ubi8/nginx-122-micro:1' FAILED (exit code: 1)
Already on project "default" on server "https://api.core-serv-ocp.hosted.psi.rdu2.redhat.com:6443".
[PASSED] for 'openshift-remote-cluster' test_nginx_integration (00:01:27)
[PASSED] for 'openshift-remote-cluster' test_nginx_local_example (00:01:30)
[PASSED] for 'openshift-remote-cluster' test_nginx_remote_example (00:01:15)
[PASSED] for 'openshift-remote-cluster' test_nginx_template_from_example_app (00:01:20)
[PASSED] for 'openshift-remote-cluster' test_nginx_imagestream (00:01:02)
[FAILED] for 'openshift-remote-cluster' test_latest_imagestreams (00:00:00)
Reproducer
No response