This job view page is being replaced by Spyglass soon. Check out the new job view.
PRM00nF1sh: add support for configure static IPv6 addresses on NLB
Resultfailure
Tests 0 failed / 0 succeeded
Started2022-09-08 00:35
Elapsed3m4s
Revision
Refs 2790
uploadercrier

No Test Failures!


Error lines from build-log.txt

... skipping 156 lines ...
==============================================================================
                     Linting Helm Chart w/ Helm v3
==============================================================================
engine.go:159: [INFO] Missing required value: Chart cannot be installed without a valid clusterName!
==> Linting /home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/test/helm/../../helm/aws-load-balancer-controller

1 chart(s) linted, 0 chart(s) failed
==============================================================================
                   Generate Template w/ Helm v3
==============================================================================
install.go:172: [debug] Original chart version: ""
install.go:189: [debug] CHART PATH: /home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/helm/aws-load-balancer-controller

... skipping 26 lines ...
ok  	sigs.k8s.io/aws-load-balancer-controller/pkg/model/elbv2	0.087s	coverage: 8.6% of statements
?   	sigs.k8s.io/aws-load-balancer-controller/pkg/model/shield	[no test files]
?   	sigs.k8s.io/aws-load-balancer-controller/pkg/model/wafregional	[no test files]
?   	sigs.k8s.io/aws-load-balancer-controller/pkg/model/wafv2	[no test files]
ok  	sigs.k8s.io/aws-load-balancer-controller/pkg/networking	2.358s	coverage: 67.9% of statements
ok  	sigs.k8s.io/aws-load-balancer-controller/pkg/runtime	0.218s	coverage: 80.0% of statements
--- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings (0.01s)
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_on_internet-facing_load_balancer (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "PrivateIpv4Addresses can only be set for internal load balancers"
            	            	actual  : "private IPv4 addresses can only be set for internal load balancers"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_on_internet-facing_load_balancer
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIpv4Addresses:_subnet_count_mismatch (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "count of PrivateIpv4Addresses (1) and subnets (2) must match"
            	            	actual  : "count of private IPv4 addresses (1) and subnets (2) must match"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIpv4Addresses:_subnet_count_mismatch
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_no_matching_IP_for_subnets (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "expect one PrivateIpv4Address configured for subnet: subnet-2"
            	            	actual  : "expect one private IPv4 address configured for subnet: subnet-2"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_no_matching_IP_for_subnets
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_invalid_ip_format (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "PrivateIpv4Addresses must be valid IP address: i-am-not-an-ip"
            	            	actual  : "private IPv4 addresses must be valid IP address: i-am-not-an-ip"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_invalid_ip_format
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_invalid_ipv4_format (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "PrivateIpv4Addresses must be valid IPv4 address: 2600:1f13:837:8500::1"
            	            	actual  : "private IPv4 addresses must be valid IPv4 address: 2600:1f13:837:8500::1"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/ipv4_-_with_PrivateIPv4Address:_invalid_ipv4_format
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_on_a_ipv4_load_balancer (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "Ipv6Addresses can only be set for dualstack load balancers"
            	            	actual  : "IPv6 addresses can only be set for dualstack load balancers"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_on_a_ipv4_load_balancer
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_subnet_count_mismatch (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "count of Ipv6Addresses (1) and subnets (2) must match"
            	            	actual  : "count of IPv6 addresses (1) and subnets (2) must match"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_subnet_count_mismatch
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_no_matching_IP_for_subnets (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "expect one Ipv6Address configured for subnet: subnet-2"
            	            	actual  : "expect one IPv6 address configured for subnet: subnet-2"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_no_matching_IP_for_subnets
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_invalid_IP_format (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "Ipv6Address must be valid IP address: i-am-not-an-ip"
            	            	actual  : "IPv6 addresses must be valid IP address: i-am-not-an-ip"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_invalid_IP_format
    --- FAIL: Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_invalid_IP_format#01 (0.00s)
        model_build_load_balancer_test.go:918: 
            	Error Trace:	/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/service/model_build_load_balancer_test.go:918
            	Error:      	Error message not equal:
            	            	expected: "Ipv6Address must be valid IPv6 address: 192.168.1.1"
            	            	actual  : "IPv6 addresses must be valid IPv6 address: 192.168.1.1"
            	Test:       	Test_defaultModelBuilderTask_buildSubnetMappings/dualstack_-_with_IPv6Addresses:_invalid_IP_format#01
FAIL
coverage: 90.4% of statements
FAIL	sigs.k8s.io/aws-load-balancer-controller/pkg/service	0.224s
ok  	sigs.k8s.io/aws-load-balancer-controller/pkg/targetgroupbinding	0.224s	coverage: 39.5% of statements
?   	sigs.k8s.io/aws-load-balancer-controller/pkg/testutils	[no test files]
?   	sigs.k8s.io/aws-load-balancer-controller/pkg/version	[no test files]
ok  	sigs.k8s.io/aws-load-balancer-controller/pkg/webhook	0.145s	coverage: 92.1% of statements
?   	sigs.k8s.io/aws-load-balancer-controller/webhooks/core	[no test files]
ok  	sigs.k8s.io/aws-load-balancer-controller/webhooks/elbv2	0.319s	coverage: 84.1% of statements
ok  	sigs.k8s.io/aws-load-balancer-controller/webhooks/networking	0.188s	coverage: 68.2% of statements
FAIL
make[1]: *** [Makefile:23: test] Error 1
make[1]: Leaving directory '/home/prow/go/src/github.com/kubernetes-sigs/aws-load-balancer-controller'
make: *** [Makefile:134: unit-test] Error 2
+ EXIT_VALUE=2
+ set +o xtrace