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

Flaky test - ZeppelinSparkClusterTest.zRunTest

    XMLWordPrintableJSON

    Details

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

      Description

      https://api.travis-ci.org/v3/job/589061184/log.txt

      20:33:30,993 ERROR org.apache.thrift.server.TThreadPoolServer:315 - Thrift error occurred during processing of message.
      org.apache.thrift.transport.TTransportException
      	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
      	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
      	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:425)
      	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:321)
      	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:225)
      	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
      	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:310)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      20:33:30,993  WARN org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess:141 - ignore the exception when shutting down
      java.lang.RuntimeException: org.apache.thrift.transport.TTransportException
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:122)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess.stop(RemoteInterpreterManagedProcess.java:133)
      	at org.apache.zeppelin.interpreter.ManagedInterpreterGroup.close(ManagedInterpreterGroup.java:106)
      	at org.apache.zeppelin.interpreter.ManagedInterpreterGroup.close(ManagedInterpreterGroup.java:88)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.thrift.transport.TTransportException
      	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
      	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
      	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:425)
      	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:321)
      	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:225)
      	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77)
      	at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.recv_shutdown(RemoteInterpreterService.java:347)
      	at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.shutdown(RemoteInterpreterService.java:335)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess$1.call(RemoteInterpreterManagedProcess.java:136)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess$1.call(RemoteInterpreterManagedProcess.java:133)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:118)
      	... 4 more
      20:33:30,996  INFO org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess:147 - Remote process terminated
      20:33:30,997  INFO org.apache.zeppelin.rest.AbstractTestRestApi:303 - Terminating test Zeppelin...
      20:33:31,004  INFO org.eclipse.jetty.server.AbstractConnector:341 - Stopped ServerConnector@49d8e094{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
      20:33:31,004  WARN org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess:233 - Process is exited with exit value 0
      20:33:31,005  INFO org.apache.zeppelin.interpreter.util.ProcessLauncher:86 - Process state is transitioned to COMPLETED
      20:33:31,005  INFO org.eclipse.jetty.server.session:167 - node0 Stopped scavenging
      20:33:31,032  INFO org.eclipse.jetty.server.handler.ContextHandler:1045 - Stopped o.e.j.w.WebAppContext@6a7e1738{zeppelin-web,/,file:///home/travis/build/Leemoonsoo/zeppelin/zeppelin-web/dist/,UNAVAILABLE}
      20:33:33,036  INFO org.apache.zeppelin.rest.AbstractTestRestApi:367 - Connecting to http://localhost:8080/api/version
      20:33:33,037  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
      20:33:33,038  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - Retrying request
      20:33:33,038  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
      20:33:33,038  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - Retrying request
      20:33:33,039  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
      20:33:33,039  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - Retrying request
      20:33:33,039 ERROR org.apache.zeppelin.rest.AbstractTestRestApi:346 - AbstractTestRestApi.checkIfServerIsRunning() fails .. ZeppelinServer is not running
      20:33:33,039  INFO org.apache.zeppelin.rest.AbstractTestRestApi:321 - Test Zeppelin terminated.
      Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 148.043 sec <<< FAILURE! - in org.apache.zeppelin.integration.ZeppelinSparkClusterTest23
      zRunTest[0](org.apache.zeppelin.integration.ZeppelinSparkClusterTest23)  Time elapsed: 3.995 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[END]
      > but was:<[Tue Sep 24 20:33:09 UTC 2019]
      >
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.zeppelin.integration.ZeppelinSparkClusterTest.zRunTest(ZeppelinSparkClusterTest.java:473)
      	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.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.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	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)
      
      20:33:33,056  INFO org.apache.zeppelin.server.ZeppelinServer:260 - Shutting down Zeppelin Server ... 
      20:33:33,058  INFO org.apache.zeppelin.interpreter.InterpreterSetting:511 - Close InterpreterSetting: python
      20:33:33,063  INFO org.apache.zeppelin.interpreter.InterpreterSetting:511 - Close InterpreterSetting: spark
      20:33:33,064  INFO org.apache.zeppelin.notebook.repo.NotebookRepoSync:474 - Closing all notebook storages
      20:33:36,066  INFO org.apache.zeppelin.server.ZeppelinServer:271 - Bye
      
      Results :
      
      Failed tests: 
        ZeppelinSparkClusterTest23>ZeppelinSparkClusterTest.zRunTest:473 expected:<[END]
      > but was:<[Tue Sep 24 20:33:09 UTC 2019]
      >
      
      Tests run: 17, Failures: 1, Errors: 0, Skipped: 0 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              moon Lee Moon Soo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: