I have the same failure (TestThemeSerializer) on a ubuntu server
since i've tried to compile nuxeo (never completed yet :( ).
Did you find the origin ? Somebody else has seen it before ?
The working station is a laptop with Maven 2.0.4, Jboss with jems
1.2.0 BETA 2, ant version 1.7.0, JDK 1.5, is there something wrong ?
Camille
Le 31 mars 07 à 19:06, Steve Tynor a écrit :
Thanks Stefane.
I've updated a fresh working directory this morning. TeamCity is
now showing 100% clean tests, but I'm still seeing the same
failures I listed below, so I fear my development environment is to
blame.
If the ThemeSerialization XML header failure I listed in the
original mail did not suggest a cause, perhaps the TestAPI failures
look familiar?
>junit.framework.AssertionFailedError: Cannot instantiate test
case: >testCancel (java.lang.InstantiationException
> at
>sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance
(InstantiationExceptionConstructorAccessorImpl.java:30)
> at >java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at junit.framework.TestSuite.createTest(TestSuite.java:54)
> at junit.framework.TestSuite.addTestMethod(TestSuite.java:280)
Reflection failure to instantiate the test cases... Are there log
files other than the files in the surefire-reports directory that I
can look at to look for possible causes?
Any ideas much appreciated!
Steve
On 3/30/2007 3:45 PM, Stefane Fermigier wrote:
Yes, development on the trunk is happening at a very steady rate
(just check the timeline here: http://svn.nuxeo.org/trac/nuxeo/
timeline ).
And sometimes, tests break.
Rest assured, however, that there is an infrastructure in place to
detect these test failures and alert people so that they focus on
fixing the tests before moving over: we're using TeamCity for
continuous unit testing, and some deployment and minimal web
testing too:
http://teamcity.nuxeo.org/overview.html
(To loging: click on "Login as guest").
By checking the tests status on TeamCity, you can check wether
your test failures are specific to your build environment, or are
common (and public) issues.
S.
On Mar 30, 2007, at 9:23 PM, Steve Tynor wrote:
I'm taking a first look at Nuxeo and trying to get the trunk to
compile. I've had no trouble getting it to compile, but I can't
get the surefire tests to pass. If I run
mvn -Dmaven.test.failure.ignore=true test
I see the following tests have failures:
org.nuxeo.ecm.core.facade/target/surefire-reports/
org.nuxeo.ecm.core.api.TestAPI.txt
org.nuxeo.ecm.core.facade/target/surefire-reports/
org.nuxeo.ecm.core.api.TestApiHeavyLoad.txt
org.nuxeo.ecm.core.facade/target/surefire-reports/
org.nuxeo.ecm.core.api.TestConnection.txt
org.nuxeo.theme.core/target/surefire-reports/
org.nuxeo.theme.test.events.TestEvents.txt
org.nuxeo.theme.core/target/surefire-reports/
org.nuxeo.theme.test.themes.TestThemeSerializer.txt
(BTW: I'm also new to Maven -- is there a nicer way to find test
failures -- I had to resort to
grep -l FAIL */target/surefire-reports/*
I suspect this is a problem with my build environment since I
don't see any recent svn commits, for example, for the theme
serializer. That failure appears to be a missing <?xml ...
encoding="UTF-8"?> header in the generated XML:
junit.framework.ComparisonFailure: expected:<..."
encoding="UTF-8"?>[
<theme name="default">
<layout>
...
I'm trying to build on Windows XP, with mvn 2.0.5, ant 1.6.5, jdk
1.5.0
Help? ideas? guidance?
Thanks!
Steve
_______________________________________________
ECM mailing list
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Stefane Fermigier, CEO, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Nuxeo 5 EP is out! - Now Java EE based, standards compliant
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[EMAIL PROTECTED]
http://lists.nuxeo.com/mailman/listinfo/ecm
_______________________________________________
ECM mailing list
[EMAIL PROTECTED]
http://lists.nuxeo.com/mailman/listinfo/ecm