Project

General

Profile

Actions

Bug #49331

closed

mgr/dashboard: E2E Failure: Pools page Create, update and destroy should edit a pools placement group: "Timed out retrying: Expected to find content: '32 active+clean'"

Added by Ernesto Puerta about 3 years ago. Updated almost 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Category:
Testing & QA
Target version:
% Done:

0%

Source:
Q/A
Tags:
e2e
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Link to the Jenkins run/Cypress run

Jenkins
Cypress

Error output

1) Pools page Create, update and destroy should edit a pools placement group:
     AssertionError: Timed out retrying: Expected to find content: '32 active+clean' within the element: <datatable-body-row.datatable-body-row.datatable-row-even.clickable> but never did.
  AssertionError: Expected to find element: `:not(script,style):cy-contains('32 active+clean'), [type='submit'][value~='32 active+clean']`, but never found it.
      at ensureExistence (https://braggi16:41909/__cypress/runner/cypress_runner.js:137311:32)
      at Object.ensureElExistence (https://braggi16:41909/__cypress/runner/cypress_runner.js:137329:12)
      at ensureExistence (https://braggi16:41909/__cypress/runner/cypress_runner.js:127867:23)
      at onFailFn (https://braggi16:41909/__cypress/runner/cypress_runner.js:127905:9)
      at tryCatcher (https://braggi16:41909/__cypress/runner/cypress_runner.js:9059:23)
      at Promise._settlePromiseFromHandler (https://braggi16:41909/__cypress/runner/cypress_runner.js:6994:31)
      at Promise._settlePromise (https://braggi16:41909/__cypress/runner/cypress_runner.js:7051:18)
      at Promise._settlePromise0 (https://braggi16:41909/__cypress/runner/cypress_runner.js:7096:10)
      at Promise._settlePromises (https://braggi16:41909/__cypress/runner/cypress_runner.js:7172:18)
      at _drainQueueStep (https://braggi16:41909/__cypress/runner/cypress_runner.js:3766:12)
      at _drainQueue (https://braggi16:41909/__cypress/runner/cypress_runner.js:3759:9)
      at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://braggi16:41909/__cypress/runner/cypress_runner.js:3775:5)
      at Async.drainQueues (https://braggi16:41909/__cypress/runner/cypress_runner.js:3645:14)

Screenshot

Preliminary Analysis

That test is waiting for the created pool to become stable ("32 active+clean PGs"), while 1 of them is under scrubbing, causing the text not to match ("32 active+clean" != "32 active+clean, 1 active+clean+scrubbing"). The matching should be relaxed.

Actions #1

Updated by Alfonso Martínez about 3 years ago

  • Assignee set to Avan Thakkar
Actions #2

Updated by Kefu Chai about 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 40150
Actions #3

Updated by Ernesto Puerta about 3 years ago

  • Translation missing: en.field_tag_list set to e2e
Actions #4

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 151 to Testing & QA
Actions #5

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from Fix Under Review to Can't reproduce
Actions

Also available in: Atom PDF