You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this flake by looking at the submit queue. The test is simple, but when it fails, we have no good way to debug it.
• Failure [12.004 seconds]
Kubectl client
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:992
Kubectl logs
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:781
should be able to retrieve and filter logs [Conformance] [It]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:780
Expected
<int>: 23
to be <
<int>: 23
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:778
Below is the test in question. When the test fails, we should print the lines we got in each case.
By("restricting to a time range")
time.Sleep(1500*time.Millisecond) // ensure that startup logs on the node are seen as older than 1sout=runKubectlOrDie("log", pod.Name, containerName, nsFlag, "--since=1s")
recent:=len(strings.Split(out, "\n"))
out=runKubectlOrDie("log", pod.Name, containerName, nsFlag, "--since=24h")
older:=len(strings.Split(out, "\n"))
Expect(recent).To(BeNumerically("<", older))
The text was updated successfully, but these errors were encountered:
I noticed this flake by looking at the submit queue. The test is simple, but when it fails, we have no good way to debug it.
Below is the test in question. When the test fails, we should print the lines we got in each case.
The text was updated successfully, but these errors were encountered: