Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run themake test locally (CacheTestSuit shows not work for mac) #907

Closed
camilamacedo86 opened this issue Apr 17, 2020 · 17 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Milestone

Comments

@camilamacedo86
Copy link
Member

camilamacedo86 commented Apr 17, 2020

What?

  • I am unable to see the tests finished successfully locally when I run make test
  • Cache tests are not finishing successfully locally (mac os x):

Screenshot 2020-04-17 at 15 21 24

Notes:

Since the test work in the prow, I assume that it requires something that is not installed by default or by the script at least in Mac OS envs

PS: I think thatyeah, I played around a bit but never quite got it working. The problem is that prow it should also be tested in a mac os x env by the CI to ensure supportability for contributors.

make test execution

`make test`
TRACE=1 ./hack/check-everything.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
+ k8s_version=1.16.4
+ goarch=amd64
+ goos=unknown
+ [[ darwin18.6.0 == \l\i\n\u\x\-\g\n\u ]]
+ [[ darwin18.6.0 == \d\a\r\w\i\n* ]]
+ goos=darwin
+ [[ darwin == \u\n\k\n\o\w\n ]]
+ tmp_root=/tmp
+ kb_root_dir=/tmp/kubebuilder
+ SKIP_FETCH_TOOLS=
+ header_text 'using tools'
+ echo 'using tools'
using tools
+ '[' -z '' ']'
+ fetch_kb_tools /tmp/kubebuilder
+ local dest_dir=/tmp/kubebuilder
+ [[ -x /tmp/kubebuilder/kubebuilder/bin/kube-apiserver ]]
+ header_text 'fetching tools (into '\''/tmp/kubebuilder'\'')'
+ echo 'fetching tools (into '\''/tmp/kubebuilder'\'')'
fetching tools (into '/tmp/kubebuilder')
+ kb_tools_archive_name=kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_download_url=https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_archive_path=/tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ '[' '!' -f /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz ']'
+ mkdir -p /tmp/kubebuilder
+ tar -C /tmp/kubebuilder --strip-components=1 -zvxf /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
x bin/
x bin/etcd
x bin/kubectl
x bin/kube-apiserver
+ fetch_kb_tools ./hack/../pkg/internal/testing/integration/assets
+ local dest_dir=./hack/../pkg/internal/testing/integration/assets
+ [[ -x ./hack/../pkg/internal/testing/integration/assets/kubebuilder/bin/kube-apiserver ]]
+ header_text 'fetching tools (into '\''./hack/../pkg/internal/testing/integration/assets'\'')'
+ echo 'fetching tools (into '\''./hack/../pkg/internal/testing/integration/assets'\'')'
fetching tools (into './hack/../pkg/internal/testing/integration/assets')
+ kb_tools_archive_name=kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_download_url=https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_archive_path=/tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ '[' '!' -f /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz ']'
+ mkdir -p ./hack/../pkg/internal/testing/integration/assets
+ tar -C ./hack/../pkg/internal/testing/integration/assets --strip-components=1 -zvxf /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
x bin/
x bin/etcd
x bin/kubectl
x bin/kube-apiserver
+ setup_envs
+ header_text 'setting up env vars'
+ echo 'setting up env vars'
setting up env vars
+ [[ -z '' ]]
+ export KUBEBUILDER_ASSETS=/tmp/kubebuilder/bin
+ KUBEBUILDER_ASSETS=/tmp/kubebuilder/bin
+ ./hack/verify.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
++ dirname ./hack/verify.sh
+ REPO_ROOT=./hack/..
+ cd ./hack/..
+ header_text 'running golangci-lint'
+ echo 'running golangci-lint'
running golangci-lint
+ make lint
make[1]: Entering directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
cd hack/tools && go build -tags=tools -o bin/golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint
go: downloading golang.org/x/sys v0.0.0-20191003212358-c178f38b412c
go: extracting golang.org/x/sys v0.0.0-20191003212358-c178f38b412c
go: finding golang.org/x/sys v0.0.0-20191003212358-c178f38b412c
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/hack/tools/bin/golangci-lint run -v
INFO [config_reader] Config search paths: [./ /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime /Users/camilamacedo/go/src/sigs.k8s.io /Users/camilamacedo/go/src /Users/camilamacedo/go /Users/camilamacedo /Users /] 
INFO [config_reader] Used config file .golangci.yml 
INFO [lintersdb] Active 16 linters: [deadcode dupl errcheck goconst gocyclo goimports golint govet ineffassign interfacer lll misspell nakedret structcheck unparam varcheck] 
INFO [lintersdb] Active 16 linters: [deadcode dupl errcheck goconst gocyclo goimports golint govet ineffassign interfacer lll misspell nakedret structcheck unparam varcheck] 
INFO [loader] Go packages loading at mode 575 (files|imports|name|compiled_files|deps|exports_file|types_sizes) took 830.238621ms 
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 11.14427ms 
INFO [runner/goanalysis_metalinter/goanalysis] analyzers took 0s with no stages 
INFO [runner/skip dirs] Skipped 2 issues from dir examples/builtins by pattern (^|/)examples($|/) 
INFO [runner/skip dirs] Skipped 3 issues from dir examples/crd/pkg by pattern (^|/)examples($|/) 
INFO [runner] Issues before processing: 15, after processing: 0 
INFO [runner] Processors filtering stat (out/in): exclude: 10/10, cgo: 15/15, skip_dirs: 10/15, exclude-rules: 1/10, nolint: 0/1, filename_unadjuster: 15/15, path_prettifier: 15/15, identifier_marker: 10/10, skip_files: 15/15, autogenerated_exclude: 10/10 
INFO [runner] processing took 918.456µs with stages: path_prettifier: 339.848µs, autogenerated_exclude: 187.48µs, identifier_marker: 132.48µs, skip_dirs: 118.237µs, nolint: 91.832µs, exclude-rules: 27.57µs, path_shortener: 11.963µs, cgo: 3.861µs, filename_unadjuster: 2.698µs, max_same_issues: 560ns, diff: 452ns, uniq_by_line: 357ns, skip_files: 306ns, max_from_linter: 238ns, exclude: 222ns, source_code: 195ns, max_per_file_from_linter: 157ns 
INFO [runner] linters took 189.708715ms with stages: goanalysis_metalinter: 188.691787ms 
INFO File cache stats: 0 entries of total size 0B 
INFO Memory: 12 samples, avg is 86.4MB, max is 137.3MB 
INFO Execution took 1.048437834s                  
make[1]: Leaving directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
+ header_text 'verifying modules'
+ echo 'verifying modules'
verifying modules
+ make modules verify-modules
make[1]: Entering directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
go mod tidy
cd hack/tools; go mod tidy
go: downloading github.com/joelanford/go-apidiff v0.0.0-20191206194835-106bcff5f060
go: downloading golang.org/x/net v0.0.0-20191003171128-d98b1b443823
go: extracting github.com/joelanford/go-apidiff v0.0.0-20191206194835-106bcff5f060
go: downloading gopkg.in/src-d/go-git.v4 v4.13.1
go: downloading golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3
go: extracting gopkg.in/src-d/go-git.v4 v4.13.1
go: downloading gopkg.in/src-d/go-billy.v4 v4.3.2
go: downloading gopkg.in/src-d/go-git-fixtures.v3 v3.5.0
go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: downloading github.com/emirpasic/gods v1.12.0
go: downloading github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd
go: extracting golang.org/x/net v0.0.0-20191003171128-d98b1b443823
go: extracting gopkg.in/src-d/go-billy.v4 v4.3.2
go: extracting github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: extracting github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd
go: extracting github.com/emirpasic/gods v1.12.0
go: extracting golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3
go: downloading github.com/src-d/gcfg v1.4.0
go: downloading github.com/xanzy/ssh-agent v0.2.1
go: downloading github.com/gliderlabs/ssh v0.2.2
go: downloading github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
go: extracting github.com/src-d/gcfg v1.4.0
go: extracting github.com/xanzy/ssh-agent v0.2.1
go: extracting github.com/gliderlabs/ssh v0.2.2
go: extracting github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
go: extracting gopkg.in/warnings.v0 v0.1.2
go: extracting github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
go: downloading github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: extracting github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: extracting gopkg.in/src-d/go-git-fixtures.v3 v3.5.0
go: downloading github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7
go: extracting github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7
make[1]: Leaving directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
+ ./hack/test-all.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
+ setup_envs
+ header_text 'setting up env vars'
+ echo 'setting up env vars'
setting up env vars
+ [[ -z /tmp/kubebuilder/bin ]]
+ header_text 'running go test'
+ echo 'running go test'
running go test
+ go test ./... -parallel 4
ok  	sigs.k8s.io/controller-runtime	(cached) [no tests to run]
?   	sigs.k8s.io/controller-runtime/examples/builtins	[no test files]
?   	sigs.k8s.io/controller-runtime/examples/crd	[no test files]
?   	sigs.k8s.io/controller-runtime/examples/crd/pkg	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/builder	14.564s
Running Suite: Cache Suite
==========================
Random Seed: 1587132618
Will run 59 of 59 specs

•••••••••••••••••••••••••••••••••••
------------------------------
• Failure in Spec Setup (BeforeEach) [1.266 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should support filtering by labels from multiple namespaces
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:190

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000963140>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.611 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should be able to list objects with GVK populated
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:209

        Unexpected error:
            <*errors.StatusError | 0xc000114c80>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-2\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-2", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-2" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.574 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should be able to list objects by namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:222

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000abd500>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.015 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should deep copy the object unless told otherwise
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:235

        Unexpected error:
            <*meta.NoKindMatchError | 0xc0000df280>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.665 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should return an error if the object is not found
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:251

        Unexpected error:
            <*meta.NoKindMatchError | 0xc00091f140>: {
                GroupKind: {Group: "", Kind: "Namespace"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Namespace" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.704 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should return an error if getting object in unwatched namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:262

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000a831c0>: {
                GroupKind: {Group: "", Kind: "Namespace"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Namespace" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.474 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should return an error when context is cancelled
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:272

        Unexpected error:
            <*errors.StatusError | 0xc0003a4320>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-2\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-2", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-2" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [2.056 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to list objects that haven't been watched previously
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:287

        Unexpected error:
            <*errors.StatusError | 0xc000248c80>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-1\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-1", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-1" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.001 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to get objects that haven't been watched previously
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:310

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000abc0c0>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Teardown (AfterEach) [3.127 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [AfterEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should support filtering by labels in a single namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:326

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000963100>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:72
------------------------------
STEP: creating three pods
STEP: creating the informer cache
STEP: running the cache and waiting for it to sync
STEP: listing pods with a particular label
STEP: verifying the returned pods have the correct label
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.064 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should support filtering by labels from multiple namespaces
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:347

        Unexpected error:
            <*meta.NoKindMatchError | 0xc0009b5600>: {
                GroupKind: {Group: "", Kind: "Namespace"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Namespace" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.591 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to list objects by namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:373

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000207880>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.266 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to restrict cache to a namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:391

        Unexpected error:
            <*meta.NoKindMatchError | 0xc00003dac0>: {
                GroupKind: {Group: "", Kind: "Namespace"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Namespace" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.095 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should deep copy the object unless told otherwise
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:430

        Unexpected error:
            <*meta.NoKindMatchError | 0xc0009f0c00>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [3.585 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should return an error if the object is not found
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:455

        Unexpected error:
            <*errors.StatusError | 0xc000ad6280>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-3\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-3", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-3" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
•••••••••E0417 15:11:12.337014   64258 reflector.go:380] pkg/mod/k8s.io/client-go@v0.18.0/tools/cache/reflector.go:125: Failed to watch /v1, Kind=Pod: Get http://127.0.0.1:59123/api/v1/namespaces/test-namespace-2/pods?allowWatchBookmarks=true&resourceVersion=573&timeoutSeconds=326&watch=true: dial tcp 127.0.0.1:59123: connect: connection refused



Summarizing 15 Failures:

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with structured objects should support filtering by labels from multiple namespaces 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with structured objects should be able to list objects with GVK populated 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with structured objects should be able to list objects by namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with structured objects should deep copy the object unless told otherwise 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with structured objects should return an error if the object is not found 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with structured objects should return an error if getting object in unwatched namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with structured objects should return an error when context is cancelled 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to list objects that haven't been watched previously 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to get objects that haven't been watched previously 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [AfterEach] as a Reader with unstructured objects should support filtering by labels in a single namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:72

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should support filtering by labels from multiple namespaces 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to list objects by namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to restrict cache to a namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should deep copy the object unless told otherwise 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should return an error if the object is not found 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

Ran 59 of 59 Specs in 53.302 seconds
FAIL! -- 44 Passed | 15 Failed | 0 Pending | 0 Skipped
--- FAIL: TestSource (53.30s)
FAIL
FAIL	sigs.k8s.io/controller-runtime/pkg/cache	53.920s
?   	sigs.k8s.io/controller-runtime/pkg/cache/informertest	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/cache/internal	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/client	17.923s
ok  	sigs.k8s.io/controller-runtime/pkg/client/apiutil	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/client/config	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/client/fake	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/controller	11.201s
?   	sigs.k8s.io/controller-runtime/pkg/controller/controllertest	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/controller/controllerutil	11.444s
?   	sigs.k8s.io/controller-runtime/pkg/conversion	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/envtest	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/envtest/printer	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/event	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/handler	12.739s
ok  	sigs.k8s.io/controller-runtime/pkg/healthz	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/controller	14.971s
?   	sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/internal/log	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/internal/objectutil	[no test files]
Running Suite: Recorder Integration Suite
=========================================
Random Seed: 1587132619
Will run 4 of 4 specs

• Failure [0.026 seconds]
recorder
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/internal/recorder/recorder_integration_test.go:38
  recorder
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/internal/recorder/recorder_integration_test.go:51
    should publish events [It]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/internal/recorder/recorder_integration_test.go:52

    Unexpected error:
        <*fmt.wrapError | 0xc000618800>: {
            msg: "error listening on :8080: listen tcp :8080: bind: address already in use",
            err: {
                Op: "listen",
                Net: "tcp",
                Source: nil,
                Addr: {IP: nil, Port: 8080, Zone: ""},
                Err: {Syscall: "bind", Err: 0x30},
            },
        }
        error listening on :8080: listen tcp :8080: bind: address already in use
    occurred

    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/internal/recorder/recorder_integration_test.go:55
------------------------------
STEP: Creating the Manager
2020-04-17T15:10:29.505+0100	INFO	controller-runtime.metrics	metrics server is starting to listen	{"addr": ":8080"}
2020-04-17T15:10:29.505+0100	ERROR	controller-runtime.metrics	metrics server failed to listen. You may want to disable the metrics server or use another port if it is due to conflicts	{"error": "error listening on :8080: listen tcp :8080: bind: address already in use"}
github.com/go-logr/zapr.(*zapLogger).Error
	/Users/camilamacedo/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/metrics.NewListener
	/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/metrics/listener.go:48
sigs.k8s.io/controller-runtime/pkg/manager.New
	/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/manager/manager.go:280
sigs.k8s.io/controller-runtime/pkg/internal/recorder_test.glob..func1.3.1
	/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/internal/recorder/recorder_integration_test.go:54
reflect.Value.call
	/usr/local/go/src/reflect/value.go:460
reflect.Value.Call
	/usr/local/go/src/reflect/value.go:321
github.com/onsi/ginkgo/internal/leafnodes.newRunner.func1
	/Users/camilamacedo/go/pkg/mod/github.com/onsi/ginkgo@v1.11.0/internal/leafnodes/runner.go:49
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runAsync.func1
	/Users/camilamacedo/go/pkg/mod/github.com/onsi/ginkgo@v1.11.0/internal/leafnodes/runner.go:86
•••


Summarizing 1 Failure:

[Fail] recorder recorder [It] should publish events 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/internal/recorder/recorder_integration_test.go:55

Ran 4 of 4 Specs in 10.473 seconds
FAIL! -- 3 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestRecorder (10.47s)
FAIL
FAIL	sigs.k8s.io/controller-runtime/pkg/internal/recorder	11.116s
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/addr	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/internal	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/internal/integration_tests	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/leaderelection	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/leaderelection/fake	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/log	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/log/zap	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/manager	14.443s
ok  	sigs.k8s.io/controller-runtime/pkg/manager/signals	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/metrics	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/patterns/application	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/patterns/operator	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/predicate	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/ratelimiter	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/reconcile	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/reconcile/reconciletest	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/recorder	(cached) [no tests to run]
?   	sigs.k8s.io/controller-runtime/pkg/runtime	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/runtime/inject	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/runtime/log	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/runtime/scheme	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/runtime/signals	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/scheme	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/source	10.925s
ok  	sigs.k8s.io/controller-runtime/pkg/source/internal	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/webhook	12.088s
ok  	sigs.k8s.io/controller-runtime/pkg/webhook/admission	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/webhook/conversion	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/webhook/internal/certwatcher	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics	[no test files]
FAIL
make: *** [Makefile:57: test] Error 1
`make test with export KUBEBUILDER_ATTACH_CONTROL_PLANE_OUTPUT=true`

$ export KUBEBUILDER_ATTACH_CONTROL_PLANE_OUTPUT=true
camilamacedo@Camilas-MacBook-Pro ~/go/src/sigs.k8s.io/controller-runtime (master) $ make test
TRACE=1 ./hack/check-everything.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
+ k8s_version=1.16.4
+ goarch=amd64
+ goos=unknown
+ [[ darwin18.6.0 == \l\i\n\u\x\-\g\n\u ]]
+ [[ darwin18.6.0 == \d\a\r\w\i\n* ]]
+ goos=darwin
+ [[ darwin == \u\n\k\n\o\w\n ]]
+ tmp_root=/tmp
+ kb_root_dir=/tmp/kubebuilder
+ SKIP_FETCH_TOOLS=
+ header_text 'using tools'
+ echo 'using tools'
using tools
+ '[' -z '' ']'
+ fetch_kb_tools /tmp/kubebuilder
+ local dest_dir=/tmp/kubebuilder
+ [[ -x /tmp/kubebuilder/kubebuilder/bin/kube-apiserver ]]
+ header_text 'fetching tools (into '\''/tmp/kubebuilder'\'')'
+ echo 'fetching tools (into '\''/tmp/kubebuilder'\'')'
fetching tools (into '/tmp/kubebuilder')
+ kb_tools_archive_name=kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_download_url=https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_archive_path=/tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ '[' '!' -f /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz ']'
+ mkdir -p /tmp/kubebuilder
+ tar -C /tmp/kubebuilder --strip-components=1 -zvxf /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
x bin/
x bin/etcd
x bin/kubectl
x bin/kube-apiserver
+ fetch_kb_tools ./hack/../pkg/internal/testing/integration/assets
+ local dest_dir=./hack/../pkg/internal/testing/integration/assets
+ [[ -x ./hack/../pkg/internal/testing/integration/assets/kubebuilder/bin/kube-apiserver ]]
+ header_text 'fetching tools (into '\''./hack/../pkg/internal/testing/integration/assets'\'')'
+ echo 'fetching tools (into '\''./hack/../pkg/internal/testing/integration/assets'\'')'
fetching tools (into './hack/../pkg/internal/testing/integration/assets')
+ kb_tools_archive_name=kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_download_url=https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_archive_path=/tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ '[' '!' -f /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz ']'
+ mkdir -p ./hack/../pkg/internal/testing/integration/assets
+ tar -C ./hack/../pkg/internal/testing/integration/assets --strip-components=1 -zvxf /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
x bin/
x bin/etcd
x bin/kubectl
x bin/kube-apiserver
+ setup_envs
+ header_text 'setting up env vars'
+ echo 'setting up env vars'
setting up env vars
+ [[ -z '' ]]
+ export KUBEBUILDER_ASSETS=/tmp/kubebuilder/bin
+ KUBEBUILDER_ASSETS=/tmp/kubebuilder/bin
+ ./hack/verify.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
++ dirname ./hack/verify.sh
+ REPO_ROOT=./hack/..
+ cd ./hack/..
+ header_text 'running golangci-lint'
+ echo 'running golangci-lint'
running golangci-lint
+ make lint
make[1]: Entering directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
cd hack/tools && go build -tags=tools -o bin/golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/hack/tools/bin/golangci-lint run -v
INFO [config_reader] Config search paths: [./ /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime /Users/camilamacedo/go/src/sigs.k8s.io /Users/camilamacedo/go/src /Users/camilamacedo/go /Users/camilamacedo /Users /] 
INFO [config_reader] Used config file .golangci.yml 
INFO [lintersdb] Active 16 linters: [deadcode dupl errcheck goconst gocyclo goimports golint govet ineffassign interfacer lll misspell nakedret structcheck unparam varcheck] 
INFO [lintersdb] Active 16 linters: [deadcode dupl errcheck goconst gocyclo goimports golint govet ineffassign interfacer lll misspell nakedret structcheck unparam varcheck] 
INFO [loader] Go packages loading at mode 575 (types_sizes|exports_file|files|imports|compiled_files|deps|name) took 2.294845547s 
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 13.665907ms 
INFO [runner/goanalysis_metalinter/goanalysis] analyzers took 8.154810224s with top 10 stages: buildssa: 2.523274196s, goimports: 1.533314376s, dupl: 839.216738ms, interfacer: 647.87588ms, unparam: 522.778069ms, misspell: 375.259769ms, golint: 287.837616ms, lll: 163.880762ms, varcheck: 158.871022ms, ineffassign: 125.305923ms 
INFO [runner/skip dirs] Skipped 2 issues from dir examples/builtins by pattern (^|/)examples($|/) 
INFO [runner/skip dirs] Skipped 3 issues from dir examples/crd/pkg by pattern (^|/)examples($|/) 
INFO [runner] Issues before processing: 15, after processing: 0 
INFO [runner] Processors filtering stat (out/in): cgo: 15/15, filename_unadjuster: 15/15, skip_files: 15/15, identifier_marker: 10/10, path_prettifier: 15/15, autogenerated_exclude: 10/10, nolint: 0/1, skip_dirs: 10/15, exclude-rules: 1/10, exclude: 10/10 
INFO [runner] processing took 881.762µs with stages: path_prettifier: 325.862µs, identifier_marker: 156.051µs, autogenerated_exclude: 151.329µs, skip_dirs: 111.847µs, nolint: 97.929µs, exclude-rules: 31.795µs, cgo: 2.56µs, filename_unadjuster: 1.166µs, max_same_issues: 694ns, diff: 533ns, uniq_by_line: 436ns, skip_files: 335ns, max_from_linter: 296ns, path_shortener: 260ns, exclude: 253ns, source_code: 227ns, max_per_file_from_linter: 189ns 
INFO [runner] linters took 1.735965203s with stages: goanalysis_metalinter: 1.735019609s 
INFO File cache stats: 125 entries of total size 773.0KiB 
INFO Memory: 42 samples, avg is 144.8MB, max is 407.3MB 
INFO Execution took 4.062609007s                  
make[1]: Leaving directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
+ header_text 'verifying modules'
+ echo 'verifying modules'
verifying modules
+ make modules verify-modules
make[1]: Entering directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
go mod tidy
cd hack/tools; go mod tidy
make[1]: Leaving directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
+ ./hack/test-all.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
+ setup_envs
+ header_text 'setting up env vars'
+ echo 'setting up env vars'
setting up env vars
+ [[ -z /tmp/kubebuilder/bin ]]
+ header_text 'running go test'
+ echo 'running go test'
running go test
+ go test ./... -parallel 4
ok  	sigs.k8s.io/controller-runtime	(cached) [no tests to run]
?   	sigs.k8s.io/controller-runtime/examples/builtins	[no test files]
?   	sigs.k8s.io/controller-runtime/examples/crd	[no test files]
?   	sigs.k8s.io/controller-runtime/examples/crd/pkg	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/builder	15.228s
Running Suite: Cache Suite
==========================
Random Seed: 1587203607
Will run 59 of 59 specs

2020-04-18 10:53:27.639073 I | etcdmain: etcd Version: 3.3.11
2020-04-18 10:53:27.639436 I | etcdmain: Git SHA: 2cf9e51d2
2020-04-18 10:53:27.639443 I | etcdmain: Go Version: go1.10.7
2020-04-18 10:53:27.639447 I | etcdmain: Go OS/Arch: darwin/amd64
2020-04-18 10:53:27.639455 I | etcdmain: setting maximum number of CPUs to 12, total number of available CPUs is 12
2020-04-18 10:53:27.639461 N | etcdmain: failed to detect default host (default host not supported on darwin_amd64)
2020-04-18 10:53:27.641570 I | embed: listening for peers on http://localhost:0
2020-04-18 10:53:27.641834 I | embed: listening for client requests on 127.0.0.1:51333
2020-04-18 10:53:27.657915 I | etcdserver: name = default
2020-04-18 10:53:27.657982 I | etcdserver: data dir = /var/folders/r_/ym6yn3cd0q3fm5jcgcwvj4z00000gn/T/k8s_test_framework_094518274
2020-04-18 10:53:27.658002 I | etcdserver: member dir = /var/folders/r_/ym6yn3cd0q3fm5jcgcwvj4z00000gn/T/k8s_test_framework_094518274/member
2020-04-18 10:53:27.658007 I | etcdserver: heartbeat = 100ms
2020-04-18 10:53:27.658011 I | etcdserver: election = 1000ms
2020-04-18 10:53:27.658015 I | etcdserver: snapshot count = 100000
2020-04-18 10:53:27.658197 I | etcdserver: advertise client URLs = http://127.0.0.1:51333
2020-04-18 10:53:27.658208 I | etcdserver: initial advertise peer URLs = http://localhost:2380
2020-04-18 10:53:27.658218 I | etcdserver: initial cluster = default=http://localhost:2380
2020-04-18 10:53:27.998684 I | etcdserver: starting member 8e9e05c52164694d in cluster cdf818194e3a8c32
2020-04-18 10:53:27.998723 I | raft: 8e9e05c52164694d became follower at term 0
2020-04-18 10:53:27.998736 I | raft: newRaft 8e9e05c52164694d [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
2020-04-18 10:53:27.998741 I | raft: 8e9e05c52164694d became follower at term 1
2020-04-18 10:53:28.010911 W | auth: simple token is not cryptographically signed
2020-04-18 10:53:28.017132 I | etcdserver: starting server... [version: 3.3.11, cluster version: to_be_decided]
2020-04-18 10:53:28.017341 E | etcdserver: cannot monitor file descriptor usage (cannot get FDUsage on darwin)
2020-04-18 10:53:28.017437 I | etcdserver: 8e9e05c52164694d as single-node; fast-forwarding 9 ticks (election ticks 10)
2020-04-18 10:53:28.017747 I | etcdserver/membership: added member 8e9e05c52164694d [http://localhost:2380] to cluster cdf818194e3a8c32
2020-04-18 10:53:28.606388 I | raft: 8e9e05c52164694d is starting a new election at term 1
2020-04-18 10:53:28.606419 I | raft: 8e9e05c52164694d became candidate at term 2
2020-04-18 10:53:28.606442 I | raft: 8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 2
2020-04-18 10:53:28.606456 I | raft: 8e9e05c52164694d became leader at term 2
2020-04-18 10:53:28.606463 I | raft: raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 2
2020-04-18 10:53:28.606564 I | etcdserver: setting up the initial cluster version to 3.3
2020-04-18 10:53:28.672452 N | etcdserver/membership: set the initial cluster version to 3.3
2020-04-18 10:53:28.672476 I | embed: ready to serve client requests
2020-04-18 10:53:28.672542 I | etcdserver: published {Name:default ClientURLs:[http://127.0.0.1:51333]} to cluster cdf818194e3a8c32
2020-04-18 10:53:28.672561 I | etcdserver/api: enabled capabilities for version 3.3
2020-04-18 10:53:28.673057 N | embed: serving insecure client requests on 127.0.0.1:51333, this is strongly discouraged!
Flag --insecure-port has been deprecated, This flag will be removed in a future version.
Flag --insecure-bind-address has been deprecated, This flag will be removed in a future version.
I0418 10:53:30.091077   86953 server.go:623] external host was not specified, using 127.0.0.1
W0418 10:53:30.091293   86953 authentication.go:416] AnonymousAuth is not allowed with the AlwaysAllow authorizer. Resetting AnonymousAuth to false. You should use a different authorizer
I0418 10:53:30.092348   86953 server.go:149] Version: v1.16.4
I0418 10:53:31.035592   86953 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: MutatingAdmissionWebhook,RuntimeClass.
I0418 10:53:31.035610   86953 plugins.go:161] Loaded 2 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook,RuntimeClass.
I0418 10:53:31.036235   86953 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: MutatingAdmissionWebhook,RuntimeClass.
I0418 10:53:31.036296   86953 plugins.go:161] Loaded 2 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook,RuntimeClass.
I0418 10:53:31.040246   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.040285   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.041019   86953 once.go:44] CPU time info is unavailable on non-linux or appengine environment.
I0418 10:53:31.042053   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.042077   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.050008   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.050061   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.101087   86953 master.go:259] Using reconciler: lease
I0418 10:53:31.101263   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.101280   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.104798   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.104821   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.106884   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.106904   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.109217   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.109320   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.111511   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.111533   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.113178   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.113209   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.114887   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.114907   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.116395   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.116417   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.117732   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.117751   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.119108   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.119126   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.120655   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.120677   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.122847   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.122872   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.124792   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.124814   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.126588   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.126611   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.128245   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.128304   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.132276   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.132301   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.134697   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.134717   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.136235   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.136256   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.138101   86953 rest.go:115] the default service ipfamily for this cluster is: IPv4
I0418 10:53:31.359176   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.359198   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.360876   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.360898   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.362486   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.362521   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.364284   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.364309   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.366787   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.366830   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.370481   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.370505   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.372155   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.372178   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.373631   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.373655   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.375095   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.375117   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.376805   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.376826   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.378087   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.378114   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.379885   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.379945   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.381896   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.381934   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.383768   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.383796   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.385333   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.385355   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.386986   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.387010   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.388635   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.388657   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.391413   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.391435   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.393854   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.393886   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.396154   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.396189   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.397814   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.397834   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.399687   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.399708   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.403918   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.403943   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.405851   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.405874   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.407868   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.407893   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.410363   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.410391   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.411870   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.411894   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.412919   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.412977   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.414152   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.414176   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.415432   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.415455   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.421690   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.421717   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.423031   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.423053   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.424513   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.424540   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.425918   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.425941   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.427334   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.427356   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.428359   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.428379   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.429373   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.429395   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.430625   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.430647   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.432058   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.432078   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.434476   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.434631   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
W0418 10:53:31.714186   86953 genericapiserver.go:404] Skipping API batch/v2alpha1 because it has no resources.
W0418 10:53:31.755835   86953 genericapiserver.go:404] Skipping API node.k8s.io/v1alpha1 because it has no resources.
W0418 10:53:31.795515   86953 genericapiserver.go:404] Skipping API rbac.authorization.k8s.io/v1alpha1 because it has no resources.
W0418 10:53:31.813293   86953 genericapiserver.go:404] Skipping API scheduling.k8s.io/v1alpha1 because it has no resources.
W0418 10:53:31.867344   86953 genericapiserver.go:404] Skipping API storage.k8s.io/v1alpha1 because it has no resources.
W0418 10:53:31.891314   86953 genericapiserver.go:404] Skipping API apps/v1beta2 because it has no resources.
W0418 10:53:31.891331   86953 genericapiserver.go:404] Skipping API apps/v1beta1 because it has no resources.
I0418 10:53:31.902957   86953 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: MutatingAdmissionWebhook,RuntimeClass.
I0418 10:53:31.902974   86953 plugins.go:161] Loaded 2 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook,RuntimeClass.
I0418 10:53:31.904828   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.904851   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.906544   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:31.907917   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:31.911164   86953 deprecated_insecure_serving.go:53] Serving insecurely on 127.0.0.1:51388
I0418 10:53:32.035135   86953 client.go:357] parsed scheme: "endpoint"
I0418 10:53:32.035227   86953 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:51333 0  <nil>}]
I0418 10:53:36.295444   86953 secure_serving.go:123] Serving securely on [::]:51390
I0418 10:53:36.295614   86953 apiservice_controller.go:94] Starting APIServiceRegistrationController
I0418 10:53:36.296346   86953 autoregister_controller.go:140] Starting autoregister controller
I0418 10:53:36.296393   86953 cache.go:32] Waiting for caches to sync for autoregister controller
I0418 10:53:36.296437   86953 available_controller.go:383] Starting AvailableConditionController
I0418 10:53:36.296463   86953 cache.go:32] Waiting for caches to sync for AvailableConditionController controller
I0418 10:53:36.296478   86953 cache.go:32] Waiting for caches to sync for APIServiceRegistrationController controller
I0418 10:53:36.296616   86953 crdregistration_controller.go:111] Starting crd-autoregister controller
I0418 10:53:36.296658   86953 shared_informer.go:197] Waiting for caches to sync for crd-autoregister
I0418 10:53:36.296800   86953 customresource_discovery_controller.go:208] Starting DiscoveryController
I0418 10:53:36.297042   86953 controller.go:85] Starting OpenAPI controller
I0418 10:53:36.297473   86953 crd_finalizer.go:274] Starting CRDFinalizer
I0418 10:53:36.297575   86953 nonstructuralschema_controller.go:191] Starting NonStructuralSchemaConditionController
I0418 10:53:36.297489   86953 naming_controller.go:288] Starting NamingConditionController
I0418 10:53:36.297495   86953 establishing_controller.go:73] Starting EstablishingController
I0418 10:53:36.297516   86953 controller.go:81] Starting OpenAPI AggregationController
I0418 10:53:36.298040   86953 apiapproval_controller.go:185] Starting KubernetesAPIApprovalPolicyConformantConditionController
E0418 10:53:36.298753   86953 controller.go:154] Unable to remove old endpoints from kubernetes service: StorageError: key not found, Code: 1, Key: /registry/masterleases/127.0.0.1, ResourceVersion: 0, AdditionalErrorMsg: 
proto: no coders for int
proto: no encoder for ValueSize int [GetProperties]
I0418 10:53:36.396598   86953 cache.go:39] Caches are synced for AvailableConditionController controller
I0418 10:53:36.396721   86953 cache.go:39] Caches are synced for APIServiceRegistrationController controller
I0418 10:53:36.396765   86953 cache.go:39] Caches are synced for autoregister controller
I0418 10:53:36.399501   86953 shared_informer.go:204] Caches are synced for crd-autoregister 
2020-04-18 10:53:36.631386 W | etcdserver: read-only range request "key:\"/registry/health\" " with result "range_response_count:0 size:4" took too long (129.79216ms) to execute
I0418 10:53:37.298259   86953 controller.go:107] OpenAPI AggregationController: Processing item 
I0418 10:53:37.298281   86953 controller.go:130] OpenAPI AggregationController: action for item : Nothing (removed from the queue).
I0418 10:53:37.298295   86953 controller.go:130] OpenAPI AggregationController: action for item k8s_internal_local_delegation_chain_0000000000: Nothing (removed from the queue).
I0418 10:53:37.301920   86953 storage_scheduling.go:139] created PriorityClass system-node-critical with value 2000001000
I0418 10:53:37.314264   86953 storage_scheduling.go:139] created PriorityClass system-cluster-critical with value 2000000000
I0418 10:53:37.314284   86953 storage_scheduling.go:148] all system priority classes are created successfully or already exist.
W0418 10:53:37.452571   86953 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 10:53:37.459826   86953 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
•••••••••••••W0418 10:53:47.431759   86953 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 10:53:47.443062   86953 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
•••••••••••••••
------------------------------
• Failure [1.692 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:631
        should be able to get informer for the object [It]
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:632

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000385a80>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:655
------------------------------
STEP: creating three pods
STEP: creating the informer cache
STEP: running the cache and waiting for it to sync
STEP: getting a shared index informer for a pod
STEP: cleaning up created pods
W0418 10:53:57.581135   86953 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 10:53:57.649152   86953 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
• Failure in Spec Setup (BeforeEach) [1.369 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:631
        should be able to index an object field then retrieve objects by that field
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:677

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000553400>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.099 seconds]
Multi-Namespace Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:78
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:631
        should allow for get informer to be cancelled
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:727

        Unexpected error:
            <*meta.NoKindMatchError | 0xc00003d080>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.334 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should be able to list objects that haven't been watched previously
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:146

        Unexpected error:
            <*meta.NoKindMatchError | 0xc0006a8b40>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.425 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should be able to get objects that haven't been watched previously
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:164

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000578e40>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.970 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should support filtering by labels in a single namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:175

        Unexpected error:
            <*meta.NoKindMatchError | 0xc00069a040>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.157 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should support filtering by labels from multiple namespaces
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:190

        Unexpected error:
            <*meta.NoKindMatchError | 0xc000718b00>: {
                GroupKind: {Group: "", Kind: "Namespace"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Namespace" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
W0418 10:54:07.601396   86953 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 10:54:07.602316   86953 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
• Failure in Spec Setup (BeforeEach) [2.873 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should be able to list objects with GVK populated
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:209

        Unexpected error:
            <*meta.NoKindMatchError | 0xc00081ee00>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [2.556 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should be able to list objects by namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:222

        Unexpected error:
            <*errors.StatusError | 0xc0000e4be0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [1.378 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should deep copy the object unless told otherwise
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:235

        Unexpected error:
            <*errors.StatusError | 0xc000af2320>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-2\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-2", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-2" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [3.343 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should return an error if the object is not found
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:251

        Unexpected error:
            <*errors.StatusError | 0xc00063c140>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.504 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should return an error if getting object in unwatched namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:262

        Unexpected error:
            <*errors.StatusError | 0xc00013cdc0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.439 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:144
        should return an error when context is cancelled
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:272

        Unexpected error:
            <*errors.StatusError | 0xc0005aa1e0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.439 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to list objects that haven't been watched previously
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:287

        Unexpected error:
            <*errors.StatusError | 0xc000a48140>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.375 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to get objects that haven't been watched previously
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:310

        Unexpected error:
            <*errors.StatusError | 0xc0006406e0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
W0418 10:54:19.587187   86953 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 10:54:19.588209   86953 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
• Failure in Spec Setup (BeforeEach) [2.568 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should support filtering by labels in a single namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:326

        Unexpected error:
            <*errors.StatusError | 0xc0000e5220>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.393 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should support filtering by labels from multiple namespaces
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:347

        Unexpected error:
            <*errors.StatusError | 0xc00013c6e0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.410 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to list objects by namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:373

        Unexpected error:
            <*errors.StatusError | 0xc0000e4be0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
I0418 10:54:21.179053   86953 trace.go:116] Trace[1078250487]: "Create" url:/api/v1/namespaces (started: 2020-04-18 10:54:20.549817 +0100 BST m=+50.558657263) (total time: 629.179082ms):
Trace[1078250487]: [629.179082ms] [629.079358ms] END
• Failure in Spec Setup (BeforeEach) [0.878 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should be able to restrict cache to a namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:391

        Unexpected error:
            <*errors.StatusError | 0xc0006aa3c0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.269 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should deep copy the object unless told otherwise
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:430

        Unexpected error:
            <*errors.StatusError | 0xc0005f6640>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.258 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should return an error if the object is not found
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:455

        Unexpected error:
            <*errors.StatusError | 0xc000380280>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.897 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as a Reader [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:143
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:286
        should return an error if getting object in unwatched namespace
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:470

        Unexpected error:
            <*errors.StatusError | 0xc000c5a140>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.220 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:482
        should be able to get informer for the object
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:483

        Unexpected error:
            <*errors.StatusError | 0xc000700500>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.238 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:482
        should be able to get an informer by group/version/kind
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:522

        Unexpected error:
            <*errors.StatusError | 0xc000216280>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.243 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:482
        should be able to index an object field then retrieve objects by that field
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:562

        Unexpected error:
            <*errors.StatusError | 0xc0007f21e0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.492 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:482
        should allow for get informer to be cancelled
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:592

        Unexpected error:
            <*errors.StatusError | 0xc000380640>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.235 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with structured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:482
        should allow getting an informer by group/version/kind to be cancelled
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:618

        Unexpected error:
            <*errors.StatusError | 0xc00013d0e0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.233 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:631
        should be able to get informer for the object
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:632

        Unexpected error:
            <*errors.StatusError | 0xc00087c1e0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.225 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:631
        should be able to index an object field then retrieve objects by that field
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:677

        Unexpected error:
            <*errors.StatusError | 0xc0006866e0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
• Failure in Spec Setup (BeforeEach) [0.247 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:631
        should allow for get informer to be cancelled
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:727

        Unexpected error:
            <*errors.StatusError | 0xc0006c23c0>: {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "pods \"test-pod-4\" already exists",
                    Reason: "AlreadyExists",
                    Details: {Name: "test-pod-4", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
                    Code: 409,
                },
            }
            pods "test-pod-4" already exists
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
•I0418 10:54:24.948903   86953 controller.go:182] Shutting down kubernetes service endpoint reconciler
I0418 10:54:24.948917   86953 apiapproval_controller.go:197] Shutting down KubernetesAPIApprovalPolicyConformantConditionController
I0418 10:54:24.948965   86953 controller.go:122] Shutting down OpenAPI controller
I0418 10:54:24.948986   86953 crd_finalizer.go:286] Shutting down CRDFinalizer
I0418 10:54:24.949000   86953 crdregistration_controller.go:142] Shutting down crd-autoregister controller
I0418 10:54:24.949000   86953 naming_controller.go:299] Shutting down NamingConditionController
I0418 10:54:24.949001   86953 customresource_discovery_controller.go:219] Shutting down DiscoveryController
I0418 10:54:24.948989   86953 available_controller.go:395] Shutting down AvailableConditionController
I0418 10:54:24.948979   86953 autoregister_controller.go:164] Shutting down autoregister controller
I0418 10:54:24.948973   86953 controller.go:87] Shutting down OpenAPI AggregationController
I0418 10:54:24.948982   86953 apiservice_controller.go:106] Shutting down APIServiceRegistrationController
I0418 10:54:24.949042   86953 secure_serving.go:167] Stopped listening on 127.0.0.1:51388
I0418 10:54:24.948985   86953 nonstructuralschema_controller.go:203] Shutting down NonStructuralSchemaConditionController
I0418 10:54:24.948967   86953 establishing_controller.go:84] Shutting down EstablishingController
I0418 10:54:24.949154   86953 secure_serving.go:167] Stopped listening on [::]:51390
E0418 10:54:24.950131   86953 controller.go:185] Get https://[::1]:51390/api/v1/namespaces/default/endpoints/kubernetes: dial tcp [::1]:51390: connect: connection refused
2020-04-18 10:54:24.977489 N | pkg/osutil: received terminated signal, shutting down...
2020-04-18 10:54:24.977578 I | etcdserver: skipped leadership transfer for single member cluster



Summarizing 30 Failures:

[Fail] Multi-Namespace Informer Cache Cache test as an Informer with unstructured objects [It] should be able to get informer for the object 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:655

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as an Informer with unstructured objects should be able to index an object field then retrieve objects by that field 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Multi-Namespace Informer Cache Cache test [BeforeEach] as an Informer with unstructured objects should allow for get informer to be cancelled 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should be able to list objects that haven't been watched previously 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should be able to get objects that haven't been watched previously 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should support filtering by labels in a single namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should support filtering by labels from multiple namespaces 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:102

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should be able to list objects with GVK populated 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should be able to list objects by namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should deep copy the object unless told otherwise 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should return an error if the object is not found 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should return an error if getting object in unwatched namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with structured objects should return an error when context is cancelled 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to list objects that haven't been watched previously 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to get objects that haven't been watched previously 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should support filtering by labels in a single namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should support filtering by labels from multiple namespaces 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to list objects by namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should be able to restrict cache to a namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should deep copy the object unless told otherwise 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should return an error if the object is not found 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as a Reader with unstructured objects should return an error if getting object in unwatched namespace 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with structured objects should be able to get informer for the object 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with structured objects should be able to get an informer by group/version/kind 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with structured objects should be able to index an object field then retrieve objects by that field 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with structured objects should allow for get informer to be cancelled 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with structured objects should allow getting an informer by group/version/kind to be cancelled 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with unstructured objects should be able to get informer for the object 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with unstructured objects should be able to index an object field then retrieve objects by that field 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with unstructured objects should allow for get informer to be cancelled 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

Ran 59 of 59 Specs in 57.395 seconds
FAIL! -- 29 Passed | 30 Failed | 0 Pending | 0 Skipped
--- FAIL: TestSource (57.40s)
FAIL
FAIL	sigs.k8s.io/controller-runtime/pkg/cache	58.087s
?   	sigs.k8s.io/controller-runtime/pkg/cache/informertest	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/cache/internal	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/client	20.763s
ok  	sigs.k8s.io/controller-runtime/pkg/client/apiutil	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/client/config	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/client/fake	1.131s
ok  	sigs.k8s.io/controller-runtime/pkg/controller	13.116s
?   	sigs.k8s.io/controller-runtime/pkg/controller/controllertest	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/controller/controllerutil	14.449s
?   	sigs.k8s.io/controller-runtime/pkg/conversion	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/envtest	42.724s
?   	sigs.k8s.io/controller-runtime/pkg/envtest/printer	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/event	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/handler	15.136s
ok  	sigs.k8s.io/controller-runtime/pkg/healthz	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/controller	12.981s
?   	sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/internal/log	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/internal/objectutil	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/internal/recorder	11.052s
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/addr	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/internal	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/internal/integration_tests	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/leaderelection	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/leaderelection/fake	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/log	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/log/zap	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/manager	14.321s
ok  	sigs.k8s.io/controller-runtime/pkg/manager/signals	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/metrics	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/patterns/application	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/patterns/operator	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/predicate	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/ratelimiter	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/reconcile	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/reconcile/reconciletest	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/recorder	(cached) [no tests to run]
?   	sigs.k8s.io/controller-runtime/pkg/runtime	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/runtime/inject	0.446s
?   	sigs.k8s.io/controller-runtime/pkg/runtime/log	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/runtime/scheme	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/runtime/signals	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/scheme	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/source	11.004s
ok  	sigs.k8s.io/controller-runtime/pkg/source/internal	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/webhook	8.600s
ok  	sigs.k8s.io/controller-runtime/pkg/webhook/admission	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/webhook/conversion	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/webhook/internal/certwatcher	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics	[no test files]
FAIL
make: *** [Makefile:57: test] Error 1
camilamacedo@Camilas-MacBook-Pro ~/go/src/sigs.k8s.io/controller-runtime (master) $ 


