Project

General

Profile

Bug #42745

Updated by Laura Paduano over 4 years ago

This happened on different dashboard backport PRs, but not all the time: 
 <pre><code class="text"> 

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

     breadcrumb test 
       ✗ should open and show breadcrumb 
         - Failed: 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) 
           (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 
     ✓ should open and show breadcrumb 
     ✓ should show two tabs 
     ✓ should show pools list tab at first 
     ✓ should show overall performance as a second tab 

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

 1) Nfs page breadcrumb test should open and show breadcrumb 
   - Failed: 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) 
 </code></pre> 


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

Back