7 Replies Latest reply on Dec 13, 2007 12:32 PM by Anil Saldanha

    ant tests-security-basic-unit

    Anil Saldanha Master

      please post the results of your local runs here:

      1) Update your AS5 workspace
      2) Start JBoss
      3) In the test suite module
      ant tests-security-basic-unit
      


      List your current runs here. So we can validate what we see on hudson with our local workspaces.

      Run with "all" config. Also let your JBoss instance bind to an "IP" as well as the localhost run.

        • 1. Re: ant tests-security-basic-unit
          Anil Saldanha Master

          "default" config

          asaldhana~/jboss-5.0/jboss-head/testsuite>ant tests-security-basic-unit
          Buildfile: build.xml
          tests-security-basic-unit:
           [echo] Starting patternset=security.includes config=tests-security-basic-un
          it
           [junit] Running org.jboss.test.jca.test.SecurityContextUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 17.437 sec
           [junit] Test org.jboss.test.jca.test.SecurityContextUnitTestCase FAILED
           [junit] Running org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.14 sec
           [junit] Running org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase
           [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 20.156 sec
           [junit] Running org.jboss.test.jmx.test.SecureRMIAdaptorUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.516 sec
           [junit] Running org.jboss.test.naming.test.SecurityUnitTestCase
           [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 16.204 sec
           [junit] Running org.jboss.test.perf.test.SecurePerfStressTestCase
           [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 32.985 sec
           [junit] Test org.jboss.test.perf.test.SecurePerfStressTestCase FAILED
           [junit] Running org.jboss.test.security.test.CallerInfoUnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.063 sec
           [junit] Test org.jboss.test.security.test.CallerInfoUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.ClientLoginModuleEJBUnitTestCas
          e
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.828 sec
           [junit] Running org.jboss.test.security.test.ClientLoginModuleUnitTestCase
           [junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 0.766 sec
           [junit] Test org.jboss.test.security.test.ClientLoginModuleUnitTestCase FAIL
          ED
           [junit] Running org.jboss.test.security.test.CustomPrincipalPropagationUnitT
          estCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 24.859 sec
           [junit] Running org.jboss.test.security.test.DeepCopySubjectUnitTestCase
           [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.172 sec
           [junit] Test org.jboss.test.security.test.DeepCopySubjectUnitTestCase FAILED
          
           [junit] Running org.jboss.test.security.test.DynamicLoginConfigServiceUnitTe
          stCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.078 sec
           [junit] Running org.jboss.test.security.test.EJBPermissionUnitTestCase
           [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.438 sec
           [junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
           [junit] Tests run: 25, Failures: 0, Errors: 4, Time elapsed: 47.75 sec
           [junit] Test org.jboss.test.security.test.EJBSpecUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.HttpsUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.156 sec
           [junit] Running org.jboss.test.security.test.JaasSecurityDomainUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.407 sec
           [junit] Running org.jboss.test.security.test.JaasSecurityManagerUnitTestCase
          
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.14 sec
           [junit] Running org.jboss.test.security.test.JaasUnitTestCase
           [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 2.546 sec
           [junit] Test org.jboss.test.security.test.JaasUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.672 sec
           [junit] Running org.jboss.test.security.test.LoginModulesUnitTestCase
           [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 7.625 sec
           [junit] Running org.jboss.test.security.test.MissingMethodUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.89 sec
           [junit] Running org.jboss.test.security.test.NamespacePermissionsUnitTestCas
          e
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.453 sec
           [junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484 sec
           [junit] Running org.jboss.test.security.test.RoleMappingModuleUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.782 sec
           [junit] Running org.jboss.test.security.test.SAInheritableThreadLocalUnitTes
          tCase
           [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.89 sec
           [junit] Test org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCa
          se FAILED
           [junit] Running org.jboss.test.security.test.SAThreadLocalUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.922 sec
           [junit] Running org.jboss.test.security.test.SecurityDomainLoginModuleOption
          UnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.312 sec
           [junit] Running org.jboss.test.security.test.SecurityProxyUnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.547 sec
           [junit] Running org.jboss.test.security.test.SubjectContextUnitTestCase
           [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 2.578 sec
           [junit] Running org.jboss.test.security.test.WebConstraintsUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 2, Time elapsed: 12.485 sec
           [junit] Test org.jboss.test.security.test.WebConstraintsUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.WebResourcePermissionUnitTestCa
          se
           [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.468 sec
           [junit] Running org.jboss.test.security.test.WebUserDataPermissionUnitTestCa
          se
           [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.563 sec
           [junit] Running org.jboss.test.security.test.XMLLoginModulesUnitTestCase
           [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 8.797 sec
           [junit] Running org.jboss.test.security.test.auth.AppCallbackHandlerUnitTest
          Case
           [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.062 sec
           [junit] Running org.jboss.test.security.test.authorization.XACMLEJBIntegrati
          onUnitTest
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.031 sec
           [junit] Running org.jboss.test.security.test.mapping.DeploymentRoleMappingTe
          stCase
           [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.609 sec
           [junit] Test org.jboss.test.security.test.mapping.DeploymentRoleMappingTestC
          ase FAILED
           [junit] Running org.jboss.test.security.test.mapping.RoleMappingConfigUnitTe
          stCase
           [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.344 sec
           [junit] Running org.jboss.test.security.test.mapping.RoleMappingWebTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.578 sec
           [junit] Running org.jboss.test.timer.test.SecureTimerUnitTestCase
           [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 50.203 sec
           [junit] Running org.jboss.test.web.security.authorization.XACMLWebIntegratio
          nUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.735 sec
          
          BUILD SUCCESSFUL
          Total time: 5 minutes 42 seconds
          asaldhana~/jboss-5.0/jboss-head/testsuite>
          


          "all" config
          asaldhana~/jboss-5.0/jboss-head/testsuite>ant tests-security-basic-unit
          Buildfile: build.xml
          tests-security-basic-unit:
           [echo] Starting patternset=security.includes config=tests-security-basic-un
          it
           [junit] Running org.jboss.test.jca.test.SecurityContextUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 20.204 sec
           [junit] Test org.jboss.test.jca.test.SecurityContextUnitTestCase FAILED
           [junit] Running org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.219 sec
           [junit] Running org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase
           [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 22.89 sec
           [junit] Running org.jboss.test.jmx.test.SecureRMIAdaptorUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1 sec
           [junit] Running org.jboss.test.naming.test.SecurityUnitTestCase
           [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 19.421 sec
           [junit] Running org.jboss.test.perf.test.SecurePerfStressTestCase
           [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 41.937 sec
           [junit] Test org.jboss.test.perf.test.SecurePerfStressTestCase FAILED
           [junit] Running org.jboss.test.security.test.CallerInfoUnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.984 sec
           [junit] Test org.jboss.test.security.test.CallerInfoUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.ClientLoginModuleEJBUnitTestCas
          e
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.953 sec
           [junit] Running org.jboss.test.security.test.ClientLoginModuleUnitTestCase
           [junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 0.734 sec
           [junit] Test org.jboss.test.security.test.ClientLoginModuleUnitTestCase FAIL
          ED
           [junit] Running org.jboss.test.security.test.CustomPrincipalPropagationUnitT
          estCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 30.578 sec
           [junit] Running org.jboss.test.security.test.DeepCopySubjectUnitTestCase
           [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.969 sec
           [junit] Test org.jboss.test.security.test.DeepCopySubjectUnitTestCase FAILED
          
           [junit] Running org.jboss.test.security.test.DynamicLoginConfigServiceUnitTe
          stCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.078 sec
           [junit] Running org.jboss.test.security.test.EJBPermissionUnitTestCase
           [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.453 sec
           [junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
           [junit] Tests run: 25, Failures: 0, Errors: 4, Time elapsed: 43.234 sec
           [junit] Test org.jboss.test.security.test.EJBSpecUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.HttpsUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.031 sec
           [junit] Running org.jboss.test.security.test.JaasSecurityDomainUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.016 sec
           [junit] Running org.jboss.test.security.test.JaasSecurityManagerUnitTestCase
          
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.11 sec
           [junit] Running org.jboss.test.security.test.JaasUnitTestCase
           [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 2.75 sec
           [junit] Test org.jboss.test.security.test.JaasUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.688 sec
           [junit] Running org.jboss.test.security.test.LoginModulesUnitTestCase
           [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 7.765 sec
           [junit] Running org.jboss.test.security.test.MissingMethodUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.75 sec
           [junit] Running org.jboss.test.security.test.NamespacePermissionsUnitTestCas
          e
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.468 sec
           [junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484 sec
           [junit] Running org.jboss.test.security.test.RoleMappingModuleUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.719 sec
           [junit] Running org.jboss.test.security.test.SAInheritableThreadLocalUnitTes
          tCase
           [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.719 sec
           [junit] Test org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCa
          se FAILED
           [junit] Running org.jboss.test.security.test.SAThreadLocalUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.953 sec
           [junit] Running org.jboss.test.security.test.SecurityDomainLoginModuleOption
          UnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.203 sec
           [junit] Running org.jboss.test.security.test.SecurityProxyUnitTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.656 sec
           [junit] Running org.jboss.test.security.test.SubjectContextUnitTestCase
           [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 2.985 sec
           [junit] Running org.jboss.test.security.test.WebConstraintsUnitTestCase
           [junit] Tests run: 4, Failures: 0, Errors: 2, Time elapsed: 12.359 sec
           [junit] Test org.jboss.test.security.test.WebConstraintsUnitTestCase FAILED
           [junit] Running org.jboss.test.security.test.WebResourcePermissionUnitTestCa
          se
           [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.453 sec
           [junit] Running org.jboss.test.security.test.WebUserDataPermissionUnitTestCa
          se
           [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.438 sec
           [junit] Running org.jboss.test.security.test.XMLLoginModulesUnitTestCase
           [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 8.187 sec
           [junit] Running org.jboss.test.security.test.auth.AppCallbackHandlerUnitTest
          Case
           [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
           [junit] Running org.jboss.test.security.test.authorization.XACMLEJBIntegrati
          onUnitTest
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.359 sec
           [junit] Running org.jboss.test.security.test.mapping.DeploymentRoleMappingTe
          stCase
           [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.391 sec
           [junit] Test org.jboss.test.security.test.mapping.DeploymentRoleMappingTestC
          ase FAILED
           [junit] Running org.jboss.test.security.test.mapping.RoleMappingConfigUnitTe
          stCase
           [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.266 sec
           [junit] Running org.jboss.test.security.test.mapping.RoleMappingWebTestCase
           [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.625 sec
           [junit] Running org.jboss.test.timer.test.SecureTimerUnitTestCase
           [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 56.637 sec
           [junit] Running org.jboss.test.web.security.authorization.XACMLWebIntegratio
          nUnitTestCase
           [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.547 sec
          
          BUILD SUCCESSFUL
          Total time: 6 minutes 2 seconds
          asaldhana~/jboss-5.0/jboss-head/testsuite>
          


          • 2. Re: ant tests-security-basic-unit
            Anil Saldanha Master

            Looks like we have the "localhost/ip" issues seen on hudson. I am going to fix the tests.

            With JBoss bound to an IP address.

            asaldhana~/jboss-5.0/jboss-head/testsuite>ant tests-security-basic-unit
            Buildfile: build.xml
            
            tests-security-basic-unit:
             [mkdir] Created dir: C:\cygwin\home\asaldhana\jboss-5.0\jboss-head\testsuite
            \output\reports
             [echo] Starting patternset=security.includes config=tests-security-basic-un
            it
             [junit] Running org.jboss.test.jca.test.SecurityContextUnitTestCase
             [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 25.89 sec
             [junit] Test org.jboss.test.jca.test.SecurityContextUnitTestCase FAILED
             [junit] Running org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.5 sec
             [junit] Running org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase
             [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 21.171 sec
             [junit] Running org.jboss.test.jmx.test.SecureRMIAdaptorUnitTestCase
             [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.141 sec
             [junit] Running org.jboss.test.naming.test.SecurityUnitTestCase
             [junit] Tests run: 7, Failures: 0, Errors: 2, Time elapsed: 22.36 sec
             [junit] Test org.jboss.test.naming.test.SecurityUnitTestCase FAILED
             [junit] Running org.jboss.test.perf.test.SecurePerfStressTestCase
             [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 40.641 sec
             [junit] Test org.jboss.test.perf.test.SecurePerfStressTestCase FAILED
             [junit] Running org.jboss.test.security.test.CallerInfoUnitTestCase
             [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 6.047 sec
             [junit] Test org.jboss.test.security.test.CallerInfoUnitTestCase FAILED
             [junit] Running org.jboss.test.security.test.ClientLoginModuleEJBUnitTestCas
            e
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.14 sec
             [junit] Running org.jboss.test.security.test.ClientLoginModuleUnitTestCase
             [junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 0.797 sec
             [junit] Test org.jboss.test.security.test.ClientLoginModuleUnitTestCase FAIL
            ED
             [junit] Running org.jboss.test.security.test.CustomPrincipalPropagationUnitT
            estCase
             [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 9.937 sec
             [junit] Test org.jboss.test.security.test.CustomPrincipalPropagationUnitTest
            Case FAILED
             [junit] Running org.jboss.test.security.test.DeepCopySubjectUnitTestCase
             [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 2.687 sec
             [junit] Test org.jboss.test.security.test.DeepCopySubjectUnitTestCase FAILED
            
             [junit] Running org.jboss.test.security.test.DynamicLoginConfigServiceUnitTe
            stCase
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.141 sec
             [junit] Running org.jboss.test.security.test.EJBPermissionUnitTestCase
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.438 sec
             [junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
             [junit] Tests run: 25, Failures: 0, Errors: 4, Time elapsed: 51.766 sec
             [junit] Test org.jboss.test.security.test.EJBSpecUnitTestCase FAILED
             [junit] Running org.jboss.test.security.test.HttpsUnitTestCase
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.093 sec
             [junit] Running org.jboss.test.security.test.JaasSecurityDomainUnitTestCase
             [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.14 sec
             [junit] Running org.jboss.test.security.test.JaasSecurityManagerUnitTestCase
            
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.11 sec
             [junit] Running org.jboss.test.security.test.JaasUnitTestCase
             [junit] Tests run: 3, Failures: 1, Errors: 1, Time elapsed: 7.328 sec
             [junit] Test org.jboss.test.security.test.JaasUnitTestCase FAILED
             [junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.672 sec
             [junit] Running org.jboss.test.security.test.LoginModulesUnitTestCase
             [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 17.765 sec
             [junit] Running org.jboss.test.security.test.MissingMethodUnitTestCase
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5 sec
             [junit] Running org.jboss.test.security.test.NamespacePermissionsUnitTestCas
            e
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.406 sec
             [junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
             [junit] Running org.jboss.test.security.test.RoleMappingModuleUnitTestCase
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.765 sec
             [junit] Running org.jboss.test.security.test.SAInheritableThreadLocalUnitTes
            tCase
             [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.719 sec
             [junit] Test org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCa
            se FAILED
             [junit] Running org.jboss.test.security.test.SAThreadLocalUnitTestCase
             [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.703 sec
             [junit] Running org.jboss.test.security.test.SecurityDomainLoginModuleOption
            UnitTestCase
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.219 sec
             [junit] Running org.jboss.test.security.test.SecurityProxyUnitTestCase
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.546 sec
             [junit] Running org.jboss.test.security.test.SubjectContextUnitTestCase
             [junit] Tests run: 8, Failures: 0, Errors: 2, Time elapsed: 17.25 sec
             [junit] Test org.jboss.test.security.test.SubjectContextUnitTestCase FAILED
             [junit] Running org.jboss.test.security.test.WebConstraintsUnitTestCase
             [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 28.031 sec
             [junit] Test org.jboss.test.security.test.WebConstraintsUnitTestCase FAILED
             [junit] Running org.jboss.test.security.test.WebResourcePermissionUnitTestCa
            se
             [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.594 sec
             [junit] Running org.jboss.test.security.test.WebUserDataPermissionUnitTestCa
            se
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.437 sec
             [junit] Running org.jboss.test.security.test.XMLLoginModulesUnitTestCase
             [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 18.062 sec
             [junit] Running org.jboss.test.security.test.auth.AppCallbackHandlerUnitTest
            Case
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
             [junit] Running org.jboss.test.security.test.authorization.XACMLEJBIntegrati
            onUnitTest
             [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.484 sec
             [junit] Running org.jboss.test.security.test.mapping.DeploymentRoleMappingTe
            stCase
             [junit] Tests run: 2, Failures: 1, Errors: 1, Time elapsed: 6.922 sec
             [junit] Test org.jboss.test.security.test.mapping.DeploymentRoleMappingTestC
            ase FAILED
             [junit] Running org.jboss.test.security.test.mapping.RoleMappingConfigUnitTe
            stCase
             [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.25 sec
             [junit] Running org.jboss.test.security.test.mapping.RoleMappingWebTestCase
             [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.078 sec
             [junit] Test org.jboss.test.security.test.mapping.RoleMappingWebTestCase FAI
            LED
             [junit] Running org.jboss.test.timer.test.SecureTimerUnitTestCase
             [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 56.578 sec
             [junit] Running org.jboss.test.web.security.authorization.XACMLWebIntegratio
            nUnitTestCase
             [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 10.547 sec
             [junit] Test org.jboss.test.web.security.authorization.XACMLWebIntegrationUn
            itTestCase FAILED
            
            BUILD SUCCESSFUL
            Total time: 7 minutes 26 seconds
            


            • 3. Re: ant tests-security-basic-unit
              Stefan Guilhen Apprentice

              Here are my results against the "all" config:

              tests-security-basic-unit:
               [echo] Starting patternset=security.includes config=tests-security-basic-unit
               [junit] Running org.jboss.test.jca.test.SecurityContextUnitTestCase
               [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 8.411 sec
               [junit] Test org.jboss.test.jca.test.SecurityContextUnitTestCase FAILED
               [junit] Running org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.285 sec
               [junit] Running org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase
               [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 19.375 sec
               [junit] Running org.jboss.test.jmx.test.SecureRMIAdaptorUnitTestCase
               [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.62 sec
               [junit] Running org.jboss.test.naming.test.SecurityUnitTestCase
               [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.68 sec
               [junit] Running org.jboss.test.perf.test.SecurePerfStressTestCase
               [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 13.086 sec
               [junit] Test org.jboss.test.perf.test.SecurePerfStressTestCase FAILED
               [junit] Running org.jboss.test.security.test.CallerInfoUnitTestCase
               [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.422 sec
               [junit] Test org.jboss.test.security.test.CallerInfoUnitTestCase FAILED
               [junit] Running org.jboss.test.security.test.ClientLoginModuleEJBUnitTestCase
               [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.18 sec
               [junit] Running org.jboss.test.security.test.ClientLoginModuleUnitTestCase
               [junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 0.584 sec
               [junit] Test org.jboss.test.security.test.ClientLoginModuleUnitTestCase FAILED
               [junit] Running org.jboss.test.security.test.CustomPrincipalPropagationUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 10.273 sec
               [junit] Running org.jboss.test.security.test.DeepCopySubjectUnitTestCase
               [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.716 sec
               [junit] Test org.jboss.test.security.test.DeepCopySubjectUnitTestCase FAILED
               [junit] Running org.jboss.test.security.test.DynamicLoginConfigServiceUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.617 sec
               [junit] Running org.jboss.test.security.test.EJBPermissionUnitTestCase
               [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.305 sec
               [junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
               [junit] Tests run: 25, Failures: 0, Errors: 4, Time elapsed: 27.808 sec
               [junit] Test org.jboss.test.security.test.EJBSpecUnitTestCase FAILED
               [junit] Running org.jboss.test.security.test.HttpsUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.49 sec
               [junit] Running org.jboss.test.security.test.JaasSecurityDomainUnitTestCase
               [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.523 sec
               [junit] Running org.jboss.test.security.test.JaasSecurityManagerUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.095 sec
               [junit] Running org.jboss.test.security.test.JaasUnitTestCase
               [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 2.088 sec
               [junit] Test org.jboss.test.security.test.JaasUnitTestCase FAILED
               [junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.58 sec
               [junit] Running org.jboss.test.security.test.LoginModulesUnitTestCase
               [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 1.293 sec
               [junit] Running org.jboss.test.security.test.MissingMethodUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.045 sec
               [junit] Running org.jboss.test.security.test.NamespacePermissionsUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.38 sec
               [junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
               [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.319 sec
               [junit] Running org.jboss.test.security.test.RoleMappingModuleUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.654 sec
               [junit] Running org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase
               [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.659 sec
               [junit] Test org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase FAILED
               [junit] Running org.jboss.test.security.test.SAThreadLocalUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.594 sec
               [junit] Running org.jboss.test.security.test.SecurityDomainLoginModuleOptionUnitTestCase
               [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.166 sec
               [junit] Running org.jboss.test.security.test.SecurityProxyUnitTestCase
               [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.038 sec
               [junit] Running org.jboss.test.security.test.SubjectContextUnitTestCase
               [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.834 sec
               [junit] Running org.jboss.test.security.test.WebConstraintsUnitTestCase
               [junit] Tests run: 4, Failures: 0, Errors: 2, Time elapsed: 11.686 sec
               [junit] Test org.jboss.test.security.test.WebConstraintsUnitTestCase FAILED
               [junit] Running org.jboss.test.security.test.WebResourcePermissionUnitTestCase
               [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.373 sec
               [junit] Running org.jboss.test.security.test.WebUserDataPermissionUnitTestCase
               [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.342 sec
               [junit] Running org.jboss.test.security.test.XMLLoginModulesUnitTestCase
               [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 1.738 sec
               [junit] Running org.jboss.test.security.test.auth.AppCallbackHandlerUnitTestCase
               [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.039 sec
               [junit] Running org.jboss.test.security.test.authorization.XACMLEJBIntegrationUnitTest
               [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.306 sec
               [junit] Running org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase
               [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 1.551 sec
               [junit] Test org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase FAILED
               [junit] Running org.jboss.test.security.test.mapping.RoleMappingConfigUnitTestCase
               [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.239 sec
               [junit] Running org.jboss.test.security.test.mapping.RoleMappingWebTestCase
               [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.129 sec
               [junit] Running org.jboss.test.timer.test.SecureTimerUnitTestCase
               [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 46.991 sec
               [junit] Running org.jboss.test.web.security.authorization.XACMLWebIntegrationUnitTestCase
               [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.38 sec
              
              


              I think those are consistent with the results Anil is getting on his end.

              • 4. Re: ant tests-security-basic-unit
                Marcus Moyses Novice

                "all" config:

                [mmoyses@mmoyses testsuite]$ ant tests-security-basic-unit
                Buildfile: build.xml
                Overriding previous definition of reference to apache.commons.classpath
                Overriding previous definition of reference to sax.classpath
                Overriding previous definition of reference to xdoclet.task.classpath
                Overriding previous definition of reference to gjt.jpl-util.classpath
                Overriding previous definition of reference to opennms.joesnmp.classpath
                Overriding previous definition of reference to jacorb.idl.classpath
                Overriding previous definition of reference to sleepycat.classpath
                Overriding previous definition of reference to apache.tomcat55.classpath
                Overriding previous definition of reference to trove.classpath
                Overriding previous definition of reference to qdox.classpath
                Overriding previous definition of reference to javassist.classpath
                Overriding previous definition of reference to hibernate3.classpath
                Overriding previous definition of reference to odmg.classpath
                Overriding previous definition of reference to cglib.classpath
                Overriding previous definition of reference to ejb3-persistence.classpath
                Overriding previous definition of reference to spring.classpath
                Overriding previous definition of reference to apache.ant.classpath
                Overriding previous definition of reference to jboss.test.classpath
                
                tests-security-basic-unit:
                 [mkdir] Created dir: /opt/workspace/trunk/testsuite/output/log
                 [echo] Starting patternset=security.includes config=tests-security-basic-unit
                 [junit] Running org.jboss.test.jca.test.SecurityContextUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 7.938 sec
                 [junit] Test org.jboss.test.jca.test.SecurityContextUnitTestCase FAILED
                 [junit] Running org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.135 sec
                 [junit] Running org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase
                 [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 19.378 sec
                 [junit] Running org.jboss.test.jmx.test.SecureRMIAdaptorUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.869 sec
                 [junit] Running org.jboss.test.naming.test.SecurityUnitTestCase
                 [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.778 sec
                 [junit] Running org.jboss.test.perf.test.SecurePerfStressTestCase
                 [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 13.053 sec
                 [junit] Test org.jboss.test.perf.test.SecurePerfStressTestCase FAILED
                 [junit] Running org.jboss.test.security.test.CallerInfoUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.567 sec
                 [junit] Test org.jboss.test.security.test.CallerInfoUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.ClientLoginModuleEJBUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.389 sec
                 [junit] Running org.jboss.test.security.test.ClientLoginModuleUnitTestCase
                 [junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 0.637 sec
                 [junit] Test org.jboss.test.security.test.ClientLoginModuleUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.CustomPrincipalPropagationUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 9.518 sec
                 [junit] Running org.jboss.test.security.test.DeepCopySubjectUnitTestCase
                 [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.923 sec
                 [junit] Test org.jboss.test.security.test.DeepCopySubjectUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.DynamicLoginConfigServiceUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.76 sec
                 [junit] Running org.jboss.test.security.test.EJBPermissionUnitTestCase
                 [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.367 sec
                 [junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
                 [junit] Tests run: 25, Failures: 0, Errors: 4, Time elapsed: 28.481 sec
                 [junit] Test org.jboss.test.security.test.EJBSpecUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.HttpsUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.527 sec
                 [junit] Running org.jboss.test.security.test.JaasSecurityDomainUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.573 sec
                 [junit] Running org.jboss.test.security.test.JaasSecurityManagerUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.12 sec
                 [junit] Running org.jboss.test.security.test.JaasUnitTestCase
                 [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 1.767 sec
                 [junit] Test org.jboss.test.security.test.JaasUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.569 sec
                 [junit] Running org.jboss.test.security.test.LoginModulesUnitTestCase
                 [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 1.413 sec
                 [junit] Running org.jboss.test.security.test.MissingMethodUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.285 sec
                 [junit] Running org.jboss.test.security.test.NamespacePermissionsUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.445 sec
                 [junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.364 sec
                 [junit] Running org.jboss.test.security.test.RoleMappingModuleUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.731 sec
                 [junit] Running org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase
                 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.665 sec
                 [junit] Test org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.SAThreadLocalUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.674 sec
                 [junit] Running org.jboss.test.security.test.SecurityDomainLoginModuleOptionUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.224 sec
                 [junit] Running org.jboss.test.security.test.SecurityProxyUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.257 sec
                 [junit] Running org.jboss.test.security.test.SubjectContextUnitTestCase
                 [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.95 sec
                 [junit] Running org.jboss.test.security.test.WebConstraintsUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 2, Time elapsed: 12.099 sec
                 [junit] Test org.jboss.test.security.test.WebConstraintsUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.WebResourcePermissionUnitTestCase
                 [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.385 sec
                 [junit] Running org.jboss.test.security.test.WebUserDataPermissionUnitTestCase
                 [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.394 sec
                 [junit] Running org.jboss.test.security.test.XMLLoginModulesUnitTestCase
                 [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 2.374 sec
                 [junit] Running org.jboss.test.security.test.auth.AppCallbackHandlerUnitTestCase
                 [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.039 sec
                 [junit] Running org.jboss.test.security.test.authorization.XACMLEJBIntegrationUnitTest
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.803 sec
                 [junit] Running org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase
                 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 1.566 sec
                 [junit] Test org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase FAILED
                 [junit] Running org.jboss.test.security.test.mapping.RoleMappingConfigUnitTestCase
                 [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.251 sec
                 [junit] Running org.jboss.test.security.test.mapping.RoleMappingWebTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.16 sec
                 [junit] Running org.jboss.test.timer.test.SecureTimerUnitTestCase
                 [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 47.501 sec
                 [junit] Running org.jboss.test.web.security.authorization.XACMLWebIntegrationUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.435 sec
                
                BUILD SUCCESSFUL
                Total time: 3 minutes 50 seconds
                


                "all" config binding to an IP:
                [mmoyses@mmoyses testsuite]$ ant tests-security-basic-unit
                Buildfile: build.xml
                Overriding previous definition of reference to apache.commons.classpath
                Overriding previous definition of reference to sax.classpath
                Overriding previous definition of reference to xdoclet.task.classpath
                Overriding previous definition of reference to gjt.jpl-util.classpath
                Overriding previous definition of reference to opennms.joesnmp.classpath
                Overriding previous definition of reference to jacorb.idl.classpath
                Overriding previous definition of reference to sleepycat.classpath
                Overriding previous definition of reference to apache.tomcat55.classpath
                Overriding previous definition of reference to trove.classpath
                Overriding previous definition of reference to qdox.classpath
                Overriding previous definition of reference to javassist.classpath
                Overriding previous definition of reference to hibernate3.classpath
                Overriding previous definition of reference to odmg.classpath
                Overriding previous definition of reference to cglib.classpath
                Overriding previous definition of reference to ejb3-persistence.classpath
                Overriding previous definition of reference to spring.classpath
                Overriding previous definition of reference to apache.ant.classpath
                Overriding previous definition of reference to jboss.test.classpath
                
                tests-security-basic-unit:
                 [echo] Starting patternset=security.includes config=tests-security-basic-unit
                 [junit] Running org.jboss.test.jca.test.SecurityContextUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 7.601 sec
                 [junit] Test org.jboss.test.jca.test.SecurityContextUnitTestCase FAILED
                 [junit] Running org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.35 sec
                 [junit] Running org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase
                 [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 19.366 sec
                 [junit] Running org.jboss.test.jmx.test.SecureRMIAdaptorUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.826 sec
                 [junit] Running org.jboss.test.naming.test.SecurityUnitTestCase
                 [junit] Tests run: 7, Failures: 0, Errors: 2, Time elapsed: 5.713 sec
                 [junit] Test org.jboss.test.naming.test.SecurityUnitTestCase FAILED
                 [junit] Running org.jboss.test.perf.test.SecurePerfStressTestCase
                 [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 13.351 sec
                 [junit] Test org.jboss.test.perf.test.SecurePerfStressTestCase FAILED
                 [junit] Running org.jboss.test.security.test.CallerInfoUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.849 sec
                 [junit] Test org.jboss.test.security.test.CallerInfoUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.ClientLoginModuleEJBUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.603 sec
                 [junit] Running org.jboss.test.security.test.ClientLoginModuleUnitTestCase
                 [junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 0.597 sec
                 [junit] Test org.jboss.test.security.test.ClientLoginModuleUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.CustomPrincipalPropagationUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 1.852 sec
                 [junit] Test org.jboss.test.security.test.CustomPrincipalPropagationUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.DeepCopySubjectUnitTestCase
                 [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.991 sec
                 [junit] Test org.jboss.test.security.test.DeepCopySubjectUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.DynamicLoginConfigServiceUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.821 sec
                 [junit] Running org.jboss.test.security.test.EJBPermissionUnitTestCase
                 [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.412 sec
                 [junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
                 [junit] Tests run: 25, Failures: 0, Errors: 4, Time elapsed: 28.807 sec
                 [junit] Test org.jboss.test.security.test.EJBSpecUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.HttpsUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.645 sec
                 [junit] Running org.jboss.test.security.test.JaasSecurityDomainUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.92 sec
                 [junit] Running org.jboss.test.security.test.JaasSecurityManagerUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.106 sec
                 [junit] Running org.jboss.test.security.test.JaasUnitTestCase
                 [junit] Tests run: 3, Failures: 1, Errors: 1, Time elapsed: 2.401 sec
                 [junit] Test org.jboss.test.security.test.JaasUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.57 sec
                 [junit] Running org.jboss.test.security.test.LoginModulesUnitTestCase
                 [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 1.4 sec
                 [junit] Running org.jboss.test.security.test.MissingMethodUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.658 sec
                 [junit] Running org.jboss.test.security.test.NamespacePermissionsUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.34 sec
                 [junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.386 sec
                 [junit] Running org.jboss.test.security.test.RoleMappingModuleUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.688 sec
                 [junit] Running org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase
                 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.721 sec
                 [junit] Test org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.SAThreadLocalUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.76 sec
                 [junit] Running org.jboss.test.security.test.SecurityDomainLoginModuleOptionUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.221 sec
                 [junit] Running org.jboss.test.security.test.SecurityProxyUnitTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.491 sec
                 [junit] Running org.jboss.test.security.test.SubjectContextUnitTestCase
                 [junit] Tests run: 8, Failures: 0, Errors: 2, Time elapsed: 1.897 sec
                 [junit] Test org.jboss.test.security.test.SubjectContextUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.WebConstraintsUnitTestCase
                 [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 11.002 sec
                 [junit] Test org.jboss.test.security.test.WebConstraintsUnitTestCase FAILED
                 [junit] Running org.jboss.test.security.test.WebResourcePermissionUnitTestCase
                 [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.438 sec
                 [junit] Running org.jboss.test.security.test.WebUserDataPermissionUnitTestCase
                 [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.345 sec
                 [junit] Running org.jboss.test.security.test.XMLLoginModulesUnitTestCase
                 [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 1.94 sec
                 [junit] Running org.jboss.test.security.test.auth.AppCallbackHandlerUnitTestCase
                 [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.092 sec
                 [junit] Running org.jboss.test.security.test.authorization.XACMLEJBIntegrationUnitTest
                 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.143 sec
                 [junit] Running org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase
                 [junit] Tests run: 2, Failures: 1, Errors: 1, Time elapsed: 1.532 sec
                 [junit] Test org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase FAILED
                 [junit] Running org.jboss.test.security.test.mapping.RoleMappingConfigUnitTestCase
                 [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.209 sec
                 [junit] Running org.jboss.test.security.test.mapping.RoleMappingWebTestCase
                 [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.698 sec
                 [junit] Test org.jboss.test.security.test.mapping.RoleMappingWebTestCase FAILED
                 [junit] Running org.jboss.test.timer.test.SecureTimerUnitTestCase
                 [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 47.24 sec
                 [junit] Running org.jboss.test.web.security.authorization.XACMLWebIntegrationUnitTestCase
                 [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.236 sec
                 [junit] Test org.jboss.test.web.security.authorization.XACMLWebIntegrationUnitTestCase FAILED
                
                BUILD SUCCESSFUL
                Total time: 3 minutes 40 seconds
                


                • 5. Re: ant tests-security-basic-unit
                  Anil Saldanha Master

                  I need to start fixing places where the test infrastructure is pointing to "localhost" rather than the ip address the user instance binds to. :)

                  I am starting with the following util class that is affecting all web security tests.

                  org.jboss.test.util.web.HttpUtils


                  • 6. Re: ant tests-security-basic-unit
                    Stefan Guilhen Apprentice

                    Results when binding JBoss to my IP address:

                    tests-security-basic-unit:
                     [echo] Starting patternset=security.includes config=tests-security-basic-unit
                     [junit] Running org.jboss.test.jca.test.SecurityContextUnitTestCase
                     [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 7.801 sec
                     [junit] Test org.jboss.test.jca.test.SecurityContextUnitTestCase FAILED
                     [junit] Running org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.172 sec
                     [junit] Running org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase
                     [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 19.34 sec
                     [junit] Running org.jboss.test.jmx.test.SecureRMIAdaptorUnitTestCase
                     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.78 sec
                     [junit] Running org.jboss.test.naming.test.SecurityUnitTestCase
                     [junit] Tests run: 7, Failures: 0, Errors: 2, Time elapsed: 5.088 sec
                     [junit] Test org.jboss.test.naming.test.SecurityUnitTestCase FAILED
                     [junit] Running org.jboss.test.perf.test.SecurePerfStressTestCase
                     [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 13.155 sec
                     [junit] Test org.jboss.test.perf.test.SecurePerfStressTestCase FAILED
                     [junit] Running org.jboss.test.security.test.CallerInfoUnitTestCase
                     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.921 sec
                     [junit] Test org.jboss.test.security.test.CallerInfoUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.ClientLoginModuleEJBUnitTestCase
                     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.213 sec
                     [junit] Running org.jboss.test.security.test.ClientLoginModuleUnitTestCase
                     [junit] Tests run: 6, Failures: 2, Errors: 0, Time elapsed: 0.577 sec
                     [junit] Test org.jboss.test.security.test.ClientLoginModuleUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.CustomPrincipalPropagationUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 2.218 sec
                     [junit] Test org.jboss.test.security.test.CustomPrincipalPropagationUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.DeepCopySubjectUnitTestCase
                     [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.845 sec
                     [junit] Test org.jboss.test.security.test.DeepCopySubjectUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.DynamicLoginConfigServiceUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.771 sec
                     [junit] Running org.jboss.test.security.test.EJBPermissionUnitTestCase
                     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.343 sec
                     [junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
                     [junit] Tests run: 25, Failures: 0, Errors: 4, Time elapsed: 28.063 sec
                     [junit] Test org.jboss.test.security.test.EJBSpecUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.HttpsUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.051 sec
                     [junit] Running org.jboss.test.security.test.JaasSecurityDomainUnitTestCase
                     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.844 sec
                     [junit] Running org.jboss.test.security.test.JaasSecurityManagerUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.145 sec
                     [junit] Running org.jboss.test.security.test.JaasUnitTestCase
                     [junit] Tests run: 3, Failures: 1, Errors: 1, Time elapsed: 1.535 sec
                     [junit] Test org.jboss.test.security.test.JaasUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.627 sec
                     [junit] Running org.jboss.test.security.test.LoginModulesUnitTestCase
                     [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 1.522 sec
                     [junit] Running org.jboss.test.security.test.MissingMethodUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.017 sec
                     [junit] Running org.jboss.test.security.test.NamespacePermissionsUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.332 sec
                     [junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
                     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.353 sec
                     [junit] Running org.jboss.test.security.test.RoleMappingModuleUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.628 sec
                     [junit] Running org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase
                     [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.635 sec
                     [junit] Test org.jboss.test.security.test.SAInheritableThreadLocalUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.SAThreadLocalUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.617 sec
                     [junit] Running org.jboss.test.security.test.SecurityDomainLoginModuleOptionUnitTestCase
                     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.203 sec
                     [junit] Running org.jboss.test.security.test.SecurityProxyUnitTestCase
                     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.105 sec
                     [junit] Running org.jboss.test.security.test.SubjectContextUnitTestCase
                     [junit] Tests run: 8, Failures: 0, Errors: 2, Time elapsed: 2.557 sec
                     [junit] Test org.jboss.test.security.test.SubjectContextUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.WebConstraintsUnitTestCase
                     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 11.023 sec
                     [junit] Test org.jboss.test.security.test.WebConstraintsUnitTestCase FAILED
                     [junit] Running org.jboss.test.security.test.WebResourcePermissionUnitTestCase
                     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.395 sec
                     [junit] Running org.jboss.test.security.test.WebUserDataPermissionUnitTestCase
                     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.342 sec
                     [junit] Running org.jboss.test.security.test.XMLLoginModulesUnitTestCase
                     [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 2.014 sec
                     [junit] Running org.jboss.test.security.test.auth.AppCallbackHandlerUnitTestCase
                     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.036 sec
                     [junit] Running org.jboss.test.security.test.authorization.XACMLEJBIntegrationUnitTest
                     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.936 sec
                     [junit] Running org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase
                     [junit] Tests run: 2, Failures: 1, Errors: 1, Time elapsed: 1.332 sec
                     [junit] Test org.jboss.test.security.test.mapping.DeploymentRoleMappingTestCase FAILED
                     [junit] Running org.jboss.test.security.test.mapping.RoleMappingConfigUnitTestCase
                     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.192 sec
                     [junit] Running org.jboss.test.security.test.mapping.RoleMappingWebTestCase
                     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.877 sec
                     [junit] Test org.jboss.test.security.test.mapping.RoleMappingWebTestCase FAILED
                     [junit] Running org.jboss.test.timer.test.SecureTimerUnitTestCase
                     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 46.98 sec
                     [junit] Running org.jboss.test.web.security.authorization.XACMLWebIntegrationUnitTestCase
                     [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.116 sec
                     [junit] Test org.jboss.test.web.security.authorization.XACMLWebIntegrationUnitTestCase FAILED
                    


                    • 7. Re: ant tests-security-basic-unit
                      Anil Saldanha Master

                      The real issue is that people become short sighted and do JIRA tasks such as:
                      http://jira.jboss.com/jira/browse/JBAS-1864

                      and update the Branch_4_2 test suite and ignore trunk test suite. I am not pointing to Ryan but some intern named Haroon who did the following fix to the HttpUtils class:
                      http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/tags/JBoss_4_2_0_GA/testsuite/src/main/org/jboss/test/util/web/HttpUtils.java?r1=30698&r2=33141

                      I have created a JIRA issue to deal with this localhost/IP issue:

                      http://jira.jboss.com/jira/browse/JBAS-5075