[ 
https://issues.apache.org/jira/browse/DISPATCH-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk updated DISPATCH-2371:
---------------------------------
    Description: 
The test assumes IPv6 and fails without it.

GitHub actions, by default, run with IPv6 disabled. For some strange reason, 
the fix in DISPATCH-216 does not skip the tests, and they are reported as 
failed.

The skipping logic does not seem to work on GitHub actions, but it works for me 
in containers just fine.

{noformat}
  import socket
  if socket.has_ipv6:
{noformat}

To fix the CI, I propose doing what skupper-router does, which is to set

{noformat}
docker run --sysctl net.ipv6.conf.all.disable_ipv6=0 ...
{noformat}


  was:
The test assumes IPv6 and fails without it.

For some strange reason, this test is 

To disable IPv6 temporarily on Fedora:
{noformat}
sudo sh -c 'echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6' 
{noformat}

To test for IPv6 in Python
{noformat}
  import socket
  if socket.has_ipv6:
{noformat}



> system_tests_protocol_family fails on systems with no IPv6 (again)
> ------------------------------------------------------------------
>
>                 Key: DISPATCH-2371
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2371
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.5
>            Reporter: Jiri Daněk
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 0.8.0
>
>
> The test assumes IPv6 and fails without it.
> GitHub actions, by default, run with IPv6 disabled. For some strange reason, 
> the fix in DISPATCH-216 does not skip the tests, and they are reported as 
> failed.
> The skipping logic does not seem to work on GitHub actions, but it works for 
> me in containers just fine.
> {noformat}
>   import socket
>   if socket.has_ipv6:
> {noformat}
> To fix the CI, I propose doing what skupper-router does, which is to set
> {noformat}
> docker run --sysctl net.ipv6.conf.all.disable_ipv6=0 ...
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to