This job view page is being replaced by Spyglass soon. Check out the new job view.
PRwawa0210: Support kubectl debug to specify capabilities
ResultFAILURE
Tests 1 failed / 36 succeeded
Started2021-01-14 02:24
Elapsed34m0s
Revision968a0f5b0d3c46ad89de0234bb2b6245dae90d78
Refs 97887

Test Failures


verify gofmt 16s

make verify WHAT=gofmt
diff -u ./staging/src/k8s.io/kubectl/pkg/cmd/debug/debug_test.go.orig ./staging/src/k8s.io/kubectl/pkg/cmd/debug/debug_test.go
--- ./staging/src/k8s.io/kubectl/pkg/cmd/debug/debug_test.go.orig	2021-01-14 02:37:54.642960041 +0000
+++ ./staging/src/k8s.io/kubectl/pkg/cmd/debug/debug_test.go	2021-01-14 02:37:54.642960041 +0000
@@ -293,13 +293,13 @@
 		{
 			name: "basic with capabilities",
 			opts: &DebugOptions{
-				CopyTo:       "debugger",
-				Container:    "debugger",
-				Image:        "busybox",
+				CopyTo:    "debugger",
+				Container: "debugger",
+				Image:     "busybox",
 				Capabilities: &corev1.Capabilities{
-					Add: stringsToCaps([]string{"NET_ADMIN","SYS_PTRACE"}),
+					Add: stringsToCaps([]string{"NET_ADMIN", "SYS_PTRACE"}),
 				},
-				PullPolicy:   corev1.PullIfNotPresent,
+				PullPolicy: corev1.PullIfNotPresent,
 			},
 			havePod: &corev1.Pod{
 				ObjectMeta: metav1.ObjectMeta{
@@ -1491,8 +1491,8 @@
 				ShareProcesses: true,
 				TargetNames:    []string{"mypod"},
 				TTY:            true,
-				Capabilities:   &corev1.Capabilities{
-					Add: stringsToCaps([]string{"NET_ADMIN","SYS_PTRACE"}),
+				Capabilities: &corev1.Capabilities{
+					Add: stringsToCaps([]string{"NET_ADMIN", "SYS_PTRACE"}),
 				},
 			},
 		},

Run ./hack/update-gofmt.sh
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 36 Passed Tests

Error lines from build-log.txt

... skipping 1572 lines ...
 				},
 			},
 		},

Run ./hack/update-gofmt.sh
+++ exit code: 1
+++ error: 1
FAILED   verify-gofmt.sh	17s
Verifying verify-golint.sh

+++ Running case: verify.golint 
+++ working dir: /home/prow/go/src/k8s.io/kubernetes
+++ command: bash "hack/make-rules/../../hack/verify-golint.sh"
installing golint
... skipping 958 lines ...
  found dependency client-go
processing : mount-utils
Done.
+++ exit code: 0
SUCCESS  verify-publishing-bot.py	0s
========================
FAILED TESTS
========================
hack/make-rules/../../hack/verify-gofmt.sh
make: *** [Makefile:129: verify] Error 1
+ EXIT_VALUE=2
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
d3e712d371ef
... skipping 4 lines ...