project_key: JBPAPP6 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?
Peter I am assigning this to you please take a look and feel free to reassign if this does not concern you.
Josef, can you investigate?
Link: Added: This issue is a dependency of JBPAPP-9188
The main problem comes from the JDKs. When Arquillian uses Class.getMethods() on a test class, then - Oracle JDK returns one static method deployment() - but IBM JDK return two - one from the test itself and one from the parent class. I'll make a workaround in the tests to fix this.
Git Pull Request: Added: https://github.com/jbossas/jboss-as/pull/2478, https://github.com/jbossas/jboss-as/pull/2480
Merged into AS7 upstream - master and 7.1 branches.
This is fixed in 6.0.1.ER2 for IBMJDK https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL6-buildIBMJDK6_testrunIBMJDK16/lastCompletedBuild/testReport/
Docs QE Status: Removed: NEW