From 97b71c55ec3225bc145c9f09b4cb6269bb4797ab Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Wed, 13 Nov 2024 08:41:31 -0800 Subject: [PATCH] Fix e2e ci by ignoring FOG warnings (#7268) 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) }