This job view page is being replaced by Spyglass soon. Check out the new job view.
PRzuzzas: Locate InternalIP and ExternalIP by vSphere Network name
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2019-11-03 09:35
Elapsed1m7s
Revision686da64672055a6d34463cd68766d1ca8512b0cb
Refs 271

No Test Failures!


Error lines from build-log.txt

... skipping 487 lines ...
ok  	k8s.io/cloud-provider-vsphere/pkg/cli	0.292s
=== RUN   TestInstance
--- PASS: TestInstance (0.10s)
=== RUN   TestInvalidInstance
--- PASS: TestInvalidInstance (0.04s)
=== RUN   TestRegUnregNode
2019/11/03 09:36:16 http: TLS handshake error from 127.0.0.1:48330: write tcp 127.0.0.1:38063->127.0.0.1:48330: use of closed network connection
--- PASS: TestRegUnregNode (0.05s)
=== RUN   TestDiscoverNodeByName
2019/11/03 09:36:16 http: TLS handshake error from 127.0.0.1:52262: write tcp 127.0.0.1:36779->127.0.0.1:52262: use of closed network connection
--- PASS: TestDiscoverNodeByName (0.06s)
=== RUN   TestExport
--- PASS: TestExport (0.05s)
=== RUN   TestReturnIPsFromSpecificFamily
--- PASS: TestReturnIPsFromSpecificFamily (0.00s)
=== RUN   TestInvalidProviderID
... skipping 35 lines ...
    vsphere_test.go:483: Executing Testcase: SecretName and SecretNamespace with Username missing in new configuration
    vsphere_test.go:483: Executing Testcase: virtual centers with a thumbprint
    vsphere_test.go:483: Executing Testcase: Multiple virtual centers with different thumbprints
    vsphere_test.go:483: Executing Testcase: Multiple virtual centers use the global CA cert
=== RUN   TestZones
--- PASS: TestZones (0.14s)
    zones_test.go:215: no tags: expected error=vSphere region category k8s-region does not match any tags for mo: HostSystem:host-20
    zones_test.go:215: no zone tag: expected error=vSphere zone category k8s-zone does not match any tags for mo: HostSystem:host-20
    zones_test.go:221: zone=cloudprovider.Zone{FailureDomain:"k8s-zone-US-CA1", Region:"k8s-region-US"}
    zones_test.go:215: host tags removed: expected error=vSphere region category k8s-region does not match any tags for mo: HostSystem:host-20
    zones_test.go:221: zone=cloudprovider.Zone{FailureDomain:"k8s-zone-US-CA1", Region:"k8s-region-US"}
