Bug 1784848

Summary: [e2e-cmd] oc get is ruby-25-centos7 time out
Product: OpenShift Container Platform Reporter: Michal Fojtik <mfojtik>
Component: BuildAssignee: Ben Parees <bparees>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.4CC: aos-bugs, bparees, scuppett, wking, wzheng
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1784880 (view as bug list) Environment:
Last Closed: 2020-05-04 11:20:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1784880, 1784881, 1784882, 1784883    

Description Michal Fojtik 2019-12-18 13:06:42 UTC
Description of problem:

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/24305/pull-ci-openshift-origin-master-e2e-cmd/2764

FAILURE after 60.000s: test/cmd/builds.sh:80: executing 'oc get is ruby-25-centos7' expecting any result and text 'latest'; re-trying every 0.2s until completion or 60.000s: the command timed out

88% of all cmd jobs failing with this:

https://search.svc.ci.openshift.org/chart?name=cmd&search=FAILURE.*executing.*ruby-25-centos7.*timed%20out


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 W. Trevor King 2019-12-18 14:41:59 UTC
Disable in flight with [1].  This bug should track restoring the test and fixing whatever broke.

[1]: https://github.com/openshift/origin/pull/24319

Comment 2 Adam Kaplan 2019-12-18 14:47:12 UTC
Root cause is that Software Collections is pushing a bunch of extra tags to Docker Hub, and the test implicitly assumed that only 2 (short) tags existed for that repo:

```
$ curl 'https://registry.hub.docker.com/v2/repositories/centos/ruby-25-centos7/tags/'|jq '."results"[]["name"]'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1816  100  1816    0     0   7403      0 --:--:-- --:--:-- --:--:--  7412
"latest"
"20191217-a24b52d"
"2.5"
"20191128-7af5347"
```

Comment 6 errata-xmlrpc 2020-05-04 11:20:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0581