You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Elliot Metsger (JIRA)" <ji...@apache.org> on 2007/07/05 21:54:04 UTC

[jira] Created: (PLUTO-390) EarAssemblerTest failure

EarAssemblerTest failure
------------------------

                 Key: PLUTO-390
                 URL: https://issues.apache.org/jira/browse/PLUTO-390
             Project: Pluto
          Issue Type: Bug
          Components: descriptor
         Environment: Daniel Larsen's environment:
Maven version: 2.0.7
Java version: 1.5.0_12
OS name: "windows xp" version: "5.1" arch: "x86" 

Craig's environment:
Maven 2.0.6 and Java 1.5.0_11 
on Windows XP.
            Reporter: Elliot Metsger
            Assignee: Elliot Metsger
            Priority: Minor
             Fix For: 1.2.0


>From Daniel Larsen:

Here is the contents of
pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt

-------------------------------------------------------------------------------
Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
sec <<< FAILURE!
testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
Time elapsed: 0.187 sec  <<< FAILURE!
junit.framework.AssertionFailedError: WAR archive did not contain any servlets
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.assertTrue(Assert.java:20)
    at org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
    at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
    at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
    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:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    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:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    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) 

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


[jira] Updated: (PLUTO-390) EarAssemblerTest failure

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

Craig Doremus updated PLUTO-390:
--------------------------------

    Attachment: surefire-reports.zip
                mvn.log

Here's a log of the console output when I run 'mvn test' from the root directory when I get the same errors that Daniel reported. I've also attached a copy of all the surefire reports for the pluto-util module where all the errors occur. 

I also should note that an earTest*tmp.dir directory seems to be created for each test run and not cleaned up.

> EarAssemblerTest failure
> ------------------------
>
>                 Key: PLUTO-390
>                 URL: https://issues.apache.org/jira/browse/PLUTO-390
>             Project: Pluto
>          Issue Type: Bug
>          Components: descriptor
>         Environment: Daniel Larsen's environment:
> Maven version: 2.0.7
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" 
> Craig's environment:
> Maven 2.0.6 and Java 1.5.0_11 
> on Windows XP.
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: mvn.log, surefire-reports.zip
>
>
> From Daniel Larsen:
> Here is the contents of
> pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
> sec <<< FAILURE!
> testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
> Time elapsed: 0.187 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: WAR archive did not contain any servlets
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.Assert.assertTrue(Assert.java:20)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     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:164)
>     at junit.framework.TestCase.runBare(TestCase.java:130)
>     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:120)
>     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     at junit.framework.TestSuite.run(TestSuite.java:225)
>     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) 

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


[jira] Commented: (PLUTO-390) EarAssemblerTest failure

Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510473 ] 

Craig Doremus commented on PLUTO-390:
-------------------------------------

I removed my surefire report zip since Elliot also had added it.

> EarAssemblerTest failure
> ------------------------
>
>                 Key: PLUTO-390
>                 URL: https://issues.apache.org/jira/browse/PLUTO-390
>             Project: Pluto
>          Issue Type: Bug
>          Components: descriptor
>         Environment: Daniel Larsen's environment:
> Maven version: 2.0.7
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" 
> Craig's environment:
> Maven 2.0.6 and Java 1.5.0_11 
> on Windows XP.
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: mvn.log, surefire-reports-pluto-390.zip
>
>
> From Daniel Larsen:
> Here is the contents of
> pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
> sec <<< FAILURE!
> testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
> Time elapsed: 0.187 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: WAR archive did not contain any servlets
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.Assert.assertTrue(Assert.java:20)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     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:164)
>     at junit.framework.TestCase.runBare(TestCase.java:130)
>     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:120)
>     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     at junit.framework.TestSuite.run(TestSuite.java:225)
>     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) 

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


[jira] Updated: (PLUTO-390) EarAssemblerTest failure

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

Craig Doremus updated PLUTO-390:
--------------------------------

    Attachment:     (was: surefire-reports.zip)

> EarAssemblerTest failure
> ------------------------
>
>                 Key: PLUTO-390
>                 URL: https://issues.apache.org/jira/browse/PLUTO-390
>             Project: Pluto
>          Issue Type: Bug
>          Components: descriptor
>         Environment: Daniel Larsen's environment:
> Maven version: 2.0.7
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" 
> Craig's environment:
> Maven 2.0.6 and Java 1.5.0_11 
> on Windows XP.
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: mvn.log, surefire-reports-pluto-390.zip
>
>
> From Daniel Larsen:
> Here is the contents of
> pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
> sec <<< FAILURE!
> testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
> Time elapsed: 0.187 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: WAR archive did not contain any servlets
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.Assert.assertTrue(Assert.java:20)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     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:164)
>     at junit.framework.TestCase.runBare(TestCase.java:130)
>     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:120)
>     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     at junit.framework.TestSuite.run(TestSuite.java:225)
>     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) 

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


[jira] Closed: (PLUTO-390) EarAssemblerTest failure

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

Elliot Metsger closed PLUTO-390.
--------------------------------

    Resolution: Fixed

File renameTo(File) was failing on windows, use FileUtils to copy the file if renameTo fails.

> EarAssemblerTest failure
> ------------------------
>
>                 Key: PLUTO-390
>                 URL: https://issues.apache.org/jira/browse/PLUTO-390
>             Project: Pluto
>          Issue Type: Bug
>          Components: descriptor
>         Environment: Daniel Larsen's environment:
> Maven version: 2.0.7
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" 
> Craig's environment:
> Maven 2.0.6 and Java 1.5.0_11 
> on Windows XP.
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.4
>
>         Attachments: mvn.log, surefire-reports-pluto-390.zip
>
>
> From Daniel Larsen:
> Here is the contents of
> pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
> sec <<< FAILURE!
> testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
> Time elapsed: 0.187 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: WAR archive did not contain any servlets
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.Assert.assertTrue(Assert.java:20)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     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:164)
>     at junit.framework.TestCase.runBare(TestCase.java:130)
>     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:120)
>     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     at junit.framework.TestSuite.run(TestSuite.java:225)
>     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) 

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


[jira] Updated: (PLUTO-390) EarAssemblerTest failure

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

Elliot Metsger updated PLUTO-390:
---------------------------------

    Attachment: surefire-reports-pluto-390.zip

>From Craig:
Elliot,
I got the same surefire report. Attached is all files in the directory. 
Maven reported that 21 tests failed in this package.
/Craig






> EarAssemblerTest failure
> ------------------------
>
>                 Key: PLUTO-390
>                 URL: https://issues.apache.org/jira/browse/PLUTO-390
>             Project: Pluto
>          Issue Type: Bug
>          Components: descriptor
>         Environment: Daniel Larsen's environment:
> Maven version: 2.0.7
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" 
> Craig's environment:
> Maven 2.0.6 and Java 1.5.0_11 
> on Windows XP.
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: mvn.log, surefire-reports-pluto-390.zip, surefire-reports.zip
>
>
> From Daniel Larsen:
> Here is the contents of
> pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
> sec <<< FAILURE!
> testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
> Time elapsed: 0.187 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: WAR archive did not contain any servlets
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.Assert.assertTrue(Assert.java:20)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     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:164)
>     at junit.framework.TestCase.runBare(TestCase.java:130)
>     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:120)
>     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     at junit.framework.TestSuite.run(TestSuite.java:225)
>     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) 

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


[jira] Updated: (PLUTO-390) EarAssemblerTest failure

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

Elliot Metsger updated PLUTO-390:
---------------------------------

    Fix Version/s: 1.1.4

Confirmed - this affects the 1.1.x branch as well.

> EarAssemblerTest failure
> ------------------------
>
>                 Key: PLUTO-390
>                 URL: https://issues.apache.org/jira/browse/PLUTO-390
>             Project: Pluto
>          Issue Type: Bug
>          Components: descriptor
>         Environment: Daniel Larsen's environment:
> Maven version: 2.0.7
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" 
> Craig's environment:
> Maven 2.0.6 and Java 1.5.0_11 
> on Windows XP.
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.4
>
>         Attachments: mvn.log, surefire-reports-pluto-390.zip
>
>
> From Daniel Larsen:
> Here is the contents of
> pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
> sec <<< FAILURE!
> testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
> Time elapsed: 0.187 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: WAR archive did not contain any servlets
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.Assert.assertTrue(Assert.java:20)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     at org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
>     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:164)
>     at junit.framework.TestCase.runBare(TestCase.java:130)
>     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:120)
>     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     at junit.framework.TestSuite.run(TestSuite.java:225)
>     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) 

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