zaizi / apache-stanbol-client

Apache Stanbol Java REST Client
https://stanbol.apache.org/
Apache License 2.0
18 stars 12 forks source link

JUnit fails on ContentHub #3

Closed tldr4 closed 10 years ago

tldr4 commented 10 years ago

Having looked into the code I still cannot find what I could have overseen. So I report this as an issue, hoping to get some help :)

Run from console: mvn clean install

I ran the debugger from Eclipse and found a hint that might be helpful:

At the given line 445 (StanbolClientTest.testSparql() ) the request seems to have a null value because of a 404 from a local installation of Stanbol.

This seems strange to me because from my point of view Stanbol seems to work fine. The only thing that could be problematic is that Stanbol has a problem starting the bundle "org.apache.stanbol.enhancer.engine.topic.web" because of an unresolvable package.

So, I don't know where to start and I am very hopeful that I will get some help here. Any hint would be appreciated!

Here is the Stacktrace from the maven build process of the stanbolclient.

Kind regards, Martin


Test set: org.apache.stanbol.client.test.StanbolClientTest

Tests run: 7, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 2.103 sec <<< FAILURE! testClient(org.apache.stanbol.client.test.StanbolClientTest) Time elapsed: 1.144 sec <<< FAILURE! java.lang.AssertionError: at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertTrue(Assert.java:54) at org.apache.stanbol.client.test.StanbolClientTest.testClient(StanbolClientTest.java:77) 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:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) 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:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) testContentHub(org.apache.stanbol.client.test.StanbolClientTest) Time elapsed: 0.123 sec <<< ERROR! org.apache.stanbol.client.services.exception.StanbolServiceException: [HTTP 404] Error while posting content into stanbol server at org.apache.stanbol.client.contenthub.store.services.impl.StanbolContenthubStoreServiceImpl.add(StanbolContenthubStoreServiceImpl.java:171) at org.apache.stanbol.client.test.StanbolClientTest.testContentHub(StanbolClientTest.java:133) 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:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) 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:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) testContentHubFeaturedSearch(org.apache.stanbol.client.test.StanbolClientTest) Time elapsed: 0.111 sec <<< ERROR! org.apache.stanbol.client.services.exception.StanbolServiceException: [HTTP 404] Error while posting content into stanbol server at org.apache.stanbol.client.contenthub.store.services.impl.StanbolContenthubStoreServiceImpl.add(StanbolContenthubStoreServiceImpl.java:171) at org.apache.stanbol.client.test.StanbolClientTest.testContentHubFeaturedSearch(StanbolClientTest.java:223) 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:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) 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:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) testContentHubSolrSearch(org.apache.stanbol.client.test.StanbolClientTest) Time elapsed: 0.079 sec <<< ERROR! org.apache.stanbol.client.services.exception.StanbolServiceException: [HTTP 404] Error while posting content into stanbol server at org.apache.stanbol.client.contenthub.store.services.impl.StanbolContenthubStoreServiceImpl.add(StanbolContenthubStoreServiceImpl.java:171) at org.apache.stanbol.client.test.StanbolClientTest.testContentHubSolrSearch(StanbolClientTest.java:318) 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:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) 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:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) testEntityHub(org.apache.stanbol.client.test.StanbolClientTest) Time elapsed: 0.429 sec <<< FAILURE! java.lang.AssertionError: at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertTrue(Assert.java:54) at org.apache.stanbol.client.test.StanbolClientTest.testEntityHub(StanbolClientTest.java:405) 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:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) 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:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) testSparql(org.apache.stanbol.client.test.StanbolClientTest) Time elapsed: 0.077 sec <<< ERROR! org.apache.stanbol.client.services.exception.StanbolServiceException: [HTTP 404] Error while posting content into stanbol server at org.apache.stanbol.client.contenthub.store.services.impl.StanbolContenthubStoreServiceImpl.add(StanbolContenthubStoreServiceImpl.java:171) at org.apache.stanbol.client.test.StanbolClientTest.testSparql(StanbolClientTest.java:445) 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:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) 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:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

rafaharo commented 10 years ago

Hi,

Which version of Stanbol are you using? Probably, current version of the client should be working with 0.12 branch of Stanbol

tldr4 commented 10 years ago

Hi Rafa Haro,

thank you very much for your answer!

I've tried to run the client with the following versions of Stanbol:

