You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Enrico Daga <en...@gmail.com> on 2011/06/09 16:14:15 UTC

Problems compiling integration-tests

Hi all,
I'm trying to recompile the whole Stanbol from a clean maven
repository, but I get the following problem:

Results :

Failed tests:
  testDefaultConsolePaths(org.apache.stanbol.enhancer.it.OsgiConsoleTest)
  testDefaultConfig(org.apache.stanbol.enhancer.it.DefaultConfigTest)
  testBenchmark(org.apache.stanbol.enhancer.it.BenchmarkTest)
  testSimpleEnhancement(org.apache.stanbol.enhancer.it.StatelessEngineTest)
  testOutputFormats(org.apache.stanbol.enhancer.it.StatelessEngineTest)
  testInvalidFormat(org.apache.stanbol.enhancer.it.StatelessEngineTest)

Tests run: 7, Failures: 6, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

I've seen reports, follows a snippet:

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.128
sec <<< FAILURE!
testDefaultConfig(org.apache.stanbol.enhancer.it.DefaultConfigTest)
Time elapsed: 0.126 sec  <<< FAILURE!
java.lang.AssertionError: Timeout in previous check of enhancement
engines, cannot run tests
        at org.junit.Assert.fail(Assert.java:91)
        at org.apache.stanbol.enhancer.it.EnhancerTestBase.checkEnginesReady(EnhancerTestBase.java:52)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [...]

It looks a problem on the responsiveness of the web server used for tests.
I have tried three times but always happened.

hints?

Enrico

-- 
Enrico Daga

--
http://www.enridaga.net
skype: enri-pan

Re: Problems compiling integration-tests

Posted by Fabian Christ <ch...@googlemail.com>.
Hi,

perhaps it's related to the unstable Jenkins build:

https://builds.apache.org/job/stanbol-trunk-1.6/223/

- Fabian

2011/6/9 Enrico Daga <en...@gmail.com>:
> Hi all,
> I'm trying to recompile the whole Stanbol from a clean maven
> repository, but I get the following problem:
>
> Results :
>
> Failed tests:
>  testDefaultConsolePaths(org.apache.stanbol.enhancer.it.OsgiConsoleTest)
>  testDefaultConfig(org.apache.stanbol.enhancer.it.DefaultConfigTest)
>  testBenchmark(org.apache.stanbol.enhancer.it.BenchmarkTest)
>  testSimpleEnhancement(org.apache.stanbol.enhancer.it.StatelessEngineTest)
>  testOutputFormats(org.apache.stanbol.enhancer.it.StatelessEngineTest)
>  testInvalidFormat(org.apache.stanbol.enhancer.it.StatelessEngineTest)
>
> Tests run: 7, Failures: 6, Errors: 0, Skipped: 0
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
>
> I've seen reports, follows a snippet:
>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.128
> sec <<< FAILURE!
> testDefaultConfig(org.apache.stanbol.enhancer.it.DefaultConfigTest)
> Time elapsed: 0.126 sec  <<< FAILURE!
> java.lang.AssertionError: Timeout in previous check of enhancement
> engines, cannot run tests
>        at org.junit.Assert.fail(Assert.java:91)
>        at org.apache.stanbol.enhancer.it.EnhancerTestBase.checkEnginesReady(EnhancerTestBase.java:52)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>    [...]
>
> It looks a problem on the responsiveness of the web server used for tests.
> I have tried three times but always happened.
>
> hints?
>
> Enrico
>
> --
> Enrico Daga
>
> --
> http://www.enridaga.net
> skype: enri-pan
>



-- 
Fabian