Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rancher/rke2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f419e0062feed6e5996d4f171419ceb08db364da
Choose a base ref
..
head repository: rancher/rke2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: aa0a4767fad1ba5c7455cd26e632d2825028ed25
Choose a head ref
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/e2e/testutils.go
3 changes: 3 additions & 0 deletions tests/e2e/testutils.go
Original file line number Diff line number Diff line change
@@ -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)
}