[cosmo-dev] Help with mvn package build failures
Alan Lord
alanslists at googlemail.com
Sun Dec 9 08:49:25 PST 2007
Brian Moseley wrote:
> On Dec 9, 2007 6:38 AM, Alan Lord <alanslists at gmail.com> wrote:
>
>> In the list below of all the errors - I looked at the error log in
>> surefire-reports for CmpGetTest
>> and the key error seems to be:
>
> can you send the entire txt log? thanks!
> _______________________________________________
Hi Brian,
I wasn't sure which you meant so here is the logged output of mvn
package, and the surefire-report for CmpGetTest
Thanks,
Alan
-------------- next part --------------
-------------------------------------------------------------------------------
Test set: org.osaf.cosmo.cmp.CmpGetTest
-------------------------------------------------------------------------------
Tests run: 9, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.472 sec <<< FAILURE!
testGetUsers(org.osaf.cosmo.cmp.CmpGetTest) Time elapsed: 0.302 sec <<< ERROR!
java.text.ParseException: Unparseable date: "2007-12-08T16:17:58"
at java.text.DateFormat.parse(DateFormat.java:335)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:114)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:97)
at org.osaf.cosmo.util.DateUtil.parseRfc3339Date(DateUtil.java:84)
at org.osaf.cosmo.cmp.CmpGetTest.createUserFromXml(CmpGetTest.java:335)
at org.osaf.cosmo.cmp.CmpGetTest.createUsersFromXml(CmpGetTest.java:298)
at org.osaf.cosmo.cmp.CmpGetTest.testGetUsers(CmpGetTest.java:138)
at org.osaf.cosmo.cmp.CmpGetTest.testGetUsers(CmpGetTest.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testGetUser(org.osaf.cosmo.cmp.CmpGetTest) Time elapsed: 0.03 sec <<< ERROR!
java.text.ParseException: Unparseable date: "2007-12-08T16:17:58"
at java.text.DateFormat.parse(DateFormat.java:335)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:114)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:97)
at org.osaf.cosmo.util.DateUtil.parseRfc3339Date(DateUtil.java:84)
at org.osaf.cosmo.cmp.CmpGetTest.createUserFromXml(CmpGetTest.java:335)
at org.osaf.cosmo.cmp.CmpGetTest.createUserFromXml(CmpGetTest.java:310)
at org.osaf.cosmo.cmp.CmpGetTest.testGetUser(CmpGetTest.java:176)
at org.osaf.cosmo.cmp.CmpGetTest.testGetUser(CmpGetTest.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testGetAccount(org.osaf.cosmo.cmp.CmpGetTest) Time elapsed: 0.02 sec <<< ERROR!
java.text.ParseException: Unparseable date: "2007-12-08T16:17:58"
at java.text.DateFormat.parse(DateFormat.java:335)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:114)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:97)
at org.osaf.cosmo.util.DateUtil.parseRfc3339Date(DateUtil.java:84)
at org.osaf.cosmo.cmp.CmpGetTest.createUserFromXml(CmpGetTest.java:335)
at org.osaf.cosmo.cmp.CmpGetTest.createUserFromXml(CmpGetTest.java:310)
at org.osaf.cosmo.cmp.CmpGetTest.testGetAccount(CmpGetTest.java:66)
at org.osaf.cosmo.cmp.CmpGetTest.testGetAccount(CmpGetTest.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testGetOverlord(org.osaf.cosmo.cmp.CmpGetTest) Time elapsed: 0.026 sec <<< ERROR!
java.text.ParseException: Unparseable date: "2007-12-08T16:17:58"
at java.text.DateFormat.parse(DateFormat.java:335)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:114)
at org.osaf.cosmo.util.DateUtil.parseDate(DateUtil.java:97)
at org.osaf.cosmo.util.DateUtil.parseRfc3339Date(DateUtil.java:84)
at org.osaf.cosmo.cmp.CmpGetTest.createUserFromXml(CmpGetTest.java:335)
at org.osaf.cosmo.cmp.CmpGetTest.createUserFromXml(CmpGetTest.java:310)
at org.osaf.cosmo.cmp.CmpGetTest.testGetOverlord(CmpGetTest.java:214)
at org.osaf.cosmo.cmp.CmpGetTest.testGetOverlord(CmpGetTest.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package.log
Type: text/x-log
Size: 54893 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20071209/a9f5b6d8/package.bin
More information about the cosmo-dev
mailing list