From d0a46a1d759b2c662b3b6821cd587222c5b29cf3 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Wed, 13 Nov 2024 08:41:18 -0800 Subject: [PATCH] Fix e2e ci by ignoring FOG warnings (#7267) (#7271) Signed-off-by: Derek Nola --- tests/e2e/testutils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/e2e/testutils.go b/tests/e2e/testutils.go index aa58e54d81..1b77c2442d 100644 --- a/tests/e2e/testutils.go +++ b/tests/e2e/testutils.go @@ -525,6 +525,9 @@ func ParsePods(kubeconfig string, print bool) ([]Pod, error) { func RunCmdOnNode(cmd string, nodename string) (string, error) { runcmd := "vagrant ssh -c \"sudo " + cmd + "\" " + nodename out, err := RunCommand(runcmd) + // On GHA CI we see warnings about "[fog][WARNING] Unrecognized arguments: libvirt_ip_command" + // these are added to the command output and need to be removed + out = strings.ReplaceAll(out, "[fog][WARNING] Unrecognized arguments: libvirt_ip_command\n", "") if err != nil { return out, fmt.Errorf("failed to run command: %s on node %s: %s, %v", cmd, nodename, out, err) }