[jboss-jira] [JBoss JIRA] (WFLY-5654) Arquillian use "-Djava.net.preferIPv4Stack=true" also with IPv6

Marek Kopecký (JIRA) issues at jboss.org
Tue Nov 10 07:24:00 EST 2015


Marek Kopecký created WFLY-5654:
-----------------------------------

             Summary: Arquillian use "-Djava.net.preferIPv4Stack=true" also with IPv6
                 Key: WFLY-5654
                 URL: https://issues.jboss.org/browse/WFLY-5654
             Project: WildFly
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 10.0.0.CR4
            Reporter: Marek Kopecký
            Assignee: Marek Kopecký


*Description of problem:*
Arquillian use "-Djava.net.preferIPv4Stack=true" also with IPv6 profile. This property is set in AbstractCommandBuilder of WildFly-Core:
https://github.com/wildfly/wildfly-core/blob/master/launcher/src/main/java/org/wildfly/core/launcher/AbstractCommandBuilder.java#L50

There should be option for disable of this option in arquillian.xml file. And testsuite should use this option with IPv6 profile.

*How reproducible:*
Always

*Steps to Reproduce:*
# ./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIPV6_1 -Dnode1=$MYTESTIPV6_2 -Dipv6 -Dts.manualmode -Dtest=OutboundLdapConnectionTestCase -DtestLogToFile=false -Djboss.dist=$JBOSS_DIST -Dts.noSmoke

*Actual results:*
{noformat}
07:04:26,054 INFO  [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Starting container with: [/qa/tools/opt/jdk1.8.0_last/bin/java,
...
-Djava.net.preferIPv4Stack=true, -Djava.net.preferIPv4Stack=false
...
{noformat} 

*Expected results:*
EAP is not started with "-Djava.net.preferIPv4Stack=true" property with IPv6 profile

*Additional info:*
Jenkins reproducer job: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP7/view/EAP7-AS-Testsuite/view/EAP7-AS-Testsuite-Reproducers/job/eap-7x-as-ts-ipv6-arqillian/jdk=java18_default,label_exp=eap-sustaining&&RHEL6&&x86_64&&ipv6/2/console



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list