This job view page is being replaced by Spyglass soon. Check out the new job view.
PRfejta: Migrate golangci-lint check to //hack:verify-golangci-lint target
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2019-09-29 01:46
Elapsed1m38s
Revision747b3ba6b0be8a88af92b8ed55027ce63cf6488e
Refs 153

No Test Failures!


Error lines from build-log.txt

... skipping 5 lines ...
INFO: Invocation ID: cd19e52f-1dfb-4071-9dd0-6ddc0541f03f
DEBUG: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/bazel_toolchains/rules/rbe_repo.bzl:421:5: Bazel 0.29.1 is used in rbe_default.
DEBUG: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/bazel_gazelle/internal/go_repository.bzl:184:13: gazelle: gazelle: finding module path for import a: exit status 1: can't load package: package a: malformed module path "a": missing dot in first path element
DEBUG: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/bazel_gazelle/internal/go_repository.bzl:184:13: gazelle: gazelle: finding module path for import foo/bar: exit status 1: can't load package: package foo/bar: malformed module path "foo/bar": missing dot in first path element
gazelle: finding module path for import grab-import/def: exit status 1: can't load package: package grab-import/def: malformed module path "grab-import/def": missing dot in first path element
gazelle: finding module path for import grab-import/def: exit status 1: can't load package: package grab-import/def: malformed module path "grab-import/def": missing dot in first path element
DEBUG: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/bazel_gazelle/internal/go_repository.bzl:184:13: gazelle: gazelle: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/org_golang_x_tools_random_extra_stuff/cmd/fiximports/testdata/src/old.com/bad/bad.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/org_golang_x_tools_random_extra_stuff/cmd/fiximports/testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF'
gazelle: found packages aliases (aliases.go) and complexnums (complexnums.go) in /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/org_golang_x_tools_random_extra_stuff/go/internal/gccgoimporter/testdata
gazelle: found packages issue25301 (issue25301.go) and a (a.go) in /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/org_golang_x_tools_random_extra_stuff/go/internal/gcimporter/testdata
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/org_golang_x_tools_random_extra_stuff/go/loader/testdata/badpkgdecl.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/org_golang_x_tools_random_extra_stuff/go/loader/testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'
gazelle: finding module path for import domain.name/importdecl: exit status 1: can't load package: package domain.name/importdecl: cannot find module providing package domain.name/importdecl
gazelle: finding module path for import old.com/one: exit status 1: can't load package: package old.com/one: cannot find module providing package old.com/one
gazelle: finding module path for import titanic.biz/bar: exit status 1: can't load package: package titanic.biz/bar: cannot find module providing package titanic.biz/bar
gazelle: finding module path for import titanic.biz/foo: exit status 1: can't load package: package titanic.biz/foo: cannot find module providing package titanic.biz/foo
gazelle: finding module path for import fruit.io/pear: exit status 1: can't load package: package fruit.io/pear: cannot find module providing package fruit.io/pear
gazelle: finding module path for import fruit.io/banana: exit status 1: can't load package: package fruit.io/banana: cannot find module providing package fruit.io/banana
... skipping 73 lines ...
INFO: Elapsed time: 55.973s, Critical Path: 4.39s
INFO: 481 processes: 481 remote cache hit.
+ bazel test //...
$TEST_TMPDIR defined: output root default is '/bazel-scratch/.cache/bazel' and max_idle_secs default is '15'.
INFO: Invocation ID: 53a3e6af-50ef-4c94-b51d-fa644c65e0a1
DEBUG: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/bazel_toolchains/rules/rbe_repo.bzl:421:5: Bazel 0.29.1 is used in rbe_default.
WARNING: /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/remote_java_tools_linux/BUILD:683:1: in hdrs attribute of cc_library rule @remote_java_tools_linux//:combiners: Artifact 'external/remote_java_tools_linux/java_tools/src/tools/singlejar/zip_headers.h' is duplicated (through '@remote_java_tools_linux//:transient_bytes' and '@remote_java_tools_linux//:zip_headers'). Since this rule was created by the macro 'cc_library', the error might have been caused by the macro implementation in /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/external/remote_java_tools_linux/BUILD:683:1
INFO: Analyzed 45 targets (97 packages loaded, 868 targets configured).
INFO: Found 37 targets and 8 test targets...
FAIL: //hack:verify-golangci-lint (see /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/execroot/io_k8s_repo_infra/bazel-out/k8-fastbuild/testlogs/hack/verify-golangci-lint/test.log)
INFO: From Testing //hack:verify-golangci-lint:
==================== Test output for //hack:verify-golangci-lint:
Verifying golangci-lint...
level=error msg="Running error: context loading failed: failed to load program with go/packages: go [list -e -json -compiled=true -test=true -export=false -deps=true -find=false -- ./...]: exit status 1: go: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: writing go.mod cache: mkdir /go: permission denied\ngo: downloading k8s.io/klog v1.0.0\ngo: downloading github.com/bazelbuild/buildtools v0.0.0-20190731111112-f720930ceb60\ngo: downloading golang.org/x/build v0.0.0-20171220025321-125f04e1fc4b\ngo: downloading github.com/bazelbuild/bazel-gazelle v0.18.2\ngo: downloading github.com/golangci/golangci-lint v1.18.0\nbuild k8s.io/repo-infra/cmd/kazel: cannot load github.com/bazelbuild/buildtools/build: mkdir /go: permission denied\n"
ERROR: golangci-lint failed
================================================================================
INFO: Elapsed time: 39.232s, Critical Path: 21.16s
INFO: 76 processes: 70 remote cache hit, 6 remote.
//cmd/kazel:go_default_test                                     (cached) PASSED in 0.1s
//defs:test_genmd5sum                                           (cached) PASSED in 0.1s
//defs:test_gensha1sum                                          (cached) PASSED in 0.1s
//defs:test_gensha512sum                                        (cached) PASSED in 0.1s
//hack:verify-bazel                                                      PASSED in 4.9s
//hack:verify-deps                                                       PASSED in 17.2s
//hack:verify-gofmt                                                      PASSED in 4.5s
//hack:verify-golangci-lint                                              FAILED in 11.5s
  /bazel-scratch/.cache/bazel/_bazel_root/f2dd6253bcf6792f3e86133712bc5112/execroot/io_k8s_repo_infra/bazel-out/k8-fastbuild/testlogs/hack/verify-golangci-lint/test.log

Executed 4 out of 8 tests: 7 tests pass and 1 fails remotely.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.