Bug 1998963 - test: openshift-tests.[sig-arch] Only known images used by tests
Summary: test: openshift-tests.[sig-arch] Only known images used by tests
Keywords:
Status: CLOSED DUPLICATE of bug 2039275
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Test Framework
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: ---
Assignee: Steven Hardy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-30 06:09 UTC by Martin André
Modified: 2022-02-11 12:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
[sig-arch] Only known images used by tests job=periodic-ci-openshift-release-master-nightly-4.9-e2e-openstack-az=all
Last Closed: 2022-02-11 12:07:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 26738 0 None open [release-4.9] Bug 2039275: e2e/cli: Move annotations.sh and basicresources.sh to proper e2e 2022-01-14 11:00:06 UTC

Description Martin André 2021-08-30 06:09:36 UTC
test: openshift-tests.[sig-arch] Only known images used by tests failed, see job: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.9-e2e-openstack-az/1432122323510497280

Outputs with error:

Cluster accessed images that were not mirrored to the testing repository or already part of the cluster, see test/extended/util/image/README.md in the openshift/origin repo:

busybox from pods:
  ns/e2e-test-oc-request-timeout-jbp6t pod/testdc-1-kpwjs node/stg5q00i-a6e58-f56nr-worker-0-522fd

Seems to affect both openstack and libvirt jobs: https://search.ci.openshift.org/?search=Cluster+accessed+images+that+were+not+mirrored+to+the+testing+repository+or+already+part+of+the+cluster&maxAge=48h&context=1&type=bug%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job

Comment 1 Petr Muller 2021-10-19 09:51:48 UTC
Moving to Test Framework (component for OCP tests/ CI jobs) as discussed via Slack

Comment 2 Devan Goodwin 2021-11-17 14:27:43 UTC
Need to investigate what is required and see if there's a team we can assign to.

Comment 3 Riccardo Pittau 2022-01-03 11:05:12 UTC
We're also seeing this happening consistently in the E2E baremetal IPI tests, but with reference to a different image, for example:

rhel8/mysql-80:latest from pods:
  ns/e2e-test-oc-adm-ns-6cvzp pod/database-1-hook-pre node/worker-0

this is taken from a recent OCP 4.9 job https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.9-e2e-metal-ipi/1476089195364618240

Comment 5 Steven Hardy 2022-01-11 11:22:07 UTC
The problem appears to be here:

https://github.com/openshift/origin/blob/release-4.9/test/extended/cli/timeout.go#L16

where we see the following:

  err := oc.Run("create").Args("deploymentconfig", "testdc", "--image=busybox").Execute()

This appears to have been fixed via https://github.com/openshift/origin/pull/25638 on master:

https://github.com/openshift/origin/blob/master/test/extended/cli/timeout.go#L18

Where we see:

  busyBoxImage := k8simage.GetE2EImage(k8simage.BusyBox)
  err := oc.Run("create").Args("deploymentconfig", "testdc", "--image="+busyBoxImage).Execute()

Comment 6 Steven Hardy 2022-01-11 11:29:08 UTC
Correction https://bugzilla.redhat.com/show_bug.cgi?id=1998963 is actually the PR which fixed the image reference on master

Comment 9 Steven Hardy 2022-01-11 12:11:08 UTC
I pushed https://github.com/openshift/origin/pull/26738 which backports the master PR that removed the hard-coded busybox reference

Comment 10 Steven Hardy 2022-01-11 12:29:26 UTC
(In reply to Riccardo Pittau from comment #3)
> We're also seeing this happening consistently in the E2E baremetal IPI
> tests, but with reference to a different image, for example:
> 
> rhel8/mysql-80:latest from pods:
>   ns/e2e-test-oc-adm-ns-6cvzp pod/database-1-hook-pre node/worker-0
> 
> this is taken from a recent OCP 4.9 job
> https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-
> openshift-release-master-nightly-4.9-e2e-metal-ipi/1476089195364618240

This appears to be a different problem, and perhaps one that's not yet been resolved since this image mentioned is used by the sample app?

https://github.com/openshift/origin/blob/master/examples/sample-app/application-template-stibuild.json#L402


Note You need to log in before you can comment on or make changes to this bug.