[JBoss JIRA] (ISPN-4739) InfinispanQueryIT test fails randomly on RHEL
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-4739?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes edited comment on ISPN-4739 at 9/28/14 12:14 AM:
-------------------------------------------------------------------
Those tests never failed on master JDK7 or JDK8, including RHEL agents:
http://ci.infinispan.org/project.html?tab=testDetails&testNameId=39014776...
http://ci.infinispan.org/project.html?tab=testDetails&testNameId=-3079146...
But they fail 100% of the time on my mac when connecting to a certain wireless hub, with the following warning:
{code}
2014-09-28 01:11:37,509 WARNING [org.jgroups.protocols.UDP] (default task-2) JGRP000034: thehouse-35243: failure sending message to /228.6.7.8: java.io.IOException: Can't assign requested address
{code}
Due to the error above, cluster fail to form and all tests pointing to the second node fail.
was (Author: gustavonalle):
Those tests never failed on master JDK7 or JDK8, including RHEL agents:
http://ci.infinispan.org/project.html?tab=testDetails&testNameId=39014776...
http://ci.infinispan.org/project.html?tab=testDetails&testNameId=-3079146...
But they fail 100% of the time on my mac when connecting to a certain wireless hub, with the following error:
{code}
2014-09-28 01:11:37,509 WARNING [org.jgroups.protocols.UDP] (default task-2) JGRP000034: thehouse-35243: failure sending message to /228.6.7.8: java.io.IOException: Can't assign requested address
{code}
Due to the error above, cluster fail to form and all tests pointing to the second node fail.
> InfinispanQueryIT test fails randomly on RHEL
> ---------------------------------------------
>
> Key: ISPN-4739
> URL: https://issues.jboss.org/browse/ISPN-4739
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
> Labels: testsuite_stability
>
> {{InfinispanQueryIT.testQueryOnSecondNode}} and {{InfinispanQueryIT.testMassIndexerResult}} fails randomly on RHEL (Oracle java 6) with ([see details|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FU...])
> {noformat}
> java.lang.AssertionError: expected:<3> but was:<0>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.infinispan.test.integration.as.query.InfinispanQueryIT.testQueryOnSecondNode(InfinispanQueryIT.java:110)
> {noformat}
> resp. ([see details|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FU...])
> {noformat}
> java.lang.AssertionError: expected:<3> but was:<0>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.infinispan.test.integration.as.query.InfinispanQueryIT.testMassIndexerResult(InfinispanQueryIT.java:145)
> {noformat}
> and {{InfinispanQueryIT.testSimpleGetOnSecondNode}} with ([see details|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FU...])
> {noformat}
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:621)
> at org.junit.Assert.assertNotNull(Assert.java:631)
> at org.infinispan.test.integration.as.query.InfinispanQueryIT.testSimpleGetOnSecondNode(InfinispanQueryIT.java:95)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months
[JBoss JIRA] (ISPN-4716) Race condition in index initialization prevents nodes to start successfully on empty indexes
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-4716?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-4716:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2909
> Race condition in index initialization prevents nodes to start successfully on empty indexes
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-4716
> URL: https://issues.jboss.org/browse/ISPN-4716
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 7.0.0.CR1
>
>
> The following stack is possible because a different engine could be initializing the same index after the check for a valid index to exist:
> {noformat}Caused by: org.hibernate.search.exception.SearchException: Could not initialize index
> at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:146)
> at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:73)
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:90)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:256)
> ... 49 more
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: org.infinispan.lucene.locking.BaseLuceneLock@1329a963
> at org.apache.lucene.store.Lock.obtain(Lock.java:89)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:710)
> at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:141){noformat}
> Fixed by https://hibernate.atlassian.net/browse/HSEARCH-1665, Infinispan needs to upgrade.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months
[JBoss JIRA] (ISPN-4716) Race condition in index initialization prevents nodes to start successfully on empty indexes
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-4716?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-4716:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Race condition in index initialization prevents nodes to start successfully on empty indexes
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-4716
> URL: https://issues.jboss.org/browse/ISPN-4716
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 7.0.0.CR1
>
>
> The following stack is possible because a different engine could be initializing the same index after the check for a valid index to exist:
> {noformat}Caused by: org.hibernate.search.exception.SearchException: Could not initialize index
> at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:146)
> at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:73)
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:90)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:256)
> ... 49 more
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: org.infinispan.lucene.locking.BaseLuceneLock@1329a963
> at org.apache.lucene.store.Lock.obtain(Lock.java:89)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:710)
> at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:141){noformat}
> Fixed by https://hibernate.atlassian.net/browse/HSEARCH-1665, Infinispan needs to upgrade.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months