From f0a67f4159dd668ba54add7c285d325c408e4fd5 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Wed, 28 Oct 2026 06:42:29 -0300 Subject: [PATCH] test(debian): the mkinstall branch test dies on the IPv6-only check subiquity_boot_params now asks whether the node has an IPv4 address, and this test's xCAT::NetworkUtils stub had no node_is_ipv6_only, so the extracted routine died at the call and the file reported no plan rather than a failed assertion. The stub answers that the node has an IPv4 address, which is what every case here describes. The refusal itself is covered in debian_subiquity_boot_params.t. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-test/unit/debian_mkinstall_subiquity_branch.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-test/unit/debian_mkinstall_subiquity_branch.t b/xCAT-test/unit/debian_mkinstall_subiquity_branch.t index a40ee8297f..0fcd4f4fee 100644 --- a/xCAT-test/unit/debian_mkinstall_subiquity_branch.t +++ b/xCAT-test/unit/debian_mkinstall_subiquity_branch.t @@ -62,6 +62,9 @@ my @reported; return '10.0.0.1' if defined($name) && $name eq 'mn.cluster'; return undef; } + # The nodes of this test all have an IPv4 address; the IPv6-only refusal is covered in + # debian_subiquity_boot_params.t. + sub node_is_ipv6_only { return 0 } } {