This job view page is being replaced by Spyglass soon. Check out the new job view.
PRvladimirvivien: Context propagation fix and context examples
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-07-26 23:46
Elapsed1m5s
Revision956df059697bca6a421dcb167ea6f4db3ece7731
Refs 24

No Test Failures!


Error lines from build-log.txt

... skipping 40 lines ...
varcheck: Finds unused global variables and constants [fast: true, auto-fix: false]
whitespace: Tool for detection of leading and trailing whitespace [fast: true, auto-fix: true]

Disabled by your configuration linters:
cyclop: checks function and package cyclomatic complexity [fast: true, auto-fix: false]
durationcheck: check for two durations multiplied together [fast: true, auto-fix: false]
errorlint: go-errorlint is a source code linter for Go software that can be used to find code that will cause problemswith the error wrapping scheme introduced in Go 1.13. [fast: true, auto-fix: false]
exhaustive: check exhaustiveness of enum switch statements [fast: true, auto-fix: false]
exhaustivestruct: Checks if all struct's fields are initialized [fast: true, auto-fix: false]
exportloopref: checks for pointers to enclosing loop variables [fast: true, auto-fix: false]
forbidigo: Forbids identifiers [fast: true, auto-fix: false]
forcetypeassert: finds forced type assertions [fast: true, auto-fix: false]
funlen: Tool for detection of long functions [fast: true, auto-fix: false]
... skipping 10 lines ...
importas: Enforces consistent import aliases [fast: true, auto-fix: false]
interfacer: Linter that suggests narrower interface types [fast: true, auto-fix: false]
lll: Reports long lines [fast: true, auto-fix: false]
makezero: Finds slice declarations with non-zero initial length [fast: true, auto-fix: false]
maligned: Tool to detect Go structs that would take less memory if their fields were sorted [fast: true, auto-fix: false]
nestif: Reports deeply nested if statements [fast: true, auto-fix: false]
nilerr: Finds the code that returns nil even if it checks that the error is not nil. [fast: true, auto-fix: false]
nlreturn: nlreturn checks for a new line before return and branch statements to increase code clarity [fast: true, auto-fix: false]
noctx: noctx finds sending http request without context.Context [fast: true, auto-fix: false]
nolintlint: Reports ill-formed or insufficient nolint directives [fast: true, auto-fix: false]
paralleltest: paralleltest detects missing usage of t.Parallel() method in your Go test [fast: true, auto-fix: false]
predeclared: find code that shadows one of Go's predeclared identifiers [fast: true, auto-fix: false]
scopelint: Scopelint checks for unpinned variables in go programs [fast: true, auto-fix: false]
testpackage: linter that makes you use a separate _test package [fast: true, auto-fix: false]
thelper: thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers [fast: true, auto-fix: false]
tparallel: tparallel detects inappropriate usage of t.Parallel() method in your Go test codes [fast: true, auto-fix: false]
wastedassign: wastedassign finds wasted assignment statements. [fast: true, auto-fix: false]
wrapcheck: Checks that errors returned from external packages are wrapped [fast: true, auto-fix: false]
wsl: Whitespace Linter - Forces you to use empty lines! [fast: true, auto-fix: false]
level=warning msg="[runner] Can't run linter goanalysis_metalinter: bodyclose: failed prerequisites: [buildssa@sigs.k8s.io/e2e-framework/examples/simple [sigs.k8s.io/e2e-framework/examples/simple.test]: analysis skipped: errors in package: [/home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:40:26: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Assess /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:9: cannot use context.TODO() (value of type context.Context) as *testing.T value in argument to e.Test /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:25: cannot use t (variable of type *testing.T) as types.Feature value in argument to e.Test: missing method Labels /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:28: too many arguments /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:59:9: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Setup /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:63:26: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Setup((func(ctx context.Context, t *testing.T) context.Context literal)).Assess /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:9: cannot use context.TODO() (value of type context.Context) as *testing.T value in argument to e.Test /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:25: cannot use t (variable of type *testing.T) as types.Feature value in argument to e.Test: missing method Labels /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:28: too many arguments]]"
level=warning msg="[runner] Can't run linter unused: buildir: analysis skipped: errors in package: [/home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:40:26: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Assess /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:9: cannot use context.TODO() (value of type context.Context) as *testing.T value in argument to e.Test /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:25: cannot use t (variable of type *testing.T) as types.Feature value in argument to e.Test: missing method Labels /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:28: too many arguments /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:59:9: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Setup /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:63:26: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Setup((func(ctx context.Context, t *testing.T) context.Context literal)).Assess /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:9: cannot use context.TODO() (value of type context.Context) as *testing.T value in argument to e.Test /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:25: cannot use t (variable of type *testing.T) as types.Feature value in argument to e.Test: missing method Labels /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:28: too many arguments]"
level=error msg="Running error: buildir: analysis skipped: errors in package: [/home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:40:26: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Assess /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:9: cannot use context.TODO() (value of type context.Context) as *testing.T value in argument to e.Test /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:25: cannot use t (variable of type *testing.T) as types.Feature value in argument to e.Test: missing method Labels /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:48:28: too many arguments /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:59:9: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Setup /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:63:26: cannot use (func(ctx context.Context, t *testing.T) context.Context literal) (value of type func(ctx context.Context, t *testing.T) context.Context) as types.StepFunc value in argument to features.New(\"Hello Feature\").WithLabel(\"type\", \"simple\").Setup((func(ctx context.Context, t *testing.T) context.Context literal)).Assess /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:9: cannot use context.TODO() (value of type context.Context) as *testing.T value in argument to e.Test /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:25: cannot use t (variable of type *testing.T) as types.Feature value in argument to e.Test: missing method Labels /home/prow/go/src/sigs.k8s.io/e2e-framework/examples/simple/hello_test.go:71:28: too many arguments]"
make: *** [Makefile:37: verify-golangci-lint] Error 3