Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1006

Random error during builds: shouldReloadClassLoaderWhileDoingEvalInSeparateThread()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.0-incubating
    • 3.1.1-incubating
    • groovy
    • None

    Description

      The following error creeps in randomly during the travis builds. Note that I've had this issue on macOsX as well. Looks like it could potentially be an issue with an assert running before a thread finishes (or something along those lines).

      shouldReloadClassLoaderWhileDoingEvalInSeparateThread(org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineTest)  Time elapsed: 1.046 sec  <<< FAILURE!
      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.junit.Assert.assertFalse(Assert.java:74)
      	at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineTest.shouldReloadClassLoaderWhileDoingEvalInSeparateThread(GremlinGroovyScriptEngineTest.java:251)
      Running org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineCompileStaticTest
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec - in org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineCompileStaticTest
      Running org.apache.tinkerpop.gremlin.util.function.ScriptEngineLambdaTest
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec - in org.apache.tinkerpop.gremlin.util.function.ScriptEngineLambdaTest
      Results :
      Failed tests: 
        GremlinGroovyScriptEngineTest.shouldReloadClassLoaderWhileDoingEvalInSeparateThread:251 null
      Tests in error: 
        GremlinExecutorTest.shouldContinueToEvalScriptsEvenWithTimedInterrupt:505 ยป Execution
      Tests run: 81, Failures: 1, Errors: 1, Skipped: 3
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Apache TinkerPop ................................... SUCCESS [ 10.622 s]
      [INFO] Apache TinkerPop :: Gremlin Shaded ................. SUCCESS [  6.860 s]
      [INFO] Apache TinkerPop :: Gremlin Core ................... SUCCESS [01:07 min]
      [INFO] Apache TinkerPop :: Gremlin Test ................... SUCCESS [ 19.785 s]
      [INFO] Apache TinkerPop :: Gremlin Groovy ................. FAILURE [01:01 min]
      [INFO] Apache TinkerPop :: Gremlin Groovy Test ............ SKIPPED
      [INFO] Apache TinkerPop :: TinkerGraph Gremlin ............ SKIPPED
      [INFO] Apache TinkerPop :: Hadoop Gremlin ................. SKIPPED
      [INFO] Apache TinkerPop :: Spark Gremlin .................. SKIPPED
      [INFO] Apache TinkerPop :: Giraph Gremlin ................. SKIPPED
      [INFO] Apache TinkerPop :: Neo4j Gremlin .................. SKIPPED
      [INFO] Apache TinkerPop :: Gremlin Driver ................. SKIPPED
      [INFO] Apache TinkerPop :: Gremlin Server ................. SKIPPED
      [INFO] Apache TinkerPop :: Gremlin Console ................ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 02:46 min
      [INFO] Finished at: 2015-11-25T21:18:34+00:00
      [INFO] Final Memory: 46M/415M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project gremlin-groovy: There are test failures.
      [ERROR] 
      [ERROR] Please refer to /home/travis/build/apache/incubator-tinkerpop/gremlin-groovy/target/surefire-reports for the individual test results.
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :gremlin-groovy
      

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            dmill Dylan Millikin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: