Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1981 [Umbrella] Fix all flaky tests
  3. ZEPPELIN-1836

Flaky Test: ZeppelinIT. testAngularRunParagraph ()

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I saw this error several times.

      Running org.apache.zeppelin.integration.ZeppelinIT
      14:46:28,712  INFO org.apache.zeppelin.CommandExecutor:46 - Sending command "bash -c firefox -v" to localhost
      14:46:28,914  INFO org.apache.zeppelin.WebDriverManager:59 - Firefox version 31 detected
      14:46:28,915  INFO org.apache.zeppelin.WebDriverManager:159 - firebug version: 31, will be downloaded to /tmp/firebug/
      14:46:28,915  INFO org.apache.zeppelin.WebDriverManager:177 - Download of firebug version: 31, successful
      14:46:32,005  INFO org.apache.zeppelin.ZeppelinITUtils:32 - Starting sleeping for 1 seconds...
      14:46:32,005  INFO org.apache.zeppelin.ZeppelinITUtils:33 - Caller: org.apache.zeppelin.AbstractZeppelinIT.clickAndWait(AbstractZeppelinIT.java:132)
      14:46:33,005  INFO org.apache.zeppelin.ZeppelinITUtils:41 - Finished.
      14:46:33,155  INFO org.apache.zeppelin.ZeppelinITUtils:32 - Starting sleeping for 1 seconds...
      14:46:33,155  INFO org.apache.zeppelin.ZeppelinITUtils:33 - Caller: org.apache.zeppelin.AbstractZeppelinIT.clickAndWait(AbstractZeppelinIT.java:132)
      14:46:34,155  INFO org.apache.zeppelin.ZeppelinITUtils:41 - Finished.
      14:47:08,392 ERROR org.apache.zeppelin.AbstractZeppelinIT:136 - Exception in ZeppelinIT while testAngularRunParagraph
      org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up
      Command duration or timeout: 30.07 seconds
      
      ...
      ...
      ...
      
      Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 209.531 sec <<< FAILURE! - in org.apache.zeppelin.integration.ZeppelinIT
      testAngularRunParagraph(org.apache.zeppelin.integration.ZeppelinIT)  Time elapsed: 39.986 sec  <<< ERROR!
      org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up
      Command duration or timeout: 30.07 seconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06'
      System info: host: 'testing-docker-195d0a92-0cbd-4dfb-b2ed-df0a2db571f7', ip: '172.17.0.14', os.name: 'Linux', os.arch: 'amd64', os.version: '4.8.12-040812-generic', java.version: '1.7.0_76'
      Session ID: c079938b-68e6-4869-895e-bdd263f92155
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=31.0}]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:326)
      	at org.openqa.selenium.remote.RemoteWebElement.getText(RemoteWebElement.java:178)
      	at org.apache.zeppelin.AbstractZeppelinIT.waitForText(AbstractZeppelinIT.java:84)
      	at org.apache.zeppelin.integration.ZeppelinIT.testAngularRunParagraph(ZeppelinIT.java:315)
      Caused by: org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06'
      System info: host: 'testing-docker-195d0a92-0cbd-4dfb-b2ed-df0a2db571f7', ip: '172.17.0.14', os.name: 'Linux', os.arch: 'amd64', os.version: '4.8.12-040812-generic', java.version: '1.7.0_76'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.fxdriver.cache.getElementAt(resource://fxdriver/modules/web-element-cache.js:9351)
      	at <anonymous class&gt;.Utils.getElementAt(file:///tmp/anonymous7086617116936293686webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:8978)
      	at <anonymous class&gt;.WebElement.getElementText(file:///tmp/anonymous7086617116936293686webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:11965)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous7086617116936293686webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:12534)
      	at <anonymous class&gt;.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous7086617116936293686webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:621)
      
      
      Results :
      
      Tests in error: 
        ZeppelinIT.testAngularRunParagraph:315->AbstractZeppelinIT.waitForText:84 » StaleElementReference
      
      Tests run: 18, Failures: 0, Errors: 1, Skipped: 0
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              1ambda Hoon Park
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: