This job view page is being replaced by Spyglass soon. Check out the new job view.
PRM00nF1sh: refactor securityGroup handling to reuse existing securityGroup on worker nodes
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2019-09-12 01:08
Elapsed1m42s
Revision26c3f3faa48f5f90d537b1dd8f10f5fdd49880ae
Refs 1019

No Test Failures!


Error lines from build-log.txt

... skipping 319 lines ...
internal/alb/sg/association_test.go:83:5: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in field value:
	*mocks.CloudAPI does not implement "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI (missing DescribeSecurityGroups method)
internal/alb/sg/lb_attachment_test.go:76:5: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in field value:
	*mocks.CloudAPI does not implement "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI (missing DescribeSecurityGroups method)
internal/alb/sg/lb_attachment_test.go:190:5: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in field value:
	*mocks.CloudAPI does not implement "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI (missing DescribeSecurityGroups method)
internal/alb/sg/lb_attachment_test.go:193:21: controller.Delete undefined (type lbAttachmentController has no field or method Delete)
internal/alb/sg/security_group_test.go:364:5: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in field value:
	*mocks.CloudAPI does not implement "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI (missing DescribeSecurityGroups method)
# github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tg [github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tg.test]
internal/alb/tg/attributes_test.go:403:41: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in argument to NewAttributesController:
	*mocks.CloudAPI does not implement "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI (missing DescribeSecurityGroups method)
internal/alb/tg/targetgroup_group_test.go:435:5: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in field value:
... skipping 9 lines ...
# github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/backend [github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/backend.test]
internal/ingress/backend/endpoint_test.go:318:35: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in argument to NewEndpointResolver:
	*mocks.CloudAPI does not implement "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI (missing DescribeSecurityGroups method)
internal/ingress/backend/endpoint_test.go:581:35: cannot use cloud (type *mocks.CloudAPI) as type "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI in argument to NewEndpointResolver:
	*mocks.CloudAPI does not implement "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws".CloudAPI (missing DescribeSecurityGroups method)
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/generator	0.099s	coverage: 25.6% of statements
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]
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tags [build failed]
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.009s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/aws	0.075s	coverage: 56.2% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations	0.075s	coverage: 23.4% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/action	0.057s	coverage: 52.1% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/class	0.089s	coverage: 40.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/healthcheck	0.026s	coverage: 80.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/loadbalancer	0.040s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/parser	0.054s	coverage: 50.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/tags	0.067s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/annotations/targetgroup	0.056s	coverage: 9.1% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/auth	0.076s	coverage: 70.4% of statements
FAIL	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/backend [build failed]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller	0.039s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/config	0.088s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/dummy	0.049s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/handlers	0.072s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/store	0.032s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/errors	0.030s	coverage: 50.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/metric	0.023s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/metric/collectors	0.025s	coverage: 47.5% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/resolver	0.035s	coverage: 0.0% of statements [no tests to run]
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/k8s	0.021s	coverage: 63.2% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/net	0.010s	coverage: 100.0% of statements
ok  	github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/utils	0.031s	coverage: 72.2% of statements
Makefile:55: recipe for target 'unit-test' failed
make: *** [unit-test] Error 2
+ EXIT_VALUE=2
+ set +o xtrace