glassfish
  1. glassfish
  2. GLASSFISH-17285 Support building with Java SE 7
  3. GLASSFISH-17317

Unit tests that fail randomly (core/kernel) when using JDK7 to build GlassFish from scratch

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      Unit tests that fail randomly (core/kernel) when using JDK7 to build GlassFish from scratch

      Description

      Some unit tests from "nucleus/core/kernel" are failing when using JDK7.

      When trying to build the GlassFish workspace with JDK7 from scratch (from top level directory), the build fails because of some unit tests. According to the following link it seems that these unit tests depend somehow on the order of invocation.

      The behavior is quite random because the unit tests don't fail when you run "mvn clean install" from the appropriate module. Also I've tried several times to build from scratch (i.e. on a fresh checkout) and the tests that fail can be different each time.

      FYI I've reproduced the bug 2 times in 3 trials by using fresh checkout each time. The 3rd one didn't went into the bug so I stopped he build and retried from top by using "mvn clean install" and the bug showed up. Here is a diff file containing the ignores of the others remaining unit tests that fail (glassfish_tests_ignores-update2_without_kernel.diff available as attachment).

      ===============================================================================================================================

      • Here is the outputs from Maven:

      ===============================================================================================================================

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running com.sun.enterprise.v3.admin.AdminAdapterTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
      Running com.sun.enterprise.v3.admin.CreateProfilerTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
      Running org.glassfish.tests.kernel.admin.CommandRunnerTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
      Running com.sun.enterprise.v3.admin.CommandRunnerTest
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
      Running com.sun.enterprise.v3.common.PlainTextActionReporterTest
      
      -------------------------------------------------------------------------------
      PlainTextActionReporterSUCCESSDescription: My Action DescriptionMama Test Top Message
          child0 Message here
              [ChildKey0=ChildValue0
              [AnotherChildKey0=AnotherChildValue0
              Grand Kids #0 Top Message
          child1 Message here
              [ChildKey1=ChildValue1
              [AnotherChildKey1=AnotherChildValue1
              Grand Kids #1 Top Message
          child2 Message here
              [ChildKey2=ChildValue2
              [AnotherChildKey2=AnotherChildValue2
              Grand Kids #2 Top Message
          child3 Message here
              [ChildKey3=ChildValue3
              [AnotherChildKey3=AnotherChildValue3
              Grand Kids #3 Top Message
          child4 Message here
              [ChildKey4=ChildValue4
              [AnotherChildKey4=AnotherChildValue4
              Grand Kids #4 Top Message
          child5 Message here
              [ChildKey5=ChildValue5
              [AnotherChildKey5=AnotherChildValue5
              Grand Kids #5 Top Message
          child6 Message here
              [AnotherChildKey6=AnotherChildValue6
              [ChildKey6=ChildValue6
              Grand Kids #6 Top Message
          child7 Message here
              [AnotherChildKey7=AnotherChildValue7
              [ChildKey7=ChildValue7
              Grand Kids #7 Top Message
      
      -------------------------------------------------------------------------------
      PlainTextActionReporterSUCCESSDescription: My Action DescriptionPapa Test Top Message
          child0 Message here
              [ChildKey0=ChildValue0
              [AnotherChildKey0=AnotherChildValue0
              Grand Kid#0 from child#0 Top Message
                  [Grand Kid#0 from child#0key=value
              Grand Kid#1 from child#0 Top Message
                  [Grand Kid#1 from child#0key=value
              Grand Kid#2 from child#0 Top Message
                  [Grand Kid#2 from child#0key=value
          child1 Message here
              [ChildKey1=ChildValue1
              [AnotherChildKey1=AnotherChildValue1
              Grand Kid#0 from child#1 Top Message
                  [Grand Kid#0 from child#1key=value
              Grand Kid#1 from child#1 Top Message
                  [Grand Kid#1 from child#1key=value
              Grand Kid#2 from child#1 Top Message
                  [Grand Kid#2 from child#1key=value
          child2 Message here
              [ChildKey2=ChildValue2
              [AnotherChildKey2=AnotherChildValue2
              Grand Kid#0 from child#2 Top Message
                  [Grand Kid#0 from child#2key=value
              Grand Kid#1 from child#2 Top Message
                  [Grand Kid#1 from child#2key=value
              Grand Kid#2 from child#2 Top Message
                  [Grand Kid#2 from child#2key=value
          child3 Message here
              [ChildKey3=ChildValue3
              [AnotherChildKey3=AnotherChildValue3
              Grand Kid#0 from child#3 Top Message
                  [Grand Kid#0 from child#3key=value
              Grand Kid#1 from child#3 Top Message
                  [Grand Kid#1 from child#3key=value
              Grand Kid#2 from child#3 Top Message
                  [Grand Kid#2 from child#3key=value
          child4 Message here
              [ChildKey4=ChildValue4
              [AnotherChildKey4=AnotherChildValue4
              Grand Kid#0 from child#4 Top Message
                  [Grand Kid#0 from child#4key=value
              Grand Kid#1 from child#4 Top Message
                  [Grand Kid#1 from child#4key=value
              Grand Kid#2 from child#4 Top Message
                  [Grand Kid#2 from child#4key=value
          child5 Message here
              [ChildKey5=ChildValue5
              [AnotherChildKey5=AnotherChildValue5
              Grand Kid#0 from child#5 Top Message
                  [Grand Kid#0 from child#5key=value
              Grand Kid#1 from child#5 Top Message
                  [Grand Kid#1 from child#5key=value
              Grand Kid#2 from child#5 Top Message
                  [Grand Kid#2 from child#5key=value
          child6 Message here
              [AnotherChildKey6=AnotherChildValue6
              [ChildKey6=ChildValue6
              Grand Kid#0 from child#6 Top Message
                  [Grand Kid#0 from child#6key=value
              Grand Kid#1 from child#6 Top Message
                  [Grand Kid#1 from child#6key=value
              Grand Kid#2 from child#6 Top Message
                  [Grand Kid#2 from child#6key=value
          child7 Message here
              [AnotherChildKey7=AnotherChildValue7
              [ChildKey7=ChildValue7
              Grand Kid#0 from child#7 Top Message
                  [Grand Kid#0 from child#7key=value
              Grand Kid#1 from child#7 Top Message
                  [Grand Kid#1 from child#7key=value
              Grand Kid#2 from child#7 Top Message
                  [Grand Kid#2 from child#7key=value
      
      -------------------------------------------------------------------------------
      
      -------------------------------------------------------------------------------
      PlainTextActionReporterSUCCESSBabyTest Message Here!!
      -------------------------------------------------------------------------------
      PlainTextActionReporterFAILUREjava.lang.IndexOutOfBoundsException: Hi I am a phony Exception!!FailureTest Message Here!!-------------------------------------------------------------------------------
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
      Running com.sun.enterprise.v3.admin.PrivacyTest
      Sep 19, 2011 1:58:03 PM org.jvnet.hk2.component.ContractLocatorImpl warnOnUsage
      WARNING: name and scope are currently only appropriate for byContract usage; (name: default-instance-name; type: com.sun.enterprise.config.serverbeans.JavaConfig)
      Sep 19, 2011 1:58:03 PM org.jvnet.hk2.component.ContractLocatorImpl warnOnUsage
      WARNING: name and scope are currently only appropriate for byContract usage; (name: default-instance-name; type: com.sun.enterprise.config.serverbeans.Server)
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.107 sec
      Running org.glassfish.tests.kernel.deployment.EventsTest
      Sep 19, 2011 1:58:03 PM org.jvnet.hk2.component.ContractLocatorImpl warnOnUsage
      WARNING: name and scope are currently only appropriate for byContract usage; (name: default-instance-name; type: com.sun.enterprise.config.serverbeans.JavaConfig)
      Sep 19, 2011 1:58:03 PM org.jvnet.hk2.component.ContractLocatorImpl warnOnUsage
      WARNING: name and scope are currently only appropriate for byContract usage; (name: default-instance-name; type: com.sun.enterprise.config.serverbeans.Server)
      Sep 19, 2011 1:58:03 PM org.glassfish.api.ActionReport failure
      SEVERE: Application fakeApplication not registered
      java.lang.AssertionError: expected:<FAILURE> but was:<SUCCESS>
      	at org.junit.Assert.fail(Assert.java:71)
      	at org.junit.Assert.failNotEquals(Assert.java:451)
      	at org.junit.Assert.assertEquals(Assert.java:99)
      	at org.junit.Assert.assertEquals(Assert.java:116)
      	at org.glassfish.tests.kernel.deployment.EventsTest.undeployTest(EventsTest.java:220)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
      	at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
      	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
      	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
      	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
      	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
      	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
      	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
      	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)
      	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      An expected event of type Module_Loaded was not received
      An expected event of type Module_Running was not received
      An expected event of type Application_Loaded was not received
      An expected event of type Application_Running was not received
      Tests run: 4, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.222 sec <<< FAILURE!
      Running com.sun.enterprise.v3.admin.ConfigAttributeSetTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
      Running com.sun.enterprise.v3.admin.TestDocument
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
      
      Results :
      
      Failed tests: 
        badUndeployTest(org.glassfish.tests.kernel.deployment.EventsTest)
      
      Tests run: 18, Failures: 1, Errors: 0, Skipped: 5
      
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] There are test failures.
      
      Please refer to /home/romano/workspaces/glassfish/main-scratch-jdk7_26/nucleus/core/kernel/target/surefire-reports for the individual test results.
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 minute 3 seconds
      [INFO] Finished at: Mon Sep 19 13:58:03 CEST 2011
      [INFO] Final Memory: 173M/516M
      [INFO] ------------------------------------------------------------------------
      

      ===============================================================================================================================

      • Here is the surfire report:

      ===============================================================================================================================

      -------------------------------------------------------------------------------
      Test set: org.glassfish.tests.kernel.deployment.EventsTest
      -------------------------------------------------------------------------------
      Tests run: 4, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.222 sec <<< FAILURE!
      badUndeployTest(org.glassfish.tests.kernel.deployment.EventsTest)  Time elapsed: 0.003 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<SUCCESS> but was:<FAILURE>
      	at org.junit.Assert.fail(Assert.java:71)
      	at org.junit.Assert.failNotEquals(Assert.java:451)
      	at org.junit.Assert.assertEquals(Assert.java:99)
      	at org.junit.Assert.assertEquals(Assert.java:116)
      	at org.glassfish.tests.kernel.deployment.EventsTest.badUndeployTest(EventsTest.java:237)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
      	at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
      	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
      	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
      	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
      	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
      	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
      	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
      	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)
      	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      

        Activity

        Hide
        Romain Grécourt added a comment -

        I didn't find a component for nucleus/core/kernel module, I assign it to "deployment" as the unit test is related to deployment. Please feel free to assign it to right component if needed.

        Show
        Romain Grécourt added a comment - I didn't find a component for nucleus/core/kernel module, I assign it to "deployment" as the unit test is related to deployment. Please feel free to assign it to right component if needed.
        Hide
        Romain Grécourt added a comment -

        Just to let you know that more than one test could be involved in this issue. See the outputs below from another build from scratch.
        ===============================================================================================================================

        • Here is the outputs from Maven:

        ===============================================================================================================================

        -------------------------------------------------------
         T E S T S
        -------------------------------------------------------
        Running com.sun.enterprise.v3.admin.AdminAdapterTest
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
        Running com.sun.enterprise.v3.admin.CreateProfilerTest
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
        Running org.glassfish.tests.kernel.admin.CommandRunnerTest
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
        Running com.sun.enterprise.v3.admin.CommandRunnerTest
        Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
        Running com.sun.enterprise.v3.common.PlainTextActionReporterTest
        
        -------------------------------------------------------------------------------
        PlainTextActionReporterSUCCESSBabyTest Message Here!!
        -------------------------------------------------------------------------------
        PlainTextActionReporterSUCCESSDescription: My Action DescriptionPapa Test Top Message
            child0 Message here
                [ChildKey0=ChildValue0
                [AnotherChildKey0=AnotherChildValue0
                Grand Kid#0 from child#0 Top Message
                    [Grand Kid#0 from child#0key=value
                Grand Kid#1 from child#0 Top Message
                    [Grand Kid#1 from child#0key=value
                Grand Kid#2 from child#0 Top Message
                    [Grand Kid#2 from child#0key=value
            child1 Message here
                [ChildKey1=ChildValue1
                [AnotherChildKey1=AnotherChildValue1
                Grand Kid#0 from child#1 Top Message
                    [Grand Kid#0 from child#1key=value
                Grand Kid#1 from child#1 Top Message
                    [Grand Kid#1 from child#1key=value
                Grand Kid#2 from child#1 Top Message
                    [Grand Kid#2 from child#1key=value
            child2 Message here
                [ChildKey2=ChildValue2
                [AnotherChildKey2=AnotherChildValue2
                Grand Kid#0 from child#2 Top Message
                    [Grand Kid#0 from child#2key=value
                Grand Kid#1 from child#2 Top Message
                    [Grand Kid#1 from child#2key=value
                Grand Kid#2 from child#2 Top Message
                    [Grand Kid#2 from child#2key=value
            child3 Message here
                [ChildKey3=ChildValue3
                [AnotherChildKey3=AnotherChildValue3
                Grand Kid#0 from child#3 Top Message
                    [Grand Kid#0 from child#3key=value
                Grand Kid#1 from child#3 Top Message
                    [Grand Kid#1 from child#3key=value
                Grand Kid#2 from child#3 Top Message
                    [Grand Kid#2 from child#3key=value
            child4 Message here
                [ChildKey4=ChildValue4
                [AnotherChildKey4=AnotherChildValue4
                Grand Kid#0 from child#4 Top Message
                    [Grand Kid#0 from child#4key=value
                Grand Kid#1 from child#4 Top Message
                    [Grand Kid#1 from child#4key=value
                Grand Kid#2 from child#4 Top Message
                    [Grand Kid#2 from child#4key=value
            child5 Message here
                [ChildKey5=ChildValue5
                [AnotherChildKey5=AnotherChildValue5
                Grand Kid#0 from child#5 Top Message
                    [Grand Kid#0 from child#5key=value
                Grand Kid#1 from child#5 Top Message
                    [Grand Kid#1 from child#5key=value
                Grand Kid#2 from child#5 Top Message
                    [Grand Kid#2 from child#5key=value
            child6 Message here
                [AnotherChildKey6=AnotherChildValue6
                [ChildKey6=ChildValue6
                Grand Kid#0 from child#6 Top Message
                    [Grand Kid#0 from child#6key=value
                Grand Kid#1 from child#6 Top Message
                    [Grand Kid#1 from child#6key=value
                Grand Kid#2 from child#6 Top Message
                    [Grand Kid#2 from child#6key=value
            child7 Message here
                [AnotherChildKey7=AnotherChildValue7
                [ChildKey7=ChildValue7
                Grand Kid#0 from child#7 Top Message
                    [Grand Kid#0 from child#7key=value
                Grand Kid#1 from child#7 Top Message
                    [Grand Kid#1 from child#7key=value
                Grand Kid#2 from child#7 Top Message
                    [Grand Kid#2 from child#7key=value
        
        -------------------------------------------------------------------------------
        PlainTextActionReporterFAILUREjava.lang.IndexOutOfBoundsException: Hi I am a phony Exception!!FailureTest Message Here!!
        -------------------------------------------------------------------------------
        PlainTextActionReporterSUCCESSDescription: My Action DescriptionMama Test Top Message
            child0 Message here
                [ChildKey0=ChildValue0
                [AnotherChildKey0=AnotherChildValue0
                Grand Kids #0 Top Message
            child1 Message here
                [ChildKey1=ChildValue1
                [AnotherChildKey1=AnotherChildValue1
                Grand Kids #1 Top Message
            child2 Message here
                [ChildKey2=ChildValue2
                [AnotherChildKey2=AnotherChildValue2
                Grand Kids #2 Top Message
            child3 Message here
                [ChildKey3=ChildValue3
                [AnotherChildKey3=AnotherChildValue3
                Grand Kids #3 Top Message
            child4 Message here
                [ChildKey4=ChildValue4
                [AnotherChildKey4=AnotherChildValue4
                Grand Kids #4 Top Message
            child5 Message here
                [ChildKey5=ChildValue5
                [AnotherChildKey5=AnotherChildValue5
                Grand Kids #5 Top Message
            child6 Message here
                [AnotherChildKey6=AnotherChildValue6
                [ChildKey6=ChildValue6
                Grand Kids #6 Top Message
            child7 Message here
                [AnotherChildKey7=AnotherChildValue7
                [ChildKey7=ChildValue7
                Grand Kids #7 Top Message
        
        -------------------------------------------------------------------------------
        -------------------------------------------------------------------------------
        Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
        Running com.sun.enterprise.v3.admin.PrivacyTest
        Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.036 sec <<< FAILURE!
        Running org.glassfish.tests.kernel.deployment.EventsTest
        Tests run: 5, Failures: 0, Errors: 4, Skipped: 1, Time elapsed: 0.049 sec <<< FAILURE!
        Running com.sun.enterprise.v3.admin.ConfigAttributeSetTest
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
        Running com.sun.enterprise.v3.admin.TestDocument
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
        
        Results :
        
        Tests in error: 
          privacyTests(com.sun.enterprise.v3.admin.PrivacyTest)
          undeployTest(org.glassfish.tests.kernel.deployment.EventsTest)
          deployTest(org.glassfish.tests.kernel.deployment.EventsTest)
          badUndeployTest(org.glassfish.tests.kernel.deployment.EventsTest)
          org.glassfish.tests.kernel.deployment.EventsTest
        
        Tests run: 19, Failures: 0, Errors: 5, Skipped: 5
        
        [INFO] ------------------------------------------------------------------------
        [ERROR] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] There are test failures.
        
        Please refer to /home/romano/workspaces/glassfish/main-scratch-jdk7_29/nucleus/core/kernel/target/surefire-reports for the individual test results.
        [INFO] ------------------------------------------------------------------------
        [INFO] For more information, run Maven with the -e switch
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 1 minute 31 seconds
        [INFO] Finished at: Mon Sep 19 16:10:55 CEST 2011
        [INFO] Final Memory: 165M/505M
        [INFO] ------------------------------------------------------------------------
        

        ===============================================================================================================================

        • Here is the surfire report:

        ===============================================================================================================================

        romano@frenchfish:~/workspaces/glassfish/main-scratch-jdk7_29$ cat nucleus/core/kernel/target/surefire-reports/*.txt
        -------------------------------------------------------------------------------
        Test set: com.sun.enterprise.v3.admin.AdminAdapterTest
        -------------------------------------------------------------------------------
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
        -------------------------------------------------------------------------------
        Test set: com.sun.enterprise.v3.admin.CommandRunnerTest
        -------------------------------------------------------------------------------
        Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
        -------------------------------------------------------------------------------
        Test set: com.sun.enterprise.v3.admin.ConfigAttributeSetTest
        -------------------------------------------------------------------------------
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
        -------------------------------------------------------------------------------
        Test set: com.sun.enterprise.v3.admin.CreateProfilerTest
        -------------------------------------------------------------------------------
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
        -------------------------------------------------------------------------------
        Test set: com.sun.enterprise.v3.admin.PrivacyTest
        -------------------------------------------------------------------------------
        Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.036 sec <<< FAILURE!
        privacyTests(com.sun.enterprise.v3.admin.PrivacyTest)  Time elapsed: 0.034 sec  <<< ERROR!
        org.jvnet.hk2.component.ComponentException: Failed to create a habitat
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159)
        	at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94)
        	at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123)
        	at com.sun.enterprise.v3.admin.PrivacyTest.privacyTests(PrivacyTest.java:58)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
        	at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
        	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
        	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
        	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
        	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
        	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)
        	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537)
        	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
        Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181)
        	at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100)
        	at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167)
        	... 48 more
        Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140)
        	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
        	at java.net.URL.openStream(URL.java:1035)
        	at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188)
        	... 52 more
        
        -------------------------------------------------------------------------------
        Test set: com.sun.enterprise.v3.admin.TestDocument
        -------------------------------------------------------------------------------
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
        -------------------------------------------------------------------------------
        Test set: com.sun.enterprise.v3.common.PlainTextActionReporterTest
        -------------------------------------------------------------------------------
        Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
        -------------------------------------------------------------------------------
        Test set: org.glassfish.tests.kernel.admin.CommandRunnerTest
        -------------------------------------------------------------------------------
        Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
        -------------------------------------------------------------------------------
        Test set: org.glassfish.tests.kernel.deployment.EventsTest
        -------------------------------------------------------------------------------
        Tests run: 5, Failures: 0, Errors: 4, Skipped: 1, Time elapsed: 0.049 sec <<< FAILURE!
        undeployTest(org.glassfish.tests.kernel.deployment.EventsTest)  Time elapsed: 0.006 sec  <<< ERROR!
        org.jvnet.hk2.component.ComponentException: Failed to create a habitat
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159)
        	at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94)
        	at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123)
        	at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:89)
        	at org.glassfish.tests.utils.Utils.getHabitat(Utils.java:82)
        	at org.glassfish.tests.utils.ConfigApiTest.getHabitat(ConfigApiTest.java:73)
        	at org.glassfish.tests.kernel.deployment.EventsTest.setup(EventsTest.java:118)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
        	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
        	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
        	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
        	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
        	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
        	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)
        	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537)
        	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
        Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181)
        	at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100)
        	at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167)
        	... 51 more
        Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140)
        	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
        	at java.net.URL.openStream(URL.java:1035)
        	at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188)
        	... 55 more
        
        deployTest(org.glassfish.tests.kernel.deployment.EventsTest)  Time elapsed: 0.007 sec  <<< ERROR!
        org.jvnet.hk2.component.ComponentException: Failed to create a habitat
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159)
        	at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94)
        	at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123)
        	at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:89)
        	at org.glassfish.tests.utils.Utils.getHabitat(Utils.java:82)
        	at org.glassfish.tests.utils.ConfigApiTest.getHabitat(ConfigApiTest.java:73)
        	at org.glassfish.tests.kernel.deployment.EventsTest.setup(EventsTest.java:118)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
        	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
        	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
        	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
        	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
        	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
        	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)
        	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537)
        	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
        Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181)
        	at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100)
        	at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167)
        	... 51 more
        Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140)
        	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
        	at java.net.URL.openStream(URL.java:1035)
        	at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188)
        	... 55 more
        
        badUndeployTest(org.glassfish.tests.kernel.deployment.EventsTest)  Time elapsed: 0.032 sec  <<< ERROR!
        org.jvnet.hk2.component.ComponentException: Failed to create a habitat
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159)
        	at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94)
        	at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123)
        	at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:89)
        	at org.glassfish.tests.utils.Utils.getHabitat(Utils.java:82)
        	at org.glassfish.tests.utils.ConfigApiTest.getHabitat(ConfigApiTest.java:73)
        	at org.glassfish.tests.kernel.deployment.EventsTest.setup(EventsTest.java:118)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
        	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
        	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
        	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
        	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
        	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
        	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)
        	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537)
        	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
        Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181)
        	at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100)
        	at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124)
        	at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167)
        	... 51 more
        Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar
        	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140)
        	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
        	at java.net.URL.openStream(URL.java:1035)
        	at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106)
        	at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188)
        	... 55 more
        
        org.glassfish.tests.kernel.deployment.EventsTest  Time elapsed: 0.033 sec  <<< ERROR!
        java.lang.NullPointerException
        	at org.glassfish.tests.kernel.deployment.EventsTest.tearDown(EventsTest.java:139)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65)
        	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37)
        	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
        	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)
        	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537)
        	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
        
        Show
        Romain Grécourt added a comment - Just to let you know that more than one test could be involved in this issue. See the outputs below from another build from scratch. =============================================================================================================================== Here is the outputs from Maven : =============================================================================================================================== ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.sun.enterprise.v3.admin.AdminAdapterTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec Running com.sun.enterprise.v3.admin.CreateProfilerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec Running org.glassfish.tests.kernel.admin.CommandRunnerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec Running com.sun.enterprise.v3.admin.CommandRunnerTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec Running com.sun.enterprise.v3.common.PlainTextActionReporterTest ------------------------------------------------------------------------------- PlainTextActionReporterSUCCESSBabyTest Message Here!! ------------------------------------------------------------------------------- PlainTextActionReporterSUCCESSDescription: My Action DescriptionPapa Test Top Message child0 Message here [ChildKey0=ChildValue0 [AnotherChildKey0=AnotherChildValue0 Grand Kid#0 from child#0 Top Message [Grand Kid#0 from child#0key=value Grand Kid#1 from child#0 Top Message [Grand Kid#1 from child#0key=value Grand Kid#2 from child#0 Top Message [Grand Kid#2 from child#0key=value child1 Message here [ChildKey1=ChildValue1 [AnotherChildKey1=AnotherChildValue1 Grand Kid#0 from child#1 Top Message [Grand Kid#0 from child#1key=value Grand Kid#1 from child#1 Top Message [Grand Kid#1 from child#1key=value Grand Kid#2 from child#1 Top Message [Grand Kid#2 from child#1key=value child2 Message here [ChildKey2=ChildValue2 [AnotherChildKey2=AnotherChildValue2 Grand Kid#0 from child#2 Top Message [Grand Kid#0 from child#2key=value Grand Kid#1 from child#2 Top Message [Grand Kid#1 from child#2key=value Grand Kid#2 from child#2 Top Message [Grand Kid#2 from child#2key=value child3 Message here [ChildKey3=ChildValue3 [AnotherChildKey3=AnotherChildValue3 Grand Kid#0 from child#3 Top Message [Grand Kid#0 from child#3key=value Grand Kid#1 from child#3 Top Message [Grand Kid#1 from child#3key=value Grand Kid#2 from child#3 Top Message [Grand Kid#2 from child#3key=value child4 Message here [ChildKey4=ChildValue4 [AnotherChildKey4=AnotherChildValue4 Grand Kid#0 from child#4 Top Message [Grand Kid#0 from child#4key=value Grand Kid#1 from child#4 Top Message [Grand Kid#1 from child#4key=value Grand Kid#2 from child#4 Top Message [Grand Kid#2 from child#4key=value child5 Message here [ChildKey5=ChildValue5 [AnotherChildKey5=AnotherChildValue5 Grand Kid#0 from child#5 Top Message [Grand Kid#0 from child#5key=value Grand Kid#1 from child#5 Top Message [Grand Kid#1 from child#5key=value Grand Kid#2 from child#5 Top Message [Grand Kid#2 from child#5key=value child6 Message here [AnotherChildKey6=AnotherChildValue6 [ChildKey6=ChildValue6 Grand Kid#0 from child#6 Top Message [Grand Kid#0 from child#6key=value Grand Kid#1 from child#6 Top Message [Grand Kid#1 from child#6key=value Grand Kid#2 from child#6 Top Message [Grand Kid#2 from child#6key=value child7 Message here [AnotherChildKey7=AnotherChildValue7 [ChildKey7=ChildValue7 Grand Kid#0 from child#7 Top Message [Grand Kid#0 from child#7key=value Grand Kid#1 from child#7 Top Message [Grand Kid#1 from child#7key=value Grand Kid#2 from child#7 Top Message [Grand Kid#2 from child#7key=value ------------------------------------------------------------------------------- PlainTextActionReporterFAILUREjava.lang.IndexOutOfBoundsException: Hi I am a phony Exception!!FailureTest Message Here!! ------------------------------------------------------------------------------- PlainTextActionReporterSUCCESSDescription: My Action DescriptionMama Test Top Message child0 Message here [ChildKey0=ChildValue0 [AnotherChildKey0=AnotherChildValue0 Grand Kids #0 Top Message child1 Message here [ChildKey1=ChildValue1 [AnotherChildKey1=AnotherChildValue1 Grand Kids #1 Top Message child2 Message here [ChildKey2=ChildValue2 [AnotherChildKey2=AnotherChildValue2 Grand Kids #2 Top Message child3 Message here [ChildKey3=ChildValue3 [AnotherChildKey3=AnotherChildValue3 Grand Kids #3 Top Message child4 Message here [ChildKey4=ChildValue4 [AnotherChildKey4=AnotherChildValue4 Grand Kids #4 Top Message child5 Message here [ChildKey5=ChildValue5 [AnotherChildKey5=AnotherChildValue5 Grand Kids #5 Top Message child6 Message here [AnotherChildKey6=AnotherChildValue6 [ChildKey6=ChildValue6 Grand Kids #6 Top Message child7 Message here [AnotherChildKey7=AnotherChildValue7 [ChildKey7=ChildValue7 Grand Kids #7 Top Message ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec Running com.sun.enterprise.v3.admin.PrivacyTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.036 sec <<< FAILURE! Running org.glassfish.tests.kernel.deployment.EventsTest Tests run: 5, Failures: 0, Errors: 4, Skipped: 1, Time elapsed: 0.049 sec <<< FAILURE! Running com.sun.enterprise.v3.admin.ConfigAttributeSetTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec Running com.sun.enterprise.v3.admin.TestDocument Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec Results : Tests in error: privacyTests(com.sun.enterprise.v3.admin.PrivacyTest) undeployTest(org.glassfish.tests.kernel.deployment.EventsTest) deployTest(org.glassfish.tests.kernel.deployment.EventsTest) badUndeployTest(org.glassfish.tests.kernel.deployment.EventsTest) org.glassfish.tests.kernel.deployment.EventsTest Tests run: 19, Failures: 0, Errors: 5, Skipped: 5 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /home/romano/workspaces/glassfish/main-scratch-jdk7_29/nucleus/core/kernel/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 31 seconds [INFO] Finished at: Mon Sep 19 16:10:55 CEST 2011 [INFO] Final Memory: 165M/505M [INFO] ------------------------------------------------------------------------ =============================================================================================================================== Here is the surfire report : =============================================================================================================================== romano@frenchfish:~/workspaces/glassfish/main-scratch-jdk7_29$ cat nucleus/core/kernel/target/surefire-reports/*.txt ------------------------------------------------------------------------------- Test set: com.sun.enterprise.v3.admin.AdminAdapterTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec ------------------------------------------------------------------------------- Test set: com.sun.enterprise.v3.admin.CommandRunnerTest ------------------------------------------------------------------------------- Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec ------------------------------------------------------------------------------- Test set: com.sun.enterprise.v3.admin.ConfigAttributeSetTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec ------------------------------------------------------------------------------- Test set: com.sun.enterprise.v3.admin.CreateProfilerTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec ------------------------------------------------------------------------------- Test set: com.sun.enterprise.v3.admin.PrivacyTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.036 sec <<< FAILURE! privacyTests(com.sun.enterprise.v3.admin.PrivacyTest) Time elapsed: 0.034 sec <<< ERROR! org.jvnet.hk2.component.ComponentException: Failed to create a habitat at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159) at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94) at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123) at com.sun.enterprise.v3.admin.PrivacyTest.privacyTests(PrivacyTest.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241) at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219) at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181) at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100) at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167) ... 48 more Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150) at java.net.URL.openStream(URL.java:1035) at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106) at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188) ... 52 more ------------------------------------------------------------------------------- Test set: com.sun.enterprise.v3.admin.TestDocument ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec ------------------------------------------------------------------------------- Test set: com.sun.enterprise.v3.common.PlainTextActionReporterTest ------------------------------------------------------------------------------- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec ------------------------------------------------------------------------------- Test set: org.glassfish.tests.kernel.admin.CommandRunnerTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec ------------------------------------------------------------------------------- Test set: org.glassfish.tests.kernel.deployment.EventsTest ------------------------------------------------------------------------------- Tests run: 5, Failures: 0, Errors: 4, Skipped: 1, Time elapsed: 0.049 sec <<< FAILURE! undeployTest(org.glassfish.tests.kernel.deployment.EventsTest) Time elapsed: 0.006 sec <<< ERROR! org.jvnet.hk2.component.ComponentException: Failed to create a habitat at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159) at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94) at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123) at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:89) at org.glassfish.tests.utils.Utils.getHabitat(Utils.java:82) at org.glassfish.tests.utils.ConfigApiTest.getHabitat(ConfigApiTest.java:73) at org.glassfish.tests.kernel.deployment.EventsTest.setup(EventsTest.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241) at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219) at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181) at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100) at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167) ... 51 more Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150) at java.net.URL.openStream(URL.java:1035) at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106) at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188) ... 55 more deployTest(org.glassfish.tests.kernel.deployment.EventsTest) Time elapsed: 0.007 sec <<< ERROR! org.jvnet.hk2.component.ComponentException: Failed to create a habitat at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159) at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94) at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123) at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:89) at org.glassfish.tests.utils.Utils.getHabitat(Utils.java:82) at org.glassfish.tests.utils.ConfigApiTest.getHabitat(ConfigApiTest.java:73) at org.glassfish.tests.kernel.deployment.EventsTest.setup(EventsTest.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241) at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219) at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181) at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100) at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167) ... 51 more Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150) at java.net.URL.openStream(URL.java:1035) at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106) at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188) ... 55 more badUndeployTest(org.glassfish.tests.kernel.deployment.EventsTest) Time elapsed: 0.032 sec <<< ERROR! org.jvnet.hk2.component.ComponentException: Failed to create a habitat at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:180) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:159) at com.sun.enterprise.module.single.StaticModulesRegistry.createHabitat(StaticModulesRegistry.java:94) at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:123) at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:89) at org.glassfish.tests.utils.Utils.getHabitat(Utils.java:82) at org.glassfish.tests.utils.ConfigApiTest.getHabitat(ConfigApiTest.java:73) at org.glassfish.tests.kernel.deployment.EventsTest.setup(EventsTest.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241) at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:219) at com.sun.enterprise.module.single.ProxyModuleDefinition.getMetadata(ProxyModuleDefinition.java:181) at com.sun.enterprise.module.single.ProxyModule.getMetadata(ProxyModule.java:100) at com.sun.enterprise.module.single.SingleModulesRegistry.parseInhabitants(SingleModulesRegistry.java:124) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:167) ... 51 more Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /home/romano/.m2/repository/org/glassfish/common/common-util/4.0-SNAPSHOT/common-util-4.0-SNAPSHOT.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150) at java.net.URL.openStream(URL.java:1035) at com.sun.enterprise.module.single.ManifestProxy.<init>(ManifestProxy.java:106) at com.sun.enterprise.module.single.ProxyModuleDefinition.generate(ProxyModuleDefinition.java:188) ... 55 more org.glassfish.tests.kernel.deployment.EventsTest Time elapsed: 0.033 sec <<< ERROR! java.lang.NullPointerException at org.glassfish.tests.kernel.deployment.EventsTest.tearDown(EventsTest.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241) at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:537) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
        Hide
        Romain Grécourt added a comment -

        As the issue can be only seen when building from top level directory (which can be very long), you may want to use the following steps:

        $ cd [glassfishWorkspace]/nucleus/core/kernel
        $ mvn -Dtest=org.glassfish.tests.kernel.deployment.EventsTest#badUndeployTest org.apache.maven.plugins:maven-surefire-plugin:2.8:test
        

        You must use a version of the surefire plugin greater or equals to 2.7.3. For more information see this link

        Show
        Romain Grécourt added a comment - As the issue can be only seen when building from top level directory (which can be very long), you may want to use the following steps: $ cd [glassfishWorkspace]/nucleus/core/kernel $ mvn -Dtest=org.glassfish.tests.kernel.deployment.EventsTest#badUndeployTest org.apache.maven.plugins:maven-surefire-plugin:2.8:test You must use a version of the surefire plugin greater or equals to 2.7.3. For more information see this link
        Hide
        Hong Zhang added a comment -

        I have made some changes for the core/kernel deployment tests:

        1. As with JDK7, the tests are not necessarily executed with the order they are declared in the java file. I have merged the deploy and undeploy tests into one test so undeploy test logic always get executed after the deploy test logic.
        2. I added a NPE check in tearDown method in case setup method failed and the "application" variable was never initialized.

        You could re-run the deployment related tests in your environment to see if things are better now.

        I still don't understand why it would fail to create the habitat sometimes. From the stack trace, the test calls its super class ConfigApiTest to initialize the habitat, and for some reason the common-util.jar does not contain the expected Manifest file. This does not look like something that's specific to any particular test (as both admin.PrivacyTest and deployment.EventTests have this problem). I was not able to reproduce this on my linux box with JDK7, whether ran from top or just core/kernel or the badUndeploy test with the command you suggested in the issue report. And the common-util.jar in my repository does have a Manifest entry in it. Maybe you could do some further investigation on this in your environment.

        Show
        Hong Zhang added a comment - I have made some changes for the core/kernel deployment tests: 1. As with JDK7, the tests are not necessarily executed with the order they are declared in the java file. I have merged the deploy and undeploy tests into one test so undeploy test logic always get executed after the deploy test logic. 2. I added a NPE check in tearDown method in case setup method failed and the "application" variable was never initialized. You could re-run the deployment related tests in your environment to see if things are better now. I still don't understand why it would fail to create the habitat sometimes. From the stack trace, the test calls its super class ConfigApiTest to initialize the habitat, and for some reason the common-util.jar does not contain the expected Manifest file. This does not look like something that's specific to any particular test (as both admin.PrivacyTest and deployment.EventTests have this problem). I was not able to reproduce this on my linux box with JDK7, whether ran from top or just core/kernel or the badUndeploy test with the command you suggested in the issue report. And the common-util.jar in my repository does have a Manifest entry in it. Maybe you could do some further investigation on this in your environment.
        Hide
        scatari added a comment -

        Updating versions with appropriate values.

        Show
        scatari added a comment - Updating versions with appropriate values.
        Hide
        Romain Grécourt added a comment -

        Since Hong's changes (svn rev 50025), I'm not able to reproduce the issue anymore (tried 10 times over fresh checkout + build). Closing the isssue.

        Show
        Romain Grécourt added a comment - Since Hong's changes (svn rev 50025), I'm not able to reproduce the issue anymore (tried 10 times over fresh checkout + build). Closing the isssue.

          People

          • Assignee:
            Romain Grécourt
            Reporter:
            Romain Grécourt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: