Skip to content

Commit

Permalink
ipv6-12
Browse files Browse the repository at this point in the history
  • Loading branch information
alpeb committed May 2, 2024
1 parent 40fb9f1 commit c8e9c49
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions test/integration/deep/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package deeptest
import (
"fmt"
"os"
"os/exec"
"testing"
"time"

Expand Down Expand Up @@ -143,9 +144,23 @@ func TestInstall(t *testing.T) {
fmt.Println("*** CHECK FAILED")
out2, _ := TestHelper.Kubectl("", "-n", "linkerd", "describe", "po", "-l", "linkerd.io/control-plane-component=destination")
fmt.Printf("*** k describe destination:\n%s", out2)
out3, _ := TestHelper.Kubectl("", "-n", "linkerd", "logs", "-l", "linkerd.io/control-plane-component=destination")
fmt.Printf("*** k describe destination:\n%s", out3)
out3, _ := TestHelper.Kubectl("", "-n", "linkerd", "logs", "-l", "linkerd.io/control-plane-component=destination", "-c", "linkerd-proxy")
fmt.Printf("*** k logs destination proxy:\n%s", out3)
run("ip", "a")
run("kubectl", "-n", "linkerd", "logs", "-l", "linkerd-io/control-plane-component=identity", "-c", "identity")
run("kubectl", "-n", "linkerd", "logs", "-l", "linkerd-io/control-plane-component=identity", "-c", "linkerd-proxy")
testutil.AnnotatedFatalf(t, "'linkerd check' command failed",

Check failure on line 152 in test/integration/deep/install_test.go

View workflow job for this annotation

GitHub Actions / test-ipv6 (ipv6, deep)

TestInstall - 'linkerd check' command failed
"'linkerd check' command failed\n%s", out)
}
}

func run(name string, args ...string) {
fmt.Printf("*** running %s %#v\n", name, args)
cmd := exec.Command(name, args...)
out, err := cmd.CombinedOutput()
if err != nil {
fmt.Printf("**** error: %s\n", err)
} else {
fmt.Println(string(out))
}
}

0 comments on commit c8e9c49

Please sign in to comment.