[jboss-jira] [JBoss JIRA] (AS7-3993) Fix up generation of IPv6-ready configs for IPv6 testing

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Mon Mar 5 11:07:36 EST 2012


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

Richard Achmatowicz edited comment on AS7-3993 at 3/5/12 11:07 AM:
-------------------------------------------------------------------

Creating substitutions like:

{noformat}
multicast-address="${jboss.default.multicast.address:ff01::1}" 
{noformat}

is risky - the colon : is a token separator in these expressions. How do you know parsing is going to get the right tokens?

I would enclose the IPv6 address in square brackets and test that substitution works correctly.
 

                
      was (Author: rachmato):
    Creating substitutions like:

{noformat}
multicast-address="${jboss.default.multicast.address:ff01::1}" 
{noformat}

is risky - the colon(:) is a token separator in these expressions. How do you know parsing is going to get the right tokens?

I would enclose the IPv6 address in square brackets and test that substitution works correctly.
 

                  
> Fix up generation of IPv6-ready configs for IPv6 testing
> --------------------------------------------------------
>
>                 Key: AS7-3993
>                 URL: https://issues.jboss.org/browse/AS7-3993
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 7.1.0.Final
>            Reporter: Richard Achmatowicz
>            Assignee: Ondrej Zizka
>            Priority: Critical
>             Fix For: 7.1.1.Final
>
>
> The testsuite uses a combination of:
> - the ant script clustering-build.xml, with target build-clustering-udp
> - the ant script common-targets.xml, with target ts.config-as.ip-with-multicast and
> - the XSLT script changeIAddresses.xsl 
> to set up IPv6 addresses for testing multi-node tests.
> There are several problems:
> - the XSLT script is broken and does not change the multicast addresses
> - a number of multicast addresses are not receiving IPv6 defaults/overrides; in particular, we have the following required overrides:
> UDP JGroups stack multicast requirements: 
> -- socket-binding jgroups-udp: no IPv6 multicast address assigned, due to broken changeIPAddresses.xml   
> -- socket-binding jgroups-diagnostics: no IPv6 multicast address assigned, due to no parameter passed in ts.config-as.ip-with-multicast  
> TCP JGroups stack multicast-requirements:
> -- socket-binding jgroups-mping: no IPv6 multicast address assigned, due to no parameter passed in ts.config-as.ip-with-multicast   
> -- socket-binding jgroups-diagnostics: no IPv6 multicast address assigned, due to no parameter passed in ts.config-as.ip-with-multicast  
> mosdcluster multicast-requirements:    
> -- socket-binding modcluster: no IPv6 multicast address assigned, due to no parameter passed in ts.config-as.ip-with-multicast 
> This results in server configurations which are not correctly configured for testing against IPv6 addresses.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list