Bug 1833426

Summary: Flaky webhook e2e test in CI : Fetching CSV with Webhook timed out
Product: OpenShift Container Platform Reporter: Harish Govindarajulu <hgovinda>
Component: OLMAssignee: Alexander Greene <agreene>
OLM sub component: OLM QA Contact: kuiwang
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: agreene, bluddy, jiazha
Version: 4.5   
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:36:23 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:

Description Harish Govindarajulu 2020-05-08 16:25:43 UTC
Description of problem:
Flaky "CSV with a webhook" test found as part of OLM's ci/prow/e2e-aws-olm check. The test creates a webhook for a CSV in an operator group that defines a label selector. After the creation, fetching the CSV times out

Test location: test/e2e/webhook_e2e_test.go.  `It` spec with description: "the webhook is scoped to the selector"

How reproducible:
Sporadic 

Steps to Reproduce:
From OLM repo, 
1. $ make run-local

2. Run the test using the following command: 

$ GO111MODULE=on GOFLAGS="-mod=vendor" go run github.com/onsi/ginkgo/ginkgo -v -timeout 70m ./test/e2e -focus "the webhook is scoped to the selector" -- -namespace=operators -olmNamespace=olm -dummyImage=bitnami/nginx:latest -kubeconfig=$KUBECONFIG 

Actual results:
https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/operator-framework_operator-lifecycle-manager/1424/pull-ci-operator-framework-operator-lifecycle-manager-master-e2e-aws-olm/5289


Expected results:
The test should have passed

Additional info:

Comment 4 kuiwang 2020-05-20 01:15:27 UTC
After checking each build on https://deck-ci.apps.ci.l2s4.p1.openshiftapps.com/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-operator-framework-operator-lifecycle-manager-master-e2e-aws-olm?buildId= after the PR is merged, there is no failing for this case.

LGTM

by the way, maybe the reason the case is flaky related to https://bugzilla.redhat.com/show_bug.cgi?id=1822040

Comment 5 errata-xmlrpc 2020-07-13 17:36:23 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:2409