You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Charlie Harrison (JIRA)" <ji...@apache.org> on 2016/04/01 19:43:25 UTC

[jira] [Created] (ATLAS-617) Build fails on tests

Charlie Harrison created ATLAS-617:
--------------------------------------

             Summary: Build fails on tests
                 Key: ATLAS-617
                 URL: https://issues.apache.org/jira/browse/ATLAS-617
             Project: Atlas
          Issue Type: Bug
    Affects Versions: trunk
         Environment: Ubuntu 14.04
            Reporter: Charlie Harrison


Building the master branch on the latest commit (`8bde666ba1986f5b6c9e20cad82d6037a6739db9`) with:

    export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" && mvn clean install

fails when finishing `GraphBackedTypeStoreTest`:

"""
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.952 sec <<< FAILURE! - in org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
tearDown(org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest)  Time elapsed: 0.12 sec  <<< FAILURE!
java.lang.IllegalStateException: There is 1 existing transaction opened against the Environment.
Aborting open transactions ...
aborting <Transaction id="175">
	at com.sleepycat.je.Environment.close(Environment.java:384)
	at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.close(BerkeleyJEStoreManager.java:229)
	at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.close(OrderedKeyValueStoreManagerAdapter.java:57)
	at com.thinkaurelius.titan.diskstorage.Backend.close(Backend.java:492)
	at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdownInternal(StandardTitanGraph.java:174)
	at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdown(StandardTitanGraph.java:158)
	at org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest.tearDown(GraphBackedTypeStoreTest.java:88)
""""

Looking at old Titan issues (https://github.com/thinkaurelius/titan/issues/75 and https://github.com/thinkaurelius/titan/issues/284), this is likely to be a concurrency issue.  

Probably it would be fixed by upgrading to the latest Titan (see ATLAS-610 and ATLAS-517)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)