[ 
https://issues.apache.org/jira/browse/TINKERPOP-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251223#comment-16251223
 ] 

ASF GitHub Bot commented on TINKERPOP-1784:
-------------------------------------------

Github user jorgebay commented on the issue:

    https://github.com/apache/tinkerpop/pull/747
  
    hm... with the new server start scripts, when running from within a 
directory like:
    
    ```
    cd gremlin-dotnet
    mvn clean install -P gremlin-dotnet
    ```
    
    I get the following issues:
    ```
    [INFO] Using Groovy 2.4.11 to perform execute.
    [INFO] Starting Gremlin Server instances for native testing of Apache 
TinkerPop :: Gremlin.Net - Tests
    [INFO] Configured Metrics Slf4jReporter configured with interval=180000ms 
and loggerName=org.apache.tinkerpop.gremlin.server.Settings$Slf4jReporterMetrics
    [INFO] Graph [graph] was successfully configured via 
[/Users/jorge/workspace/tinkerpop/gremlin-server/src/test/scripts/tinkergraph-empty.properties].
    [INFO] Graph [classic] was successfully configured via 
[/Users/jorge/workspace/tinkerpop/gremlin-server/src/test/scripts/tinkergraph-empty.properties].
    [INFO] Graph [modern] was successfully configured via 
[/Users/jorge/workspace/tinkerpop/gremlin-server/src/test/scripts/tinkergraph-empty.properties].
    [INFO] Graph [crew] was successfully configured via 
[/Users/jorge/workspace/tinkerpop/gremlin-server/src/test/scripts/tinkergraph-empty.properties].
    [INFO] Graph [grateful] was successfully configured via 
[/Users/jorge/workspace/tinkerpop/gremlin-server/src/test/scripts/tinkergraph-empty.properties].
    [INFO] Initialized Gremlin thread pool.  Threads in pool named with pattern 
gremlin-*
    [INFO] Loaded gremlin-groovy ScriptEngine
    [INFO] Initialized gremlin-groovy ScriptEngine with 
/Users/jorge/workspace/tinkerpop/gremlin-server/src/test/scripts/generate-all.groovy
    [INFO] Initialized GremlinExecutor and preparing GremlinScriptEngines 
instances.
    [INFO] Initialized gremlin-groovy GremlinScriptEngine and registered metrics
    [INFO] A GraphTraversalSource is now bound to [gclassic] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
    [INFO] A GraphTraversalSource is now bound to [gcrew] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
    [INFO] A GraphTraversalSource is now bound to [ggraph] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
    [INFO] A GraphTraversalSource is now bound to [g] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
    [INFO] A GraphTraversalSource is now bound to [gmodern] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
    [INFO] Adding the standard OpProcessor.
    [INFO] Adding the control OpProcessor.
    [INFO] Adding the session OpProcessor.
    [INFO] Adding the traversal OpProcessor.
    [INFO] Initialized cache for TraversalOpProcessor with size 1000 and 
expiration time of 600000 ms
    [INFO] Executing start up LifeCycleHook
    [INFO] Configured application/vnd.gremlin-v1.0+gryo with 
org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0
    [WARNING] The 
org.apache.tinkerpop.gremlin.driver.ser.GryoLiteMessageSerializerV1d0 
serialization class is deprecated.
    [INFO] Configured application/vnd.gremlin-v1.0+gryo-lite with 
org.apache.tinkerpop.gremlin.driver.ser.GryoLiteMessageSerializerV1d0
    [INFO] Configured application/vnd.gremlin-v1.0+gryo-stringd with 
org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0
    [INFO] Configured application/vnd.gremlin-v1.0+json with 
org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0
    [INFO] Configured application/vnd.gremlin-v2.0+json with 
org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV2d0
    [INFO] Configured application/json with 
org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0
    [INFO] Gremlin Server configured with worker thread pool of 1, gremlin pool 
of 8 and boss thread pool of 1.
    [INFO] Channel started at port 45940.
    [INFO] Gremlin Server with no authentication started on port 45940
    [WARNING] Graph [graph] configured at [conf/tinkergraph-empty.properties] 
could not be instantiated and will not be available in Gremlin Server.  
GraphFactory message: The location configuration must resolve to a file and 
[conf/tinkergraph-empty.properties] does not
    java.lang.IllegalArgumentException: The location configuration must resolve 
to a file and [conf/tinkergraph-empty.properties] does not
        at 
org.apache.tinkerpop.gremlin.structure.util.GraphFactory.getConfiguration(GraphFactory.java:121)
        at 
org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104)
        at  ...
    [WARNING] Graph [classic] configured at [conf/tinkergraph-empty.properties] 
could not be instantiated and will not be available in Gremlin Server.  
GraphFactory message: The location configuration must resolve to a file and 
[conf/tinkergraph-empty.properties] does not
    java.lang.IllegalArgumentException: The location configuration must resolve 
to a file and [conf/tinkergraph-empty.properties] does not
        at 
org.apache.tinkerpop.gremlin.structure.util.GraphFactory.getConfiguration(GraphFactory.java:121)
        at 
org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104)
        at ...
    ``` 
    
    Also, a different failure for 
`grateful.io(gryo()).readGraph('data/grateful-dead.kryo')`:
    
    ```
    ...
    [INFO] A GraphTraversalSource is now bound to [gmodern] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
    [INFO] Adding the standard OpProcessor.
    [INFO] Adding the control OpProcessor.
    [INFO] Adding the session OpProcessor.
    [INFO] Adding the traversal OpProcessor.
    [INFO] Initialized cache for TraversalOpProcessor with size 1000 and 
expiration time of 600000 ms
    [INFO] Executing start up LifeCycleHook
    [ERROR] Gremlin Server Error
    java.lang.reflect.UndeclaredThrowableException
        at com.sun.proxy.$Proxy32.onStartUp(Unknown Source)
        at 
org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$start$52(GremlinServer.java:172)
        at java.util.ArrayList.forEach(ArrayList.java:1249)
        at 
org.apache.tinkerpop.gremlin.server.GremlinServer.start(GremlinServer.java:169)
        at org.apache.tinkerpop.gremlin.server.GremlinServer$start.call(Unknown 
Source)
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
        at test-server-start.run(test-server-start.groovy:41)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:632)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.codehaus.gmavenplus.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:275)
        at 
org.codehaus.gmavenplus.mojo.ExecuteMojo.executeScripts(ExecuteMojo.java:213)
        at 
org.codehaus.gmavenplus.mojo.ExecuteMojo.doExecute(ExecuteMojo.java:126)
        at org.codehaus.gmavenplus.mojo.ExecuteMojo.execute(ExecuteMojo.java:86)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    Caused by: java.io.FileNotFoundException: data/grateful-dead.kryo (No such 
file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
    
    ```
    
    Running integration tests within a directory used to work and allowed fast 
builds... can we look into making it work?


> Gremlin Language Test Suite
> ---------------------------
>
>                 Key: TINKERPOP-1784
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1784
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: test-suite
>    Affects Versions: 3.2.6
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>
> Provide for a more language agnostic test framework for the Gremlin Language 
> so that we can properly test GLVs. The current test suite is completely tied 
> to the JVM.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to