PASS
ok  	k8s.io/cloud-provider-vsphere/pkg/cloudprovider/vsphere	0.540s
=== RUN   TestGRPCServerNodes
--- PASS: TestGRPCServerNodes (0.01s)
=== RUN   TestGRPCServerVersion
... skipping 14 lines ...
ok  	k8s.io/cloud-provider-vsphere/pkg/common/config	0.033s
=== RUN   TestListAllVcPairs
--- PASS: TestListAllVcPairs (0.09s)
=== RUN   TestWhichVCandDCByNodeIdByUUID
--- PASS: TestWhichVCandDCByNodeIdByUUID (0.04s)
=== RUN   TestWhichVCandDCByNodeIdByName
2019/11/03 09:36:20 http: TLS handshake error from 127.0.0.1:52412: read tcp 127.0.0.1:40095->127.0.0.1:52412: use of closed network connection
--- PASS: TestWhichVCandDCByNodeIdByName (0.08s)
=== RUN   TestWhichVCandDCByFCDId
2019/11/03 09:36:20 http: TLS handshake error from 127.0.0.1:58048: read tcp 127.0.0.1:34687->127.0.0.1:58048: use of closed network connection
--- PASS: TestWhichVCandDCByFCDId (0.17s)
=== RUN   TestWhichVCandDCByZoneSingleDC
--- PASS: TestWhichVCandDCByZoneSingleDC (0.08s)
=== RUN   TestWhichVCandDCByZoneMultiDC
--- PASS: TestWhichVCandDCByZoneMultiDC (0.14s)
=== RUN   TestLookupZoneByMoref
... skipping 7 lines ...
    credentialmanager_test.go:225: Retrieving credentials for server 0.0.0.0
    credentialmanager_test.go:239: Deleting secret: &Secret{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:vsconf,GenerateName:,Namespace:kube-system,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,ManagedFields:[],},Data:map[string][]byte{0.0.0.0.password: [112 97 115 115 119 111 114 100],0.0.0.0.username: [117 115 101 114],},Type:,StringData:map[string]string{},}
    credentialmanager_test.go:225: Retrieving credentials for server 0.0.0.0
    credentialmanager_test.go:212: Executing Testcase: Add secret and get credentials
    credentialmanager_test.go:217: Adding secret: &Secret{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:vsconf,GenerateName:,Namespace:kube-system,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,ManagedFields:[],},Data:map[string][]byte{0.0.0.0.password: [112 97 115 115 119 111 114 100],0.0.0.0.username: [117 115 101 114],},Type:,StringData:map[string]string{},}
    credentialmanager_test.go:225: Retrieving credentials for server 0.0.0.0
    credentialmanager_test.go:212: Executing Testcase: Getcredentials should fail by not adding at secret at first time
    credentialmanager_test.go:225: Retrieving credentials for server 0.0.0.0
    credentialmanager_test.go:212: Executing Testcase: GetCredential should fail to get credentials from empty secrets
    credentialmanager_test.go:217: Adding secret: &Secret{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:vsconf,GenerateName:,Namespace:kube-system,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,ManagedFields:[],},Data:map[string][]byte{},Type:,StringData:map[string]string{},}
    credentialmanager_test.go:225: Retrieving credentials for server 0.0.0.0
    credentialmanager_test.go:212: Executing Testcase: GetCredential should fail to get credentials for invalid server
    credentialmanager_test.go:217: Adding secret: &Secret{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:vsconf,GenerateName:,Namespace:kube-system,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,ManagedFields:[],},Data:map[string][]byte{0.0.0.0.password: [112 97 115 115 119 111 114 100],0.0.0.0.username: [117 115 101 114],},Type:,StringData:map[string]string{},}
    credentialmanager_test.go:225: Retrieving credentials for server 1.1.1.1
    credentialmanager_test.go:212: Executing Testcase: GetCredential for multi-vc
    credentialmanager_test.go:217: Adding secret: &Secret{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:vsconf,GenerateName:,Namespace:kube-system,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,ManagedFields:[],},Data:map[string][]byte{0.0.0.0.password: [112 97 115 115 119 111 114 100],0.0.0.0.username: [117 115 101 114],0.0.1.1.password: [112 97 115 115 119 111 114 100 49],0.0.1.1.username: [117 115 101 114 49],},Type:,StringData:map[string]string{},}
    credentialmanager_test.go:225: Retrieving credentials for server 0.0.1.1
=== RUN   TestParseSecretConfig
... skipping 41 lines ...
--- PASS: TestUtils (0.02s)
=== RUN   TestVirtualMachine
--- PASS: TestVirtualMachine (0.15s)
=== RUN   TestWithValidCaCert
--- PASS: TestWithValidCaCert (0.02s)
=== RUN   TestWithVerificationWithWrongThumbprint
2019/11/03 09:36:25 http: TLS handshake error from 127.0.0.1:52624: remote error: tls: bad certificate
--- PASS: TestWithVerificationWithWrongThumbprint (0.09s)
=== RUN   TestWithVerificationWithoutCaCertOrThumbprint
--- PASS: TestWithVerificationWithoutCaCertOrThumbprint (0.02s)
2019/11/03 09:36:25 http: TLS handshake error from 127.0.0.1:57470: remote error: tls: bad certificate
=== RUN   TestWithValidThumbprint
2019/11/03 09:36:25 http: TLS handshake error from 127.0.0.1:49638: remote error: tls: bad certificate
--- PASS: TestWithValidThumbprint (0.03s)
=== RUN   TestWithInvalidCaCertPath
--- FAIL: TestWithInvalidCaCertPath (0.00s)
    connection_test.go:168: Expected an os.PathError, got: 'parse https://should-not-matter:should-not-matter: invalid port ":should-not-matter" after host' (&url.Error{Op:"parse", URL:"https://should-not-matter:should-not-matter", Err:(*errors.errorString)(0xc000adbcf0)})
=== RUN   TestInvalidCaCert
--- SKIP: TestInvalidCaCert (0.00s)
    connection_test.go:173: Waiting for https://github.com/vmware/govmomi/pull/1154
FAIL
FAIL	k8s.io/cloud-provider-vsphere/pkg/common/vclib	0.586s
make: *** [Makefile:209: unit-test] Error 1