[jboss-jira] [JBoss JIRA] (WFCORE-1120) Launcher sets "-Djava.net.preferIPv4Stack=true" also with IPv6 profile

Marek Kopecký (JIRA) issues at jboss.org
Thu Nov 12 04:56:00 EST 2015


    [ https://issues.jboss.org/browse/WFCORE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128094#comment-13128094 ] 

Marek Kopecký commented on WFCORE-1120:
---------------------------------------

[~jamezp]: Thank you for you fix, it seems to be useful for java.net.preferIPv4Stack property. But is your patch useful also for java memory properties like [-Xms64m or -Xmx512m|https://github.com/wildfly/wildfly-core/blob/master/launcher/src/main/java/org/wildfly/core/launcher/AbstractCommandBuilder.java#L48]? If arquillian.xml defines -Xms1024m, default value should be replaced. This allows memory tuning of java memory during TS runs, it could be useful on slower machines ...

> Launcher sets "-Djava.net.preferIPv4Stack=true" also with IPv6 profile
> ----------------------------------------------------------------------
>
>                 Key: WFCORE-1120
>                 URL: https://issues.jboss.org/browse/WFCORE-1120
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 2.0.1.Final
>            Reporter: Marek Kopecký
>            Assignee: James Perkins
>
> *Description of problem:*
> Domain tests "-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