Bug 2039534

Summary: Diagnose and fix Project Dashboard Resource Quotas Card test that was previously disabled
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, xiyuzhao, yapei
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2039529 Environment:
Version: 4.10.0-0.nightly-2022-01-11-065245 Cluster ID: 59f08b6b-0558-4bbc-9e83-6e27bf7c6a14 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Last Closed: 2022-03-12 04:40:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Robb Hamilton 2022-01-11 21:33:55 UTC
+++ This bug was initially created as a clone of Bug #2039529 +++

Prow is showing a high failure rate of the Project Dashboard Resource Quotas Card empty state test (see below, but note the line number below does not correlate to suspected problematic test).

# Project Dashboard.Resource Quotas Card.shows Resource Quotas
Error: Failed expectation
    at /go/src/github.com/openshift/console/frontend/integration-tests/tests/dashboards/project-dashboard.scenario.ts:183:93

The protractor-report shows "Expected 'ResourceQuota RQ example CPU request 0%used CPU limit 0%used Memory request 0%used Memory limit 0%used No AppliedClusterResourceQuotas' to equal 'No ResourceQuotas No AppliedClusterResourceQuotas'." and the associated screenshot shows the ResourceQuotas card populated with graphs and not the empty state text (e.g., https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_console/10814/pull-ci-openshift-console-master-e2e-gcp-console/1480923663854211072/artifacts/e2e-gcp-console/test/artifacts/gui_test_screenshots/protractor-report.html).

Comment 5 Xiyun Zhao 2022-02-09 09:43:54 UTC
This bug has been tested and verified on the latest console project

Verification Step:
1. Execute 'test-protractor.sh' file under console project, verified the test "Resource Quotas Card" is not run in the project-dashboard.scenario.ts 

1. the test is disabled, and it will not impact other scenario

Comment 7 errata-xmlrpc 2022-03-12 04:40:54 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 (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

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