Docker and IPV6 #2156
Replies: 5 comments 4 replies
-
Well, bummer. Is your docker issue limited to just the associated tests failing? That would of course be expected on a platform that doesn't support IPv6. We could try to come up with a way to disable just the IPv6 tests, for example by setting some environment variable. Can you just build without the tests ( |
Beta Was this translation helpful? Give feedback.
-
Thanks for looking into this... there seem to be a lot of people/projects requesting this actions/runner-images#668 but it still seems to be marked won't fix.. so I don't think I would hold my breath for this :( First, I think we should still go ahead and try to get a IPv6 enabled docker image.. at least for local testing. I am hoping @andersharrisson-ess can help since they have already worked on this. For the github Actions, like Kay suggested, I can add a profile which specifically ignore the Network test. This was we can still run all the other unit tests and the new UI tests on CI. |
Beta Was this translation helpful? Give feedback.
-
At ESS we're running builds in Gitlab CI, which obviously can be configured to support IPV6 inside Docker. |
Beta Was this translation helpful? Give feedback.
-
Where exactly does the |
Beta Was this translation helpful? Give feedback.
-
Thanks for identifying the lines that fail. Makes sense now since you won't have a local "::1" address. If you somehow pass |
Beta Was this translation helpful? Give feedback.
-
I have been recently invested some effort in creating a container for phoebus. The motivation for this is so that we as devs can have a consistent environment and is easy to reproduce when it comes to testing and deployment. We could also use the container in our CI. Everything works great except for the fact that the following test fails:
org.epics.pva.common.NetworkTest
This is because Docker does not support IPV6 out of the box. As per documentation, one can configure docker(from the host) to support it. However, even if we managed to do this in CI, GitHub Actions does not support IPV6 at the moment. You can read more about that here.
I'm opening a new discussion on this in an effort to collaborate and share knowledge on this since, if we would like containers, there are multiple steps involved to get there. Hopefully the GithubActions infra can improve over time and we can tackle this issue.
Beta Was this translation helpful? Give feedback.
All reactions