This job view page is being replaced by Spyglass soon. Check out the new job view.
PRrifelpet: [WIP] Upgrade controller-runtime
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2019-09-13 23:04
Elapsed1m45s
Revision04f74a9ac515e408908f5703270874bbd165853c
Refs 1023

No Test Failures!


Error lines from build-log.txt

... skipping 325 lines ...
	"sigs.k8s.io/controller-runtime/pkg/cache".Informer does not implement "k8s.io/client-go/tools/cache".SharedIndexInformer (missing GetController method)
internal/ingress/controller/store/store.go:157:27: cannot assign "sigs.k8s.io/controller-runtime/pkg/cache".Informer to store.informers.Pod (type "k8s.io/client-go/tools/cache".SharedIndexInformer) in multiple assignment:
	"sigs.k8s.io/controller-runtime/pkg/cache".Informer does not implement "k8s.io/client-go/tools/cache".SharedIndexInformer (missing GetController method)
# github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/auth [github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/auth.test]
internal/ingress/auth/auth_test.go:34:3: cannot use mockCache (type *mock_cache.MockCache) as type "sigs.k8s.io/controller-runtime/pkg/cache".Cache in field value:
	*mock_cache.MockCache does not implement "sigs.k8s.io/controller-runtime/pkg/cache".Cache (wrong type for GetInformer method)
		have GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("k8s.io/client-go/tools/cache".SharedIndexInformer, error)
		want GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("sigs.k8s.io/controller-runtime/pkg/cache".Informer, error)
internal/ingress/auth/auth_test.go:37:27: cannot use mockCache (type *mock_cache.MockCache) as type "sigs.k8s.io/controller-runtime/pkg/cache".Cache in field value:
	*mock_cache.MockCache does not implement "sigs.k8s.io/controller-runtime/pkg/cache".Cache (wrong type for GetInformer method)
		have GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("k8s.io/client-go/tools/cache".SharedIndexInformer, error)
		want GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("sigs.k8s.io/controller-runtime/pkg/cache".Informer, error)
internal/ingress/auth/auth_test.go:389:29: cannot use mockCache (type *mock_cache.MockCache) as type "sigs.k8s.io/controller-runtime/pkg/cache".Cache in field value:
	*mock_cache.MockCache does not implement "sigs.k8s.io/controller-runtime/pkg/cache".Cache (wrong type for GetInformer method)
		have GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("k8s.io/client-go/tools/cache".SharedIndexInformer, error)
		want GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("sigs.k8s.io/controller-runtime/pkg/cache".Informer, error)
internal/ingress/auth/secret_handler_test.go:125:5: cannot use mockCache (type *mock_cache.MockCache) as type "sigs.k8s.io/controller-runtime/pkg/cache".Cache in field value:
	*mock_cache.MockCache does not implement "sigs.k8s.io/controller-runtime/pkg/cache".Cache (wrong type for GetInformer method)
		have GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("k8s.io/client-go/tools/cache".SharedIndexInformer, error)
		want GetInformer("k8s.io/apimachinery/pkg/runtime".Object) ("sigs.k8s.io/controller-runtime/pkg/cache".Informer, error)
# github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/store [github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/store.test]
internal/ingress/controller/store/store.go:133: cannot assign "sigs.k8s.io/controller-runtime/pkg/cache".Informer to store.informers.Ingress (type "k8s.io/client-go/tools/cache".SharedIndexInformer) in multiple assignment:
	"sigs.k8s.io/controller-runtime/pkg/cache".Informer does not implement "k8s.io/client-go/tools/cache".SharedIndexInformer (missing GetController method)
internal/ingress/controller/store/store.go:139: cannot assign "sigs.k8s.io/controller-runtime/pkg/cache".Informer to store.informers.Service (type "k8s.io/client-go/tools/cache".SharedIndexInformer) in multiple assignment:
	"sigs.k8s.io/controller-runtime/pkg/cache".Informer does not implement "k8s.io/client-go/tools/cache".SharedIndexInformer (missing GetController method)
internal/ingress/controller/store/store.go:145: cannot assign "sigs.k8s.io/controller-runtime/pkg/cache".Informer to store.informers.Endpoint (type "k8s.io/client-go/tools/cache".SharedIndexInformer) in multiple assignment:
	"sigs.k8s.io/controller-runtime/pkg/cache".Informer does not implement "k8s.io/client-go/tools/cache".SharedIndexInformer (missing GetController method)
internal/ingress/controller/store/store.go:151: cannot assign "sigs.k8s.io/controller-runtime/pkg/cache".Informer to store.informers.Node (type "k8s.io/client-go/tools/cache".SharedIndexInformer) in multiple assignment:
	"sigs.k8s.io/controller-runtime/pkg/cache".Informer does not implement "k8s.io/client-go/tools/cache".SharedIndexInformer (missing GetController method)
internal/ingress/controller/store/store.go:157: cannot assign "sigs.k8s.io/controller-runtime/pkg/cache".Informer to store.informers.Pod (type "k8s.io/client-go/tools/cache".SharedIndexInformer) in multiple assignment:
	"sigs.k8s.io/controller-runtime/pkg/cache".Informer does not implement "k8s.io/client-go/tools/cache".SharedIndexInformer (missing GetController method)
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/generator [build failed]
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/lb [build failed]
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/ls [build failed]
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/sg [build failed]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tags	0.139s	coverage: 82.1% of statements
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tg [build failed]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/albctx	0.010s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws	0.046s	coverage: 56.2% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations	0.039s	coverage: 23.4% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/action	0.051s	coverage: 52.1% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/class	0.021s	coverage: 40.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/healthcheck	0.058s	coverage: 80.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/loadbalancer	0.118s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/parser	0.073s	coverage: 50.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/tags	0.034s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/targetgroup	0.123s	coverage: 9.1% of statements
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/auth [build failed]
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/backend [build failed]
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller [build failed]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/config	0.160s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/dummy	0.039s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/handlers	0.032s	coverage: 0.0% of statements [no tests to run]
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/store [build failed]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/errors	0.018s	coverage: 50.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/metric	0.041s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/metric/collectors	0.027s	coverage: 47.5% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/resolver	0.021s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/k8s	0.019s	coverage: 63.2% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/net	0.006s	coverage: 100.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/utils	0.004s	coverage: 72.2% of statements
Makefile:55: recipe for target 'unit-test' failed
make: *** [unit-test] Error 2
+ EXIT_VALUE=2
+ set +o xtrace