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

TreeTest Is not being ignored via ComputerVerificationStrategy

    XMLWordPrintableJSON

Details

    Description

      Temporarily had to "ignore" this test as the GremlinProcessRunner does not properly ignore it. This is the stacktrace it tosses on failure:

      -------------------------------------------------------------------------------
      Test set: org.apache.tinkerpop.gremlin.tinkergraph.process.groovy.TinkerGraphGroovyProcessComputerTest
      -------------------------------------------------------------------------------
      Tests run: 393, Failures: 0, Errors: 1, Skipped: 116, Time elapsed: 11.161 sec <<< FAILURE! - in org.apache.tinkerpop.gremlin.tinkergraph.process.groovy.TinkerGraphGroovyProcessComputerTest
      g_VX1X_out_out_treeXaX_byXnameX_both_both_capXaX(org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.GroovyTreeTest$Traversals)  Time elapsed: 0.01 sec  <<< ERROR!
      java.lang.IllegalStateException: java.lang.RuntimeException: java.lang.IllegalStateException: java.lang.IllegalStateException: The property does not exist as the key has no associated value for the provided element: v[1]:name
        at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
        at org.apache.tinkerpop.gremlin.process.traversal.util.TraversalScriptHelper.compute(TraversalScriptHelper.java:46)
        at org.apache.tinkerpop.gremlin.process.traversal.util.TraversalScriptHelper.compute(TraversalScriptHelper.java:57)
        at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215)
        at org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.GroovyTreeTest$Traversals.get_g_VX1X_out_out_treeXaX_byXnameX_both_both_capXaX(GroovyTreeTest.groovy:55)
      Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: java.lang.IllegalStateException: The property does not exist as the key has no associated value for the provided element: v[1]:name
        at org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerGraphComputer.lambda$submit$44(TinkerGraphComputer.java:196)
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: The property does not exist as the key has no associated value for the provided element: v[1]:name
        at org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerWorkerPool.executeVertexProgram(TinkerWorkerPool.java:77)
        at org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerGraphComputer.lambda$submit$44(TinkerGraphComputer.java:122)
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: The property does not exist as the key has no associated value for the provided element: v[1]:name
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:192)
        at org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerWorkerPool.executeVertexProgram(TinkerWorkerPool.java:75)
        at org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerGraphComputer.lambda$submit$44(TinkerGraphComputer.java:122)
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Caused by: java.lang.IllegalStateException: The property does not exist as the key has no associated value for the provided element: v[1]:name
        at org.apache.tinkerpop.gremlin.structure.Property$Exceptions.propertyDoesNotExist(Property.java:155)
        at org.apache.tinkerpop.gremlin.structure.Element.lambda$value$10(Element.java:94)
        at org.apache.tinkerpop.gremlin.structure.Property.orElseThrow(Property.java:101)
        at org.apache.tinkerpop.gremlin.structure.Element.value(Element.java:94)
        at org.apache.tinkerpop.gremlin.process.traversal.lambda.ElementValueTraversal.addStart(ElementValueTraversal.java:43)
        at org.apache.tinkerpop.gremlin.process.traversal.util.TraversalUtil.apply(TraversalUtil.java:91)
        at org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.TreeSideEffectStep.sideEffect(TreeSideEffectStep.java:65)
        at org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.SideEffectStep.processNextStart(SideEffectStep.java:39)
        at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:140)
        at java.util.Iterator.forEachRemaining(Iterator.java:115)
        at org.apache.tinkerpop.gremlin.process.computer.traversal.TraverserExecutor.lambda$execute$271(TraverserExecutor.java:83)
        at java.lang.Iterable.forEach(Iterable.java:75)
        at org.apache.tinkerpop.gremlin.process.computer.traversal.TraverserExecutor.execute(TraverserExecutor.java:80)
        at org.apache.tinkerpop.gremlin.process.computer.traversal.TraversalVertexProgram.execute(TraversalVertexProgram.java:188)
        at org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerGraphComputer.lambda$null$41(TinkerGraphComputer.java:126)
        at org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerWorkerPool.lambda$executeVertexProgram$0(TinkerWorkerPool.java:73)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            okram Marko A. Rodriguez
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: