Bug#1052748: mpi4py fails test_dynproc.TestDPM.testJoin: socket.gaierror: [Errno -2] Name or service not known

2023-09-28 Thread Drew Parsons
Source: mpi4py
Followup-For: Bug #1052748
Control: severity 1052748 important
Control: tags 1052748 moreinfo 

I can't reproduce this error, and debci tests at
https://ci.debian.net/packages/m/mpi4py/ continue to pass
So I'm downgrading severity.

I figure there are two possibilities
- it was a transitory error related to some other library transition
- or it's triggered by the network configuration on your test system.

For instance, https://github.com/mpi4py/mpi4py/issues/240 was
triggered by a network configured with IPV6 only. But that issue
should be resolved already in mpi4py 3.1.4

Your test log shows your network accesses http://127.0.0.1:12990
so it is using IPv4.

Can you reproduce the testJoin error?



Bug#1052748: mpi4py fails test_dynproc.TestDPM.testJoin: socket.gaierror: [Errno -2] Name or service not known

2023-09-28 Thread Drew Parsons
Source: mpi4py
Followup-For: Bug #1052748
Control: retitle 1052748 mpi4py fails test_dynproc.TestDPM.testJoin: 
socket.gaierror: [Errno -2] Name or service not known

The failure was incorrectly identified. The build log says the problem
was in testJoin:

ERROR: testJoin (test_dynproc.TestDPM.testJoin)
--

Traceback (most recent call last):
  File "/<>/test/test_dynproc.py", line 172, in testJoin
addresses = socket.getaddrinfo(host, None, 0, socket.SOCK_STREAM)
^
  File "/usr/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
   ^^^
socket.gaierror: [Errno -2] Name or service not known


Likely it is related to https://github.com/mpi4py/mpi4py/issues/240
concerning running the test in ipv6 networks.