All of them ended in failed builds of the client. Following your advice I build Stanbol v0.12 which now has an entry /contenthub on the startpage. That quite a good message so far!

Now the compilation process for the client runs into another error. So we have at least a bit of movement :)

The error is now is the following (Server Error 401, so at least there is "something" responding):


Forking command line: /bin/sh -c cd $HOME/downloads/apache-stanbol-client && /opt/jdk1.7.0_51/jre/bin/java -jar $HOME/downloads/apache-stanbol-client/target/surefire/surefirebooter3042454952951669612.jar $HOME/downloads/apache-stanbol-client/target/surefire/surefire1838628468224216385tmp $HOME/downloads/apache-stanbol-client/target/surefire/surefire8710424306879855443tmp Running org.apache.stanbol.client.test.StanbolClientTest log4j:WARN No appenders could be found for logger (org.apache.stanbol.client.enhancer.services.impl.StanbolEnhancerServiceImpl). log4j:WARN Please initialize the log4j system properly. Tests run: 6, Failures: 1, Errors: 4, Skipped: 0, Time elapsed: 2.298 sec <<< FAILURE!

Results :

Failed tests: testEntityHub(org.apache.stanbol.client.test.StanbolClientTest)

Tests in error: testContentHub(org.apache.stanbol.client.test.StanbolClientTest): [HTTP 401] Error while posting content into stanbol server testContentHubFeaturedSearch(org.apache.stanbol.client.test.StanbolClientTest): [HTTP 401] Error while posting content into stanbol server testContentHubSolrSearch(org.apache.stanbol.client.test.StanbolClientTest): [HTTP 401] Error while posting content into stanbol server testClient(org.apache.stanbol.client.test.StanbolClientTest): [HTTP 401] Error while enhancing content into stanbol server

Tests run: 6, Failures: 1, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.762s [INFO] Finished at: Tue Feb 11 15:48:28 CET 2014 [INFO] Final Memory: 16M/496M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project org.apache.stanbol.client: There are test failures. [ERROR] [ERROR] Please refer to $HOME/downloads/apache-stanbol-client/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project org.apache.stanbol.client: There are test failures.

