Stephen Mallette created TINKERPOP-2930:
-------------------------------------------

             Summary: shouldContinueToEvalScriptsEvenWithTimedInterrupt is 
failing intermittently
                 Key: TINKERPOP-2930
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2930
             Project: TinkerPop
          Issue Type: Bug
          Components: groovy
    Affects Versions: 3.7.0
            Reporter: Stephen Mallette


This failure seems to only be happening on 3.7.x. Perhaps related to the groovy 
upgrade? 

{code}
javax.script.ScriptException: javax.script.ScriptException: 
org.apache.tinkerpop.gremlin.groovy.jsr223.TimedInterruptTimeoutException: 
Execution timed out after 1000 milliseconds. Start time: Fri Apr 21 09:32:39 
EDT 2023

        at 
org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:383)
        at 
java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
        at 
org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineTimedInterruptTest.shouldContinueToEvalScriptsEvenWithTimedInterrupt(GremlinGroovyScriptEngineTimedInterruptTest.java:74)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at 
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
        at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
        at 
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
        at 
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
        at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: javax.script.ScriptException: 
org.apache.tinkerpop.gremlin.groovy.jsr223.TimedInterruptTimeoutException: 
Execution timed out after 1000 milliseconds. Start time: Fri Apr 21 09:32:39 
EDT 2023
        at 
org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:702)
        at 
org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:381)
        ... 27 more
Caused by: 
org.apache.tinkerpop.gremlin.groovy.jsr223.TimedInterruptTimeoutException: 
Execution timed out after 1000 milliseconds. Start time: Fri Apr 21 09:32:39 
EDT 2023
        at 
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
        at Script7.run(Script7.groovy:2)
        at 
org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:679)
        ... 28 more
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to