Bug 2039534 - Diagnose and fix Project Dashboard Resource Quotas Card test that was previously disabled
Summary: Diagnose and fix Project Dashboard Resource Quotas Card test that was previou...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Samuel Padgett
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-11 21:33 UTC by Robb Hamilton
Modified: 2022-03-12 04:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
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
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10834 0 None open Bug 2039534: Migrate project dashboard tests to Cypress 2022-01-12 21:22:19 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-12 04:41:06 UTC

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 

Result:
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.

https://access.redhat.com/errata/RHSA-2022:0056


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