Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-960

WebSecurityJBossSimpleRoleMappingTestCase and WebSecurityJBossWebXmlSecurityRolesTestCase fail consistently on IBMJDK due to multiple Archive deployments with the same Target

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 6.0.0 ER 6_Beta2, EAP 6.0.0 ER 7
    • Fix Version/s: EAP 6.0.1 ER 1
    • Component/s: Testsuite
    • Labels:
      None

      Description

      https://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL6-buildIBMJDK6_testrunIBMJDK16/lastCompletedBuild/testReport/org.jboss.as.test.integration.web.security.form/WebSecurityJBossWebXmlSecurityRolesTestCase/org_jboss_as_test_integration_web_security_form_WebSecurityJBossWebXmlSecurityRolesTestCase/

      org.jboss.as.test.integration.web.security.form.WebSecurityJBossWebXmlSecurityRolesTestCase and WebSecurityJBossSimpleRoleMappingTestCase fail consistently on IBM JDK due to following stacktrace:

      Error Message

      Can not add multiple org.jboss.shrinkwrap.api.Archive archive deployments with the same archive name DEFAULT that target the same target DEFAULT

      Stacktrace

      java.lang.IllegalArgumentException: Can not add multiple org.jboss.shrinkwrap.api.Archive archive deployments with the same archive name DEFAULT that target the same target DEFAULT
      at org.jboss.arquillian.container.spi.client.deployment.DeploymentScenario.validateNotSameArchiveAndSameTarget(DeploymentScenario.java:371)
      at org.jboss.arquillian.container.spi.client.deployment.DeploymentScenario.addDeployment(DeploymentScenario.java:48)
      at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:81)
      at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

      Not sure why this is affected only on IBM JDK as this is not seen on other JDK
      However with reference to https://issues.jboss.org/browse/ARQ-858

      will having different war/archive names in the tests help?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  madhumita12 Madhumita Sadhukhan
                  Reporter:
                  madhumita12 Madhumita Sadhukhan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: