You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2008/01/07 15:55:34 UTC
[jira] Created: (JCR-1293) ReorderReferenceableSNSTest failure
ReorderReferenceableSNSTest failure
-----------------------------------
Key: JCR-1293
URL: https://issues.apache.org/jira/browse/JCR-1293
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-core, jackrabbit-jcr2spi
Affects Versions: 1.4
Environment: Windows XP, Sun JDK 1.4.2_13
Reporter: Thomas Mueller
I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
mvn clean install
The error is:
Building Jackrabbit JCR to SPI
task-segment: [clean, install]
---------------------------------
...
testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
junit.framework.AssertionFailedError: Reorder added a child node.
at junit.framework.Assert.fail(Assert.java:47)
at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557347#action_12557347 ]
angela commented on JCR-1293:
-----------------------------
i managed to get the ReorderReferenceableSNSTest.testRevertReorder failing.
up to now i saw 2 variants of the reorder-tests failing (both due to additional child-nodes)
and i don't know yet, whether they are related:
a):
the additional nodes had not uniqueID, means that they are not mix:referenceable
in the underlying jackrabbit repository (which i verified looking at the jackrabbit-nodes directly).
this is somehow unexpected sinde the tests only creates referenceable child nodes (at least it
are intended to do so).
the result in this situation is always: inconsistent state and the teardown fails with InvalidItemStateException.
b)
cleanUpTestRoot of the AbstractJCRTest is called twice both in the setup and in the teardown and
it retrieves all child-nodes from the testRoot and removes them.
i saw, that from time to time not all child-nodes get removed (i imagine due to the weak nature
of the hierarchy)... in this case one test simple failed without causing inconsistencies for the
subsequent tests.
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556592#action_12556592 ]
angela commented on JCR-1293:
-----------------------------
checked out 1.4 branch and tried to build it
1st try:
-----------------------------------------------------------------------------------------------------
didn't manage to get to the jcr2spi tests. the build already failed at the core
Running org.apache.jackrabbit.core.integration.JCRAPITest
Failed tests:
testRestoreName(org.apache.jackrabbit.test.api.version.RestoreTest)
2nd try:
-----------------------------------------------------------------------------------------------------
core passed.
but jcr2spi build fails due to:
Failed tests:
testRestoreName(org.apache.jackrabbit.test.api.version.RestoreTest)
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela resolved JCR-1293.
-------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
> Fix For: 1.5.0
>
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556597#action_12556597 ]
angela commented on JCR-1293:
-----------------------------
3rd try:
-----------------------------------------------------------------------------------------------------
building jackrabbit-core fails again:
Failed tests:
testRestoreName(org.apache.jackrabbit.test.api.version.RestoreTest)
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556643#action_12556643 ]
angela commented on JCR-1293:
-----------------------------
i don't manage to get the reorder-test failing.
after running the build a couple of times, the restore-tests pass as well (and yes i had that before but i never paid attention to it)...
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
> Assignee: Tobias Bocanegra
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra reassigned JCR-1293:
-------------------------------------
Assignee: (was: Tobias Bocanegra)
i was able to reproduce the failure a couple of times. although only when running the test
on a already tested repository. i.e. the first time (when the repository is created) all tests pass.
i also reverted the changes from issue 1197 but the error still occurs. so i think it is not related to that issue.
when debugging the test - it passed (of course :-). so i think there is a async. problem somewhere. either in a weak hashmap or some async listener.
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1293:
-------------------------------
Component/s: (was: jackrabbit-core)
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556624#action_12556624 ]
Tobias Bocanegra commented on JCR-1293:
---------------------------------------
i get the same as thomas. building and testing core works like a charm, reorder test fails.
-------------------------------------------------------------------------------
Test set: org.apache.jackrabbit.jcr2spi.TestAll
-------------------------------------------------------------------------------
Tests run: 218, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.394 sec <<< FAILURE!
testRevertReorderToEnd(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest) Time elapsed: 0.02 sec <<< FAILURE!
junit.framework.AssertionFailedError: Reorder added a child node.
at junit.framework.Assert.fail(Assert.java:47)
at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra reassigned JCR-1293:
-------------------------------------
Assignee: Tobias Bocanegra
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
> Assignee: Tobias Bocanegra
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557038#action_12557038 ]
Jukka Zitting commented on JCR-1293:
------------------------------------
While testing for this, I also saw occasional failures of o.a.j.test.api.version.RemoveVersionTest and o.a.j.jcr2spi.version.LabelTest.
In revision 610155 I tagged all three test cases as known issues for the 1.4 release. Once we figure this out, we can include a fix in a 1.4.x patch release.
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (JCR-1293) ReorderReferenceableSNSTest
failure
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556629#action_12556629 ]
tripod edited comment on JCR-1293 at 1/7/08 9:18 AM:
---------------------------------------------------------------
the test passes/fails at random. not sure if this is really related to issue JCR-1197 anymore.
was (Author: tripod):
the test passed/fails at random. not sure if this is really related to issue JCR-1197 anymore.
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
> Assignee: Tobias Bocanegra
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1293) ReorderReferenceableSNSTest failure
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556629#action_12556629 ]
Tobias Bocanegra commented on JCR-1293:
---------------------------------------
the test passed/fails at random. not sure if this is really related to issue JCR-1197 anymore.
> ReorderReferenceableSNSTest failure
> -----------------------------------
>
> Key: JCR-1293
> URL: https://issues.apache.org/jira/browse/JCR-1293
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Affects Versions: 1.4
> Environment: Windows XP, Sun JDK 1.4.2_13
> Reporter: Thomas Mueller
> Assignee: Tobias Bocanegra
>
> I have checked out the Jackrabbit 1.4 branch to a new directory, and called:
> mvn clean install
> The error is:
> Building Jackrabbit JCR to SPI
> task-segment: [clean, install]
> ---------------------------------
> ...
> testRevertReorder(org.apache.jackrabbit.jcr2spi.ReorderReferenceableSNSTest)
> junit.framework.AssertionFailedError: Reorder added a child node.
> at junit.framework.Assert.fail(Assert.java:47)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testOrder(ReorderTest.java:90)
> at org.apache.jackrabbit.jcr2spi.ReorderTest.testRevertReorder(ReorderTest.java:122)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.