Please refer to $HOME/downloads/apache-stanbol-client/target/surefire-reports for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to $HOME/downloads/apache-stanbol-client/target/surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87) at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:641) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:615) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [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

rafaharo commented 10 years ago

Hi,

Those errors sound as changes in the way that Stanbol currently manages the HTTP REST requests. That could be perfectly possible because AFAIK there have been a lot of changes in the project precisely around REST interfaces and I haven't upgraded the client since some months ago (probably almost a year).

So, apart from the fact that this client needs a severe refactoring, I would like to provide you a quick fix for this. For now, you should use in my opinion Stanbol 0.12, specially if you are planning to work with the ContentHub. Are you directly working against last version of 0.12 branch? In that case, I will try to find sometime tomorrow to see where the problem is

tldr4 commented 10 years ago

Hi,

again thank you very much for your help. Currently I don't know yet which parts of Stanbol I will be using. I'm writing my master thesis and so far Stanbol and this client seem to be perfect for my work.

Yes, following your advice I've got v0.12 of Stanbol running. The webinterface does not give this HTML-error so indeed it seems as if there is a problem in the client itself. Please write back in case you need additional information!

Kind regards, Martin

rafaharo commented 10 years ago

Hi,

I have updated my local Stanbol 0.12 to the last version and have tested the client with it. I have fixed a couple of errors in the Enhancer and EntityHub's tests. These errors occurred because I have made assumptions about the number of extracted enhancements and also about the data associated with the entities in the DBpedia site. This data can of course change so I might need to get rid out of this kind of tests.

Anyway, ContentHub (store and search) tests are working for me. Code directly get from here: https://svn.apache.org/repos/asf/stanbol/branches/release-0.12

I'm going to start a refactoring of the code but I would like to help you fixing this. We can continue the discussion in the Stanbol IRC channel but of course don't hesitate to reply me here.

tldr4 commented 10 years ago

Hi Rafa,

yesterday was quite a busy day so I could not make it to the IRC channel. Sorry for that! I still appreciate your help, thank you very much for that.

I pulled the latest changes of your client. It seems to run farther at least but unfortunately still fails to build.

Maybe the stacktrace helps:


[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Stanbol Releasing Source Assembly Descriptor SUCCESS [4.502s] [INFO] Apache Stanbol Parent ............................. SUCCESS [1.885s] [INFO] Apache Stanbol Data Parent ........................ SUCCESS [1.252s] [INFO] Apache Stanbol Data Default Configuration ......... SUCCESS [22.712s] [INFO] Apache Stanbol Data: DBpedia.org .................. SUCCESS [17.931s] [INFO] Apache Stanbol Data: Remote DBpedia.org with local cache SUCCESS [1.446s] [INFO] Apache Stanbol Data: Default ontology registries .. SUCCESS [1.311s] [INFO] Apache Stanbol Data: OpenNLP Models for Danish .... SUCCESS [1.849s] [INFO] Apache Stanbol Data: OpenNLP Models for German .... SUCCESS [4.009s] [INFO] Apache Stanbol Data: OpenNLP Models for English ... SUCCESS [6.764s] [INFO] Apache Stanbol Data: OpenNLP Models for Spanish ... SUCCESS [12.004s] [INFO] Apache Stanbol Data: OpenNLP Models for Dutch ..... SUCCESS [4.134s] [INFO] Apache Stanbol Data: OpenNLP Models for Portuguese SUCCESS [2.391s] [INFO] Apache Stanbol Data: OpenNLP Models for Swedish ... SUCCESS [2.201s] [INFO] Apache Stanbol Data: OpenNLP NER Models for English SUCCESS [4.268s] [INFO] Apache Stanbol Data: OpenNLP NER Models for Spanish SUCCESS [1.795s] [INFO] Apache Stanbol Data: OpenNLP NER Models for Dutch . SUCCESS [2.128s] [INFO] Apache Stanbol Data: SentimentWortschatz Models for German SUCCESS [1.712s] [INFO] Apache Stanbol Data: SentiWordNet Models for English SUCCESS [4.141s] [INFO] Apache Stanbol Data ............................... SUCCESS [0.036s] [INFO] Apache Stanbol Commons Framework Fragment ......... SUCCESS [2.715s] [INFO] Apache Stanbol Commons Web Base ................... SUCCESS [6.053s] [INFO] Apache Stanbol Commons Web Base Jersey ............ SUCCESS [1.973s] [INFO] Apache Stanbol Commons Web Home Page .............. SUCCESS [2.194s] [INFO] Apache Stanbol Commons Web Viewable ............... SUCCESS [1.327s] [INFO] Apache Stanbol Commons LDPath Template Rendering .. SUCCESS [1.609s] [INFO] Apache Stanbol Commons Indexed Clerezza inMemory graph implementation SUCCESS [16.871s] [INFO] Apache Stanbol Commons Web Message Body Writers for RDFViewable SUCCESS [2.830s] [INFO] Apache Stanbol Commons Web Template Viewable Writer SUCCESS [1.342s] [INFO] Apache Stanbol Commons Web Resources .............. SUCCESS [1.049s] [INFO] Apache Stanbol Commons Web SPARQL ................. SUCCESS [2.285s] [INFO] Apache Stanbol Commons Freemarker Utilities ....... SUCCESS [3.382s] [INFO] Apache Stanbol Commons HTTP Query Headers ......... SUCCESS [0.868s] [INFO] Apache Stanbol Commons Data File Provider ......... SUCCESS [1.267s] [INFO] Apache Stanbol Commons Data File Provider for Bundles SUCCESS [0.801s] [INFO] Apache Stanbol Commons Offline Utilities .......... SUCCESS [0.638s] [INFO] Apache Stanbol Commons Installer Bundle Provider .. SUCCESS [0.726s] [INFO] Apache Stanbol Commons Namespace Prefix Service ... SUCCESS [1.207s] [INFO] Apache Stanbol Commons Namespace Prefix Provider for Stanbol Default Mappings SUCCESS [1.081s] [INFO] Apache Stanbol Commons prefix.cc based Namespace Prefix Provider SUCCESS [4.311s] [INFO] Apache Stanbol Commons Solr Core .................. SUCCESS [13.825s] [INFO] Apache Stanbol Commons Solr Managed ............... SUCCESS [7.031s] [INFO] Apache Stanbol Commons Solr Web ................... SUCCESS [6.288s] [INFO] Apache Stanbol Commons Solr Installer ............. SUCCESS [4.220s] [INFO] Apache Stanbol Commons Solr Defauts ............... SUCCESS [0.875s] [INFO] Apache Stanbol Commons Solr Extras: Lucene Smartcn Bundle SUCCESS [4.541s] [INFO] Apache Stanbol Commons Solr Extension for Paoding Analysis SUCCESS [2.464s] [INFO] Apache Stanbol Commons Solr Extras: Lucene Kuromoji Bundle SUCCESS [4.525s] [INFO] Apache Stanbol Commons Solr Extras: Lucene ICU Bundle SUCCESS [7.043s] [INFO] Apache Stanbol Commons Solr Extras: Lucene Stempel Bundle SUCCESS [3.330s] [INFO] Apache Stanbol Commons Jobs API ................... SUCCESS [2.727s] [INFO] Apache Stanbol Commons Jobs Web ................... SUCCESS [3.037s] [INFO] Apache Stanbol Commons Jobs Reactor ............... SUCCESS [0.039s] [INFO] Apache Stanbol Commons OpenNLP Utilities and Models SUCCESS [13.682s] [INFO] Apache Stanbol Commons OWL Bundle ................. SUCCESS [8.823s] [INFO] Apache Stanbol Commons JSON-LD API ................ SUCCESS [4.170s] [INFO] Apache Stanbol Commons Clerezza LDPath Repository . SUCCESS [5.911s] [INFO] Apache Stanbol Commons Launchpad .................. SUCCESS [1.269s] [INFO] Apache Stanbol Commons Security Core .............. SUCCESS [3.418s] [INFO] Apache Stanbol Commons Basic Authenticator ........ SUCCESS [1.693s] [INFO] Apache Stanbol Commons Felix Webconsole Security Provider SUCCESS [1.495s] [INFO] Apache Stanbol Commons User Management ............ SUCCESS [2.216s] [INFO] Apache Stanbol Commons CAS Light .................. SUCCESS [3.003s] [INFO] Apache Stanbol Commons Testing Jar Executor ....... SUCCESS [0.601s] [INFO] Apache Stanbol Commons Testing HTTP Testing Library SUCCESS [0.687s] [INFO] Apache Stanbol Commons Testing Stanbol Utilities .. SUCCESS [0.686s] [INFO] Apache Stanbol Commons ............................ SUCCESS [0.049s] [INFO] Apache Stanbol Entityhub .......................... SUCCESS [0.115s] [INFO] Apache Stanbol Entityhub Generic Service API ...... SUCCESS [1.668s] [INFO] Apache Stanbol Entityhub Generic Test Framework ... SUCCESS [1.445s] [INFO] Apache Stanbol Entityhub Generic Core ............. SUCCESS [3.359s] [INFO] Apache Stanbol Entityhub Model Clerezza ........... SUCCESS [2.277s] [INFO] Apache Stanbol Entityhub Model Sesame ............. SUCCESS [2.364s] [INFO] Apache Stanbol Entityhub Query SPARQL ............. SUCCESS [1.361s] [INFO] Apache Stanbol Entityhub Query SPARQL ............. SUCCESS [2.185s] [INFO] Apache Stanbol Entityhub Site Linked Data Protocol SUCCESS [2.081s] [INFO] Apache Stanbol Entityhub Managed Site ............. SUCCESS [1.981s] [INFO] Apache Stanbol Entityhub Yard based on Clerezza ... SUCCESS [2.900s] [INFO] Apache Stanbol Entityhub Yard based on Solr ....... SUCCESS [19.875s] [INFO] Apache Stanbol Entityhub Yard based on Sesame Sail SUCCESS [2.321s] [INFO] Apache Stanbol Entityhub Web Jersey HTTP Endpoint . SUCCESS [2.878s] [INFO] Apache Stanbol Entityhub LDPath Support ........... SUCCESS [11.299s] [INFO] Apache Stanbol Entityhub Indexing ................. SUCCESS [0.092s] [INFO] Apache Stanbol Entityhub Indexing Core ............ SUCCESS [21.024s] [INFO] Apache Stanbol Entityhub Indexing Source for Jena TDB FAILURE [11.063s] [INFO] Apache Stanbol Entityhub Indexing Source for vCard SKIPPED [INFO] Apache Stanbol Entityhub Indexing Destination SolrYard SKIPPED [INFO] Apache Stanbol Entityhub Indexing Generic RDF ..... SKIPPED [INFO] Apache Stanbol Entityhub Indexing for geonames.org SKIPPED [INFO] Apache Stanbol Entityhub Indexing for DBpedia.org . SKIPPED [INFO] Apache Stanbol Entityhub Indexing for dblp ........ SKIPPED [INFO] Apache Stanbol Entityhub Indexing for freebase.com SKIPPED [INFO] Apache Stanbol Entityhub Default Configuration .... SKIPPED [INFO] Apache Stanbol Ontology Manager : Services API .... SKIPPED [INFO] Apache Stanbol Ontology Manager : Input Sources (Clerezza-based) SKIPPED [INFO] Apache Stanbol Ontology Manager : Input Sources (OWL API-based) SKIPPED [INFO] Apache Stanbol Ontology Manager : Core ............ SKIPPED [INFO] Apache Stanbol Ontology Manager : Network Multiplexer (Clerezza implementation) SKIPPED [INFO] Apache Stanbol Ontology Manager : Registry Manager SKIPPED [INFO] Apache Stanbol Ontology Manager : Web ............. SKIPPED [INFO] Apache Stanbol Ontology Manager Reactor ........... SKIPPED [INFO] Apache Stanbol Rules Services API ................. SKIPPED [INFO] Apache Stanbol Rules Manager ...................... SKIPPED [INFO] Apache Stanbol Rules Abstract Adapter ............. SKIPPED [INFO] Apache Stanbol Rules Jena Adapter ................. SKIPPED [INFO] Apache Stanbol Rules SPARQL Adapter ............... SKIPPED [INFO] Apache Stanbol Rules Clerezza Adapter ............. SKIPPED [INFO] Apache Stanbol Rules SWRL Adapter ................. SKIPPED [INFO] Apache Stanbol Rules Adapter Reactor .............. SKIPPED [INFO] Apache Stanbol Rules Refactorer ................... SKIPPED [INFO] Apache Stanbol Rules Web .......................... SKIPPED [INFO] Apache Stanbol Rules Reactor ...................... SKIPPED [INFO] Apache Stanbol Enhancer ........................... SKIPPED [INFO] Apache Stanbol Enhancer Services API .............. SKIPPED [INFO] Apache Stanbol Enhancer Core ...................... SKIPPED [INFO] Apache Stanbol Enhancer Test framework ............ SKIPPED [INFO] Apache Stanbol Enhancer RDF entities .............. SKIPPED [INFO] Apache Stanbol Enhancer NLP ....................... SKIPPED [INFO] Apache Stanbol Enhancer NLP JSON serialization support SKIPPED [INFO] Apache Stanbol Enhancer Weighted Job Manager ...... SKIPPED [INFO] Apache Stanbol Enhancer Event Jobmanager .......... SKIPPED [INFO] Apache Stanbol Enhancer JobManager Reactor ........ SKIPPED [INFO] Apache Stanbol Enhancer Chain: DefaultChain ....... SKIPPED [INFO] Apache Stanbol Enhancer Chain: GraphChain ......... SKIPPED [INFO] Apache Stanbol Enhancer Chain: Weighted ........... SKIPPED [INFO] Apache Stanbol Enhancer Chain: List ............... SKIPPED [INFO] Apache Stanbol Enhancer Web (Jersey) .............. SKIPPED [INFO] Apache Stanbol Enhancer LDPath .................... SKIPPED [INFO] Apache Stanbol Enhancer Benchmark ................. SKIPPED [INFO] Apache Stanbol Enhancer Defaults Configuration .... SKIPPED [INFO] Apache Stanbol Contenthub ......................... SKIPPED [INFO] Apache Stanbol Contenthub Service API ............. SKIPPED [INFO] Apache Stanbol Contenthub Solr Store .............. SKIPPED [INFO] Apache Stanbol Contenthub Clerezza Store .......... SKIPPED [INFO] Apache Stanbol Contenthub InMemory Store .......... SKIPPED [INFO] Apache Stanbol Contenthub Store Reactor ........... SKIPPED [INFO] Apache Stanbol Contenthub Search Solr Searcher .... SKIPPED [INFO] Apache Stanbol Contenthub Search Related Keyword Searcher SKIPPED [INFO] Apache Stanbol Contenthub Featured Search ......... SKIPPED [INFO] Apache Stanbol Contenthub Search Reactor .......... SKIPPED [INFO] Apache Stanbol Contenthub Web ..................... SKIPPED [INFO] Apache Stanbol Contenthub Clerezza LDPath Backend . SKIPPED [INFO] Apache Stanbol Enhancement Engines ................ SKIPPED [INFO] Apache Stanbol Enhancement Engine : Tika .......... SKIPPED [INFO] Apache Stanbol Enhancement Engine : HTML Extractor SKIPPED [INFO] Apache Stanbol Enhancement Engine : XMP Extractor . SKIPPED [INFO] Apache Stanbol Enhancement Engine : Refactor Engine SKIPPED [INFO] Apache Stanbol Enhancement Engine : Language Detection SKIPPED [INFO] Apache Stanbol Enhancement Engine : Language Identifier SKIPPED [INFO] Apache Stanbol Enhancement Engine : OpenNLP ....... SKIPPED [INFO] Apache Stanbol Enhancement Engine : OpenNLP Sentence Detection SKIPPED [INFO] Apache Stanbol Enhancement Engine : OpenNLP Tokenizer SKIPPED [INFO] Apache Stanbol Enhancement Engine : OpenNLP POS Tagging SKIPPED [INFO] Apache Stanbol Enhancement Engine : OpenNLP NER ... SKIPPED [INFO] Apache Stanbol Enhancement Engine : OpenNLP Chunker SKIPPED [INFO] Apache Stanbol Enhancement Engine : POS tag based Chunker SKIPPED [INFO] Apache Stanbol Enhancement Engine : Smart Chinese Tokenizer SKIPPED [INFO] Apache Stanbol Enhancement Engine : Paoding Chinese Tokenizer SKIPPED [INFO] Apache Stanbol Enhancement Engine : NLP to RDF converter SKIPPED [INFO] Apache Stanbol Enhancement Engine : Kuromoji NLP .. SKIPPED [INFO] Apache Stanbol Enhancement Engine : RESTful NLP processing SKIPPED [INFO] Apache Stanbol Enhancement Engine : RESTful Language Identification SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Linking SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Linking Engine SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : Lucene SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : OpenNLP SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : Smart Chinese SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : Paoding SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : Kuromoji Japanese SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entityhub Linking SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Tagging SKIPPED [INFO] Apache Stanbol Enhancement Engine : Lucene FST Entity Linking SKIPPED [INFO] Apache Stanbol Enhancement Engine : Keyword Extraction SKIPPED [INFO] Apache Stanbol Enhancement Engine : Topic Classification (API) SKIPPED [INFO] Apache Stanbol Enhancement Engine : Topic Classification SKIPPED [INFO] Apache Stanbol Enhancement Engine : Topic Classification : Web API SKIPPED [INFO] Apache Stanbol Enhancement Engine : Sentiment Word Classifier SKIPPED [INFO] Apache Stanbol Enhancement Engine : Sentiment Summarization SKIPPED [INFO] Apache Stanbol Enhancer Enhancement Engine : Disambiguation using Solr MLT SKIPPED [INFO] Apache Stanbol Enhancement Engine : UIMA .......... SKIPPED [INFO] Apache Stanbol Enhancement Engine : UIMA Remote Client SKIPPED [INFO] Apache Stanbol Enhancement Engine : UIMA To Triples SKIPPED [INFO] Apache Stanbol Enhancement Engine : UIMA Local Client SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Dereference Core SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entityhub Dereference SKIPPED [INFO] Apache Stanbol Enhancement Engine : TextAnnotation new Model Conterter SKIPPED [INFO] Apache Stanbol Enhancement Engine : Entity Co-Mention SKIPPED [INFO] Apache Stanbol Enhancement Engine : CELI Engine ... SKIPPED [INFO] Apache Stanbol Enhancement Engine : DBPedia Spotlight SKIPPED [INFO] Apache Stanbol Enhancement Engine : Geonames Linking SKIPPED [INFO] Apache Stanbol Enhancement Engine : OpenCalais .... SKIPPED [INFO] Apache Stanbol Enhancement Engine : Zemanta ....... SKIPPED [INFO] Apache Stanbol CMS Adapter Parent ................. SKIPPED [INFO] Apache Stanbol CMS Adapter Service API ............ SKIPPED [INFO] Apache Stanbol CMS Adapter Core ................... SKIPPED [INFO] Apache Stanbol CMS Adapter JCR .................... SKIPPED [INFO] Apache Stanbol CMS Adapter CMIS Bundle ............ SKIPPED [INFO] Apache Stanbol CMS Adapter Web .................... SKIPPED [INFO] Apache Stanbol CMS Adapter Reactor ................ SKIPPED [INFO] Apache Stanbol Reasoners .......................... SKIPPED [INFO] Apache Stanbol Reasoners Services API ............. SKIPPED [INFO] Apache Stanbol Reasoners Service Manager .......... SKIPPED [INFO] Apache Stanbol Reasoners OWL API .................. SKIPPED [INFO] Apache Stanbol Reasoners Jena ..................... SKIPPED [INFO] Apache Stanbol Reasoners Test Framework ........... SKIPPED [INFO] Apache Stanbol Reasoners Web ...................... SKIPPED [INFO] Apache Stanbol Demos Enhancer VIE UI .............. SKIPPED [INFO] Apache Stanbol Bundlelists ........................ SKIPPED [INFO] Apache Stanbol Bundlelist for the OSGi Framework .. SKIPPED [INFO] Apache Stanbol Bundlelist for Commons Libraries ... SKIPPED [INFO] Apache Stanbol Bundlelist for Default Data ........ SKIPPED [INFO] Apache Stanbol Bundlelist for OpenNLP Models ...... SKIPPED [INFO] Apache Stanbol Bundlelist for Sentiment Data ...... SKIPPED [INFO] Apache Stanbol Bundlelist for Enhancer ............ SKIPPED [INFO] Apache Stanbol Bundlelist for Entityhub ........... SKIPPED [INFO] Apache Stanbol Bundlelist for CMS Adapter ......... SKIPPED [INFO] Apache Stanbol Bundlelist for Contenthub .......... SKIPPED [INFO] Apache Stanbol Bundlelist for Ontology Manager .... SKIPPED [INFO] Apache Stanbol Bundlelist for Reasoners ........... SKIPPED [INFO] Apache Stanbol Bundlelist for Rules ............... SKIPPED [INFO] Apache Stanbol Bundlelist for Security ............ SKIPPED [INFO] Apache Stanbol Bundlelist for the Clerezza Shell .. SKIPPED [INFO] Apache Stanbol Bundlelist for Language Support: Smart Chinese SKIPPED [INFO] Apache Stanbol Bundlelist for Language Support: Paoding Chinese SKIPPED [INFO] Apache Stanbol Bundlelist for Language Support: Kuromoji Japanese SKIPPED [INFO] Apache Stanbol Launchers Full Launcher ............ SKIPPED [INFO] Apache Stanbol Launchers Stable Launcher .......... SKIPPED [INFO] Apache Stanbol Launchers Full Launcher as WAR ..... SKIPPED [INFO] Apache Stanbol Statefull Webmodule Archetype ...... SKIPPED [INFO] Apache Stanbol Stateles Webmodule Archetype ....... SKIPPED [INFO] Apache Stanbol Enhancer Engine Archetype .......... SKIPPED [INFO] Apache Stanbol Integration Tests .................. SKIPPED [INFO] Apache Stanbol Reactor ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6:00.215s [INFO] Finished at: Sat Feb 15 13:01:00 CET 2014 [INFO] Final Memory: 142M/671M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on project org.apache.stanbol.entityhub.indexing.source.jenatdb: There are test failures. [ERROR] [ERROR] Please refer to $HOME/workspace-ma/org.apache.stanbol-0.12/entityhub/indexing/source/jenatdb/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on project org.apache.stanbol.entityhub.indexing.source.jenatdb: There are test failures.

Please refer to $HOME/workspace-ma/org.apache.stanbol-0.12/entityhub/indexing/source/jenatdb/target/surefire-reports for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to $HOME/workspace-ma/org.apache.stanbol-0.12/entityhub/indexing/source/jenatdb/target/surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87) at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:651) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:625) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:136) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:97) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [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 -rf :org.apache.stanbol.entityhub.indexing.source.jenatdb


What can I do to help you from here on?

Kind regards, Martin

rafaharo commented 10 years ago

HI Martin,

That is a maven error trace for Stanbol, not for the client. You might want to skip the tests for building Stanbol in order to test the client with the 0.12 branch

tldr4 commented 10 years ago

Hi Rafa,

without the tests the build is ok so far. I thought that it was these errors that should be solved with the 0.12 release?

rafaharo commented 10 years ago

Hi Martin,

Can you login at Stanbol IRC channel?