Project

General

Profile

Bug #42745

mgr/dashboard: nautilus backports: NFS breadcrumb test failures in dashboard e2e tests

Added by Laura Paduano 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/qa
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

This happened on different dashboard backport PRs, but not all the time:


[HPM] GET /api/nfs-ganesha/status -> https://ceph-builders:41052/
  Nfs page

    breadcrumb test
       [31m✗ should open and show breadcrumb [39m
         [31m-  [39m [31mFailed: stale element reference: element is not attached to the page document
          (Session info: headless chrome=78.0.3904.97)
          (Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 3.10.0-693.el7.x86_64 x86_64) [39m
          (Session info: headless chrome=78.0.3904.97)
          (Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 3.10.0-693.el7.x86_64 x86_64)
            at Object.checkLegacyResponse (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/error.js:546:15)
            at parseHttpResponse (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/http.js:509:13)
            at doSend.then.response (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/http.js:441:30)
            at process._tickCallback (internal/process/next_tick.js:68:7)
        From: Task: WebElement.getText()
            at Driver.schedule (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/webdriver.js:807:17)
            at WebElement.schedule_ (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/webdriver.js:2010:25)
            at WebElement.getText (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/webdriver.js:2277:17)
            at actionFn (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:89:44)
            at Array.map (<anonymous>)
            at actionResults.getWebElements.then (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:461:65)
            at ManagedPromise.invokeCallback_ (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/promise.js:1376:14)
            at TaskQueue.execute_ (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/promise.js:3084:14)
            at TaskQueue.executeNext_ (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/promise.js:3067:27)
            at asyncRun (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/promise.js:2927:27)Error
            at ElementArrayFinder.applyAction_ (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:459:27)
            at ElementArrayFinder.(anonymous function).args [as getText] (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:91:29)
            at ElementFinder.(anonymous function).args [as getText] (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:831:22)
            at Function.Helper.getBreadcrumbText (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/e2e/helper.po.ts:32:41)
            at UserContext.<anonymous> (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/e2e/nfs/nfs.e2e-spec.ts:21:21)
            at /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/jasminewd2/index.js:112:25
            at new ManagedPromise (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/promise.js:1077:7)
            at ControlFlow.promise (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/promise.js:2505:12)
            at schedulerExecute (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/jasminewd2/index.js:95:18)
            at TaskQueue.execute_ (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/selenium-webdriver/lib/promise.js:3084:14)
        From: Task: Run it("should open and show breadcrumb") in control flow
            at UserContext.<anonymous> (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules/jasminewd2/index.js:94:19)
        From asynchronous test: 
        Error
            at Suite.<anonymous> (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/e2e/nfs/nfs.e2e-spec.ts:20:5)
            at Suite.<anonymous> (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/e2e/nfs/nfs.e2e-spec.ts:15:3)
            at Object.<anonymous> (/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend/e2e/nfs/nfs.e2e-spec.ts:4:1)

[HPM] GET /api/cluster_conf/mon_allow_pool_delete -> https://ceph-builders:41052/
[HPM] GET /api/pool?stats=true -> https://ceph-builders:41052/
[HPM] GET /api/grafana/url -> https://ceph-builders:41052/
  Pools page
     [32m✓ should open and show breadcrumb [39m
     [32m✓ should show two tabs [39m
     [32m✓ should show pools list tab at first [39m
     [32m✓ should show overall performance as a second tab [39m

**************************************************
*                    Failures                    *
**************************************************

1) Nfs page breadcrumb test should open and show breadcrumb
   [31m-  [39m [31mFailed: stale element reference: element is not attached to the page document
    (Session info: headless chrome=78.0.3904.97)
    (Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 3.10.0-693.el7.x86_64 x86_64) [39m

See:
https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/2403
https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/2414

History

#1 Updated by Laura Paduano 9 months ago

  • Description updated (diff)

#2 Updated by Ricardo Marques 9 months ago

  • Status changed from New to In Progress
  • Assignee set to Ricardo Marques

#3 Updated by Laura Paduano 9 months ago

I started the tests a few times locally, after four successful test runs I got the NFS breadcrumb error. Not sure if this is just a timing issue.

#4 Updated by Ricardo Marques 9 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 31576

#5 Updated by Ricardo Marques 9 months ago

  • Target version set to v14.2.5

#6 Updated by Ricardo Marques 9 months ago

To fix this we should backport https://github.com/ceph/ceph/pull/30267

#7 Updated by Ricardo Marques 9 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF