[Cosmo-dev] Re: Test failures from likely user error
Jared Rhine
jared at wordzoo.com
Mon May 8 15:21:07 PDT 2006
Jared Rhine wrote:
> I've been getting these errors...
The previous report was with a Jrockit build. A Sun JDK-based build fixed
some errors (JcrUserDaoTest) but the JcrTicketDaoTest still fails for me,
and in a new way.
[junit] Running org.osaf.cosmo.dao.jcr.JcrTicketDaoTest
[junit] Tests run: 11, Failures: 0, Errors: 4, Time elapsed: 17.275 sec
[junit] [ERROR] TEST org.osaf.cosmo.dao.jcr.JcrTicketDaoTest FAILED
[junit] Running org.osaf.cosmo.dav.Bug5590Test
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.088 sec
with a test log enclosed below. This is on another fresh checkout, so
interaction with the old checkout is unlikely, unless Maven is maintaining
state. It's still possible/probable this is a user or environment error,
though it's clear that most tests are working fine.
-----
Testsuite: org.osaf.cosmo.dao.jcr.JcrTicketDaoTest
Tests run: 11, Failures: 0, Errors: 4, Time elapsed: 17.275 sec
Testcase: testGetInheritedTicket(org.osaf.cosmo.dao.jcr.JcrTicketDaoTest):
Caused an ERROR
{http://osafoundation.org/cosmo}user: already contained in mixin types
javax.jcr.RepositoryException: {http://osafoundation.org/cosmo}user: already
contained in mixin types
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:1004)
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:2401)
at
org.osaf.cosmo.dao.jcr.JcrTestHelper.makeAndStoreDummyUser(Unknown Source)
at
org.osaf.cosmo.dao.jcr.JcrTicketDaoTest.testGetInheritedTicket(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Testcase: testRemoveTicket(org.osaf.cosmo.dao.jcr.JcrTicketDaoTest):
Caused an ERROR
{http://osafoundation.org/cosmo}user: already contained in mixin types
javax.jcr.RepositoryException: {http://osafoundation.org/cosmo}user: already
contained in mixin types
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:1004)
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:2401)
at
org.osaf.cosmo.dao.jcr.JcrTestHelper.makeAndStoreDummyUser(Unknown Source)
at org.osaf.cosmo.dao.jcr.JcrTicketDaoTest.testRemoveTicket(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Testcase:
testRemoveInheritedTicket(org.osaf.cosmo.dao.jcr.JcrTicketDaoTest): Caused
an ERROR
{http://osafoundation.org/cosmo}user: already contained in mixin types
javax.jcr.RepositoryException: {http://osafoundation.org/cosmo}user: already
contained in mixin types
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:1004)
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:2401)
at
org.osaf.cosmo.dao.jcr.JcrTestHelper.makeAndStoreDummyUser(Unknown Source)
at
org.osaf.cosmo.dao.jcr.JcrTicketDaoTest.testRemoveInheritedTicket(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Testcase:
testRemoveInheritedTicketNotFound(org.osaf.cosmo.dao.jcr.JcrTicketDaoTest):
Caused an ERROR
{http://osafoundation.org/cosmo}user: already contained in mixin types
javax.jcr.RepositoryException: {http://osafoundation.org/cosmo}user: already
contained in mixin types
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:1004)
at org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:2401)
at
org.osaf.cosmo.dao.jcr.JcrTestHelper.makeAndStoreDummyUser(Unknown Source)
at
org.osaf.cosmo.dao.jcr.JcrTicketDaoTest.testRemoveInheritedTicketNotFound(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-----
More information about the cosmo-dev
mailing list