Lee moon soo created ZEPPELIN-4339:
--------------------------------------

             Summary: Flaky tests 
org.apache.zeppelin.AbstractZeppelinIT#testAngularDisplay
                 Key: ZEPPELIN-4339
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4339
             Project: Zeppelin
          Issue Type: Task
            Reporter: Lee moon soo
         Attachments: image-2019-09-19-15-15-38-804.png

Flaky test 

 

19:41:34,777 ERROR org.apache.zeppelin.AbstractZeppelinIT:142 - Exception in 
ZeppelinIT while testAngularDisplay org.openqa.selenium.TimeoutException: 
Expected condition failed: waiting for 
org.apache.zeppelin.AbstractZeppelinIT$1@5c530d1e (tried for 120 second(s) with 
1 SECONDS interval) at 
org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:263) 
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231) at 
org.apache.zeppelin.AbstractZeppelinIT.pollingWait(AbstractZeppelinIT.java:99) 
at 
org.apache.zeppelin.AbstractZeppelinIT.waitForParagraph(AbstractZeppelinIT.java:73)
 at 
org.apache.zeppelin.integration.ZeppelinIT.testAngularDisplay(ZeppelinIT.java:108)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498) at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
 at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
 at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
 at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
 at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) 
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 
at org.junit.rules.Verifier$1.evaluate(Verifier.java:35) at 
org.junit.rules.RunRules.evaluate(RunRules.java:20) at 
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
 at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363) at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
 at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
 at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) 
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
 at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) 
Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate 
element: 
\{"method":"xpath","selector":"(//div[@ng-controller=\"ParagraphCtrl\"])[3]//div[contains(@class,
 'control')]//span[2][contains(.,'FINISHED')]"} Command duration or timeout: 0 
milliseconds at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at 
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214) 
at 
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
 at 
org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
 at 
org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
 at 
org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
 at 
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
 at 
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
 at 
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601) at 
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:371)
 at 
org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:473)
 at org.openqa.selenium.By$ByXPath.findElement(By.java:361) at 
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
 at org.apache.zeppelin.AbstractZeppelinIT$1.apply(AbstractZeppelinIT.java:101) 
at org.apache.zeppelin.AbstractZeppelinIT$1.apply(AbstractZeppelinIT.java:99) 
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208) ... 30 
more Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate 
element: 
\{"method":"xpath","selector":"(//div[@ng-controller=\"ParagraphCtrl\"])[3]//div[contains(@class,
 'control')]//span[2][contains(.,'FINISHED')]"} For documentation on this 
error, please visit: http://seleniumhq.org/exceptions/no_such_element.html 
Build info: version: '3.8.1', revision: '6e95a6684b', time: 
'2017-12-01T18:33:54.468Z' System info: host: 'localhost', ip: '127.0.0.1', 
os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-1037-gcp', 
java.version: '1.8.0_222' Driver info: driver.version: unknown at <anonymous 
class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous1159910277663190379webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:11870)
 at <anonymous 
class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous1159910277663190379webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:918)

 

Screenshot

 

!image-2019-09-19-15-15-38-804.png!

 

Based on screenshot on the moment, looks like test code waits to paragraph 3 be 
FINISHED status, but didn't even run. Maybe run command somehow now delivered.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to