Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1826

Flaky Test: ZeppelinSparkClusterTest.zRunTest

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:

      Description

      I saw this error twice

      15:39:01,432  INFO org.apache.zeppelin.rest.AbstractTestRestApi:298 - Terminating test Zeppelin...
      15:39:01,439  INFO org.eclipse.jetty.server.ServerConnector:306 - Stopped ServerConnector@1a87f610{HTTP/1.1}{0.0.0.0:8080}
      15:39:01,441  INFO org.eclipse.jetty.server.handler.ContextHandler:865 - Stopped o.e.j.w.WebAppContext@200bda43{/,file:/home/travis/build/apache/zeppelin/zeppelin-web/dist/,UNAVAILABLE}
      15:39:03,443  INFO org.apache.zeppelin.rest.AbstractTestRestApi:348 - Connecting to http://localhost:8080/api/
      15:39:03,444  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      15:39:03,444  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - Retrying request
      15:39:03,444  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      15:39:03,444  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - Retrying request
      15:39:03,445  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      15:39:03,445  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - Retrying request
      15:39:03,445 ERROR org.apache.zeppelin.rest.AbstractTestRestApi:333 - AbstractTestRestApi.checkIfServerIsRunning() fails .. ZeppelinServer is not running
      15:39:03,445  INFO org.apache.zeppelin.rest.AbstractTestRestApi:315 - Test Zeppelin terminated.
      Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.22 sec <<< FAILURE! - in org.apache.zeppelin.rest.ZeppelinSparkClusterTest
      zRunTest(org.apache.zeppelin.rest.ZeppelinSparkClusterTest)  Time elapsed: 1.681 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<FINISHED> but was:<ERROR>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.zeppelin.rest.ZeppelinSparkClusterTest.zRunTest(ZeppelinSparkClusterTest.java:347)
      
      ...
      ...
      
      Failed tests: 
        ZeppelinSparkClusterTest.zRunTest:347 expected:<FINISHED> but was:<ERROR>
      
      Tests run: 57, Failures: 1, Errors: 0, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Zeppelin: Interpreter .............................. SUCCESS [ 11.359 s]
      [INFO] Zeppelin: Zengine .................................. SUCCESS [  3.724 s]
      [INFO] Zeppelin: Display system apis ...................... SUCCESS [  2.840 s]
      [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 38.327 s]
      [INFO] Zeppelin: Spark .................................... SUCCESS [02:21 min]
      [INFO] Zeppelin: Server ................................... FAILURE [02:37 min]
      [INFO] Zeppelin: R Interpreter ............................ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 05:55 min
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zjffdu Jeff Zhang
                Reporter:
                1ambda Hoon Park
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: