=== RUN TestBootstrapModeConstants === RUN TestBootstrapModeConstants/CloudInit === RUN TestBootstrapModeConstants/IKSAPI === RUN TestBootstrapModeConstants/Auto --- PASS: TestBootstrapModeConstants (0.00s) --- PASS: TestBootstrapModeConstants/CloudInit (0.00s) --- PASS: TestBootstrapModeConstants/IKSAPI (0.00s) --- PASS: TestBootstrapModeConstants/Auto (0.00s) === RUN TestOptionsStruct --- PASS: TestOptionsStruct (0.00s) === RUN TestIKSWorkerPoolOptionsStruct --- PASS: TestIKSWorkerPoolOptionsStruct (0.00s) === RUN TestClusterInfoStruct --- PASS: TestClusterInfoStruct (0.00s) === RUN TestParseKubeconfig --- PASS: TestParseKubeconfig (0.00s) === RUN TestParseKubeconfigMissingServer --- PASS: TestParseKubeconfigMissingServer (0.00s) === RUN TestParseKubeconfigInvalidCAData --- PASS: TestParseKubeconfigInvalidCAData (0.00s) === RUN TestParseKubeconfigMissingCAData --- PASS: TestParseKubeconfigMissingCAData (0.00s) === RUN TestParseKubeconfigWithSpacing --- PASS: TestParseKubeconfigWithSpacing (0.00s) === RUN TestOptionsWithEmptyCAs --- PASS: TestOptionsWithEmptyCAs (0.00s) === RUN TestOptionsWithMultipleCAs --- PASS: TestOptionsWithMultipleCAs (0.00s) === RUN TestDiscoverClusterConfig === RUN TestDiscoverClusterConfig/successful_cluster_discovery_with_kube-dns_and_calico === RUN TestDiscoverClusterConfig/coredns_instead_of_kube-dns === RUN TestDiscoverClusterConfig/IPv6_cluster === RUN TestDiscoverClusterConfig/no_DNS_service_found --- PASS: TestDiscoverClusterConfig (0.00s) --- PASS: TestDiscoverClusterConfig/successful_cluster_discovery_with_kube-dns_and_calico (0.00s) --- PASS: TestDiscoverClusterConfig/coredns_instead_of_kube-dns (0.00s) --- PASS: TestDiscoverClusterConfig/IPv6_cluster (0.00s) --- PASS: TestDiscoverClusterConfig/no_DNS_service_found (0.00s) === RUN TestDiscoverDNSClusterIP === RUN TestDiscoverDNSClusterIP/kube-dns_service_found === RUN TestDiscoverDNSClusterIP/coredns_service_found === RUN TestDiscoverDNSClusterIP/DNS_service_with_label_selector === RUN TestDiscoverDNSClusterIP/no_DNS_service_found --- PASS: TestDiscoverDNSClusterIP (0.00s) --- PASS: TestDiscoverDNSClusterIP/kube-dns_service_found (0.00s) --- PASS: TestDiscoverDNSClusterIP/coredns_service_found (0.00s) --- PASS: TestDiscoverDNSClusterIP/DNS_service_with_label_selector (0.00s) --- PASS: TestDiscoverDNSClusterIP/no_DNS_service_found (0.00s) === RUN TestDiscoverClusterCIDR === RUN TestDiscoverClusterCIDR/pod_CIDR_from_node === RUN TestDiscoverClusterCIDR/fallback_to_service_CIDR_discovery === RUN TestDiscoverClusterCIDR/no_nodes_found --- PASS: TestDiscoverClusterCIDR (0.00s) --- PASS: TestDiscoverClusterCIDR/pod_CIDR_from_node (0.00s) --- PASS: TestDiscoverClusterCIDR/fallback_to_service_CIDR_discovery (0.00s) --- PASS: TestDiscoverClusterCIDR/no_nodes_found (0.00s) === RUN TestDiscoverServiceCIDR === RUN TestDiscoverServiceCIDR/standard_IPv4_service_CIDR === RUN TestDiscoverServiceCIDR/custom_IPv4_service_CIDR === RUN TestDiscoverServiceCIDR/IPv6_service_CIDR === RUN TestDiscoverServiceCIDR/fallback_IPv4_service_CIDR --- PASS: TestDiscoverServiceCIDR (0.00s) --- PASS: TestDiscoverServiceCIDR/standard_IPv4_service_CIDR (0.00s) --- PASS: TestDiscoverServiceCIDR/custom_IPv4_service_CIDR (0.00s) --- PASS: TestDiscoverServiceCIDR/IPv6_service_CIDR (0.00s) --- PASS: TestDiscoverServiceCIDR/fallback_IPv4_service_CIDR (0.00s) === RUN TestDetectCNIPlugin === RUN TestDetectCNIPlugin/calico_detected === RUN TestDetectCNIPlugin/cilium_detected === RUN TestDetectCNIPlugin/flannel_detected === RUN TestDetectCNIPlugin/weave_detected === RUN TestDetectCNIPlugin/calico_from_configmap === RUN TestDetectCNIPlugin/unknown_CNI --- PASS: TestDetectCNIPlugin (0.00s) --- PASS: TestDetectCNIPlugin/calico_detected (0.00s) --- PASS: TestDetectCNIPlugin/cilium_detected (0.00s) --- PASS: TestDetectCNIPlugin/flannel_detected (0.00s) --- PASS: TestDetectCNIPlugin/weave_detected (0.00s) --- PASS: TestDetectCNIPlugin/calico_from_configmap (0.00s) --- PASS: TestDetectCNIPlugin/unknown_CNI (0.00s) === RUN TestContainsFunction === RUN TestContainsFunction/exact_match === RUN TestContainsFunction/substring_at_beginning === RUN TestContainsFunction/substring_at_end === RUN TestContainsFunction/substring_in_middle === RUN TestContainsFunction/no_match === RUN TestContainsFunction/empty_substring === RUN TestContainsFunction/empty_string --- PASS: TestContainsFunction (0.00s) --- PASS: TestContainsFunction/exact_match (0.00s) --- PASS: TestContainsFunction/substring_at_beginning (0.00s) --- PASS: TestContainsFunction/substring_at_end (0.00s) --- PASS: TestContainsFunction/substring_in_middle (0.00s) --- PASS: TestContainsFunction/no_match (0.00s) --- PASS: TestContainsFunction/empty_substring (0.00s) --- PASS: TestContainsFunction/empty_string (0.00s) === RUN TestFindSubstring === RUN TestFindSubstring/substring_found === RUN TestFindSubstring/substring_not_found === RUN TestFindSubstring/empty_substring === RUN TestFindSubstring/substring_longer_than_string --- PASS: TestFindSubstring (0.00s) --- PASS: TestFindSubstring/substring_found (0.00s) --- PASS: TestFindSubstring/substring_not_found (0.00s) --- PASS: TestFindSubstring/empty_substring (0.00s) --- PASS: TestFindSubstring/substring_longer_than_string (0.00s) === RUN TestGenerateBootstrapToken === RUN TestGenerateBootstrapToken/successful_token_generation_with_TTL === RUN TestGenerateBootstrapToken/successful_token_generation_without_TTL === RUN TestGenerateBootstrapToken/successful_token_generation_with_short_TTL --- PASS: TestGenerateBootstrapToken (0.00s) --- PASS: TestGenerateBootstrapToken/successful_token_generation_with_TTL (0.00s) --- PASS: TestGenerateBootstrapToken/successful_token_generation_without_TTL (0.00s) --- PASS: TestGenerateBootstrapToken/successful_token_generation_with_short_TTL (0.00s) === RUN TestFindOrCreateBootstrapToken === RUN TestFindOrCreateBootstrapToken/no_existing_tokens_-_create_new === RUN TestFindOrCreateBootstrapToken/valid_existing_token_found === RUN TestFindOrCreateBootstrapToken/expired_token_-_create_new === RUN TestFindOrCreateBootstrapToken/token_expiring_soon_-_create_new === RUN TestFindOrCreateBootstrapToken/invalid_token_type_-_create_new --- PASS: TestFindOrCreateBootstrapToken (0.00s) --- PASS: TestFindOrCreateBootstrapToken/no_existing_tokens_-_create_new (0.00s) --- PASS: TestFindOrCreateBootstrapToken/valid_existing_token_found (0.00s) --- PASS: TestFindOrCreateBootstrapToken/expired_token_-_create_new (0.00s) --- PASS: TestFindOrCreateBootstrapToken/token_expiring_soon_-_create_new (0.00s) --- PASS: TestFindOrCreateBootstrapToken/invalid_token_type_-_create_new (0.00s) === RUN TestGetInternalAPIServerEndpoint === RUN TestGetInternalAPIServerEndpoint/endpoint_from_kubeadm-config === RUN TestGetInternalAPIServerEndpoint/endpoint_from_cluster-info_fallback === RUN TestGetInternalAPIServerEndpoint/invalid_kubeadm-config,_valid_cluster-info === RUN TestGetInternalAPIServerEndpoint/no_config_maps_found_-_should_error --- PASS: TestGetInternalAPIServerEndpoint (0.00s) --- PASS: TestGetInternalAPIServerEndpoint/endpoint_from_kubeadm-config (0.00s) --- PASS: TestGetInternalAPIServerEndpoint/endpoint_from_cluster-info_fallback (0.00s) --- PASS: TestGetInternalAPIServerEndpoint/invalid_kubeadm-config,_valid_cluster-info (0.00s) --- PASS: TestGetInternalAPIServerEndpoint/no_config_maps_found_-_should_error (0.00s) === RUN TestParseKubeadmConfigEndpoint === RUN TestParseKubeadmConfigEndpoint/valid_kubeadm_config === RUN TestParseKubeadmConfigEndpoint/kubeadm_config_with_spaces === RUN TestParseKubeadmConfigEndpoint/kubeadm_config_with_IP_address === RUN TestParseKubeadmConfigEndpoint/empty_config === RUN TestParseKubeadmConfigEndpoint/config_without_controlPlaneEndpoint === RUN TestParseKubeadmConfigEndpoint/malformed_controlPlaneEndpoint_line --- PASS: TestParseKubeadmConfigEndpoint (0.00s) --- PASS: TestParseKubeadmConfigEndpoint/valid_kubeadm_config (0.00s) --- PASS: TestParseKubeadmConfigEndpoint/kubeadm_config_with_spaces (0.00s) --- PASS: TestParseKubeadmConfigEndpoint/kubeadm_config_with_IP_address (0.00s) --- PASS: TestParseKubeadmConfigEndpoint/empty_config (0.00s) --- PASS: TestParseKubeadmConfigEndpoint/config_without_controlPlaneEndpoint (0.00s) --- PASS: TestParseKubeadmConfigEndpoint/malformed_controlPlaneEndpoint_line (0.00s) === RUN TestParseClusterInfoEndpoint === RUN TestParseClusterInfoEndpoint/valid_kubeconfig === RUN TestParseClusterInfoEndpoint/kubeconfig_with_spaces === RUN TestParseClusterInfoEndpoint/kubeconfig_with_IP === RUN TestParseClusterInfoEndpoint/empty_kubeconfig === RUN TestParseClusterInfoEndpoint/kubeconfig_without_server === RUN TestParseClusterInfoEndpoint/kubeconfig_with_empty_server --- PASS: TestParseClusterInfoEndpoint (0.00s) --- PASS: TestParseClusterInfoEndpoint/valid_kubeconfig (0.00s) --- PASS: TestParseClusterInfoEndpoint/kubeconfig_with_spaces (0.00s) --- PASS: TestParseClusterInfoEndpoint/kubeconfig_with_IP (0.00s) --- PASS: TestParseClusterInfoEndpoint/empty_kubeconfig (0.00s) --- PASS: TestParseClusterInfoEndpoint/kubeconfig_without_server (0.00s) --- PASS: TestParseClusterInfoEndpoint/kubeconfig_with_empty_server (0.00s) === RUN TestGenerateRandomString === RUN TestGenerateRandomString/6_character_string === RUN TestGenerateRandomString/16_character_string === RUN TestGenerateRandomString/odd_length_string === RUN TestGenerateRandomString/single_character --- PASS: TestGenerateRandomString (0.00s) --- PASS: TestGenerateRandomString/6_character_string (0.00s) --- PASS: TestGenerateRandomString/16_character_string (0.00s) --- PASS: TestGenerateRandomString/odd_length_string (0.00s) --- PASS: TestGenerateRandomString/single_character (0.00s) === RUN TestGenerateRandomStringEdgeCases === RUN TestGenerateRandomStringEdgeCases/zero_length === RUN TestGenerateRandomStringEdgeCases/very_long_string --- PASS: TestGenerateRandomStringEdgeCases (0.00s) --- PASS: TestGenerateRandomStringEdgeCases/zero_length (0.00s) --- PASS: TestGenerateRandomStringEdgeCases/very_long_string (0.00s) === RUN TestBootstrapTokenIntegration === RUN TestBootstrapTokenIntegration/end-to-end_token_lifecycle --- PASS: TestBootstrapTokenIntegration (0.00s) --- PASS: TestBootstrapTokenIntegration/end-to-end_token_lifecycle (0.00s) PASS ok github.com/kubernetes-sigs/karpenter-provider-ibm-cloud/pkg/providers/common/types 1.089s