I'm able to run all unit tests now without any failure, I had to enable ipv6 in docker [1] and run the container with the following arguments:
# sudo docker run --sysctl net.ipv6.conf.all.disable_ipv6=0 --privileged bash
The problem was the sysctl call as you pointed out, but it turned out that it failed only with the ipv6 calls because of [2].
[1] https://docs.docker.com/config/daemon/ipv6/ [2] https://github.com/moby/moby/issues/32619
I'm able to run all unit tests now without any failure, I had to enable ipv6 in docker [1] and run the container with the following arguments:
# sudo docker run --sysctl net.ipv6. conf.all. disable_ ipv6=0 --privileged bash
The problem was the sysctl call as you pointed out, but it turned out that it failed only with the ipv6 calls because of [2].
[1] https:/ /docs.docker. com/config/ daemon/ ipv6/ /github. com/moby/ moby/issues/ 32619
[2] https:/