On Mon, Apr 15, 2013 at 1:48 PM, enridaga <[email protected]> wrote:
> Hi,
> I got failing tests in
> org.apache.stanbol.entityhub.indexing.source.jenatdb. Should I open a JIRA
> issue or it is kind of known problem?
>

No it is not a known problem. The tests do run fine on my machine and
also the last build on Jenkins [1] was OK.

All failing assertions are checking if the IndexingSource does need to
be initialized or not (assumed is true). This could mean the the
imports for the test files are not found. Can you please check that
the 'src/test/resources' folder is in sync with the SVN.

If this is not the cause, than feel free to create an issue to further
investigate this.

best
Rupert

[1] 
https://builds.apache.org/job/stanbol-trunk-1.6/1350/org.apache.stanbol$org.apache.stanbol.entityhub.indexing.source.jenatdb/

> Output is:
>
> [...]
> 12:39:05,496  INFO RdfIndexingSource:205 - No RDF Import Filter configured
> 12:39:05,496  INFO RdfIndexingSource:251 - Imported RDF File Folder:
> /Users/enricox/Development/Stanbol/entityhub/indexing/source/jenatdb/target/test-files/testConfigs/bnode/indexing/resources/imported
> 12:39:05,497  INFO RdfIndexingSource:260 - Importing RDF data from:
> 12:39:05,497  INFO IndexingConfig:446 - request for Resource rdfdata
> (folder:
> /Users/enricox/Development/Stanbol/entityhub/indexing/source/jenatdb/target/test-files/testConfigs/bnode/indexing/resources)
> 12:39:05,497  INFO IndexingConfig:448 -  > rquested Resource present
> 12:39:05,498  INFO RdfIndexingSource:326 - Indexing of Bnodes enabled
> (prefix: urn:bnode:simple:
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1.394 sec
> <<< FAILURE!
>
> Results :
>
> Failed tests:
> testEntityDataIterable(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>
> testEntityDataProvider(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>
> testQuadsImport(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>
> testBNodeSupport(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>
> Tests run: 10, Failures: 4, Errors: 0, Skipped: 0
>
>
>
> Surefire report is (bits of):
>
> -------------------------------------------------------------------------------
> Test set:
> org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1.394 sec
> <<< FAILURE!
> testEntityDataIterable(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>  Time elapsed: 0.84 sec  <<< FAILURE!
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
>  at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at
> org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest.testEntityDataIterable(RdfIndexingSourceTest.java:129)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> […]
> testEntityDataProvider(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>  Time elapsed: 0.065 sec  <<< FAILURE!
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
>  at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at
> org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest.testEntityDataProvider(RdfIndexingSourceTest.java:160)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> […]
> testQuadsImport(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>  Time elapsed: 0.056 sec  <<< FAILURE!
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
>  at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at
> org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest.testQuadsImport(RdfIndexingSourceTest.java:193)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> […]
> testBNodeSupport(org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest)
>  Time elapsed: 0.041 sec  <<< FAILURE!
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
>  at org.junit.Assert.assertTrue(Assert.java:52)
> at
> org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest.testBNodeSupport(RdfIndexingSourceTest.java:220)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> […]
>
>
>
>
>
> --
> ------------------------------------------------------------------------------
> enridaga



--
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to