You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/09/04 09:50:58 UTC

[jira] Created: (JCR-2295) Occasional query test failures

Occasional query test failures
------------------------------

                 Key: JCR-2295
                 URL: https://issues.apache.org/jira/browse/JCR-2295
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core, query, test
            Reporter: Jukka Zitting


Our Hudson build caught a query test issue that I just saw also on a local checkout. See the Hudson report for details:

http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/

Most of the test errors look like this:

junit.framework.AssertionFailedError: /testroot/node1 is not part of the result set
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
	at org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)

There's also the following failure, though I'm not sure if the problems are related:

javax.jcr.ItemNotFoundException: failed to build path of 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
	at org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
	at org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
	at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
	at org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-2295) Occasional query test failures

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751377#action_12751377 ] 

Jukka Zitting commented on JCR-2295:
------------------------------------

A new bisect detected the problem already in revision 810941 (JCR-2291).  The test failures are not deterministic, so it's not clear whether this is the actual revision that causes the problem, but at least it's clear that the problem existed already at that point.

> Occasional query test failures
> ------------------------------
>
>                 Key: JCR-2295
>                 URL: https://issues.apache.org/jira/browse/JCR-2295
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query, test
>            Reporter: Jukka Zitting
>
> Our Hudson build caught a query test issue that I just saw also on a local checkout. See the Hudson report for details:
> http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/
> Most of the test errors look like this:
> junit.framework.AssertionFailedError: /testroot/node1 is not part of the result set
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
> 	at org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)
> There's also the following failure, though I'm not sure if the problems are related:
> javax.jcr.ItemNotFoundException: failed to build path of 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
> 	at org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
> 	at org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
> 	at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
> 	at org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-2295) Occasional query test failures

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751363#action_12751363 ] 

Jukka Zitting commented on JCR-2295:
------------------------------------

A Git bisect points to revision 811001 (JCR-2170) as the probable cause of this issue.

> Occasional query test failures
> ------------------------------
>
>                 Key: JCR-2295
>                 URL: https://issues.apache.org/jira/browse/JCR-2295
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query, test
>            Reporter: Jukka Zitting
>
> Our Hudson build caught a query test issue that I just saw also on a local checkout. See the Hudson report for details:
> http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/
> Most of the test errors look like this:
> junit.framework.AssertionFailedError: /testroot/node1 is not part of the result set
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
> 	at org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)
> There's also the following failure, though I'm not sure if the problems are related:
> javax.jcr.ItemNotFoundException: failed to build path of 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
> 	at org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
> 	at org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
> 	at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
> 	at org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-2295) Occasional query test failures

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752040#action_12752040 ] 

Marcel Reutegger commented on JCR-2295:
---------------------------------------

I think this is caused by a test case introduced for JCR-2272 (ConcurrentImportTest). AFAICS the test causes a workspace inconsistency, which affects the query tests.

I'll disable the test for now. svn revision: 812032

> Occasional query test failures
> ------------------------------
>
>                 Key: JCR-2295
>                 URL: https://issues.apache.org/jira/browse/JCR-2295
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query, test
>            Reporter: Jukka Zitting
>
> Our Hudson build caught a query test issue that I just saw also on a local checkout. See the Hudson report for details:
> http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/
> Most of the test errors look like this:
> junit.framework.AssertionFailedError: /testroot/node1 is not part of the result set
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
> 	at org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)
> There's also the following failure, though I'm not sure if the problems are related:
> javax.jcr.ItemNotFoundException: failed to build path of 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
> 	at org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
> 	at org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
> 	at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
> 	at org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2295) Occasional query test failures

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-2295.
-----------------------------------

    Resolution: Invalid

I'll resolve this invalid, since the query failures have been caused by a test case introduced for another issue (JCR-2272) which is not yet fixed.

> Occasional query test failures
> ------------------------------
>
>                 Key: JCR-2295
>                 URL: https://issues.apache.org/jira/browse/JCR-2295
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query, test
>            Reporter: Jukka Zitting
>
> Our Hudson build caught a query test issue that I just saw also on a local checkout. See the Hudson report for details:
> http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/
> Most of the test errors look like this:
> junit.framework.AssertionFailedError: /testroot/node1 is not part of the result set
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
> 	at org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)
> There's also the following failure, though I'm not sure if the problems are related:
> javax.jcr.ItemNotFoundException: failed to build path of 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
> 	at org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
> 	at org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
> 	at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
> 	at org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-2295) Occasional query test failures

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751355#action_12751355 ] 

Jukka Zitting commented on JCR-2295:
------------------------------------

In a separate build (on a yet another environment) I ran across also the following individual query test failure:

-------------------------------------------------------------------------------
Test set: org.apache.jackrabbit.core.query.TestAll
-------------------------------------------------------------------------------
Tests run: 154, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.059 sec <<< FAILURE!
testSimpleQuerySQL4(org.apache.jackrabbit.core.query.SimpleQueryTest)  Time elapsed: 0.056 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Wrong hit count. expected:<2> but was:<1>
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.failNotEquals(Assert.java:282)
        at junit.framework.Assert.assertEquals(Assert.java:64)
        at junit.framework.Assert.assertEquals(Assert.java:201)
        at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:81)
        at org.apache.jackrabbit.core.query.SimpleQueryTest.testSimpleQuerySQL4(SimpleQueryTest.java:88)



> Occasional query test failures
> ------------------------------
>
>                 Key: JCR-2295
>                 URL: https://issues.apache.org/jira/browse/JCR-2295
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query, test
>            Reporter: Jukka Zitting
>
> Our Hudson build caught a query test issue that I just saw also on a local checkout. See the Hudson report for details:
> http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/
> Most of the test errors look like this:
> junit.framework.AssertionFailedError: /testroot/node1 is not part of the result set
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
> 	at org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)
> There's also the following failure, though I'm not sure if the problems are related:
> javax.jcr.ItemNotFoundException: failed to build path of 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
> 	at org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
> 	at org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
> 	at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
> 	at org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-2295) Occasional query test failures

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751750#action_12751750 ] 

Jukka Zitting commented on JCR-2295:
------------------------------------

Seen also in revision 810096 (JCR-2287). I'll run a few more bisects to see how far in history this goes.

> Occasional query test failures
> ------------------------------
>
>                 Key: JCR-2295
>                 URL: https://issues.apache.org/jira/browse/JCR-2295
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query, test
>            Reporter: Jukka Zitting
>
> Our Hudson build caught a query test issue that I just saw also on a local checkout. See the Hudson report for details:
> http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/
> Most of the test errors look like this:
> junit.framework.AssertionFailedError: /testroot/node1 is not part of the result set
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
> 	at org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
> 	at org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)
> There's also the following failure, though I'm not sure if the problems are related:
> javax.jcr.ItemNotFoundException: failed to build path of 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
> 	at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
> 	at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
> 	at org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
> 	at org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
> 	at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
> 	at org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.