Env

  • go version go1.13.3 darwin/amd64
  • kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-26T06:17:09Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:50:46Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
  • SO: Mac Os X
  • minikube version: v1.9.2
@camilamacedo86 camilamacedo86 changed the title Unable to run themake test locally Unable to run themake test locally (CacheTestSuit shows not work for mac) Apr 17, 2020
@camilamacedo86
Copy link
Member Author

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 17, 2020
@DirectXMan12
Copy link
Contributor

@camilamacedo86 that kinda sounds like the apiserver didn't boot properly

@DirectXMan12
Copy link
Contributor

if you run with KUBEBUILDER_ATTACH_CONTROL_PLANE_OUTPUT=true do you see anything weird?

@DirectXMan12
Copy link
Contributor

@droot can you repro?

@droot
Copy link
Contributor

droot commented Apr 17, 2020

I ran make test 4 times and it failed the first time with same errors reported above. However, next 3 runs ran successfully and now I am not able to repro. Are you seeing this failure consistently in your setup ?

@DirectXMan12
Copy link
Contributor

@camilamacedo86 for future reference: please put really long logs in a details element like this:

<details>
<summary>
Whatever you put here shows up next to the expando
</summary>

REALLY LONG STUFF HERE
</details>

I've edited your message for this one to do that

@camilamacedo86
Copy link
Member Author

camilamacedo86 commented Apr 18, 2020

Hi @DirectXMan12 and @droot,

Thank you for your help with. Following some information.

  • Added in the first comment the full execution with the envvar KUBEBUILDER_ATTACH_CONTROL_PLANE_OUTPUT=true
  • I am able to check the cache error always and no matter how many times I re-run it. I did it 5 times. @droot, did you try to run minikube delete and minikube start to check the error again? Are you using hyperkit and minikube? See:
`make test with export KUBEBUILDER_ATTACH_CONTROL_PLANE_OUTPUT=true after running 4 times`
 $ make test
TRACE=1 ./hack/check-everything.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
+ k8s_version=1.16.4
+ goarch=amd64
+ goos=unknown
+ [[ darwin18.6.0 == \l\i\n\u\x\-\g\n\u ]]
+ [[ darwin18.6.0 == \d\a\r\w\i\n* ]]
+ goos=darwin
+ [[ darwin == \u\n\k\n\o\w\n ]]
+ tmp_root=/tmp
+ kb_root_dir=/tmp/kubebuilder
+ SKIP_FETCH_TOOLS=
+ header_text 'using tools'
+ echo 'using tools'
using tools
+ '[' -z '' ']'
+ fetch_kb_tools /tmp/kubebuilder
+ local dest_dir=/tmp/kubebuilder
+ [[ -x /tmp/kubebuilder/kubebuilder/bin/kube-apiserver ]]
+ header_text 'fetching tools (into '\''/tmp/kubebuilder'\'')'
+ echo 'fetching tools (into '\''/tmp/kubebuilder'\'')'
fetching tools (into '/tmp/kubebuilder')
+ kb_tools_archive_name=kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_download_url=https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_archive_path=/tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ '[' '!' -f /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz ']'
+ mkdir -p /tmp/kubebuilder
+ tar -C /tmp/kubebuilder --strip-components=1 -zvxf /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
x bin/
x bin/etcd
x bin/kubectl
x bin/kube-apiserver
+ fetch_kb_tools ./hack/../pkg/internal/testing/integration/assets
+ local dest_dir=./hack/../pkg/internal/testing/integration/assets
+ [[ -x ./hack/../pkg/internal/testing/integration/assets/kubebuilder/bin/kube-apiserver ]]
+ header_text 'fetching tools (into '\''./hack/../pkg/internal/testing/integration/assets'\'')'
+ echo 'fetching tools (into '\''./hack/../pkg/internal/testing/integration/assets'\'')'
fetching tools (into './hack/../pkg/internal/testing/integration/assets')
+ kb_tools_archive_name=kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_download_url=https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ kb_tools_archive_path=/tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
+ '[' '!' -f /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz ']'
+ mkdir -p ./hack/../pkg/internal/testing/integration/assets
+ tar -C ./hack/../pkg/internal/testing/integration/assets --strip-components=1 -zvxf /tmp/kubebuilder-tools-1.16.4-darwin-amd64.tar.gz
x bin/
x bin/etcd
x bin/kubectl
x bin/kube-apiserver
+ setup_envs
+ header_text 'setting up env vars'
+ echo 'setting up env vars'
setting up env vars
+ [[ -z '' ]]
+ export KUBEBUILDER_ASSETS=/tmp/kubebuilder/bin
+ KUBEBUILDER_ASSETS=/tmp/kubebuilder/bin
+ ./hack/verify.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
++ dirname ./hack/verify.sh
+ REPO_ROOT=./hack/..
+ cd ./hack/..
+ header_text 'running golangci-lint'
+ echo 'running golangci-lint'
running golangci-lint
+ make lint
make[1]: Entering directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/hack/tools/bin/golangci-lint run -v
INFO [config_reader] Config search paths: [./ /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime /Users/camilamacedo/go/src/sigs.k8s.io /Users/camilamacedo/go/src /Users/camilamacedo/go /Users/camilamacedo /Users /] 
INFO [config_reader] Used config file .golangci.yml 
INFO [lintersdb] Active 16 linters: [deadcode dupl errcheck goconst gocyclo goimports golint govet ineffassign interfacer lll misspell nakedret structcheck unparam varcheck] 
INFO [lintersdb] Active 16 linters: [deadcode dupl errcheck goconst gocyclo goimports golint govet ineffassign interfacer lll misspell nakedret structcheck unparam varcheck] 
INFO [loader] Go packages loading at mode 575 (compiled_files|exports_file|imports|name|types_sizes|deps|files) took 762.939659ms 
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 9.421212ms 
INFO [runner/goanalysis_metalinter/goanalysis] analyzers took 0s with no stages 
INFO [runner/skip dirs] Skipped 3 issues from dir examples/crd/pkg by pattern (^|/)examples($|/) 
INFO [runner/skip dirs] Skipped 2 issues from dir examples/builtins by pattern (^|/)examples($|/) 
INFO [runner] Issues before processing: 15, after processing: 0 
INFO [runner] Processors filtering stat (out/in): skip_dirs: 10/15, path_prettifier: 15/15, identifier_marker: 10/10, cgo: 15/15, nolint: 0/1, autogenerated_exclude: 10/10, skip_files: 15/15, exclude: 10/10, exclude-rules: 1/10, filename_unadjuster: 15/15 
INFO [runner] processing took 983.21µs with stages: path_prettifier: 383.913µs, identifier_marker: 190.377µs, autogenerated_exclude: 147.156µs, skip_dirs: 136.982µs, nolint: 86.741µs, exclude-rules: 26.721µs, cgo: 5.534µs, filename_unadjuster: 3.187µs, max_same_issues: 557ns, diff: 411ns, skip_files: 314ns, max_from_linter: 304ns, uniq_by_line: 280ns, exclude: 205ns, path_shortener: 187ns, source_code: 185ns, max_per_file_from_linter: 156ns 
INFO [runner] linters took 176.429375ms with stages: goanalysis_metalinter: 175.384777ms 
INFO File cache stats: 0 entries of total size 0B 
INFO Memory: 11 samples, avg is 81.8MB, max is 137.4MB 
INFO Execution took 969.896019ms                  
make[1]: Leaving directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
+ header_text 'verifying modules'
+ echo 'verifying modules'
verifying modules
+ make modules verify-modules
make[1]: Entering directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
go mod tidy
cd hack/tools; go mod tidy
make[1]: Leaving directory '/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime'
+ ./hack/test-all.sh
++ go mod edit -json
++ MODULES_ENABLED=0
++ MOD_OPT=
++ MODULES_OPT=
++ [[ -n '' ]]
++ NO_COLOR=
++ '[' -z '' ']'
++ header=''
++ reset=''
+ setup_envs
+ header_text 'setting up env vars'
+ echo 'setting up env vars'
setting up env vars
+ [[ -z /tmp/kubebuilder/bin ]]
+ header_text 'running go test'
+ echo 'running go test'
running go test
+ go test ./... -parallel 4
ok  	sigs.k8s.io/controller-runtime	(cached) [no tests to run]
?   	sigs.k8s.io/controller-runtime/examples/builtins	[no test files]
?   	sigs.k8s.io/controller-runtime/examples/crd	[no test files]
?   	sigs.k8s.io/controller-runtime/examples/crd/pkg	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/builder	(cached)
Running Suite: Cache Suite
==========================
Random Seed: 1587204333
Will run 59 of 59 specs

2020-04-18 11:05:33.593539 I | etcdmain: etcd Version: 3.3.11
2020-04-18 11:05:33.593629 I | etcdmain: Git SHA: 2cf9e51d2
2020-04-18 11:05:33.593632 I | etcdmain: Go Version: go1.10.7
2020-04-18 11:05:33.593637 I | etcdmain: Go OS/Arch: darwin/amd64
2020-04-18 11:05:33.593641 I | etcdmain: setting maximum number of CPUs to 12, total number of available CPUs is 12
2020-04-18 11:05:33.593646 N | etcdmain: failed to detect default host (default host not supported on darwin_amd64)
2020-04-18 11:05:33.594078 I | embed: listening for peers on http://localhost:0
2020-04-18 11:05:33.594133 I | embed: listening for client requests on 127.0.0.1:58455
2020-04-18 11:05:33.595153 I | etcdserver: name = default
2020-04-18 11:05:33.595160 I | etcdserver: data dir = /var/folders/r_/ym6yn3cd0q3fm5jcgcwvj4z00000gn/T/k8s_test_framework_493640661
2020-04-18 11:05:33.595163 I | etcdserver: member dir = /var/folders/r_/ym6yn3cd0q3fm5jcgcwvj4z00000gn/T/k8s_test_framework_493640661/member
2020-04-18 11:05:33.595165 I | etcdserver: heartbeat = 100ms
2020-04-18 11:05:33.595168 I | etcdserver: election = 1000ms
2020-04-18 11:05:33.595170 I | etcdserver: snapshot count = 100000
2020-04-18 11:05:33.595175 I | etcdserver: advertise client URLs = http://127.0.0.1:58455
2020-04-18 11:05:33.595178 I | etcdserver: initial advertise peer URLs = http://localhost:2380
2020-04-18 11:05:33.595183 I | etcdserver: initial cluster = default=http://localhost:2380
2020-04-18 11:05:33.663216 I | etcdserver: starting member 8e9e05c52164694d in cluster cdf818194e3a8c32
2020-04-18 11:05:33.663242 I | raft: 8e9e05c52164694d became follower at term 0
2020-04-18 11:05:33.663250 I | raft: newRaft 8e9e05c52164694d [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
2020-04-18 11:05:33.663252 I | raft: 8e9e05c52164694d became follower at term 1
2020-04-18 11:05:33.744206 W | auth: simple token is not cryptographically signed
2020-04-18 11:05:33.744865 I | etcdserver: starting server... [version: 3.3.11, cluster version: to_be_decided]
2020-04-18 11:05:33.745000 E | etcdserver: cannot monitor file descriptor usage (cannot get FDUsage on darwin)
2020-04-18 11:05:33.745081 I | etcdserver: 8e9e05c52164694d as single-node; fast-forwarding 9 ticks (election ticks 10)
2020-04-18 11:05:33.745467 I | etcdserver/membership: added member 8e9e05c52164694d [http://localhost:2380] to cluster cdf818194e3a8c32
2020-04-18 11:05:33.866027 I | raft: 8e9e05c52164694d is starting a new election at term 1
2020-04-18 11:05:33.866046 I | raft: 8e9e05c52164694d became candidate at term 2
2020-04-18 11:05:33.866056 I | raft: 8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 2
2020-04-18 11:05:33.866063 I | raft: 8e9e05c52164694d became leader at term 2
2020-04-18 11:05:33.866070 I | raft: raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 2
2020-04-18 11:05:33.866160 I | etcdserver: setting up the initial cluster version to 3.3
2020-04-18 11:05:33.866207 I | etcdserver: published {Name:default ClientURLs:[http://127.0.0.1:58455]} to cluster cdf818194e3a8c32
2020-04-18 11:05:33.866223 I | embed: ready to serve client requests
2020-04-18 11:05:33.866618 N | embed: serving insecure client requests on 127.0.0.1:58455, this is strongly discouraged!
2020-04-18 11:05:33.873740 N | etcdserver/membership: set the initial cluster version to 3.3
2020-04-18 11:05:33.873810 I | etcdserver/api: enabled capabilities for version 3.3
Flag --insecure-port has been deprecated, This flag will be removed in a future version.
Flag --insecure-bind-address has been deprecated, This flag will be removed in a future version.
I0418 11:05:35.548473   87928 server.go:623] external host was not specified, using 127.0.0.1
W0418 11:05:35.548577   87928 authentication.go:416] AnonymousAuth is not allowed with the AlwaysAllow authorizer. Resetting AnonymousAuth to false. You should use a different authorizer
I0418 11:05:35.549279   87928 server.go:149] Version: v1.16.4
I0418 11:05:35.726898   87928 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: MutatingAdmissionWebhook,RuntimeClass.
I0418 11:05:35.726912   87928 plugins.go:161] Loaded 2 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook,RuntimeClass.
I0418 11:05:35.727329   87928 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: MutatingAdmissionWebhook,RuntimeClass.
I0418 11:05:35.727337   87928 plugins.go:161] Loaded 2 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook,RuntimeClass.
I0418 11:05:35.729783   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.729870   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.730907   87928 once.go:44] CPU time info is unavailable on non-linux or appengine environment.
I0418 11:05:35.732817   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.732975   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.735526   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.735546   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.764471   87928 master.go:259] Using reconciler: lease
I0418 11:05:35.764743   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.764754   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.766874   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.766886   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.768066   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.768088   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.768923   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.768936   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.769868   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.769879   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.771249   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.771340   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.772824   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.772839   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.773729   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.773741   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.774577   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.774591   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.775321   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.775335   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.776261   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.776278   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.777252   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.777268   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.778162   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.778177   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.778993   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.779005   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.779710   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.779720   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.780500   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.780511   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.781084   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.781095   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.781693   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.781703   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.782184   87928 rest.go:115] the default service ipfamily for this cluster is: IPv4
I0418 11:05:35.848614   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.848631   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.849625   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.849638   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.850378   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.850394   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.851036   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.851048   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.851694   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.851705   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.852386   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.852398   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.852992   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.853007   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.853705   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.853717   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.854427   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.854438   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.855299   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.855312   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.856154   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.856171   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.856896   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.856909   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.858391   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.858406   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.859361   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.859384   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.860626   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.860747   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.863015   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.863092   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.864278   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.864296   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.865199   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.865212   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.865979   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.865990   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.866793   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.866807   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.867461   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.867473   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.868160   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.868175   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.870542   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.870554   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.871276   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.871293   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.872035   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.872048   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.872860   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.872872   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.873610   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.873625   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.874442   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.874454   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.875598   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.875610   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.876182   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.876193   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.876818   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.876833   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.877566   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.877580   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.878241   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.878257   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.878862   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.878874   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.879431   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.879442   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.879922   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.879933   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.880455   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.880471   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.881037   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.881050   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.881513   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.881525   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:35.882121   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:35.882132   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
W0418 11:05:35.967430   87928 genericapiserver.go:404] Skipping API batch/v2alpha1 because it has no resources.
W0418 11:05:35.982536   87928 genericapiserver.go:404] Skipping API node.k8s.io/v1alpha1 because it has no resources.
W0418 11:05:35.998619   87928 genericapiserver.go:404] Skipping API rbac.authorization.k8s.io/v1alpha1 because it has no resources.
W0418 11:05:36.001551   87928 genericapiserver.go:404] Skipping API scheduling.k8s.io/v1alpha1 because it has no resources.
W0418 11:05:36.011730   87928 genericapiserver.go:404] Skipping API storage.k8s.io/v1alpha1 because it has no resources.
W0418 11:05:36.028327   87928 genericapiserver.go:404] Skipping API apps/v1beta2 because it has no resources.
W0418 11:05:36.028341   87928 genericapiserver.go:404] Skipping API apps/v1beta1 because it has no resources.
I0418 11:05:36.043335   87928 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: MutatingAdmissionWebhook,RuntimeClass.
I0418 11:05:36.043356   87928 plugins.go:161] Loaded 2 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook,RuntimeClass.
I0418 11:05:36.045040   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:36.045085   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:36.046252   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:36.046280   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:36.048904   87928 deprecated_insecure_serving.go:53] Serving insecurely on 127.0.0.1:58460
I0418 11:05:36.728487   87928 client.go:357] parsed scheme: "endpoint"
I0418 11:05:36.728561   87928 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{http://127.0.0.1:58455 0  <nil>}]
I0418 11:05:37.420478   87928 secure_serving.go:123] Serving securely on [::]:58461
I0418 11:05:37.420846   87928 apiservice_controller.go:94] Starting APIServiceRegistrationController
I0418 11:05:37.421316   87928 customresource_discovery_controller.go:208] Starting DiscoveryController
I0418 11:05:37.421802   87928 cache.go:32] Waiting for caches to sync for APIServiceRegistrationController controller
I0418 11:05:37.422100   87928 establishing_controller.go:73] Starting EstablishingController
I0418 11:05:37.422109   87928 controller.go:85] Starting OpenAPI controller
I0418 11:05:37.422114   87928 naming_controller.go:288] Starting NamingConditionController
I0418 11:05:37.422248   87928 nonstructuralschema_controller.go:191] Starting NonStructuralSchemaConditionController
I0418 11:05:37.422101   87928 crd_finalizer.go:274] Starting CRDFinalizer
I0418 11:05:37.422371   87928 apiapproval_controller.go:185] Starting KubernetesAPIApprovalPolicyConformantConditionController
I0418 11:05:37.422517   87928 controller.go:81] Starting OpenAPI AggregationController
I0418 11:05:37.422663   87928 available_controller.go:383] Starting AvailableConditionController
I0418 11:05:37.422702   87928 cache.go:32] Waiting for caches to sync for AvailableConditionController controller
I0418 11:05:37.422745   87928 autoregister_controller.go:140] Starting autoregister controller
I0418 11:05:37.422771   87928 cache.go:32] Waiting for caches to sync for autoregister controller
I0418 11:05:37.423040   87928 crdregistration_controller.go:111] Starting crd-autoregister controller
I0418 11:05:37.423049   87928 shared_informer.go:197] Waiting for caches to sync for crd-autoregister
E0418 11:05:37.423203   87928 controller.go:154] Unable to remove old endpoints from kubernetes service: StorageError: key not found, Code: 1, Key: /registry/masterleases/127.0.0.1, ResourceVersion: 0, AdditionalErrorMsg: 
proto: no coders for int
proto: no encoder for ValueSize int [GetProperties]
I0418 11:05:37.523308   87928 cache.go:39] Caches are synced for autoregister controller
I0418 11:05:37.523315   87928 cache.go:39] Caches are synced for AvailableConditionController controller
I0418 11:05:37.526809   87928 cache.go:39] Caches are synced for APIServiceRegistrationController controller
I0418 11:05:37.526821   87928 shared_informer.go:204] Caches are synced for crd-autoregister 
I0418 11:05:38.423352   87928 controller.go:107] OpenAPI AggregationController: Processing item 
I0418 11:05:38.423366   87928 controller.go:130] OpenAPI AggregationController: action for item : Nothing (removed from the queue).
I0418 11:05:38.423373   87928 controller.go:130] OpenAPI AggregationController: action for item k8s_internal_local_delegation_chain_0000000000: Nothing (removed from the queue).
I0418 11:05:38.427608   87928 storage_scheduling.go:139] created PriorityClass system-node-critical with value 2000001000
I0418 11:05:38.450098   87928 storage_scheduling.go:139] created PriorityClass system-cluster-critical with value 2000000000
I0418 11:05:38.450109   87928 storage_scheduling.go:148] all system priority classes are created successfully or already exist.
W0418 11:05:38.518233   87928 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 11:05:38.518938   87928 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
•••••••••••••••••••••••••••••W0418 11:05:48.518667   87928 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 11:05:48.519510   87928 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
•••••••••••••••••••••W0418 11:05:58.542926   87928 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 11:05:58.544484   87928 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
•••••••
------------------------------
• Failure in Spec Setup (BeforeEach) [2.153 seconds]
Informer Cache
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:75
  Cache test
  /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:84
    as an Informer [BeforeEach]
    /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:481
      with unstructured objects
      /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:631
        should allow for get informer to be cancelled
        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:727

        Unexpected error:
            <*meta.NoKindMatchError | 0xc00039eb80>: {
                GroupKind: {Group: "", Kind: "Pod"},
                SearchedVersions: ["v1"],
            }
            no matches for kind "Pod" in version "v1"
        occurred

        /Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64
------------------------------
STEP: creating three pods
STEP: cleaning up created pods
•I0418 11:06:04.009048   87928 controller.go:182] Shutting down kubernetes service endpoint reconciler
I0418 11:06:04.009097   87928 establishing_controller.go:84] Shutting down EstablishingController
I0418 11:06:04.009107   87928 controller.go:87] Shutting down OpenAPI AggregationController
I0418 11:06:04.009108   87928 autoregister_controller.go:164] Shutting down autoregister controller
I0418 11:06:04.009099   87928 crd_finalizer.go:286] Shutting down CRDFinalizer
I0418 11:06:04.009122   87928 available_controller.go:395] Shutting down AvailableConditionController
I0418 11:06:04.009172   87928 naming_controller.go:299] Shutting down NamingConditionController
I0418 11:06:04.009185   87928 crdregistration_controller.go:142] Shutting down crd-autoregister controller
I0418 11:06:04.009187   87928 controller.go:122] Shutting down OpenAPI controller
I0418 11:06:04.009211   87928 customresource_discovery_controller.go:219] Shutting down DiscoveryController
I0418 11:06:04.009212   87928 secure_serving.go:167] Stopped listening on 127.0.0.1:58460
I0418 11:06:04.009219   87928 apiservice_controller.go:106] Shutting down APIServiceRegistrationController
I0418 11:06:04.009402   87928 secure_serving.go:167] Stopped listening on [::]:58461
I0418 11:06:04.009223   87928 nonstructuralschema_controller.go:203] Shutting down NonStructuralSchemaConditionController
I0418 11:06:04.009232   87928 apiapproval_controller.go:197] Shutting down KubernetesAPIApprovalPolicyConformantConditionController
E0418 11:06:04.011090   87928 controller.go:185] Get https://[::1]:58461/api/v1/namespaces/default/endpoints/kubernetes: dial tcp [::1]:58461: connect: connection refused
2020-04-18 11:06:04.034693 N | pkg/osutil: received terminated signal, shutting down...
2020-04-18 11:06:04.035079 I | etcdserver: skipped leadership transfer for single member cluster



Summarizing 1 Failure:

[Fail] Informer Cache Cache test [BeforeEach] as an Informer with unstructured objects should allow for get informer to be cancelled 
/Users/camilamacedo/go/src/sigs.k8s.io/controller-runtime/pkg/cache/cache_test.go:64

Ran 59 of 59 Specs in 30.667 seconds
FAIL! -- 58 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestSource (30.67s)
FAIL
FAIL	sigs.k8s.io/controller-runtime/pkg/cache	30.950s
?   	sigs.k8s.io/controller-runtime/pkg/cache/informertest	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/cache/internal	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/client	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/client/apiutil	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/client/config	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/client/fake	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/controller	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/controller/controllertest	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/controller/controllerutil	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/conversion	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/envtest	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/envtest/printer	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/event	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/handler	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/healthz	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/controller	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/internal/log	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/internal/objectutil	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/internal/recorder	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/addr	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/internal	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/internal/integration_tests	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/leaderelection	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/leaderelection/fake	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/log	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/log/zap	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/manager	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/manager/signals	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/metrics	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/patterns/application	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/patterns/operator	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/predicate	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/ratelimiter	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/reconcile	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/reconcile/reconciletest	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/recorder	(cached) [no tests to run]
?   	sigs.k8s.io/controller-runtime/pkg/runtime	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/runtime/inject	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/runtime/log	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/runtime/scheme	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/runtime/signals	[no test files]
ok  	sigs.k8s.io/controller-runtime/pkg/scheme	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/source	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/source/internal	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/webhook	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/webhook/admission	(cached)
ok  	sigs.k8s.io/controller-runtime/pkg/webhook/conversion	(cached)
?   	sigs.k8s.io/controller-runtime/pkg/webhook/internal/certwatcher	[no test files]
?   	sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics	[no test files]
FAIL
make: *** [Makefile:57: test] Error 1
  • See the issue:
E0418 11:05:38.518938   87928 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
•••••••••••••••••••••••••••••W0418 11:05:48.518667   87928 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 11:05:48.519510   87928 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)
•••••••••••••••••••••W0418 11:05:58.542926   87928 lease.go:222] Resetting endpoints for master service "kubernetes" to [127.0.0.1]
E0418 11:05:58.544484   87928 controller.go:224] unable to sync kubernetes service: Endpoints "kubernetes" is invalid: subsets[0].addresses[0].ip: Invalid value: "127.0.0.1": may not be in the loopback range (127.0.0.0/8)

@DirectXMan12
Copy link
Contributor

hmm, yeah, that last one looks similar to the k/k bug you mentioned. If you eliminate that, do things work?

@camilamacedo86
Copy link
Member Author

camilamacedo86 commented Apr 22, 2020

Sorry, @DirectXMan12. your question is not clear for me. What should I eliminate?

@camilamacedo86
Copy link
Member Author

camilamacedo86 commented Jun 22, 2020

Hi @DirectXMan12,

It shows related to the scenario described in kubernetes-sigs/kubebuilder#686 (comment).

I think that the problem here is related to the setup of the binaries required to be used in the envtest. See

if os.Getenv(envKubeAPIServerBin) == "" {
te.ControlPlane.APIServer.Path = defaultAssetPath("kube-apiserver")
}
if os.Getenv(envEtcdBin) == "" {
te.ControlPlane.Etcd.Path = defaultAssetPath("etcd")
}
if os.Getenv(envKubectlBin) == "" {
// we can't just set the path manually (it's behind a function), so set the environment variable instead
if err := os.Setenv(envKubectlBin, defaultAssetPath("kubectl")); err != nil {
return nil, err
}
}

@vincepri
Copy link
Member

Is this still not working? I tried today to run the tests and they were successful.

/priority awaiting-more-evidence
/milestone Next

@k8s-ci-robot k8s-ci-robot added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Jul 23, 2020
@k8s-ci-robot k8s-ci-robot added this to the Next milestone Jul 23, 2020
@cscetbon
Copy link

@vincepri I got the same error locally using kubebuilder v2.3.1, see https://pastebin.com/raw/rcPUbDZG

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 29, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Nov 28, 2020
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot
Copy link
Contributor

@Bjohnson131: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

7 participants