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

zengine tests failing the build in local (Scala 2.11)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.7.0
    • None
    • None
      • JDK7, 8 (javac 1.7.0_80 # JDK 8 also)
      • Scala 2.11.8
      • commit: a459c02494305e3cce4d151a1035c6529359ec2f
      • git version 2.10.2, hub version 2.2.9

    Description

      command

      $ ./dev/change_scala_version.sh 2.11
      $ mvn clean package -Pspark-2.0 -Phadoop-2.3 -Ppyspark -Psparkr -Pscalding -Pexamples -Pscala-2.11 -pl \!zeppelin-web,\!zeppelin-distribution
      

      After test finished, we got 1 RemoteInterpreterServer which doens't be killed

      $  zeppelin-test git:(master) ✗ jps
      50650
      27538 Jps
      23668 RemoteInterpreterServer
      
      00:44:38,939  INFO org.apache.zeppelin.search.LuceneSearch:305 - Indexing 2 notebooks took 3ms
      00:44:38,942 ERROR org.apache.zeppelin.search.LuceneSearch:120 - Failed to open index dir RAMDirectory@30575b9e lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@373ffadd, make sure indexing finished OK
      org.apache.lucene.index.IndexNotFoundException: no segments* file found in RAMDirectory@30575b9e lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@373ffadd: files: []
              at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:726)
              at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:50)
              at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)
              at org.apache.zeppelin.search.LuceneSearch.query(LuceneSearch.java:104)
              at org.apache.zeppelin.search.LuceneSearchTest.canNotSearchBeforeIndexing(LuceneSearchTest.java:147)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
              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.runners.ParentRunner.runLeaf(ParentRunner.java:271)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
              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)
      00:44:38,949  INFO org.apache.zeppelin.search.LuceneSearch:305 - Indexing 2 notebooks took 3ms
      00:44:38,979  INFO org.apache.zeppelin.search.LuceneSearch:305 - Indexing 2 notebooks took 3ms
      00:44:39,016  INFO org.apache.zeppelin.search.LuceneSearch:305 - Indexing 2 notebooks took 3ms
      Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.936 sec - in org.apache.zeppelin.search.LuceneSearchTest
      
      Results :
      Failed tests:
        GitNotebookRepoTest.showNotebookHistoryMultipleNotesTest:138 Not true that <0> is equal to <1>
        GitNotebookRepoTest.getRevisionFailTest:273 Not true that <0> is equal to <1>
        GitNotebookRepoTest.addCheckpointTest:179 Not true that <[]> is not empty
        GitNotebookRepoTest.getRevisionTest:218 Not true that <0> is equal to <1>
        GitNotebookRepoTest.initNonemptyNotebookDir:109 Not true that <[]> is not empty
        NotebookRepoSyncTest.testCheckpointOneStorage:304 Not true that <0> is equal to <1>
      Tests run: 122, Failures: 6, Errors: 0, Skipped: 0
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Zeppelin ........................................... SUCCESS [  2.391 s]
      [INFO] Zeppelin: Interpreter .............................. SUCCESS [02:38 min]
      [INFO] Zeppelin: Zengine .................................. FAILURE [ 49.672 s]
      

      Attachments

        1. GitNotebookRepoTest.png
          210 kB
          Hoon Park

        Issue Links

          Activity

            People

              Unassigned Unassigned
              1ambda Hoon Park
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: