From e4d305eea0e8fb23dcadbdb91347a7c792388a08 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 12 Nov 2024 15:09:35 -0800 Subject: [PATCH] Fix e2e ci by ignoring FOG warnings (#7267) 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 bb8dd3597b..29607b8334 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) }