[ https://issues.apache.org/jira/browse/ATLAS-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346509#comment-15346509 ]
Nigel Jones commented on ATLAS-944: ----------------------------------- a subsequent build, only increasing the heap size as per ATLAS-943 resulted in a different error, though likely another timing related one as a second machine did not experience this....... Running org.apache.atlas.hive.bridge.HiveLiteralRewriterTest Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 7.202 sec <<< FAILURE! - in org.apache.atlas.hive.bridge.HiveLiteralRewriterTest setup(org.apache.atlas.hive.bridge.HiveLiteralRewriterTest) Time elapsed: 7.173 sec <<< FAILURE! java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createTempFile(File.java:2001) at org.apache.hadoop.hive.ql.session.SessionState.createTempFile(SessionState.java:818) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:513) at org.apache.atlas.hive.bridge.HiveLiteralRewriterTest.setup(HiveLiteralRewriterTest.java:38) Running org.apache.atlas.hive.bridge.HiveMetaStoreBridgeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.147 sec - in org.apache.atlas.hive.bridge.HiveMetaStoreBridgeTest Results : Failed tests: HiveLiteralRewriterTest.setup:38 ยป Runtime java.lang.RuntimeException: java.io... Tests run: 5, Failures: 1, Errors: 0, Skipped: 1 > Build failure: GraphBackedMetadataRepositoryTest.testFullTextSearch:528 > expected: > --------------------------------------------------------------------------------- > > Key: ATLAS-944 > URL: https://issues.apache.org/jira/browse/ATLAS-944 > Project: Atlas > Issue Type: Bug > Affects Versions: trunk > Environment: CentOS 7.2.1511 > OpenJDK 1.7.0_101 > Maven 3.3.9 > *fresh git clone* > Reporter: Nigel Jones > > Build of Atlas fails > [INFO] Apache Atlas Repository ............................ FAILURE [13:40 > min] > Cause: > Results : > Failed tests: > GraphBackedMetadataRepositoryTest.testFullTextSearch:528 expected:<1> but > was:<0> > Root error: > Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest > Tests run: 26, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.471 sec > <<< FAILURE! - in > org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest > testFullTextSearch(org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest) > Time elapsed: 1.237 sec <<< FAILURE! > java.lang.AssertionError: expected:<1> but was:<0> > at org.testng.Assert.fail(Assert.java:89) > at org.testng.Assert.failNotEquals(Assert.java:489) > at org.testng.Assert.assertEquals(Assert.java:118) > at org.testng.Assert.assertEquals(Assert.java:365) > at org.testng.Assert.assertEquals(Assert.java:375) > at > org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest.testFullTextSearch(GraphBackedMetadataRepositoryTest.java:528) > Looking at the code in > ./repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepositoryTest.java > @Test(dependsOnMethods = "testSubmitEntity") > public void testFullTextSearch() throws Exception { > //todo fix this > //Weird: with lucene, the test passes without sleep > //but with elasticsearch, doesn't work without sleep. why?? > long sleepInterval = 1000; > The 1000ms looks arbitary... I'm building on a 4 CPU vm which should be ok, > but to a shared drive, perhaps I/O limited. increasing the timeout -- This message was sent by Atlassian JIRA (v6.3.4#6332)