foreman source release pipeline failed:
https://ci.theforeman.org/job/foreman-develop-source-release/2291/
foreman source release pipeline failed:
https://ci.theforeman.org/job/foreman-develop-source-release/2291/
This test has been failing intermittently recently. This is using the nic_managed
factory:
Critical line is that it tries to add an IP from a the subnet as a sequence. My theory is that we have enough tests that sometimes it creates an IP outside of the range. IP in question is 10.10.11.39
which is indeed outside of 10.10.10.0/24
. It somehow needs to take that into account. Probably with a modulo.
This is something I already noticed in the past but never really submitted a proper PR for. I started with Refactor smart_proxy factories and tests by ekohl · Pull Request #10143 · theforeman/foreman · GitHub because the host factories are such a mess.
Now I’ve opened one: Fixes #37711 - Properly derive an IP from subnets in test factories by ekohl · Pull Request #10263 · theforeman/foreman · GitHub
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.