-
Bug
-
Resolution: Done
-
Major
-
4.20
Description of problem:
After this change on openshift-apiserver https://github.com/openshift/openshift-apiserver/pull/528 the job e2e-agnostic-ovn-cmd started failing because of this with the error
s: "error waiting for the pod 'test-cmd' to complete: images.sh:33: executing 'oc delete images test --context='cmd-images/api-ci-op-j7sbqksh-c6e4e-ci-azure-devcluster-openshift-com:6443/system:admin'' expecting success...\nSUCCESS after 1.000s: test/cmd/images.sh:33: executing 'oc delete images test --context='cmd-images/api-ci-op-j7sbqksh-c6e4e-ci-azure-devcluster-openshift-com:6443/system:admin'' expecting success\nimages: ok\nRunning test/cmd/images.sh:38: executing 'oc get imageStreams' expecting success...\nSUCCESS after 0.000s: test/cmd/images.sh:38: executing 'oc get imageStreams' expecting success\nRunning test/cmd/images.sh:39: executing 'oc create -f ${TEST_DATA}/test-image-stream.json' expecting success...\nSUCCESS after 0.000s: test/cmd/images.sh:39: executing 'oc create -f ${TEST_DATA}/test-image-stream.json' expecting success\nRunning test/cmd/images.sh:42: executing 'oc delete imageStreams test' expecting success...\nSUCCESS after 0.000s: test/cmd/images.sh:42: executing 'oc delete imageStreams test' expecting success\nRunning test/cmd/images.sh:43: executing 'oc get imageStreams test' expecting failure...\nSUCCESS after 0.000s: test/cmd/images.sh:43: executing 'oc get imageStreams test' expecting failure\nRunning test/cmd/images.sh:45: executing 'oc create -f ${TEST_DATA}/image-streams/image-streams-centos7.json' expecting success...\nSUCCESS after 1.000s: test/cmd/images.sh:45: executing 'oc create -f ${TEST_DATA}/image-streams/image-streams-centos7.json' expecting success\nRunning test/cmd/images.sh:56: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s...\nFAILURE after 60.000s: test/cmd/images.sh:56: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s: the command timed out\nStandard output from the command:\nStandard error from the command:\nError from server (NotFound): imagestreamtags.image.openshift.io \"wildfly:latest\" not found\n... repeated 178 times\n[ERROR] hack/lib/cmd.sh:114: `return \"${return_code}\"` exited with status 1.\n",
Seems this is happening due of the use of old images on origin that trigger this error when an imagestream gets created
$ oc get is wildfly -oyaml . . . - conditions: - generation: 2 lastTransitionTime: "2025-07-11T15:42:38Z" message: 'Internal error occurred: unsupported image manifest type: *schema1.SignedManifest' reason: InternalError status: "False" type: ImportSuccess items: null tag: "21.0"
This causes the imagestream to not be created and for the test to fail on any scenario-
We need to decide either we need to start moving away from old images on origin or reverting https://github.com/openshift/openshift-apiserver/pull/528.
Code where the test is running: https://github.com/openshift/origin/blame/e9b1fca65d56d6a5b616419c0ada00ee13575b70/test/extended/testdata/cmd/test/cmd/images.sh#L45-L56
Imagestream being tested:https://github.com/openshift/origin/blob/e9b1fca65d56d6a5b616419c0ada00ee13575b70/test/extended/testdata/cmd/test/cmd/testdata/image-streams/image-streams-centos7.json#L933-L962
Version-Release number of selected component (if applicable):
4.20
How reproducible:
On a PR on origin run the job ci/prow/e2e-agnostic-ovn-cmd
- is related to
-
WRKLDS-1599 Update distribution/v3 package to v3.0.0 in openshift-apiserver
-
- In Progress
-
- links to