Skip to content

Instantly share code, notes, and snippets.

@akutz
Last active July 4, 2019 18:55
Show Gist options
  • Save akutz/d7191250a55ffa1617ad37e5ca7bac76 to your computer and use it in GitHub Desktop.
Save akutz/d7191250a55ffa1617ad37e5ca7bac76 to your computer and use it in GitHub Desktop.
$ docker run -it --rm --cpus=1.5 akutz/capi-1104 /bin/bash -c 'while make test-go; do sleep 1; done'
Unable to find image 'akutz/capi-1104:latest' locally
latest: Pulling from akutz/capi-1104
6f2f362378c5: Pull complete
494c27a8a6b8: Pull complete
7596bb83081b: Pull complete
372744b62d49: Pull complete
0658c6765517: Pull complete
fc2529ce2b56: Pull complete
c9a1ca7e4a49: Pull complete
677d7f69f66f: Pull complete
f3c775d99c44: Pull complete
dfdf2240d319: Pull complete
Digest: sha256:609736235426296c0167845a1c616488f08ac52e7edb173b57a1fb23791af7f7
Status: Downloaded newer image for akutz/capi-1104:latest
go test -v -tags=integration ./pkg/... ./cmd/...
? sigs.k8s.io/cluster-api/pkg/apis [no test files]
? sigs.k8s.io/cluster-api/pkg/apis/cluster [no test files]
? sigs.k8s.io/cluster-api/pkg/apis/cluster/common [no test files]
=== RUN TestStorageCluster
--- PASS: TestStorageCluster (0.11s)
=== RUN TestStorageMachine
--- PASS: TestStorageMachine (0.19s)
=== RUN TestStorageMachineDeployment
--- PASS: TestStorageMachineDeployment (0.40s)
=== RUN TestStorageMachineSet
--- PASS: TestStorageMachineSet (0.11s)
PASS
ok sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha2 44.610s
? sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha2/testutil [no test files]
? sigs.k8s.io/cluster-api/pkg/apis/deprecated [no test files]
=== RUN TestStorageCluster
--- PASS: TestStorageCluster (0.10s)
=== RUN TestStorageMachine
--- PASS: TestStorageMachine (0.20s)
=== RUN TestStorageMachineDeployment
--- PASS: TestStorageMachineDeployment (0.11s)
=== RUN TestStorageMachineSet
--- PASS: TestStorageMachineSet (0.10s)
=== RUN TestDefaults
2019/07/04 18:52:34 Defaulting fields for MachineSet foo
2019/07/04 18:52:34 Defaulting to Random
--- PASS: TestDefaults (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/apis/deprecated/v1alpha1 46.200s
? sigs.k8s.io/cluster-api/pkg/apis/deprecated/v1alpha1/testutil [no test files]
=== RUN TestEmptyPath
--- PASS: TestEmptyPath (0.00s)
=== RUN TestInvalidPath
--- PASS: TestInvalidPath (0.00s)
=== RUN TestDirWithMissingKey
--- PASS: TestDirWithMissingKey (0.00s)
=== RUN TestDirWithMissingCert
--- PASS: TestDirWithMissingCert (0.00s)
=== RUN TestDirHappyPath
--- PASS: TestDirHappyPath (0.00s)
=== RUN TestCertPath
--- PASS: TestCertPath (0.00s)
=== RUN TestKeyPath
--- PASS: TestKeyPath (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/cert 0.396s
? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset [no test files]
? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/fake [no test files]
? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/scheme [no test files]
? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/cluster/v1alpha2 [no test files]
? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/cluster/v1alpha2/fake [no test files]
? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/deprecated/v1alpha1 [no test files]
? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/deprecated/v1alpha1/fake [no test files]
? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions [no test files]
? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/cluster [no test files]
? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/cluster/v1alpha2 [no test files]
? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/deprecated [no test files]
? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/deprecated/v1alpha1 [no test files]
? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/internalinterfaces [no test files]
? sigs.k8s.io/cluster-api/pkg/client/listers_generated/cluster/v1alpha2 [no test files]
? sigs.k8s.io/cluster-api/pkg/client/listers_generated/deprecated/v1alpha1 [no test files]
=== RUN TestInvalidCommand
--- PASS: TestInvalidCommand (0.00s)
=== RUN TestValidCommandErrors
--- PASS: TestValidCommandErrors (0.10s)
=== RUN TestValidCommandSucceeds
--- PASS: TestValidCommandSucceeds (0.10s)
=== RUN TestCombinedOutputShouldIncludeStdOutAndErr
--- PASS: TestCombinedOutputShouldIncludeStdOutAndErr (0.20s)
PASS
ok sigs.k8s.io/cluster-api/pkg/cmdrunner 0.602s
? sigs.k8s.io/cluster-api/pkg/controller [no test files]
=== RUN TestReconcile
--- PASS: TestReconcile (0.60s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/cluster 44.905s
? sigs.k8s.io/cluster-api/pkg/controller/config [no test files]
? sigs.k8s.io/cluster-api/pkg/controller/error [no test files]
? sigs.k8s.io/cluster-api/pkg/controller/external [no test files]
=== RUN TestReconcilePhase
=== RUN TestReconcilePhase/new_machine,_expect_pending
=== RUN TestReconcilePhase/ready_bootstrap,_expect_provisioning
=== RUN TestReconcilePhase/ready_bootstrap_and_infra,_expect_provisioned
=== RUN TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_expect_running
=== RUN TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_machine_being_deleted,_expect_deleting
--- PASS: TestReconcilePhase (0.00s)
--- PASS: TestReconcilePhase/new_machine,_expect_pending (0.00s)
--- PASS: TestReconcilePhase/ready_bootstrap,_expect_provisioning (0.00s)
--- PASS: TestReconcilePhase/ready_bootstrap_and_infra,_expect_provisioned (0.00s)
--- PASS: TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_expect_running (0.00s)
--- PASS: TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_machine_being_deleted,_expect_deleting (0.00s)
=== RUN TestReconcileBootstrap
=== RUN TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_data
=== RUN TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_no_data
=== RUN TestReconcileBootstrap/new_machine,_bootstrap_config_not_ready
=== RUN TestReconcileBootstrap/new_machine,_bootstrap_config_is_not_found
=== RUN TestReconcileBootstrap/new_machine,_no_bootstrap_config_or_data
=== RUN TestReconcileBootstrap/existing_machine,_bootstrap_data_should_not_change
=== RUN TestReconcileBootstrap/existing_machine,_bootstrap_provider_is_to_not_ready
--- PASS: TestReconcileBootstrap (0.09s)
--- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_data (0.00s)
--- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_no_data (0.00s)
--- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_not_ready (0.00s)
--- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_is_not_found (0.00s)
--- PASS: TestReconcileBootstrap/new_machine,_no_bootstrap_config_or_data (0.00s)
--- PASS: TestReconcileBootstrap/existing_machine,_bootstrap_data_should_not_change (0.00s)
--- PASS: TestReconcileBootstrap/existing_machine,_bootstrap_provider_is_to_not_ready (0.00s)
=== RUN TestReconcileInfrastructure
=== RUN TestReconcileInfrastructure/new_machine,_infrastructure_config_ready_with_addresses
--- PASS: TestReconcileInfrastructure (0.00s)
--- PASS: TestReconcileInfrastructure/new_machine,_infrastructure_config_ready_with_addresses (0.00s)
=== RUN TestReconcileRequest
--- PASS: TestReconcileRequest (0.10s)
=== RUN TestReconcile
--- PASS: TestReconcile (0.50s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/machine 39.196s
=== RUN TestMachineSetToDeployments
--- PASS: TestMachineSetToDeployments (0.00s)
=== RUN TestGetMachineDeploymentsForMachineSet
--- PASS: TestGetMachineDeploymentsForMachineSet (0.00s)
=== RUN TestGetMachineSetsForDeployment
--- PASS: TestGetMachineSetsForDeployment (0.00s)
=== RUN TestReconcile
--- PASS: TestReconcile (1.41s)
machinedeployment_reconciler_test.go:204: error updating machineset: Operation cannot be fulfilled on machinesets.cluster.sigs.k8s.io "foo-6585bdd8bd": the object has been modified; please apply your changes to the latest version and try again
machinedeployment_reconciler_test.go:204: error updating machineset: Operation cannot be fulfilled on machinesets.cluster.sigs.k8s.io "foo-6585bdd8bd": the object has been modified; please apply your changes to the latest version and try again
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/machinedeployment 43.617s
=== RUN TestEqualIgnoreHash
=== RUN TestEqualIgnoreHash/Same_spec,_same_labels
=== RUN TestEqualIgnoreHash/Same_spec,_only_machine-template-hash_label_value_is_different
=== RUN TestEqualIgnoreHash/Same_spec,_the_former_doesn't_have_machine-template-hash_label
=== RUN TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_former_doesn't_have_machine-template-hash_label,_same_number_of_labels
=== RUN TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_latter_doesn't_have_machine-template-hash_label,_same_number_of_labels
=== RUN TestEqualIgnoreHash/Same_spec,_the_label_is_different,_and_the_machine-template-hash_label_value_is_the_same
=== RUN TestEqualIgnoreHash/Different_spec,_same_labels
=== RUN TestEqualIgnoreHash/Different_spec,_different_machine-template-hash_label_value
=== RUN TestEqualIgnoreHash/Different_spec,_the_former_doesn't_have_machine-template-hash_label
=== RUN TestEqualIgnoreHash/Different_spec,_different_labels
--- PASS: TestEqualIgnoreHash (0.00s)
--- PASS: TestEqualIgnoreHash/Same_spec,_same_labels (0.00s)
--- PASS: TestEqualIgnoreHash/Same_spec,_only_machine-template-hash_label_value_is_different (0.00s)
--- PASS: TestEqualIgnoreHash/Same_spec,_the_former_doesn't_have_machine-template-hash_label (0.00s)
--- PASS: TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_former_doesn't_have_machine-template-hash_label,_same_number_of_labels (0.00s)
--- PASS: TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_latter_doesn't_have_machine-template-hash_label,_same_number_of_labels (0.00s)
--- PASS: TestEqualIgnoreHash/Same_spec,_the_label_is_different,_and_the_machine-template-hash_label_value_is_the_same (0.00s)
--- PASS: TestEqualIgnoreHash/Different_spec,_same_labels (0.00s)
--- PASS: TestEqualIgnoreHash/Different_spec,_different_machine-template-hash_label_value (0.00s)
--- PASS: TestEqualIgnoreHash/Different_spec,_the_former_doesn't_have_machine-template-hash_label (0.00s)
--- PASS: TestEqualIgnoreHash/Different_spec,_different_labels (0.00s)
=== RUN TestFindNewMachineSet
=== RUN TestFindNewMachineSet/Get_new_MachineSet_with_the_same_template_as_Deployment_spec_but_different_machine-template-hash_value
=== RUN TestFindNewMachineSet/Get_the_oldest_new_MachineSet_when_there_are_more_than_one_MachineSet_with_the_same_template
=== RUN TestFindNewMachineSet/Get_nil_new_MachineSet
--- PASS: TestFindNewMachineSet (0.09s)
--- PASS: TestFindNewMachineSet/Get_new_MachineSet_with_the_same_template_as_Deployment_spec_but_different_machine-template-hash_value (0.00s)
--- PASS: TestFindNewMachineSet/Get_the_oldest_new_MachineSet_when_there_are_more_than_one_MachineSet_with_the_same_template (0.00s)
--- PASS: TestFindNewMachineSet/Get_nil_new_MachineSet (0.09s)
=== RUN TestFindOldMachineSets
=== RUN TestFindOldMachineSets/Get_old_MachineSets
=== RUN TestFindOldMachineSets/Get_old_MachineSets_with_no_new_MachineSet
=== RUN TestFindOldMachineSets/Get_old_MachineSets_with_two_new_MachineSets,_only_the_oldest_new_MachineSet_is_seen_as_new_MachineSet
=== RUN TestFindOldMachineSets/Get_empty_old_MachineSets
--- PASS: TestFindOldMachineSets (0.00s)
--- PASS: TestFindOldMachineSets/Get_old_MachineSets (0.00s)
--- PASS: TestFindOldMachineSets/Get_old_MachineSets_with_no_new_MachineSet (0.00s)
--- PASS: TestFindOldMachineSets/Get_old_MachineSets_with_two_new_MachineSets,_only_the_oldest_new_MachineSet_is_seen_as_new_MachineSet (0.00s)
--- PASS: TestFindOldMachineSets/Get_empty_old_MachineSets (0.00s)
=== RUN TestGetReplicaCountForMachineSets
=== RUN TestGetReplicaCountForMachineSets/1:2_Replicas
=== RUN TestGetReplicaCountForMachineSets/3:5_Replicas
--- PASS: TestGetReplicaCountForMachineSets (0.00s)
--- PASS: TestGetReplicaCountForMachineSets/1:2_Replicas (0.00s)
--- PASS: TestGetReplicaCountForMachineSets/3:5_Replicas (0.00s)
=== RUN TestResolveFenceposts
=== RUN TestResolveFenceposts/maxSurge=0%
=== RUN TestResolveFenceposts/maxSurge=39%
=== RUN TestResolveFenceposts/maxSurge=oops
=== RUN TestResolveFenceposts/maxSurge=55%
--- PASS: TestResolveFenceposts (0.00s)
--- PASS: TestResolveFenceposts/maxSurge=0% (0.00s)
--- PASS: TestResolveFenceposts/maxSurge=39% (0.00s)
--- PASS: TestResolveFenceposts/maxSurge=oops (0.00s)
--- PASS: TestResolveFenceposts/maxSurge=55% (0.00s)
=== RUN TestNewMSNewReplicas
=== RUN TestNewMSNewReplicas/can_not_scale_up_-_to_newMSReplicas
=== RUN TestNewMSNewReplicas/scale_up_-_to_depReplicas
--- PASS: TestNewMSNewReplicas (0.00s)
--- PASS: TestNewMSNewReplicas/can_not_scale_up_-_to_newMSReplicas (0.00s)
--- PASS: TestNewMSNewReplicas/scale_up_-_to_depReplicas (0.00s)
=== RUN TestDeploymentComplete
=== RUN TestDeploymentComplete/not_complete:_min_but_not_all_machines_become_available
=== RUN TestDeploymentComplete/not_complete:_min_availability_is_not_honored
=== RUN TestDeploymentComplete/complete
=== RUN TestDeploymentComplete/not_complete:_all_machines_are_available_but_not_updated
=== RUN TestDeploymentComplete/not_complete:_still_running_old_machines
=== RUN TestDeploymentComplete/not_complete:_one_replica_deployment_never_comes_up
--- PASS: TestDeploymentComplete (0.00s)
--- PASS: TestDeploymentComplete/not_complete:_min_but_not_all_machines_become_available (0.00s)
--- PASS: TestDeploymentComplete/not_complete:_min_availability_is_not_honored (0.00s)
--- PASS: TestDeploymentComplete/complete (0.00s)
--- PASS: TestDeploymentComplete/not_complete:_all_machines_are_available_but_not_updated (0.00s)
--- PASS: TestDeploymentComplete/not_complete:_still_running_old_machines (0.00s)
--- PASS: TestDeploymentComplete/not_complete:_one_replica_deployment_never_comes_up (0.00s)
=== RUN TestMaxUnavailable
=== RUN TestMaxUnavailable/maxUnavailable_less_than_replicas
=== RUN TestMaxUnavailable/maxUnavailable_equal_replicas
=== RUN TestMaxUnavailable/maxUnavailable_greater_than_replicas
=== RUN TestMaxUnavailable/maxUnavailable_with_replicas_is_0
=== RUN TestMaxUnavailable/maxUnavailable_less_than_replicas_with_percents
=== RUN TestMaxUnavailable/maxUnavailable_equal_replicas_with_percents
=== RUN TestMaxUnavailable/maxUnavailable_greater_than_replicas_with_percents
--- PASS: TestMaxUnavailable (0.00s)
--- PASS: TestMaxUnavailable/maxUnavailable_less_than_replicas (0.00s)
--- PASS: TestMaxUnavailable/maxUnavailable_equal_replicas (0.00s)
--- PASS: TestMaxUnavailable/maxUnavailable_greater_than_replicas (0.00s)
--- PASS: TestMaxUnavailable/maxUnavailable_with_replicas_is_0 (0.00s)
--- PASS: TestMaxUnavailable/maxUnavailable_less_than_replicas_with_percents (0.00s)
--- PASS: TestMaxUnavailable/maxUnavailable_equal_replicas_with_percents (0.00s)
--- PASS: TestMaxUnavailable/maxUnavailable_greater_than_replicas_with_percents (0.00s)
=== RUN TestAnnotationUtils
=== RUN TestAnnotationUtils/SetNewMachineSetAnnotations
=== RUN TestAnnotationUtils/SetReplicasAnnotations
=== RUN TestAnnotationUtils/IsSaturated
--- PASS: TestAnnotationUtils (0.00s)
--- PASS: TestAnnotationUtils/SetNewMachineSetAnnotations (0.00s)
--- PASS: TestAnnotationUtils/SetReplicasAnnotations (0.00s)
--- PASS: TestAnnotationUtils/IsSaturated (0.00s)
=== RUN TestReplicasAnnotationsNeedUpdate
=== RUN TestReplicasAnnotationsNeedUpdate/test_Annotations_nil
=== RUN TestReplicasAnnotationsNeedUpdate/test_desiredReplicas_update
=== RUN TestReplicasAnnotationsNeedUpdate/test_maxReplicas_update
=== RUN TestReplicasAnnotationsNeedUpdate/test_needn't_update
--- PASS: TestReplicasAnnotationsNeedUpdate (0.00s)
--- PASS: TestReplicasAnnotationsNeedUpdate/test_Annotations_nil (0.00s)
--- PASS: TestReplicasAnnotationsNeedUpdate/test_desiredReplicas_update (0.00s)
--- PASS: TestReplicasAnnotationsNeedUpdate/test_maxReplicas_update (0.00s)
--- PASS: TestReplicasAnnotationsNeedUpdate/test_needn't_update (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/machinedeployment/util 0.197s
=== RUN TestMachineToDelete
--- PASS: TestMachineToDelete (0.00s)
=== RUN TestMachineNewestDelete
--- PASS: TestMachineNewestDelete (0.00s)
=== RUN TestMachineOldestDelete
--- PASS: TestMachineOldestDelete (0.00s)
=== RUN TestHasMatchingLabels
--- PASS: TestHasMatchingLabels (0.00s)
=== RUN TestMachineSetToMachines
--- PASS: TestMachineSetToMachines (0.00s)
=== RUN TestShouldExcludeMachine
--- PASS: TestShouldExcludeMachine (0.00s)
=== RUN TestAdoptOrphan
--- PASS: TestAdoptOrphan (0.00s)
=== RUN TestReconcile
--- FAIL: TestReconcile (6.19s)
machineset_reconciler_test.go:140:
Timed out after 5.000s.
Expected
<int>: 1
to be equivalent to
<int32>: 2
FAIL
FAIL sigs.k8s.io/cluster-api/pkg/controller/machineset 46.725s
=== RUN TestReconcile
--- PASS: TestReconcile (0.23s)
=== RUN TestGetNodeReference
=== RUN TestGetNodeReference/valid_provider_id,_valid_aws_node
=== RUN TestGetNodeReference/valid_provider_id,_valid_aws_node#01
=== RUN TestGetNodeReference/valid_provider_id,_valid_gce_node
=== RUN TestGetNodeReference/valid_provider_id,_no_node_found
--- PASS: TestGetNodeReference (0.00s)
--- PASS: TestGetNodeReference/valid_provider_id,_valid_aws_node (0.00s)
--- PASS: TestGetNodeReference/valid_provider_id,_valid_aws_node#01 (0.00s)
--- PASS: TestGetNodeReference/valid_provider_id,_valid_gce_node (0.00s)
--- PASS: TestGetNodeReference/valid_provider_id,_no_node_found (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/noderef 36.490s
=== RUN TestNewProviderID
--- PASS: TestNewProviderID (0.00s)
=== RUN TestInvalidProviderID
--- PASS: TestInvalidProviderID (0.00s)
=== RUN TestProviderIDEquals
--- PASS: TestProviderIDEquals (0.00s)
=== RUN TestIsNodeAvaialble
=== RUN TestIsNodeAvaialble/no_node
=== RUN TestIsNodeAvaialble/no_status
=== RUN TestIsNodeAvaialble/no_condition
=== RUN TestIsNodeAvaialble/no_ready_condition
=== RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_now
=== RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_past
=== RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_now
=== RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_past
=== RUN TestIsNodeAvaialble/ready_condition_false
=== RUN TestIsNodeAvaialble/ready_condition_unknown
--- PASS: TestIsNodeAvaialble (0.00s)
--- PASS: TestIsNodeAvaialble/no_node (0.00s)
--- PASS: TestIsNodeAvaialble/no_status (0.00s)
--- PASS: TestIsNodeAvaialble/no_condition (0.00s)
--- PASS: TestIsNodeAvaialble/no_ready_condition (0.00s)
--- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_now (0.00s)
--- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_past (0.00s)
--- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_now (0.00s)
--- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_past (0.00s)
--- PASS: TestIsNodeAvaialble/ready_condition_false (0.00s)
--- PASS: TestIsNodeAvaialble/ready_condition_unknown (0.00s)
=== RUN TestGetReadyCondition
=== RUN TestGetReadyCondition/no_status
=== RUN TestGetReadyCondition/no_condition
=== RUN TestGetReadyCondition/no_ready_condition
=== RUN TestGetReadyCondition/ready_condition_true
=== RUN TestGetReadyCondition/ready_condition_false
=== RUN TestGetReadyCondition/ready_condition_unknown
--- PASS: TestGetReadyCondition (0.00s)
--- PASS: TestGetReadyCondition/no_status (0.00s)
--- PASS: TestGetReadyCondition/no_condition (0.00s)
--- PASS: TestGetReadyCondition/no_ready_condition (0.00s)
--- PASS: TestGetReadyCondition/ready_condition_true (0.00s)
--- PASS: TestGetReadyCondition/ready_condition_false (0.00s)
--- PASS: TestGetReadyCondition/ready_condition_unknown (0.00s)
=== RUN TestIsNodeReady
=== RUN TestIsNodeReady/no_node
=== RUN TestIsNodeReady/no_status
=== RUN TestIsNodeReady/no_condition
=== RUN TestIsNodeReady/no_ready_condition
=== RUN TestIsNodeReady/ready_condition_true
=== RUN TestIsNodeReady/ready_condition_false
=== RUN TestIsNodeReady/ready_condition_unknown
--- PASS: TestIsNodeReady (0.00s)
--- PASS: TestIsNodeReady/no_node (0.00s)
--- PASS: TestIsNodeReady/no_status (0.00s)
--- PASS: TestIsNodeReady/no_condition (0.00s)
--- PASS: TestIsNodeReady/no_ready_condition (0.00s)
--- PASS: TestIsNodeReady/ready_condition_true (0.00s)
--- PASS: TestIsNodeReady/ready_condition_false (0.00s)
--- PASS: TestIsNodeReady/ready_condition_unknown (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/noderefutil 0.298s
=== RUN TestNewClusterClient
=== RUN TestNewClusterClient/cluster_with_valid_kubeconfig
=== RUN TestNewClusterClient/cluster_with_no_kubeconfig
=== RUN TestNewClusterClient/cluster_with_invalid_kubeconfig
--- PASS: TestNewClusterClient (0.10s)
--- PASS: TestNewClusterClient/cluster_with_valid_kubeconfig (0.10s)
--- PASS: TestNewClusterClient/cluster_with_no_kubeconfig (0.00s)
--- PASS: TestNewClusterClient/cluster_with_invalid_kubeconfig (0.00s)
=== RUN TestGetKubeConfigSecret
--- PASS: TestGetKubeConfigSecret (0.00s)
=== RUN TestKubeConfigFromSecret
=== RUN TestKubeConfigFromSecret/with_valid_secret
--- PASS: TestKubeConfigFromSecret (0.00s)
--- PASS: TestKubeConfigFromSecret/with_valid_secret (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/remote 0.303s
? sigs.k8s.io/cluster-api/pkg/errors [no test files]
=== RUN TestTokenCreateParameters
--- PASS: TestTokenCreateParameters (0.00s)
=== RUN TestTokenCreateReturnsUnmodifiedOutput
--- PASS: TestTokenCreateReturnsUnmodifiedOutput (0.00s)
=== RUN TestNonZeroExitCodeResultsInError
--- PASS: TestNonZeroExitCodeResultsInError (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/kubeadm 0.195s
? sigs.k8s.io/cluster-api/pkg/provider/example/actuators/cluster [no test files]
? sigs.k8s.io/cluster-api/pkg/testcmdrunner [no test files]
=== RUN TestParseClusterYaml
=== RUN TestParseClusterYaml/File_does_not_exist
=== RUN TestParseClusterYaml/valid_file
=== RUN TestParseClusterYaml/valid_unified_file_with_machine_list
=== RUN TestParseClusterYaml/valid_unified_file_with_separate_machines
=== RUN TestParseClusterYaml/valid_unified_file_with_separate_machines_and_a_configmap
=== RUN TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap
=== RUN TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap
=== RUN TestParseClusterYaml/gibberish_in_file
--- PASS: TestParseClusterYaml (0.09s)
--- PASS: TestParseClusterYaml/File_does_not_exist (0.00s)
--- PASS: TestParseClusterYaml/valid_file (0.00s)
--- PASS: TestParseClusterYaml/valid_unified_file_with_machine_list (0.00s)
--- PASS: TestParseClusterYaml/valid_unified_file_with_separate_machines (0.00s)
--- PASS: TestParseClusterYaml/valid_unified_file_with_separate_machines_and_a_configmap (0.09s)
--- PASS: TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap (0.00s)
--- PASS: TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap (0.00s)
--- PASS: TestParseClusterYaml/gibberish_in_file (0.00s)
=== RUN TestParseMachineYaml
=== RUN TestParseMachineYaml/File_does_not_exist
=== RUN TestParseMachineYaml/valid_file_using_Machines
=== RUN TestParseMachineYaml/valid_unified_file_with_machine_list
=== RUN TestParseMachineYaml/valid_unified_file_with_separate_machines
=== RUN TestParseMachineYaml/valid_unified_file_with_separate_machines_and_a_configmap
=== RUN TestParseMachineYaml/invalid_file_using_MachineList
=== RUN TestParseMachineYaml/invalid_file_using_MachineList_without_type_info
=== RUN TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap
=== RUN TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap
=== RUN TestParseMachineYaml/gibberish_in_file
--- PASS: TestParseMachineYaml (0.10s)
--- PASS: TestParseMachineYaml/File_does_not_exist (0.00s)
--- PASS: TestParseMachineYaml/valid_file_using_Machines (0.00s)
--- PASS: TestParseMachineYaml/valid_unified_file_with_machine_list (0.00s)
--- PASS: TestParseMachineYaml/valid_unified_file_with_separate_machines (0.00s)
--- PASS: TestParseMachineYaml/valid_unified_file_with_separate_machines_and_a_configmap (0.00s)
--- PASS: TestParseMachineYaml/invalid_file_using_MachineList (0.00s)
--- PASS: TestParseMachineYaml/invalid_file_using_MachineList_without_type_info (0.00s)
--- PASS: TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap (0.00s)
--- PASS: TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap (0.00s)
--- PASS: TestParseMachineYaml/gibberish_in_file (0.09s)
PASS
ok sigs.k8s.io/cluster-api/pkg/util 0.295s
=== RUN TestEmptyAndInvalidArgs
=== RUN TestEmptyAndInvalidArgs/no_arguments
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl
=== RUN TestEmptyAndInvalidArgs/no_arguments_with_invalid_flag
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl --invalid-flag
=== RUN TestEmptyAndInvalidArgs/create_with_no_arguments
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create
=== RUN TestEmptyAndInvalidArgs/create_with_no_arguments_with_invalid_flag
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create --invalid-flag
=== RUN TestEmptyAndInvalidArgs/create_cluster_with_no_arguments
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create cluster
=== RUN TestEmptyAndInvalidArgs/create_cluster_with_no_arguments_with_invalid_flag
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create cluster --invalid-flag
=== RUN TestEmptyAndInvalidArgs/delete_with_no_arguments
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete
=== RUN TestEmptyAndInvalidArgs/delete_with_no_arguments_with_invalid_flag
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete --invalid-flag
=== RUN TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete cluster
=== RUN TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments_with_invalid_flag
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete cluster --invalid-flag
=== RUN TestEmptyAndInvalidArgs/validate_with_no_arguments
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate
=== RUN TestEmptyAndInvalidArgs/validate_with_no_arguments_with_invalid_flag
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate --invalid-flag
=== RUN TestEmptyAndInvalidArgs/validate_cluster_with_no_arguments_with_invalid_flag
Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate cluster --invalid-flag
--- PASS: TestEmptyAndInvalidArgs (0.21s)
--- PASS: TestEmptyAndInvalidArgs/no_arguments (0.02s)
--- PASS: TestEmptyAndInvalidArgs/no_arguments_with_invalid_flag (0.01s)
--- PASS: TestEmptyAndInvalidArgs/create_with_no_arguments (0.01s)
--- PASS: TestEmptyAndInvalidArgs/create_with_no_arguments_with_invalid_flag (0.02s)
--- PASS: TestEmptyAndInvalidArgs/create_cluster_with_no_arguments (0.02s)
--- PASS: TestEmptyAndInvalidArgs/create_cluster_with_no_arguments_with_invalid_flag (0.01s)
--- PASS: TestEmptyAndInvalidArgs/delete_with_no_arguments (0.01s)
--- PASS: TestEmptyAndInvalidArgs/delete_with_no_arguments_with_invalid_flag (0.01s)
--- PASS: TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments (0.02s)
--- PASS: TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments_with_invalid_flag (0.02s)
--- PASS: TestEmptyAndInvalidArgs/validate_with_no_arguments (0.02s)
--- PASS: TestEmptyAndInvalidArgs/validate_with_no_arguments_with_invalid_flag (0.02s)
--- PASS: TestEmptyAndInvalidArgs/validate_cluster_with_no_arguments_with_invalid_flag (0.02s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl 29.624s
? sigs.k8s.io/cluster-api/cmd/clusterctl/clientcmd [no test files]
=== RUN TestClusterCreate
=== RUN TestClusterCreate/success_one_cluster_one_namespace
=== RUN TestClusterCreate/success_1_clusters_per_namespace_with_3_namespaces
=== RUN TestClusterCreate/success_no_cleaning_bootstrap
=== RUN TestClusterCreate/success_create_cluster_with_""_namespace_and_bootstrapClientContext_namespace
=== RUN TestClusterCreate/success_cluster_with_""_namespace_and_""_bootstrapClientContext_namespace
=== RUN TestClusterCreate/fail_ensureNamespace_in_bootstrap_cluster
=== RUN TestClusterCreate/fail_ensureNamespace_in_target_cluster
=== RUN TestClusterCreate/fail_provision_bootstrap_cluster
=== RUN TestClusterCreate/fail_provision_bootstrap_cluster#01
=== RUN TestClusterCreate/fail_create_clients
=== RUN TestClusterCreate/fail_apply_yaml_to_bootstrap_cluster
=== RUN TestClusterCreate/fail_waiting_for_api_ready_on_bootstrap_cluster
=== RUN TestClusterCreate/fail_getting_bootstrap_cluster_objects
=== RUN TestClusterCreate/fail_getting_bootstrap_machine_objects
=== RUN TestClusterCreate/fail_create_cluster
=== RUN TestClusterCreate/fail_create_control_plane
=== RUN TestClusterCreate/fail_update_bootstrap_cluster_endpoint
=== RUN TestClusterCreate/fail_apply_yaml_to_target_cluster
=== RUN TestClusterCreate/fail_wait_for_api_ready_on_target_cluster
=== RUN TestClusterCreate/fail_create_target_cluster
=== RUN TestClusterCreate/fail_create_nodes
=== RUN TestClusterCreate/fail_update_cluster_endpoint_target
=== RUN TestClusterCreate/success_bootstrap_only_components_not_applied_to_target_cluster
--- PASS: TestClusterCreate (0.01s)
--- PASS: TestClusterCreate/success_one_cluster_one_namespace (0.00s)
--- PASS: TestClusterCreate/success_1_clusters_per_namespace_with_3_namespaces (0.00s)
--- PASS: TestClusterCreate/success_no_cleaning_bootstrap (0.00s)
--- PASS: TestClusterCreate/success_create_cluster_with_""_namespace_and_bootstrapClientContext_namespace (0.00s)
--- PASS: TestClusterCreate/success_cluster_with_""_namespace_and_""_bootstrapClientContext_namespace (0.00s)
--- PASS: TestClusterCreate/fail_ensureNamespace_in_bootstrap_cluster (0.00s)
--- PASS: TestClusterCreate/fail_ensureNamespace_in_target_cluster (0.00s)
--- PASS: TestClusterCreate/fail_provision_bootstrap_cluster (0.00s)
--- PASS: TestClusterCreate/fail_provision_bootstrap_cluster#01 (0.00s)
--- PASS: TestClusterCreate/fail_create_clients (0.00s)
--- PASS: TestClusterCreate/fail_apply_yaml_to_bootstrap_cluster (0.00s)
--- PASS: TestClusterCreate/fail_waiting_for_api_ready_on_bootstrap_cluster (0.00s)
--- PASS: TestClusterCreate/fail_getting_bootstrap_cluster_objects (0.00s)
--- PASS: TestClusterCreate/fail_getting_bootstrap_machine_objects (0.00s)
--- PASS: TestClusterCreate/fail_create_cluster (0.00s)
--- PASS: TestClusterCreate/fail_create_control_plane (0.00s)
--- PASS: TestClusterCreate/fail_update_bootstrap_cluster_endpoint (0.00s)
--- PASS: TestClusterCreate/fail_apply_yaml_to_target_cluster (0.00s)
--- PASS: TestClusterCreate/fail_wait_for_api_ready_on_target_cluster (0.00s)
--- PASS: TestClusterCreate/fail_create_target_cluster (0.00s)
--- PASS: TestClusterCreate/fail_create_nodes (0.00s)
--- PASS: TestClusterCreate/fail_update_cluster_endpoint_target (0.00s)
--- PASS: TestClusterCreate/success_bootstrap_only_components_not_applied_to_target_cluster (0.00s)
=== RUN TestCreateProviderComponentsScenarios
=== RUN TestCreateProviderComponentsScenarios/success
=== RUN TestCreateProviderComponentsScenarios/error_when_saving
--- PASS: TestCreateProviderComponentsScenarios (0.20s)
--- PASS: TestCreateProviderComponentsScenarios/success (0.20s)
--- PASS: TestCreateProviderComponentsScenarios/error_when_saving (0.00s)
=== RUN TestExtractControlPlaneMachine
=== RUN TestExtractControlPlaneMachine/success_1_control_plane_1_node
=== RUN TestExtractControlPlaneMachine/success_1_control_plane_multiple_nodes
=== RUN TestExtractControlPlaneMachine/success_2_control_planes_1_node
=== RUN TestExtractControlPlaneMachine/success_2_control_planes_multiple_nodes
=== RUN TestExtractControlPlaneMachine/fail_0_control_plane_not_allowed
--- PASS: TestExtractControlPlaneMachine (0.00s)
--- PASS: TestExtractControlPlaneMachine/success_1_control_plane_1_node (0.00s)
--- PASS: TestExtractControlPlaneMachine/success_1_control_plane_multiple_nodes (0.00s)
--- PASS: TestExtractControlPlaneMachine/success_2_control_planes_1_node (0.00s)
--- PASS: TestExtractControlPlaneMachine/success_2_control_planes_multiple_nodes (0.00s)
--- PASS: TestExtractControlPlaneMachine/fail_0_control_plane_not_allowed (0.00s)
=== RUN TestDeleteCleanupExternalCluster
=== RUN TestDeleteCleanupExternalCluster/success_with_cleanup
=== RUN TestDeleteCleanupExternalCluster/success_without_cleanup
=== RUN TestDeleteCleanupExternalCluster/error_with_cleanup
=== RUN TestDeleteCleanupExternalCluster/error_without_cleanup
--- PASS: TestDeleteCleanupExternalCluster (0.00s)
--- PASS: TestDeleteCleanupExternalCluster/success_with_cleanup (0.00s)
--- PASS: TestDeleteCleanupExternalCluster/success_without_cleanup (0.00s)
--- PASS: TestDeleteCleanupExternalCluster/error_with_cleanup (0.00s)
--- PASS: TestDeleteCleanupExternalCluster/error_without_cleanup (0.00s)
=== RUN TestClusterDelete
=== RUN TestClusterDelete/success_delete_1/1_cluster
=== RUN TestClusterDelete/success_delete_3/3_clusters
=== RUN TestClusterDelete/error_creating_core_client
=== RUN TestClusterDelete/fail_provision_bootstrap_cluster
=== RUN TestClusterDelete/fail_apply_yaml_to_bootstrap_cluster
=== RUN TestClusterDelete/fail_delete_provider_components_should_succeed
=== RUN TestClusterDelete/error_listing_machines
=== RUN TestClusterDelete/error_listing_machine_sets
=== RUN TestClusterDelete/error_listing_machine_deployments
=== RUN TestClusterDelete/error_listing_clusters
=== RUN TestClusterDelete/error_creating_machines
=== RUN TestClusterDelete/error_creating_machine_sets
=== RUN TestClusterDelete/error_creating_machine_deployments
=== RUN TestClusterDelete/error_creating_cluster
=== RUN TestClusterDelete/error_deleting_machines
=== RUN TestClusterDelete/error_deleting_machine_sets
=== RUN TestClusterDelete/error_deleting_machine_deployments
=== RUN TestClusterDelete/error_deleting_clusters
=== RUN TestClusterDelete/error_deleting_machines_and_clusters
--- PASS: TestClusterDelete (0.00s)
--- PASS: TestClusterDelete/success_delete_1/1_cluster (0.00s)
--- PASS: TestClusterDelete/success_delete_3/3_clusters (0.00s)
--- PASS: TestClusterDelete/error_creating_core_client (0.00s)
--- PASS: TestClusterDelete/fail_provision_bootstrap_cluster (0.00s)
--- PASS: TestClusterDelete/fail_apply_yaml_to_bootstrap_cluster (0.00s)
--- PASS: TestClusterDelete/fail_delete_provider_components_should_succeed (0.00s)
--- PASS: TestClusterDelete/error_listing_machines (0.00s)
--- PASS: TestClusterDelete/error_listing_machine_sets (0.00s)
--- PASS: TestClusterDelete/error_listing_machine_deployments (0.00s)
--- PASS: TestClusterDelete/error_listing_clusters (0.00s)
--- PASS: TestClusterDelete/error_creating_machines (0.00s)
--- PASS: TestClusterDelete/error_creating_machine_sets (0.00s)
--- PASS: TestClusterDelete/error_creating_machine_deployments (0.00s)
--- PASS: TestClusterDelete/error_creating_cluster (0.00s)
--- PASS: TestClusterDelete/error_deleting_machines (0.00s)
--- PASS: TestClusterDelete/error_deleting_machine_sets (0.00s)
--- PASS: TestClusterDelete/error_deleting_machine_deployments (0.00s)
--- PASS: TestClusterDelete/error_deleting_clusters (0.00s)
--- PASS: TestClusterDelete/error_deleting_machines_and_clusters (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer 0.492s
? sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap [no test files]
=== RUN TestGetKubeconfig
=== RUN TestGetKubeconfig/invalid_path_given
=== RUN TestGetKubeconfig/file_exists
--- PASS: TestGetKubeconfig (0.00s)
--- PASS: TestGetKubeconfig/invalid_path_given (0.00s)
--- PASS: TestGetKubeconfig/file_exists (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/existing 0.200s
=== RUN TestCreate
=== RUN TestCreate/success
=== RUN TestCreate/exec_fail
--- PASS: TestCreate (0.00s)
--- PASS: TestCreate/success (0.00s)
--- PASS: TestCreate/exec_fail (0.00s)
=== RUN TestDelete
=== RUN TestDelete/success
=== RUN TestDelete/exec_fail
--- PASS: TestDelete (0.00s)
--- PASS: TestDelete/success (0.00s)
--- PASS: TestDelete/exec_fail (0.00s)
=== RUN TestGetKubeconfig
=== RUN TestGetKubeconfig/file_does_not_exist
=== RUN TestGetKubeconfig/file_exists
=== RUN TestGetKubeconfig/file_exists,_output_with_newline
--- PASS: TestGetKubeconfig (0.00s)
--- PASS: TestGetKubeconfig/file_does_not_exist (0.00s)
--- PASS: TestGetKubeconfig/file_exists (0.00s)
--- PASS: TestGetKubeconfig/file_exists,_output_with_newline (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/kind 0.201s
=== RUN TestCreate
=== RUN TestCreate/success
=== RUN TestCreate/exec_fail
--- PASS: TestCreate (0.00s)
--- PASS: TestCreate/success (0.00s)
--- PASS: TestCreate/exec_fail (0.00s)
=== RUN TestCreateOptions
=== RUN TestCreateOptions/success
=== RUN TestCreateOptions/exec_fail
--- PASS: TestCreateOptions (0.00s)
--- PASS: TestCreateOptions/success (0.00s)
--- PASS: TestCreateOptions/exec_fail (0.00s)
=== RUN TestDelete
=== RUN TestDelete/success
=== RUN TestDelete/exec_fail
--- PASS: TestDelete (0.00s)
--- PASS: TestDelete/success (0.00s)
--- PASS: TestDelete/exec_fail (0.00s)
=== RUN TestGetKubeconfig
=== RUN TestGetKubeconfig/file_does_not_exist
=== RUN TestGetKubeconfig/file_exists
--- PASS: TestGetKubeconfig (0.00s)
--- PASS: TestGetKubeconfig/file_does_not_exist (0.00s)
--- PASS: TestGetKubeconfig/file_exists (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/minikube 0.401s
testing: warning: no tests to run
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient 0.199s [no tests to run]
? sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/provider [no test files]
=== RUN TestGetProvider
=== RUN TestGetProvider/blah_blah
--- PASS: TestGetProvider (0.00s)
--- PASS: TestGetProvider/blah_blah (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/cmd 0.400s
=== RUN TestPivot
--- PASS: TestPivot (0.10s)
=== RUN TestWaitForV1alpha2Failure
--- PASS: TestWaitForV1alpha2Failure (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/phases 0.296s
=== RUN TestLoadFromConfigMap
=== RUN TestLoadFromConfigMap/config_map_exists;key_exists
=== RUN TestLoadFromConfigMap/get_error
=== RUN TestLoadFromConfigMap/config_map_exists;key_doesn't_exist
--- PASS: TestLoadFromConfigMap (0.00s)
--- PASS: TestLoadFromConfigMap/config_map_exists;key_exists (0.00s)
--- PASS: TestLoadFromConfigMap/get_error (0.00s)
--- PASS: TestLoadFromConfigMap/config_map_exists;key_doesn't_exist (0.00s)
=== RUN TestSaveToConfigMap
=== RUN TestSaveToConfigMap/random_error_retrieving_config_map
=== RUN TestSaveToConfigMap/new_config_map,_success
=== RUN TestSaveToConfigMap/new_config_map,_error
=== RUN TestSaveToConfigMap/existing_config_map,_error
=== RUN TestSaveToConfigMap/existing_config_map_with_nil_map
=== RUN TestSaveToConfigMap/existing_config_map_with_existing,_different_key
=== RUN TestSaveToConfigMap/existing_config_map_with_existing,_same_key
--- PASS: TestSaveToConfigMap (0.00s)
--- PASS: TestSaveToConfigMap/random_error_retrieving_config_map (0.00s)
--- PASS: TestSaveToConfigMap/new_config_map,_success (0.00s)
--- PASS: TestSaveToConfigMap/new_config_map,_error (0.00s)
--- PASS: TestSaveToConfigMap/existing_config_map,_error (0.00s)
--- PASS: TestSaveToConfigMap/existing_config_map_with_nil_map (0.00s)
--- PASS: TestSaveToConfigMap/existing_config_map_with_existing,_different_key (0.00s)
--- PASS: TestSaveToConfigMap/existing_config_map_with_existing,_same_key (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/providercomponents 0.197s
=== RUN TestGetClusterObjectWithNoCluster
--- PASS: TestGetClusterObjectWithNoCluster (0.10s)
=== RUN TestGetClusterObjectWithOneCluster
=== RUN TestGetClusterObjectWithOneCluster/Get_cluster_with_name
=== RUN TestGetClusterObjectWithOneCluster/Get_cluster_without_name
=== RUN TestGetClusterObjectWithOneCluster/Get_cluster_with_name_in_different_namespace
=== RUN TestGetClusterObjectWithOneCluster/Get_cluster_without_name_in_different_namespace
--- PASS: TestGetClusterObjectWithOneCluster (0.40s)
--- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_with_name (0.10s)
--- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_without_name (0.00s)
--- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_with_name_in_different_namespace (0.00s)
--- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_without_name_in_different_namespace (0.00s)
=== RUN TestGetClusterObjectWithMoreThanOneCluster
=== RUN TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_with_name
=== RUN TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_without_name
--- PASS: TestGetClusterObjectWithMoreThanOneCluster (0.30s)
--- PASS: TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_with_name (0.10s)
--- PASS: TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_without_name (0.00s)
=== RUN TestValidateClusterObject
=== RUN TestValidateClusterObject/Cluster_has_no_error
=== RUN TestValidateClusterObject/Cluster_has_error_reason
=== RUN TestValidateClusterObject/Cluster_has_error_message
=== RUN TestValidateClusterObject/Cluster_has_error_reason_and_message
--- PASS: TestValidateClusterObject (0.00s)
--- PASS: TestValidateClusterObject/Cluster_has_no_error (0.00s)
--- PASS: TestValidateClusterObject/Cluster_has_error_reason (0.00s)
--- PASS: TestValidateClusterObject/Cluster_has_error_message (0.00s)
--- PASS: TestValidateClusterObject/Cluster_has_error_reason_and_message (0.00s)
=== RUN TestValidateMachineObjects
=== RUN TestValidateMachineObjects/Machine_has_no_error
=== RUN TestValidateMachineObjects/Machine_has_no_node_reference
=== RUN TestValidateMachineObjects/Machine_has_error_reason
=== RUN TestValidateMachineObjects/Machine_has_error_message
=== RUN TestValidateMachineObjects/Machine_has_error_reason_and_message
--- PASS: TestValidateMachineObjects (0.39s)
--- PASS: TestValidateMachineObjects/Machine_has_no_error (0.10s)
--- PASS: TestValidateMachineObjects/Machine_has_no_node_reference (0.00s)
--- PASS: TestValidateMachineObjects/Machine_has_error_reason (0.00s)
--- PASS: TestValidateMachineObjects/Machine_has_error_message (0.00s)
--- PASS: TestValidateMachineObjects/Machine_has_error_reason_and_message (0.00s)
=== RUN TestValidateMachineObjectWithReferredNode
=== RUN TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_ready
=== RUN TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_not_ready
=== RUN TestValidateMachineObjectWithReferredNode/Machine's_ref_node_does_not_exist
--- PASS: TestValidateMachineObjectWithReferredNode (0.60s)
--- PASS: TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_ready (0.10s)
--- PASS: TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_not_ready (0.00s)
--- PASS: TestValidateMachineObjectWithReferredNode/Machine's_ref_node_does_not_exist (0.00s)
=== RUN TestValidateClusterAPIObjectsOutput
=== RUN TestValidateClusterAPIObjectsOutput/Pass
=== RUN TestValidateClusterAPIObjectsOutput/Failed_to_validate_cluster_object
=== RUN TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_errors
=== RUN TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_node_ref_errors
--- PASS: TestValidateClusterAPIObjectsOutput (2.71s)
--- PASS: TestValidateClusterAPIObjectsOutput/Pass (1.10s)
--- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_cluster_object (0.80s)
--- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_errors (0.40s)
--- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_node_ref_errors (0.20s)
=== RUN TestValidatePodsWithNoPod
--- PASS: TestValidatePodsWithNoPod (0.00s)
=== RUN TestValidatePodsWithOnePod
=== RUN TestValidatePodsWithOnePod/Pods_include_terminating_pod
=== RUN TestValidatePodsWithOnePod/Pods_include_pending_pod
=== RUN TestValidatePodsWithOnePod/Pods_include_failed_pod
=== RUN TestValidatePodsWithOnePod/Pods_include_unknown_pod
=== RUN TestValidatePodsWithOnePod/Pods_include_pod_with_non-ready_container
=== RUN TestValidatePodsWithOnePod/Pods_are_all_ready
--- PASS: TestValidatePodsWithOnePod (0.00s)
--- PASS: TestValidatePodsWithOnePod/Pods_include_terminating_pod (0.00s)
--- PASS: TestValidatePodsWithOnePod/Pods_include_pending_pod (0.00s)
--- PASS: TestValidatePodsWithOnePod/Pods_include_failed_pod (0.00s)
--- PASS: TestValidatePodsWithOnePod/Pods_include_unknown_pod (0.00s)
--- PASS: TestValidatePodsWithOnePod/Pods_include_pod_with_non-ready_container (0.00s)
--- PASS: TestValidatePodsWithOnePod/Pods_are_all_ready (0.00s)
=== RUN TestValidatePodsWithNPods
=== RUN TestValidatePodsWithNPods/Pods_start_with_failed_pod
=== RUN TestValidatePodsWithNPods/Pods_end_with_failed_pod
=== RUN TestValidatePodsWithNPods/Pods_include_pod_with_non-ready_container
=== RUN TestValidatePodsWithNPods/Pods_are_all_failing
=== RUN TestValidatePodsWithNPods/Pods_are_all_ready
--- PASS: TestValidatePodsWithNPods (0.00s)
--- PASS: TestValidatePodsWithNPods/Pods_start_with_failed_pod (0.00s)
--- PASS: TestValidatePodsWithNPods/Pods_end_with_failed_pod (0.00s)
--- PASS: TestValidatePodsWithNPods/Pods_include_pod_with_non-ready_container (0.00s)
--- PASS: TestValidatePodsWithNPods/Pods_are_all_failing (0.00s)
--- PASS: TestValidatePodsWithNPods/Pods_are_all_ready (0.00s)
=== RUN TestValidateComponentsWithNoComponent
--- PASS: TestValidateComponentsWithNoComponent (0.00s)
=== RUN TestValidateComponents
=== RUN TestValidateComponents/Components_include_unknown_status
=== RUN TestValidateComponents/Components_include_not_ready_status
=== RUN TestValidateComponents/Components_are_all_ready
--- PASS: TestValidateComponents (0.00s)
--- PASS: TestValidateComponents/Components_include_unknown_status (0.00s)
--- PASS: TestValidateComponents/Components_include_not_ready_status (0.00s)
--- PASS: TestValidateComponents/Components_are_all_ready (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/validation 45.302s
? sigs.k8s.io/cluster-api/cmd/example-provider [no test files]
? sigs.k8s.io/cluster-api/cmd/manager [no test files]
Makefile:51: recipe for target 'test-go' failed
make: *** [test-go] Error 1
[0]akutz@kutz:~$
FROM golang:1.12.6
ENV GOOS=linux GOARCH=amd64
RUN curl -sL https://go.kubebuilder.io/dl/2.0.0-alpha.4/${GOOS}/${GOARCH} | tar -xz -C /tmp/ && \
mv /tmp/kubebuilder_2.0.0-alpha.4_${GOOS}_${GOARCH} /usr/local/kubebuilder
ENV PATH=/usr/local/kubebuilder/bin:${PATH}
WORKDIR /go/src/sigs.k8s.io/cluster-api
RUN git clone https://github.com/pires/cluster-api . && \
git checkout pires/fix_1104
ENTRYPOINT [ "/bin/bash" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment