Skip to content

Instantly share code, notes, and snippets.

@akutz
Last active July 4, 2019 17:14
Show Gist options
  • Save akutz/c7a413bde11789cd1b9ad77cf9fc8ebb to your computer and use it in GitHub Desktop.
Save akutz/c7a413bde11789cd1b9ad77cf9fc8ebb to your computer and use it in GitHub Desktop.
$ git log --oneline -1 && printf '\n\n' && { { ./scripts/ci-test.sh && printf '\nSUCCESS!\n'; } || printf '\nFAILED!\n'; }
1e0421912 (HEAD -> pires/fix_1104, pires/pires/fix_1104) Don't swallow errors when reconciling noderef
fetching tools
x kubebuilder/
x kubebuilder/bin/
x kubebuilder/bin/etcd
x kubebuilder/bin/kubectl
x kubebuilder/bin/kube-apiserver
setting up env vars
make generate-manifests
make[1]: Entering directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go \
paths=./pkg/... \
crd:trivialVersions=true \
rbac:roleName=manager-role \
output:crd:dir=./config/crds
## Copy files in CI folders.
cp -f ./config/rbac/role*.yaml ./config/ci/rbac/
cp -f ./config/manager/manager*.yaml ./config/ci/manager/
make[1]: Leaving directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
make generate-go
make[1]: Entering directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
go generate ./pkg/... ./cmd/...
make[1]: Leaving directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
make gazelle
make[1]: Entering directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
(which bazel && ./hack/update-bazel.sh) || true
/usr/local/bin/bazel
Starting local Bazel server and connecting to it...
DEBUG: Rule 'io_bazel_rules_go' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1560458720 -0400"
DEBUG: Call stack for the definition of repository 'io_bazel_rules_go' which is a git_repository (rule definition at /private/var/tmp/_bazel_akutz/f994d167d924514389482f78bf8b20f9/external/bazel_tools/tools/build_defs/repo/git.bzl:252:18):
- /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/WORKSPACE:13:1
INFO: Analyzed target //:gazelle (55 packages loaded, 6726 targets configured).
INFO: Found 1 target...
Target //:gazelle up-to-date:
bazel-bin/gazelle-runner.bash
bazel-bin/gazelle
INFO: Elapsed time: 25.355s, Critical Path: 5.84s
INFO: 33 processes: 32 darwin-sandbox, 1 local.
INFO: Build completed successfully, 46 total actions
INFO: Build completed successfully, 46 total actions
gazelle: multiple rules (//vendor/github.com/grpc-ecosystem/grpc-gateway/internal:internal_go_proto and //vendor/github.com/grpc-ecosystem/grpc-gateway/internal:go_default_library) may be imported with "github.com/grpc-ecosystem/grpc-gateway/internal" from //vendor/github.com/grpc-ecosystem/grpc-gateway/runtime:go_default_library
make[1]: Leaving directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
bazel run //:lint
DEBUG: Rule 'io_bazel_rules_go' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1560458720 -0400"
DEBUG: Call stack for the definition of repository 'io_bazel_rules_go' which is a git_repository (rule definition at /private/var/tmp/_bazel_akutz/f994d167d924514389482f78bf8b20f9/external/bazel_tools/tools/build_defs/repo/git.bzl:252:18):
- /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/WORKSPACE:13:1
INFO: Analyzed target //:lint (188 packages loaded, 1162 targets configured).
INFO: Found 1 target...
Target //:lint up-to-date:
bazel-bin/lint_script
bazel-bin/lint
INFO: Elapsed time: 42.494s, Critical Path: 11.31s
INFO: 187 processes: 187 darwin-sandbox.
INFO: Build completed successfully, 192 total actions
INFO: Build completed successfully, 192 total actions
make test-go
make[1]: Entering directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
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.03s)
=== RUN TestStorageMachine
--- PASS: TestStorageMachine (0.03s)
=== RUN TestStorageMachineDeployment
--- PASS: TestStorageMachineDeployment (0.04s)
=== RUN TestStorageMachineSet
--- PASS: TestStorageMachineSet (0.05s)
PASS
ok sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha2 (cached)
? 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.03s)
=== RUN TestStorageMachine
--- PASS: TestStorageMachine (0.03s)
=== RUN TestStorageMachineDeployment
--- PASS: TestStorageMachineDeployment (0.04s)
=== RUN TestStorageMachineSet
--- PASS: TestStorageMachineSet (0.03s)
=== RUN TestDefaults
2019/07/04 12:02:41 Defaulting fields for MachineSet foo
2019/07/04 12:02:41 Defaulting to Random
--- PASS: TestDefaults (0.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/apis/deprecated/v1alpha1 (cached)
? 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 (cached)
? 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.03s)
=== RUN TestValidCommandSucceeds
--- PASS: TestValidCommandSucceeds (0.03s)
=== RUN TestCombinedOutputShouldIncludeStdOutAndErr
--- PASS: TestCombinedOutputShouldIncludeStdOutAndErr (0.06s)
PASS
ok sigs.k8s.io/cluster-api/pkg/cmdrunner (cached)
? sigs.k8s.io/cluster-api/pkg/controller [no test files]
=== RUN TestReconcile
--- PASS: TestReconcile (0.25s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/cluster (cached)
? 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.00s)
--- 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.01s)
=== RUN TestReconcile
--- PASS: TestReconcile (0.24s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/machine (cached)
=== RUN TestMachineSetToDeployments
--- PASS: TestMachineSetToDeployments (0.00s)
=== RUN TestGetMachineDeploymentsForMachineSet
--- PASS: TestGetMachineDeploymentsForMachineSet (0.04s)
=== RUN TestGetMachineSetsForDeployment
--- PASS: TestGetMachineSetsForDeployment (0.00s)
=== RUN TestReconcile
--- PASS: TestReconcile (1.02s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/machinedeployment (cached)
=== 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.00s)
--- 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.00s)
=== 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 (cached)
=== 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
--- PASS: TestReconcile (0.60s)
PASS
ok sigs.k8s.io/cluster-api/pkg/controller/machineset (cached)
=== 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 (cached)
=== 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 (cached)
=== RUN TestNewClusterClient
=== RUN TestNewClusterClient/cluster_with_valid_kubeconfig
=== RUN TestNewClusterClient/cluster_with_no_kubeconfig
=== RUN TestNewClusterClient/cluster_with_invalid_kubeconfig
--- PASS: TestNewClusterClient (0.00s)
--- PASS: TestNewClusterClient/cluster_with_valid_kubeconfig (0.00s)
--- 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 (cached)
? 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 (cached)
? 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.01s)
--- 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.00s)
--- 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.01s)
--- 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.00s)
PASS
ok sigs.k8s.io/cluster-api/pkg/util (cached)
=== RUN TestEmptyAndInvalidArgs
=== RUN TestEmptyAndInvalidArgs/no_arguments
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl
=== RUN TestEmptyAndInvalidArgs/no_arguments_with_invalid_flag
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl --invalid-flag
=== RUN TestEmptyAndInvalidArgs/create_with_no_arguments
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create
=== RUN TestEmptyAndInvalidArgs/create_with_no_arguments_with_invalid_flag
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create --invalid-flag
=== RUN TestEmptyAndInvalidArgs/create_cluster_with_no_arguments
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create cluster
=== RUN TestEmptyAndInvalidArgs/create_cluster_with_no_arguments_with_invalid_flag
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create cluster --invalid-flag
=== RUN TestEmptyAndInvalidArgs/delete_with_no_arguments
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete
=== RUN TestEmptyAndInvalidArgs/delete_with_no_arguments_with_invalid_flag
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete --invalid-flag
=== RUN TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete cluster
=== RUN TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments_with_invalid_flag
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete cluster --invalid-flag
=== RUN TestEmptyAndInvalidArgs/validate_with_no_arguments
Running command: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate
=== RUN TestEmptyAndInvalidArgs/validate_with_no_arguments_with_invalid_flag
Running command: /Users/akutz/Projects/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: /Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate cluster --invalid-flag
--- PASS: TestEmptyAndInvalidArgs (0.71s)
--- PASS: TestEmptyAndInvalidArgs/no_arguments (0.28s)
--- PASS: TestEmptyAndInvalidArgs/no_arguments_with_invalid_flag (0.04s)
--- PASS: TestEmptyAndInvalidArgs/create_with_no_arguments (0.03s)
--- PASS: TestEmptyAndInvalidArgs/create_with_no_arguments_with_invalid_flag (0.03s)
--- PASS: TestEmptyAndInvalidArgs/create_cluster_with_no_arguments (0.04s)
--- PASS: TestEmptyAndInvalidArgs/create_cluster_with_no_arguments_with_invalid_flag (0.03s)
--- PASS: TestEmptyAndInvalidArgs/delete_with_no_arguments (0.04s)
--- PASS: TestEmptyAndInvalidArgs/delete_with_no_arguments_with_invalid_flag (0.03s)
--- PASS: TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments (0.04s)
--- PASS: TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments_with_invalid_flag (0.04s)
--- PASS: TestEmptyAndInvalidArgs/validate_with_no_arguments (0.04s)
--- PASS: TestEmptyAndInvalidArgs/validate_with_no_arguments_with_invalid_flag (0.03s)
--- PASS: TestEmptyAndInvalidArgs/validate_cluster_with_no_arguments_with_invalid_flag (0.03s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl 5.538s
? 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.02s)
--- 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.00s)
--- PASS: TestCreateProviderComponentsScenarios/success (0.00s)
--- 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.01s)
--- 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 (cached)
? 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 (cached)
=== 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 (cached)
=== 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 (cached)
testing: warning: no tests to run
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient (cached) [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 (cached)
=== RUN TestPivot
--- PASS: TestPivot (0.00s)
=== RUN TestWaitForV1alpha2Failure
--- PASS: TestWaitForV1alpha2Failure (0.00s)
PASS
ok sigs.k8s.io/cluster-api/cmd/clusterctl/phases (cached)
=== 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 (cached)
=== RUN TestGetClusterObjectWithNoCluster
--- PASS: TestGetClusterObjectWithNoCluster (0.01s)
=== 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.12s)
--- 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.13s)
--- 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.12s)
--- 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.13s)
--- 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 (0.42s)
--- PASS: TestValidateClusterAPIObjectsOutput/Pass (0.10s)
--- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_cluster_object (0.10s)
--- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_errors (0.10s)
--- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_node_ref_errors (0.12s)
=== 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 (cached)
? sigs.k8s.io/cluster-api/cmd/example-provider [no test files]
? sigs.k8s.io/cluster-api/cmd/manager [no test files]
make[1]: Leaving directory '/Users/akutz/Projects/go/src/sigs.k8s.io/cluster-api'
SUCCESS!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment