Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.29 KB | None | 0 0
  1. $ docker run -it --rm --cpus=1.5 akutz/capi-1104 /bin/bash -c 'while make test-go; do sleep 1; done'
  2. Unable to find image 'akutz/capi-1104:latest' locally
  3. latest: Pulling from akutz/capi-1104
  4. 6f2f362378c5: Pull complete
  5. 494c27a8a6b8: Pull complete
  6. 7596bb83081b: Pull complete
  7. 372744b62d49: Pull complete
  8. 0658c6765517: Pull complete
  9. fc2529ce2b56: Pull complete
  10. c9a1ca7e4a49: Pull complete
  11. 677d7f69f66f: Pull complete
  12. f3c775d99c44: Pull complete
  13. dfdf2240d319: Pull complete
  14. Digest: sha256:609736235426296c0167845a1c616488f08ac52e7edb173b57a1fb23791af7f7
  15. Status: Downloaded newer image for akutz/capi-1104:latest
  16. go test -v -tags=integration ./pkg/... ./cmd/...
  17. ? sigs.k8s.io/cluster-api/pkg/apis [no test files]
  18. ? sigs.k8s.io/cluster-api/pkg/apis/cluster [no test files]
  19. ? sigs.k8s.io/cluster-api/pkg/apis/cluster/common [no test files]
  20. === RUN TestStorageCluster
  21. --- PASS: TestStorageCluster (0.11s)
  22. === RUN TestStorageMachine
  23. --- PASS: TestStorageMachine (0.19s)
  24. === RUN TestStorageMachineDeployment
  25. --- PASS: TestStorageMachineDeployment (0.40s)
  26. === RUN TestStorageMachineSet
  27. --- PASS: TestStorageMachineSet (0.11s)
  28. PASS
  29. ok sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha2 44.610s
  30. ? sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha2/testutil [no test files]
  31. ? sigs.k8s.io/cluster-api/pkg/apis/deprecated [no test files]
  32. === RUN TestStorageCluster
  33. --- PASS: TestStorageCluster (0.10s)
  34. === RUN TestStorageMachine
  35. --- PASS: TestStorageMachine (0.20s)
  36. === RUN TestStorageMachineDeployment
  37. --- PASS: TestStorageMachineDeployment (0.11s)
  38. === RUN TestStorageMachineSet
  39. --- PASS: TestStorageMachineSet (0.10s)
  40. === RUN TestDefaults
  41. 2019/07/04 18:52:34 Defaulting fields for MachineSet foo
  42. 2019/07/04 18:52:34 Defaulting to Random
  43. --- PASS: TestDefaults (0.00s)
  44. PASS
  45. ok sigs.k8s.io/cluster-api/pkg/apis/deprecated/v1alpha1 46.200s
  46. ? sigs.k8s.io/cluster-api/pkg/apis/deprecated/v1alpha1/testutil [no test files]
  47. === RUN TestEmptyPath
  48. --- PASS: TestEmptyPath (0.00s)
  49. === RUN TestInvalidPath
  50. --- PASS: TestInvalidPath (0.00s)
  51. === RUN TestDirWithMissingKey
  52. --- PASS: TestDirWithMissingKey (0.00s)
  53. === RUN TestDirWithMissingCert
  54. --- PASS: TestDirWithMissingCert (0.00s)
  55. === RUN TestDirHappyPath
  56. --- PASS: TestDirHappyPath (0.00s)
  57. === RUN TestCertPath
  58. --- PASS: TestCertPath (0.00s)
  59. === RUN TestKeyPath
  60. --- PASS: TestKeyPath (0.00s)
  61. PASS
  62. ok sigs.k8s.io/cluster-api/pkg/cert 0.396s
  63. ? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset [no test files]
  64. ? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/fake [no test files]
  65. ? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/scheme [no test files]
  66. ? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/cluster/v1alpha2 [no test files]
  67. ? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/cluster/v1alpha2/fake [no test files]
  68. ? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/deprecated/v1alpha1 [no test files]
  69. ? sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset/typed/deprecated/v1alpha1/fake [no test files]
  70. ? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions [no test files]
  71. ? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/cluster [no test files]
  72. ? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/cluster/v1alpha2 [no test files]
  73. ? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/deprecated [no test files]
  74. ? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/deprecated/v1alpha1 [no test files]
  75. ? sigs.k8s.io/cluster-api/pkg/client/informers_generated/externalversions/internalinterfaces [no test files]
  76. ? sigs.k8s.io/cluster-api/pkg/client/listers_generated/cluster/v1alpha2 [no test files]
  77. ? sigs.k8s.io/cluster-api/pkg/client/listers_generated/deprecated/v1alpha1 [no test files]
  78. === RUN TestInvalidCommand
  79. --- PASS: TestInvalidCommand (0.00s)
  80. === RUN TestValidCommandErrors
  81. --- PASS: TestValidCommandErrors (0.10s)
  82. === RUN TestValidCommandSucceeds
  83. --- PASS: TestValidCommandSucceeds (0.10s)
  84. === RUN TestCombinedOutputShouldIncludeStdOutAndErr
  85. --- PASS: TestCombinedOutputShouldIncludeStdOutAndErr (0.20s)
  86. PASS
  87. ok sigs.k8s.io/cluster-api/pkg/cmdrunner 0.602s
  88. ? sigs.k8s.io/cluster-api/pkg/controller [no test files]
  89. === RUN TestReconcile
  90. --- PASS: TestReconcile (0.60s)
  91. PASS
  92. ok sigs.k8s.io/cluster-api/pkg/controller/cluster 44.905s
  93. ? sigs.k8s.io/cluster-api/pkg/controller/config [no test files]
  94. ? sigs.k8s.io/cluster-api/pkg/controller/error [no test files]
  95. ? sigs.k8s.io/cluster-api/pkg/controller/external [no test files]
  96. === RUN TestReconcilePhase
  97. === RUN TestReconcilePhase/new_machine,_expect_pending
  98. === RUN TestReconcilePhase/ready_bootstrap,_expect_provisioning
  99. === RUN TestReconcilePhase/ready_bootstrap_and_infra,_expect_provisioned
  100. === RUN TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_expect_running
  101. === RUN TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_machine_being_deleted,_expect_deleting
  102. --- PASS: TestReconcilePhase (0.00s)
  103. --- PASS: TestReconcilePhase/new_machine,_expect_pending (0.00s)
  104. --- PASS: TestReconcilePhase/ready_bootstrap,_expect_provisioning (0.00s)
  105. --- PASS: TestReconcilePhase/ready_bootstrap_and_infra,_expect_provisioned (0.00s)
  106. --- PASS: TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_expect_running (0.00s)
  107. --- PASS: TestReconcilePhase/ready_bootstrap,_infra,_and_nodeRef,_machine_being_deleted,_expect_deleting (0.00s)
  108. === RUN TestReconcileBootstrap
  109. === RUN TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_data
  110. === RUN TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_no_data
  111. === RUN TestReconcileBootstrap/new_machine,_bootstrap_config_not_ready
  112. === RUN TestReconcileBootstrap/new_machine,_bootstrap_config_is_not_found
  113. === RUN TestReconcileBootstrap/new_machine,_no_bootstrap_config_or_data
  114. === RUN TestReconcileBootstrap/existing_machine,_bootstrap_data_should_not_change
  115. === RUN TestReconcileBootstrap/existing_machine,_bootstrap_provider_is_to_not_ready
  116. --- PASS: TestReconcileBootstrap (0.09s)
  117. --- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_data (0.00s)
  118. --- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_ready_with_no_data (0.00s)
  119. --- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_not_ready (0.00s)
  120. --- PASS: TestReconcileBootstrap/new_machine,_bootstrap_config_is_not_found (0.00s)
  121. --- PASS: TestReconcileBootstrap/new_machine,_no_bootstrap_config_or_data (0.00s)
  122. --- PASS: TestReconcileBootstrap/existing_machine,_bootstrap_data_should_not_change (0.00s)
  123. --- PASS: TestReconcileBootstrap/existing_machine,_bootstrap_provider_is_to_not_ready (0.00s)
  124. === RUN TestReconcileInfrastructure
  125. === RUN TestReconcileInfrastructure/new_machine,_infrastructure_config_ready_with_addresses
  126. --- PASS: TestReconcileInfrastructure (0.00s)
  127. --- PASS: TestReconcileInfrastructure/new_machine,_infrastructure_config_ready_with_addresses (0.00s)
  128. === RUN TestReconcileRequest
  129. --- PASS: TestReconcileRequest (0.10s)
  130. === RUN TestReconcile
  131. --- PASS: TestReconcile (0.50s)
  132. PASS
  133. ok sigs.k8s.io/cluster-api/pkg/controller/machine 39.196s
  134. === RUN TestMachineSetToDeployments
  135. --- PASS: TestMachineSetToDeployments (0.00s)
  136. === RUN TestGetMachineDeploymentsForMachineSet
  137. --- PASS: TestGetMachineDeploymentsForMachineSet (0.00s)
  138. === RUN TestGetMachineSetsForDeployment
  139. --- PASS: TestGetMachineSetsForDeployment (0.00s)
  140. === RUN TestReconcile
  141. --- PASS: TestReconcile (1.41s)
  142. 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
  143. 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
  144. PASS
  145. ok sigs.k8s.io/cluster-api/pkg/controller/machinedeployment 43.617s
  146. === RUN TestEqualIgnoreHash
  147. === RUN TestEqualIgnoreHash/Same_spec,_same_labels
  148. === RUN TestEqualIgnoreHash/Same_spec,_only_machine-template-hash_label_value_is_different
  149. === RUN TestEqualIgnoreHash/Same_spec,_the_former_doesn't_have_machine-template-hash_label
  150. === RUN TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_former_doesn't_have_machine-template-hash_label,_same_number_of_labels
  151. === RUN TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_latter_doesn't_have_machine-template-hash_label,_same_number_of_labels
  152. === RUN TestEqualIgnoreHash/Same_spec,_the_label_is_different,_and_the_machine-template-hash_label_value_is_the_same
  153. === RUN TestEqualIgnoreHash/Different_spec,_same_labels
  154. === RUN TestEqualIgnoreHash/Different_spec,_different_machine-template-hash_label_value
  155. === RUN TestEqualIgnoreHash/Different_spec,_the_former_doesn't_have_machine-template-hash_label
  156. === RUN TestEqualIgnoreHash/Different_spec,_different_labels
  157. --- PASS: TestEqualIgnoreHash (0.00s)
  158. --- PASS: TestEqualIgnoreHash/Same_spec,_same_labels (0.00s)
  159. --- PASS: TestEqualIgnoreHash/Same_spec,_only_machine-template-hash_label_value_is_different (0.00s)
  160. --- PASS: TestEqualIgnoreHash/Same_spec,_the_former_doesn't_have_machine-template-hash_label (0.00s)
  161. --- PASS: TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_former_doesn't_have_machine-template-hash_label,_same_number_of_labels (0.00s)
  162. --- PASS: TestEqualIgnoreHash/Same_spec,_the_label_is_different,_the_latter_doesn't_have_machine-template-hash_label,_same_number_of_labels (0.00s)
  163. --- PASS: TestEqualIgnoreHash/Same_spec,_the_label_is_different,_and_the_machine-template-hash_label_value_is_the_same (0.00s)
  164. --- PASS: TestEqualIgnoreHash/Different_spec,_same_labels (0.00s)
  165. --- PASS: TestEqualIgnoreHash/Different_spec,_different_machine-template-hash_label_value (0.00s)
  166. --- PASS: TestEqualIgnoreHash/Different_spec,_the_former_doesn't_have_machine-template-hash_label (0.00s)
  167. --- PASS: TestEqualIgnoreHash/Different_spec,_different_labels (0.00s)
  168. === RUN TestFindNewMachineSet
  169. === RUN TestFindNewMachineSet/Get_new_MachineSet_with_the_same_template_as_Deployment_spec_but_different_machine-template-hash_value
  170. === RUN TestFindNewMachineSet/Get_the_oldest_new_MachineSet_when_there_are_more_than_one_MachineSet_with_the_same_template
  171. === RUN TestFindNewMachineSet/Get_nil_new_MachineSet
  172. --- PASS: TestFindNewMachineSet (0.09s)
  173. --- PASS: TestFindNewMachineSet/Get_new_MachineSet_with_the_same_template_as_Deployment_spec_but_different_machine-template-hash_value (0.00s)
  174. --- PASS: TestFindNewMachineSet/Get_the_oldest_new_MachineSet_when_there_are_more_than_one_MachineSet_with_the_same_template (0.00s)
  175. --- PASS: TestFindNewMachineSet/Get_nil_new_MachineSet (0.09s)
  176. === RUN TestFindOldMachineSets
  177. === RUN TestFindOldMachineSets/Get_old_MachineSets
  178. === RUN TestFindOldMachineSets/Get_old_MachineSets_with_no_new_MachineSet
  179. === RUN TestFindOldMachineSets/Get_old_MachineSets_with_two_new_MachineSets,_only_the_oldest_new_MachineSet_is_seen_as_new_MachineSet
  180. === RUN TestFindOldMachineSets/Get_empty_old_MachineSets
  181. --- PASS: TestFindOldMachineSets (0.00s)
  182. --- PASS: TestFindOldMachineSets/Get_old_MachineSets (0.00s)
  183. --- PASS: TestFindOldMachineSets/Get_old_MachineSets_with_no_new_MachineSet (0.00s)
  184. --- PASS: TestFindOldMachineSets/Get_old_MachineSets_with_two_new_MachineSets,_only_the_oldest_new_MachineSet_is_seen_as_new_MachineSet (0.00s)
  185. --- PASS: TestFindOldMachineSets/Get_empty_old_MachineSets (0.00s)
  186. === RUN TestGetReplicaCountForMachineSets
  187. === RUN TestGetReplicaCountForMachineSets/1:2_Replicas
  188. === RUN TestGetReplicaCountForMachineSets/3:5_Replicas
  189. --- PASS: TestGetReplicaCountForMachineSets (0.00s)
  190. --- PASS: TestGetReplicaCountForMachineSets/1:2_Replicas (0.00s)
  191. --- PASS: TestGetReplicaCountForMachineSets/3:5_Replicas (0.00s)
  192. === RUN TestResolveFenceposts
  193. === RUN TestResolveFenceposts/maxSurge=0%
  194. === RUN TestResolveFenceposts/maxSurge=39%
  195. === RUN TestResolveFenceposts/maxSurge=oops
  196. === RUN TestResolveFenceposts/maxSurge=55%
  197. --- PASS: TestResolveFenceposts (0.00s)
  198. --- PASS: TestResolveFenceposts/maxSurge=0% (0.00s)
  199. --- PASS: TestResolveFenceposts/maxSurge=39% (0.00s)
  200. --- PASS: TestResolveFenceposts/maxSurge=oops (0.00s)
  201. --- PASS: TestResolveFenceposts/maxSurge=55% (0.00s)
  202. === RUN TestNewMSNewReplicas
  203. === RUN TestNewMSNewReplicas/can_not_scale_up_-_to_newMSReplicas
  204. === RUN TestNewMSNewReplicas/scale_up_-_to_depReplicas
  205. --- PASS: TestNewMSNewReplicas (0.00s)
  206. --- PASS: TestNewMSNewReplicas/can_not_scale_up_-_to_newMSReplicas (0.00s)
  207. --- PASS: TestNewMSNewReplicas/scale_up_-_to_depReplicas (0.00s)
  208. === RUN TestDeploymentComplete
  209. === RUN TestDeploymentComplete/not_complete:_min_but_not_all_machines_become_available
  210. === RUN TestDeploymentComplete/not_complete:_min_availability_is_not_honored
  211. === RUN TestDeploymentComplete/complete
  212. === RUN TestDeploymentComplete/not_complete:_all_machines_are_available_but_not_updated
  213. === RUN TestDeploymentComplete/not_complete:_still_running_old_machines
  214. === RUN TestDeploymentComplete/not_complete:_one_replica_deployment_never_comes_up
  215. --- PASS: TestDeploymentComplete (0.00s)
  216. --- PASS: TestDeploymentComplete/not_complete:_min_but_not_all_machines_become_available (0.00s)
  217. --- PASS: TestDeploymentComplete/not_complete:_min_availability_is_not_honored (0.00s)
  218. --- PASS: TestDeploymentComplete/complete (0.00s)
  219. --- PASS: TestDeploymentComplete/not_complete:_all_machines_are_available_but_not_updated (0.00s)
  220. --- PASS: TestDeploymentComplete/not_complete:_still_running_old_machines (0.00s)
  221. --- PASS: TestDeploymentComplete/not_complete:_one_replica_deployment_never_comes_up (0.00s)
  222. === RUN TestMaxUnavailable
  223. === RUN TestMaxUnavailable/maxUnavailable_less_than_replicas
  224. === RUN TestMaxUnavailable/maxUnavailable_equal_replicas
  225. === RUN TestMaxUnavailable/maxUnavailable_greater_than_replicas
  226. === RUN TestMaxUnavailable/maxUnavailable_with_replicas_is_0
  227. === RUN TestMaxUnavailable/maxUnavailable_less_than_replicas_with_percents
  228. === RUN TestMaxUnavailable/maxUnavailable_equal_replicas_with_percents
  229. === RUN TestMaxUnavailable/maxUnavailable_greater_than_replicas_with_percents
  230. --- PASS: TestMaxUnavailable (0.00s)
  231. --- PASS: TestMaxUnavailable/maxUnavailable_less_than_replicas (0.00s)
  232. --- PASS: TestMaxUnavailable/maxUnavailable_equal_replicas (0.00s)
  233. --- PASS: TestMaxUnavailable/maxUnavailable_greater_than_replicas (0.00s)
  234. --- PASS: TestMaxUnavailable/maxUnavailable_with_replicas_is_0 (0.00s)
  235. --- PASS: TestMaxUnavailable/maxUnavailable_less_than_replicas_with_percents (0.00s)
  236. --- PASS: TestMaxUnavailable/maxUnavailable_equal_replicas_with_percents (0.00s)
  237. --- PASS: TestMaxUnavailable/maxUnavailable_greater_than_replicas_with_percents (0.00s)
  238. === RUN TestAnnotationUtils
  239. === RUN TestAnnotationUtils/SetNewMachineSetAnnotations
  240. === RUN TestAnnotationUtils/SetReplicasAnnotations
  241. === RUN TestAnnotationUtils/IsSaturated
  242. --- PASS: TestAnnotationUtils (0.00s)
  243. --- PASS: TestAnnotationUtils/SetNewMachineSetAnnotations (0.00s)
  244. --- PASS: TestAnnotationUtils/SetReplicasAnnotations (0.00s)
  245. --- PASS: TestAnnotationUtils/IsSaturated (0.00s)
  246. === RUN TestReplicasAnnotationsNeedUpdate
  247. === RUN TestReplicasAnnotationsNeedUpdate/test_Annotations_nil
  248. === RUN TestReplicasAnnotationsNeedUpdate/test_desiredReplicas_update
  249. === RUN TestReplicasAnnotationsNeedUpdate/test_maxReplicas_update
  250. === RUN TestReplicasAnnotationsNeedUpdate/test_needn't_update
  251. --- PASS: TestReplicasAnnotationsNeedUpdate (0.00s)
  252. --- PASS: TestReplicasAnnotationsNeedUpdate/test_Annotations_nil (0.00s)
  253. --- PASS: TestReplicasAnnotationsNeedUpdate/test_desiredReplicas_update (0.00s)
  254. --- PASS: TestReplicasAnnotationsNeedUpdate/test_maxReplicas_update (0.00s)
  255. --- PASS: TestReplicasAnnotationsNeedUpdate/test_needn't_update (0.00s)
  256. PASS
  257. ok sigs.k8s.io/cluster-api/pkg/controller/machinedeployment/util 0.197s
  258. === RUN TestMachineToDelete
  259. --- PASS: TestMachineToDelete (0.00s)
  260. === RUN TestMachineNewestDelete
  261. --- PASS: TestMachineNewestDelete (0.00s)
  262. === RUN TestMachineOldestDelete
  263. --- PASS: TestMachineOldestDelete (0.00s)
  264. === RUN TestHasMatchingLabels
  265. --- PASS: TestHasMatchingLabels (0.00s)
  266. === RUN TestMachineSetToMachines
  267. --- PASS: TestMachineSetToMachines (0.00s)
  268. === RUN TestShouldExcludeMachine
  269. --- PASS: TestShouldExcludeMachine (0.00s)
  270. === RUN TestAdoptOrphan
  271. --- PASS: TestAdoptOrphan (0.00s)
  272. === RUN TestReconcile
  273. --- FAIL: TestReconcile (6.19s)
  274. machineset_reconciler_test.go:140:
  275. Timed out after 5.000s.
  276. Expected
  277. <int>: 1
  278. to be equivalent to
  279. <int32>: 2
  280. FAIL
  281. FAIL sigs.k8s.io/cluster-api/pkg/controller/machineset 46.725s
  282. === RUN TestReconcile
  283. --- PASS: TestReconcile (0.23s)
  284. === RUN TestGetNodeReference
  285. === RUN TestGetNodeReference/valid_provider_id,_valid_aws_node
  286. === RUN TestGetNodeReference/valid_provider_id,_valid_aws_node#01
  287. === RUN TestGetNodeReference/valid_provider_id,_valid_gce_node
  288. === RUN TestGetNodeReference/valid_provider_id,_no_node_found
  289. --- PASS: TestGetNodeReference (0.00s)
  290. --- PASS: TestGetNodeReference/valid_provider_id,_valid_aws_node (0.00s)
  291. --- PASS: TestGetNodeReference/valid_provider_id,_valid_aws_node#01 (0.00s)
  292. --- PASS: TestGetNodeReference/valid_provider_id,_valid_gce_node (0.00s)
  293. --- PASS: TestGetNodeReference/valid_provider_id,_no_node_found (0.00s)
  294. PASS
  295. ok sigs.k8s.io/cluster-api/pkg/controller/noderef 36.490s
  296. === RUN TestNewProviderID
  297. --- PASS: TestNewProviderID (0.00s)
  298. === RUN TestInvalidProviderID
  299. --- PASS: TestInvalidProviderID (0.00s)
  300. === RUN TestProviderIDEquals
  301. --- PASS: TestProviderIDEquals (0.00s)
  302. === RUN TestIsNodeAvaialble
  303. === RUN TestIsNodeAvaialble/no_node
  304. === RUN TestIsNodeAvaialble/no_status
  305. === RUN TestIsNodeAvaialble/no_condition
  306. === RUN TestIsNodeAvaialble/no_ready_condition
  307. === RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_now
  308. === RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_past
  309. === RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_now
  310. === RUN TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_past
  311. === RUN TestIsNodeAvaialble/ready_condition_false
  312. === RUN TestIsNodeAvaialble/ready_condition_unknown
  313. --- PASS: TestIsNodeAvaialble (0.00s)
  314. --- PASS: TestIsNodeAvaialble/no_node (0.00s)
  315. --- PASS: TestIsNodeAvaialble/no_status (0.00s)
  316. --- PASS: TestIsNodeAvaialble/no_condition (0.00s)
  317. --- PASS: TestIsNodeAvaialble/no_ready_condition (0.00s)
  318. --- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_now (0.00s)
  319. --- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_0,_lastTransitionTime_past (0.00s)
  320. --- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_now (0.00s)
  321. --- PASS: TestIsNodeAvaialble/ready_condition_true,_minReadySeconds_=_300,_lastTransitionTime_past (0.00s)
  322. --- PASS: TestIsNodeAvaialble/ready_condition_false (0.00s)
  323. --- PASS: TestIsNodeAvaialble/ready_condition_unknown (0.00s)
  324. === RUN TestGetReadyCondition
  325. === RUN TestGetReadyCondition/no_status
  326. === RUN TestGetReadyCondition/no_condition
  327. === RUN TestGetReadyCondition/no_ready_condition
  328. === RUN TestGetReadyCondition/ready_condition_true
  329. === RUN TestGetReadyCondition/ready_condition_false
  330. === RUN TestGetReadyCondition/ready_condition_unknown
  331. --- PASS: TestGetReadyCondition (0.00s)
  332. --- PASS: TestGetReadyCondition/no_status (0.00s)
  333. --- PASS: TestGetReadyCondition/no_condition (0.00s)
  334. --- PASS: TestGetReadyCondition/no_ready_condition (0.00s)
  335. --- PASS: TestGetReadyCondition/ready_condition_true (0.00s)
  336. --- PASS: TestGetReadyCondition/ready_condition_false (0.00s)
  337. --- PASS: TestGetReadyCondition/ready_condition_unknown (0.00s)
  338. === RUN TestIsNodeReady
  339. === RUN TestIsNodeReady/no_node
  340. === RUN TestIsNodeReady/no_status
  341. === RUN TestIsNodeReady/no_condition
  342. === RUN TestIsNodeReady/no_ready_condition
  343. === RUN TestIsNodeReady/ready_condition_true
  344. === RUN TestIsNodeReady/ready_condition_false
  345. === RUN TestIsNodeReady/ready_condition_unknown
  346. --- PASS: TestIsNodeReady (0.00s)
  347. --- PASS: TestIsNodeReady/no_node (0.00s)
  348. --- PASS: TestIsNodeReady/no_status (0.00s)
  349. --- PASS: TestIsNodeReady/no_condition (0.00s)
  350. --- PASS: TestIsNodeReady/no_ready_condition (0.00s)
  351. --- PASS: TestIsNodeReady/ready_condition_true (0.00s)
  352. --- PASS: TestIsNodeReady/ready_condition_false (0.00s)
  353. --- PASS: TestIsNodeReady/ready_condition_unknown (0.00s)
  354. PASS
  355. ok sigs.k8s.io/cluster-api/pkg/controller/noderefutil 0.298s
  356. === RUN TestNewClusterClient
  357. === RUN TestNewClusterClient/cluster_with_valid_kubeconfig
  358. === RUN TestNewClusterClient/cluster_with_no_kubeconfig
  359. === RUN TestNewClusterClient/cluster_with_invalid_kubeconfig
  360. --- PASS: TestNewClusterClient (0.10s)
  361. --- PASS: TestNewClusterClient/cluster_with_valid_kubeconfig (0.10s)
  362. --- PASS: TestNewClusterClient/cluster_with_no_kubeconfig (0.00s)
  363. --- PASS: TestNewClusterClient/cluster_with_invalid_kubeconfig (0.00s)
  364. === RUN TestGetKubeConfigSecret
  365. --- PASS: TestGetKubeConfigSecret (0.00s)
  366. === RUN TestKubeConfigFromSecret
  367. === RUN TestKubeConfigFromSecret/with_valid_secret
  368. --- PASS: TestKubeConfigFromSecret (0.00s)
  369. --- PASS: TestKubeConfigFromSecret/with_valid_secret (0.00s)
  370. PASS
  371. ok sigs.k8s.io/cluster-api/pkg/controller/remote 0.303s
  372. ? sigs.k8s.io/cluster-api/pkg/errors [no test files]
  373. === RUN TestTokenCreateParameters
  374. --- PASS: TestTokenCreateParameters (0.00s)
  375. === RUN TestTokenCreateReturnsUnmodifiedOutput
  376. --- PASS: TestTokenCreateReturnsUnmodifiedOutput (0.00s)
  377. === RUN TestNonZeroExitCodeResultsInError
  378. --- PASS: TestNonZeroExitCodeResultsInError (0.00s)
  379. PASS
  380. ok sigs.k8s.io/cluster-api/pkg/kubeadm 0.195s
  381. ? sigs.k8s.io/cluster-api/pkg/provider/example/actuators/cluster [no test files]
  382. ? sigs.k8s.io/cluster-api/pkg/testcmdrunner [no test files]
  383. === RUN TestParseClusterYaml
  384. === RUN TestParseClusterYaml/File_does_not_exist
  385. === RUN TestParseClusterYaml/valid_file
  386. === RUN TestParseClusterYaml/valid_unified_file_with_machine_list
  387. === RUN TestParseClusterYaml/valid_unified_file_with_separate_machines
  388. === RUN TestParseClusterYaml/valid_unified_file_with_separate_machines_and_a_configmap
  389. === RUN TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap
  390. === RUN TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap
  391. === RUN TestParseClusterYaml/gibberish_in_file
  392. --- PASS: TestParseClusterYaml (0.09s)
  393. --- PASS: TestParseClusterYaml/File_does_not_exist (0.00s)
  394. --- PASS: TestParseClusterYaml/valid_file (0.00s)
  395. --- PASS: TestParseClusterYaml/valid_unified_file_with_machine_list (0.00s)
  396. --- PASS: TestParseClusterYaml/valid_unified_file_with_separate_machines (0.00s)
  397. --- PASS: TestParseClusterYaml/valid_unified_file_with_separate_machines_and_a_configmap (0.09s)
  398. --- PASS: TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap (0.00s)
  399. --- PASS: TestParseClusterYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap (0.00s)
  400. --- PASS: TestParseClusterYaml/gibberish_in_file (0.00s)
  401. === RUN TestParseMachineYaml
  402. === RUN TestParseMachineYaml/File_does_not_exist
  403. === RUN TestParseMachineYaml/valid_file_using_Machines
  404. === RUN TestParseMachineYaml/valid_unified_file_with_machine_list
  405. === RUN TestParseMachineYaml/valid_unified_file_with_separate_machines
  406. === RUN TestParseMachineYaml/valid_unified_file_with_separate_machines_and_a_configmap
  407. === RUN TestParseMachineYaml/invalid_file_using_MachineList
  408. === RUN TestParseMachineYaml/invalid_file_using_MachineList_without_type_info
  409. === RUN TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap
  410. === RUN TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap
  411. === RUN TestParseMachineYaml/gibberish_in_file
  412. --- PASS: TestParseMachineYaml (0.10s)
  413. --- PASS: TestParseMachineYaml/File_does_not_exist (0.00s)
  414. --- PASS: TestParseMachineYaml/valid_file_using_Machines (0.00s)
  415. --- PASS: TestParseMachineYaml/valid_unified_file_with_machine_list (0.00s)
  416. --- PASS: TestParseMachineYaml/valid_unified_file_with_separate_machines (0.00s)
  417. --- PASS: TestParseMachineYaml/valid_unified_file_with_separate_machines_and_a_configmap (0.00s)
  418. --- PASS: TestParseMachineYaml/invalid_file_using_MachineList (0.00s)
  419. --- PASS: TestParseMachineYaml/invalid_file_using_MachineList_without_type_info (0.00s)
  420. --- PASS: TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(only_with_type_info)_and_a_configmap (0.00s)
  421. --- PASS: TestParseMachineYaml/valid_unified_for_cluster_with_invalid_machinelist_(old_top-level_items_list)_and_a_configmap (0.00s)
  422. --- PASS: TestParseMachineYaml/gibberish_in_file (0.09s)
  423. PASS
  424. ok sigs.k8s.io/cluster-api/pkg/util 0.295s
  425. === RUN TestEmptyAndInvalidArgs
  426. === RUN TestEmptyAndInvalidArgs/no_arguments
  427. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl
  428. === RUN TestEmptyAndInvalidArgs/no_arguments_with_invalid_flag
  429. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl --invalid-flag
  430. === RUN TestEmptyAndInvalidArgs/create_with_no_arguments
  431. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create
  432. === RUN TestEmptyAndInvalidArgs/create_with_no_arguments_with_invalid_flag
  433. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create --invalid-flag
  434. === RUN TestEmptyAndInvalidArgs/create_cluster_with_no_arguments
  435. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create cluster
  436. === RUN TestEmptyAndInvalidArgs/create_cluster_with_no_arguments_with_invalid_flag
  437. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl create cluster --invalid-flag
  438. === RUN TestEmptyAndInvalidArgs/delete_with_no_arguments
  439. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete
  440. === RUN TestEmptyAndInvalidArgs/delete_with_no_arguments_with_invalid_flag
  441. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete --invalid-flag
  442. === RUN TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments
  443. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete cluster
  444. === RUN TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments_with_invalid_flag
  445. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl delete cluster --invalid-flag
  446. === RUN TestEmptyAndInvalidArgs/validate_with_no_arguments
  447. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate
  448. === RUN TestEmptyAndInvalidArgs/validate_with_no_arguments_with_invalid_flag
  449. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate --invalid-flag
  450. === RUN TestEmptyAndInvalidArgs/validate_cluster_with_no_arguments_with_invalid_flag
  451. Running command: /go/src/sigs.k8s.io/cluster-api/cmd/clusterctl/clusterctl validate cluster --invalid-flag
  452. --- PASS: TestEmptyAndInvalidArgs (0.21s)
  453. --- PASS: TestEmptyAndInvalidArgs/no_arguments (0.02s)
  454. --- PASS: TestEmptyAndInvalidArgs/no_arguments_with_invalid_flag (0.01s)
  455. --- PASS: TestEmptyAndInvalidArgs/create_with_no_arguments (0.01s)
  456. --- PASS: TestEmptyAndInvalidArgs/create_with_no_arguments_with_invalid_flag (0.02s)
  457. --- PASS: TestEmptyAndInvalidArgs/create_cluster_with_no_arguments (0.02s)
  458. --- PASS: TestEmptyAndInvalidArgs/create_cluster_with_no_arguments_with_invalid_flag (0.01s)
  459. --- PASS: TestEmptyAndInvalidArgs/delete_with_no_arguments (0.01s)
  460. --- PASS: TestEmptyAndInvalidArgs/delete_with_no_arguments_with_invalid_flag (0.01s)
  461. --- PASS: TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments (0.02s)
  462. --- PASS: TestEmptyAndInvalidArgs/delete_cluster_with_no_arguments_with_invalid_flag (0.02s)
  463. --- PASS: TestEmptyAndInvalidArgs/validate_with_no_arguments (0.02s)
  464. --- PASS: TestEmptyAndInvalidArgs/validate_with_no_arguments_with_invalid_flag (0.02s)
  465. --- PASS: TestEmptyAndInvalidArgs/validate_cluster_with_no_arguments_with_invalid_flag (0.02s)
  466. PASS
  467. ok sigs.k8s.io/cluster-api/cmd/clusterctl 29.624s
  468. ? sigs.k8s.io/cluster-api/cmd/clusterctl/clientcmd [no test files]
  469. === RUN TestClusterCreate
  470. === RUN TestClusterCreate/success_one_cluster_one_namespace
  471. === RUN TestClusterCreate/success_1_clusters_per_namespace_with_3_namespaces
  472. === RUN TestClusterCreate/success_no_cleaning_bootstrap
  473. === RUN TestClusterCreate/success_create_cluster_with_""_namespace_and_bootstrapClientContext_namespace
  474. === RUN TestClusterCreate/success_cluster_with_""_namespace_and_""_bootstrapClientContext_namespace
  475. === RUN TestClusterCreate/fail_ensureNamespace_in_bootstrap_cluster
  476. === RUN TestClusterCreate/fail_ensureNamespace_in_target_cluster
  477. === RUN TestClusterCreate/fail_provision_bootstrap_cluster
  478. === RUN TestClusterCreate/fail_provision_bootstrap_cluster#01
  479. === RUN TestClusterCreate/fail_create_clients
  480. === RUN TestClusterCreate/fail_apply_yaml_to_bootstrap_cluster
  481. === RUN TestClusterCreate/fail_waiting_for_api_ready_on_bootstrap_cluster
  482. === RUN TestClusterCreate/fail_getting_bootstrap_cluster_objects
  483. === RUN TestClusterCreate/fail_getting_bootstrap_machine_objects
  484. === RUN TestClusterCreate/fail_create_cluster
  485. === RUN TestClusterCreate/fail_create_control_plane
  486. === RUN TestClusterCreate/fail_update_bootstrap_cluster_endpoint
  487. === RUN TestClusterCreate/fail_apply_yaml_to_target_cluster
  488. === RUN TestClusterCreate/fail_wait_for_api_ready_on_target_cluster
  489. === RUN TestClusterCreate/fail_create_target_cluster
  490. === RUN TestClusterCreate/fail_create_nodes
  491. === RUN TestClusterCreate/fail_update_cluster_endpoint_target
  492. === RUN TestClusterCreate/success_bootstrap_only_components_not_applied_to_target_cluster
  493. --- PASS: TestClusterCreate (0.01s)
  494. --- PASS: TestClusterCreate/success_one_cluster_one_namespace (0.00s)
  495. --- PASS: TestClusterCreate/success_1_clusters_per_namespace_with_3_namespaces (0.00s)
  496. --- PASS: TestClusterCreate/success_no_cleaning_bootstrap (0.00s)
  497. --- PASS: TestClusterCreate/success_create_cluster_with_""_namespace_and_bootstrapClientContext_namespace (0.00s)
  498. --- PASS: TestClusterCreate/success_cluster_with_""_namespace_and_""_bootstrapClientContext_namespace (0.00s)
  499. --- PASS: TestClusterCreate/fail_ensureNamespace_in_bootstrap_cluster (0.00s)
  500. --- PASS: TestClusterCreate/fail_ensureNamespace_in_target_cluster (0.00s)
  501. --- PASS: TestClusterCreate/fail_provision_bootstrap_cluster (0.00s)
  502. --- PASS: TestClusterCreate/fail_provision_bootstrap_cluster#01 (0.00s)
  503. --- PASS: TestClusterCreate/fail_create_clients (0.00s)
  504. --- PASS: TestClusterCreate/fail_apply_yaml_to_bootstrap_cluster (0.00s)
  505. --- PASS: TestClusterCreate/fail_waiting_for_api_ready_on_bootstrap_cluster (0.00s)
  506. --- PASS: TestClusterCreate/fail_getting_bootstrap_cluster_objects (0.00s)
  507. --- PASS: TestClusterCreate/fail_getting_bootstrap_machine_objects (0.00s)
  508. --- PASS: TestClusterCreate/fail_create_cluster (0.00s)
  509. --- PASS: TestClusterCreate/fail_create_control_plane (0.00s)
  510. --- PASS: TestClusterCreate/fail_update_bootstrap_cluster_endpoint (0.00s)
  511. --- PASS: TestClusterCreate/fail_apply_yaml_to_target_cluster (0.00s)
  512. --- PASS: TestClusterCreate/fail_wait_for_api_ready_on_target_cluster (0.00s)
  513. --- PASS: TestClusterCreate/fail_create_target_cluster (0.00s)
  514. --- PASS: TestClusterCreate/fail_create_nodes (0.00s)
  515. --- PASS: TestClusterCreate/fail_update_cluster_endpoint_target (0.00s)
  516. --- PASS: TestClusterCreate/success_bootstrap_only_components_not_applied_to_target_cluster (0.00s)
  517. === RUN TestCreateProviderComponentsScenarios
  518. === RUN TestCreateProviderComponentsScenarios/success
  519. === RUN TestCreateProviderComponentsScenarios/error_when_saving
  520. --- PASS: TestCreateProviderComponentsScenarios (0.20s)
  521. --- PASS: TestCreateProviderComponentsScenarios/success (0.20s)
  522. --- PASS: TestCreateProviderComponentsScenarios/error_when_saving (0.00s)
  523. === RUN TestExtractControlPlaneMachine
  524. === RUN TestExtractControlPlaneMachine/success_1_control_plane_1_node
  525. === RUN TestExtractControlPlaneMachine/success_1_control_plane_multiple_nodes
  526. === RUN TestExtractControlPlaneMachine/success_2_control_planes_1_node
  527. === RUN TestExtractControlPlaneMachine/success_2_control_planes_multiple_nodes
  528. === RUN TestExtractControlPlaneMachine/fail_0_control_plane_not_allowed
  529. --- PASS: TestExtractControlPlaneMachine (0.00s)
  530. --- PASS: TestExtractControlPlaneMachine/success_1_control_plane_1_node (0.00s)
  531. --- PASS: TestExtractControlPlaneMachine/success_1_control_plane_multiple_nodes (0.00s)
  532. --- PASS: TestExtractControlPlaneMachine/success_2_control_planes_1_node (0.00s)
  533. --- PASS: TestExtractControlPlaneMachine/success_2_control_planes_multiple_nodes (0.00s)
  534. --- PASS: TestExtractControlPlaneMachine/fail_0_control_plane_not_allowed (0.00s)
  535. === RUN TestDeleteCleanupExternalCluster
  536. === RUN TestDeleteCleanupExternalCluster/success_with_cleanup
  537. === RUN TestDeleteCleanupExternalCluster/success_without_cleanup
  538. === RUN TestDeleteCleanupExternalCluster/error_with_cleanup
  539. === RUN TestDeleteCleanupExternalCluster/error_without_cleanup
  540. --- PASS: TestDeleteCleanupExternalCluster (0.00s)
  541. --- PASS: TestDeleteCleanupExternalCluster/success_with_cleanup (0.00s)
  542. --- PASS: TestDeleteCleanupExternalCluster/success_without_cleanup (0.00s)
  543. --- PASS: TestDeleteCleanupExternalCluster/error_with_cleanup (0.00s)
  544. --- PASS: TestDeleteCleanupExternalCluster/error_without_cleanup (0.00s)
  545. === RUN TestClusterDelete
  546. === RUN TestClusterDelete/success_delete_1/1_cluster
  547. === RUN TestClusterDelete/success_delete_3/3_clusters
  548. === RUN TestClusterDelete/error_creating_core_client
  549. === RUN TestClusterDelete/fail_provision_bootstrap_cluster
  550. === RUN TestClusterDelete/fail_apply_yaml_to_bootstrap_cluster
  551. === RUN TestClusterDelete/fail_delete_provider_components_should_succeed
  552. === RUN TestClusterDelete/error_listing_machines
  553. === RUN TestClusterDelete/error_listing_machine_sets
  554. === RUN TestClusterDelete/error_listing_machine_deployments
  555. === RUN TestClusterDelete/error_listing_clusters
  556. === RUN TestClusterDelete/error_creating_machines
  557. === RUN TestClusterDelete/error_creating_machine_sets
  558. === RUN TestClusterDelete/error_creating_machine_deployments
  559. === RUN TestClusterDelete/error_creating_cluster
  560. === RUN TestClusterDelete/error_deleting_machines
  561. === RUN TestClusterDelete/error_deleting_machine_sets
  562. === RUN TestClusterDelete/error_deleting_machine_deployments
  563. === RUN TestClusterDelete/error_deleting_clusters
  564. === RUN TestClusterDelete/error_deleting_machines_and_clusters
  565. --- PASS: TestClusterDelete (0.00s)
  566. --- PASS: TestClusterDelete/success_delete_1/1_cluster (0.00s)
  567. --- PASS: TestClusterDelete/success_delete_3/3_clusters (0.00s)
  568. --- PASS: TestClusterDelete/error_creating_core_client (0.00s)
  569. --- PASS: TestClusterDelete/fail_provision_bootstrap_cluster (0.00s)
  570. --- PASS: TestClusterDelete/fail_apply_yaml_to_bootstrap_cluster (0.00s)
  571. --- PASS: TestClusterDelete/fail_delete_provider_components_should_succeed (0.00s)
  572. --- PASS: TestClusterDelete/error_listing_machines (0.00s)
  573. --- PASS: TestClusterDelete/error_listing_machine_sets (0.00s)
  574. --- PASS: TestClusterDelete/error_listing_machine_deployments (0.00s)
  575. --- PASS: TestClusterDelete/error_listing_clusters (0.00s)
  576. --- PASS: TestClusterDelete/error_creating_machines (0.00s)
  577. --- PASS: TestClusterDelete/error_creating_machine_sets (0.00s)
  578. --- PASS: TestClusterDelete/error_creating_machine_deployments (0.00s)
  579. --- PASS: TestClusterDelete/error_creating_cluster (0.00s)
  580. --- PASS: TestClusterDelete/error_deleting_machines (0.00s)
  581. --- PASS: TestClusterDelete/error_deleting_machine_sets (0.00s)
  582. --- PASS: TestClusterDelete/error_deleting_machine_deployments (0.00s)
  583. --- PASS: TestClusterDelete/error_deleting_clusters (0.00s)
  584. --- PASS: TestClusterDelete/error_deleting_machines_and_clusters (0.00s)
  585. PASS
  586. ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer 0.492s
  587. ? sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap [no test files]
  588. === RUN TestGetKubeconfig
  589. === RUN TestGetKubeconfig/invalid_path_given
  590. === RUN TestGetKubeconfig/file_exists
  591. --- PASS: TestGetKubeconfig (0.00s)
  592. --- PASS: TestGetKubeconfig/invalid_path_given (0.00s)
  593. --- PASS: TestGetKubeconfig/file_exists (0.00s)
  594. PASS
  595. ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/existing 0.200s
  596. === RUN TestCreate
  597. === RUN TestCreate/success
  598. === RUN TestCreate/exec_fail
  599. --- PASS: TestCreate (0.00s)
  600. --- PASS: TestCreate/success (0.00s)
  601. --- PASS: TestCreate/exec_fail (0.00s)
  602. === RUN TestDelete
  603. === RUN TestDelete/success
  604. === RUN TestDelete/exec_fail
  605. --- PASS: TestDelete (0.00s)
  606. --- PASS: TestDelete/success (0.00s)
  607. --- PASS: TestDelete/exec_fail (0.00s)
  608. === RUN TestGetKubeconfig
  609. === RUN TestGetKubeconfig/file_does_not_exist
  610. === RUN TestGetKubeconfig/file_exists
  611. === RUN TestGetKubeconfig/file_exists,_output_with_newline
  612. --- PASS: TestGetKubeconfig (0.00s)
  613. --- PASS: TestGetKubeconfig/file_does_not_exist (0.00s)
  614. --- PASS: TestGetKubeconfig/file_exists (0.00s)
  615. --- PASS: TestGetKubeconfig/file_exists,_output_with_newline (0.00s)
  616. PASS
  617. ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/kind 0.201s
  618. === RUN TestCreate
  619. === RUN TestCreate/success
  620. === RUN TestCreate/exec_fail
  621. --- PASS: TestCreate (0.00s)
  622. --- PASS: TestCreate/success (0.00s)
  623. --- PASS: TestCreate/exec_fail (0.00s)
  624. === RUN TestCreateOptions
  625. === RUN TestCreateOptions/success
  626. === RUN TestCreateOptions/exec_fail
  627. --- PASS: TestCreateOptions (0.00s)
  628. --- PASS: TestCreateOptions/success (0.00s)
  629. --- PASS: TestCreateOptions/exec_fail (0.00s)
  630. === RUN TestDelete
  631. === RUN TestDelete/success
  632. === RUN TestDelete/exec_fail
  633. --- PASS: TestDelete (0.00s)
  634. --- PASS: TestDelete/success (0.00s)
  635. --- PASS: TestDelete/exec_fail (0.00s)
  636. === RUN TestGetKubeconfig
  637. === RUN TestGetKubeconfig/file_does_not_exist
  638. === RUN TestGetKubeconfig/file_exists
  639. --- PASS: TestGetKubeconfig (0.00s)
  640. --- PASS: TestGetKubeconfig/file_does_not_exist (0.00s)
  641. --- PASS: TestGetKubeconfig/file_exists (0.00s)
  642. PASS
  643. ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/minikube 0.401s
  644. testing: warning: no tests to run
  645. PASS
  646. ok sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient 0.199s [no tests to run]
  647. ? sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/provider [no test files]
  648. === RUN TestGetProvider
  649. === RUN TestGetProvider/blah_blah
  650. --- PASS: TestGetProvider (0.00s)
  651. --- PASS: TestGetProvider/blah_blah (0.00s)
  652. PASS
  653. ok sigs.k8s.io/cluster-api/cmd/clusterctl/cmd 0.400s
  654. === RUN TestPivot
  655. --- PASS: TestPivot (0.10s)
  656. === RUN TestWaitForV1alpha2Failure
  657. --- PASS: TestWaitForV1alpha2Failure (0.00s)
  658. PASS
  659. ok sigs.k8s.io/cluster-api/cmd/clusterctl/phases 0.296s
  660. === RUN TestLoadFromConfigMap
  661. === RUN TestLoadFromConfigMap/config_map_exists;key_exists
  662. === RUN TestLoadFromConfigMap/get_error
  663. === RUN TestLoadFromConfigMap/config_map_exists;key_doesn't_exist
  664. --- PASS: TestLoadFromConfigMap (0.00s)
  665. --- PASS: TestLoadFromConfigMap/config_map_exists;key_exists (0.00s)
  666. --- PASS: TestLoadFromConfigMap/get_error (0.00s)
  667. --- PASS: TestLoadFromConfigMap/config_map_exists;key_doesn't_exist (0.00s)
  668. === RUN TestSaveToConfigMap
  669. === RUN TestSaveToConfigMap/random_error_retrieving_config_map
  670. === RUN TestSaveToConfigMap/new_config_map,_success
  671. === RUN TestSaveToConfigMap/new_config_map,_error
  672. === RUN TestSaveToConfigMap/existing_config_map,_error
  673. === RUN TestSaveToConfigMap/existing_config_map_with_nil_map
  674. === RUN TestSaveToConfigMap/existing_config_map_with_existing,_different_key
  675. === RUN TestSaveToConfigMap/existing_config_map_with_existing,_same_key
  676. --- PASS: TestSaveToConfigMap (0.00s)
  677. --- PASS: TestSaveToConfigMap/random_error_retrieving_config_map (0.00s)
  678. --- PASS: TestSaveToConfigMap/new_config_map,_success (0.00s)
  679. --- PASS: TestSaveToConfigMap/new_config_map,_error (0.00s)
  680. --- PASS: TestSaveToConfigMap/existing_config_map,_error (0.00s)
  681. --- PASS: TestSaveToConfigMap/existing_config_map_with_nil_map (0.00s)
  682. --- PASS: TestSaveToConfigMap/existing_config_map_with_existing,_different_key (0.00s)
  683. --- PASS: TestSaveToConfigMap/existing_config_map_with_existing,_same_key (0.00s)
  684. PASS
  685. ok sigs.k8s.io/cluster-api/cmd/clusterctl/providercomponents 0.197s
  686. === RUN TestGetClusterObjectWithNoCluster
  687. --- PASS: TestGetClusterObjectWithNoCluster (0.10s)
  688. === RUN TestGetClusterObjectWithOneCluster
  689. === RUN TestGetClusterObjectWithOneCluster/Get_cluster_with_name
  690. === RUN TestGetClusterObjectWithOneCluster/Get_cluster_without_name
  691. === RUN TestGetClusterObjectWithOneCluster/Get_cluster_with_name_in_different_namespace
  692. === RUN TestGetClusterObjectWithOneCluster/Get_cluster_without_name_in_different_namespace
  693. --- PASS: TestGetClusterObjectWithOneCluster (0.40s)
  694. --- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_with_name (0.10s)
  695. --- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_without_name (0.00s)
  696. --- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_with_name_in_different_namespace (0.00s)
  697. --- PASS: TestGetClusterObjectWithOneCluster/Get_cluster_without_name_in_different_namespace (0.00s)
  698. === RUN TestGetClusterObjectWithMoreThanOneCluster
  699. === RUN TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_with_name
  700. === RUN TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_without_name
  701. --- PASS: TestGetClusterObjectWithMoreThanOneCluster (0.30s)
  702. --- PASS: TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_with_name (0.10s)
  703. --- PASS: TestGetClusterObjectWithMoreThanOneCluster/Get_cluster_without_name (0.00s)
  704. === RUN TestValidateClusterObject
  705. === RUN TestValidateClusterObject/Cluster_has_no_error
  706. === RUN TestValidateClusterObject/Cluster_has_error_reason
  707. === RUN TestValidateClusterObject/Cluster_has_error_message
  708. === RUN TestValidateClusterObject/Cluster_has_error_reason_and_message
  709. --- PASS: TestValidateClusterObject (0.00s)
  710. --- PASS: TestValidateClusterObject/Cluster_has_no_error (0.00s)
  711. --- PASS: TestValidateClusterObject/Cluster_has_error_reason (0.00s)
  712. --- PASS: TestValidateClusterObject/Cluster_has_error_message (0.00s)
  713. --- PASS: TestValidateClusterObject/Cluster_has_error_reason_and_message (0.00s)
  714. === RUN TestValidateMachineObjects
  715. === RUN TestValidateMachineObjects/Machine_has_no_error
  716. === RUN TestValidateMachineObjects/Machine_has_no_node_reference
  717. === RUN TestValidateMachineObjects/Machine_has_error_reason
  718. === RUN TestValidateMachineObjects/Machine_has_error_message
  719. === RUN TestValidateMachineObjects/Machine_has_error_reason_and_message
  720. --- PASS: TestValidateMachineObjects (0.39s)
  721. --- PASS: TestValidateMachineObjects/Machine_has_no_error (0.10s)
  722. --- PASS: TestValidateMachineObjects/Machine_has_no_node_reference (0.00s)
  723. --- PASS: TestValidateMachineObjects/Machine_has_error_reason (0.00s)
  724. --- PASS: TestValidateMachineObjects/Machine_has_error_message (0.00s)
  725. --- PASS: TestValidateMachineObjects/Machine_has_error_reason_and_message (0.00s)
  726. === RUN TestValidateMachineObjectWithReferredNode
  727. === RUN TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_ready
  728. === RUN TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_not_ready
  729. === RUN TestValidateMachineObjectWithReferredNode/Machine's_ref_node_does_not_exist
  730. --- PASS: TestValidateMachineObjectWithReferredNode (0.60s)
  731. --- PASS: TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_ready (0.10s)
  732. --- PASS: TestValidateMachineObjectWithReferredNode/Machine's_ref_node_is_not_ready (0.00s)
  733. --- PASS: TestValidateMachineObjectWithReferredNode/Machine's_ref_node_does_not_exist (0.00s)
  734. === RUN TestValidateClusterAPIObjectsOutput
  735. === RUN TestValidateClusterAPIObjectsOutput/Pass
  736. === RUN TestValidateClusterAPIObjectsOutput/Failed_to_validate_cluster_object
  737. === RUN TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_errors
  738. === RUN TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_node_ref_errors
  739. --- PASS: TestValidateClusterAPIObjectsOutput (2.71s)
  740. --- PASS: TestValidateClusterAPIObjectsOutput/Pass (1.10s)
  741. --- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_cluster_object (0.80s)
  742. --- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_errors (0.40s)
  743. --- PASS: TestValidateClusterAPIObjectsOutput/Failed_to_validate_machine_objects_with_node_ref_errors (0.20s)
  744. === RUN TestValidatePodsWithNoPod
  745. --- PASS: TestValidatePodsWithNoPod (0.00s)
  746. === RUN TestValidatePodsWithOnePod
  747. === RUN TestValidatePodsWithOnePod/Pods_include_terminating_pod
  748. === RUN TestValidatePodsWithOnePod/Pods_include_pending_pod
  749. === RUN TestValidatePodsWithOnePod/Pods_include_failed_pod
  750. === RUN TestValidatePodsWithOnePod/Pods_include_unknown_pod
  751. === RUN TestValidatePodsWithOnePod/Pods_include_pod_with_non-ready_container
  752. === RUN TestValidatePodsWithOnePod/Pods_are_all_ready
  753. --- PASS: TestValidatePodsWithOnePod (0.00s)
  754. --- PASS: TestValidatePodsWithOnePod/Pods_include_terminating_pod (0.00s)
  755. --- PASS: TestValidatePodsWithOnePod/Pods_include_pending_pod (0.00s)
  756. --- PASS: TestValidatePodsWithOnePod/Pods_include_failed_pod (0.00s)
  757. --- PASS: TestValidatePodsWithOnePod/Pods_include_unknown_pod (0.00s)
  758. --- PASS: TestValidatePodsWithOnePod/Pods_include_pod_with_non-ready_container (0.00s)
  759. --- PASS: TestValidatePodsWithOnePod/Pods_are_all_ready (0.00s)
  760. === RUN TestValidatePodsWithNPods
  761. === RUN TestValidatePodsWithNPods/Pods_start_with_failed_pod
  762. === RUN TestValidatePodsWithNPods/Pods_end_with_failed_pod
  763. === RUN TestValidatePodsWithNPods/Pods_include_pod_with_non-ready_container
  764. === RUN TestValidatePodsWithNPods/Pods_are_all_failing
  765. === RUN TestValidatePodsWithNPods/Pods_are_all_ready
  766. --- PASS: TestValidatePodsWithNPods (0.00s)
  767. --- PASS: TestValidatePodsWithNPods/Pods_start_with_failed_pod (0.00s)
  768. --- PASS: TestValidatePodsWithNPods/Pods_end_with_failed_pod (0.00s)
  769. --- PASS: TestValidatePodsWithNPods/Pods_include_pod_with_non-ready_container (0.00s)
  770. --- PASS: TestValidatePodsWithNPods/Pods_are_all_failing (0.00s)
  771. --- PASS: TestValidatePodsWithNPods/Pods_are_all_ready (0.00s)
  772. === RUN TestValidateComponentsWithNoComponent
  773. --- PASS: TestValidateComponentsWithNoComponent (0.00s)
  774. === RUN TestValidateComponents
  775. === RUN TestValidateComponents/Components_include_unknown_status
  776. === RUN TestValidateComponents/Components_include_not_ready_status
  777. === RUN TestValidateComponents/Components_are_all_ready
  778. --- PASS: TestValidateComponents (0.00s)
  779. --- PASS: TestValidateComponents/Components_include_unknown_status (0.00s)
  780. --- PASS: TestValidateComponents/Components_include_not_ready_status (0.00s)
  781. --- PASS: TestValidateComponents/Components_are_all_ready (0.00s)
  782. PASS
  783. ok sigs.k8s.io/cluster-api/cmd/clusterctl/validation 45.302s
  784. ? sigs.k8s.io/cluster-api/cmd/example-provider [no test files]
  785. ? sigs.k8s.io/cluster-api/cmd/manager [no test files]
  786. Makefile:51: recipe for target 'test-go' failed
  787. make: *** [test-go] Error 1
  788. [0]akutz@kutz:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement