Skip to content

Instantly share code, notes, and snippets.

@michaelgugino
Created June 18, 2020 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelgugino/1458afdc19badc9d4d587367098417c3 to your computer and use it in GitHub Desktop.
Save michaelgugino/1458afdc19badc9d4d587367098417c3 to your computer and use it in GitHub Desktop.
=== RUN TestStorageMachine
--- PASS: TestStorageMachine (0.04s)
=== RUN TestRoundTripMachine
--- PASS: TestRoundTripMachine (0.86s)
=== RUN TestMachineCreation
=== RUN TestMachineCreation/with_AWS_and_a_nil_provider_spec_value
Starting runnable 986112c5-fa99-4a4d-8a9e-9c37034185f3
=== RUN TestMachineCreation/with_AWS_and_no_fields_set
finished runnable 986112c5-fa99-4a4d-8a9e-9c37034185f3
Starting runnable 18caa06b-9bd6-468a-9332-10a70c6bbcc6
=== RUN TestMachineCreation/with_AWS_and_an_AMI_ID_set
finished runnable 18caa06b-9bd6-468a-9332-10a70c6bbcc6
Starting runnable 58bfe2a5-f637-4d0a-8c0d-cec9c59956f0
=== RUN TestMachineCreation/with_Azure_and_a_nil_provider_spec_value
finished runnable 58bfe2a5-f637-4d0a-8c0d-cec9c59956f0
Starting runnable 47ce4b29-42d3-4c67-bc85-6a184d54ec58
=== RUN TestMachineCreation/with_Azure_and_no_fields_set
finished runnable 47ce4b29-42d3-4c67-bc85-6a184d54ec58
Starting runnable 985ad287-9ab0-4666-b1b1-87e5b3462832
=== RUN TestMachineCreation/with_Azure_and_a_location_and_disk_size_set
finished runnable 985ad287-9ab0-4666-b1b1-87e5b3462832
Starting runnable 23cd972c-1e62-4efa-9f42-66b386d56098
=== RUN TestMachineCreation/with_GCP_and_a_nil_provider_spec_value
finished runnable 23cd972c-1e62-4efa-9f42-66b386d56098
Starting runnable 73e390a3-59a0-48c2-b720-609e7301a59a
=== RUN TestMachineCreation/with_GCP_and_no_fields_set
finished runnable 73e390a3-59a0-48c2-b720-609e7301a59a
Starting runnable bbc9e9e6-0246-4264-b99f-f5a2d48ddfd9
=== RUN TestMachineCreation/with_GCP_and_the_region_and_zone_set
finished runnable bbc9e9e6-0246-4264-b99f-f5a2d48ddfd9
Starting runnable 4096d05f-d0e2-41ba-b483-2f54383d6281
finished runnable 4096d05f-d0e2-41ba-b483-2f54383d6281
--- PASS: TestMachineCreation (0.32s)
--- PASS: TestMachineCreation/with_AWS_and_a_nil_provider_spec_value (0.03s)
--- PASS: TestMachineCreation/with_AWS_and_no_fields_set (0.06s)
--- PASS: TestMachineCreation/with_AWS_and_an_AMI_ID_set (0.04s)
--- PASS: TestMachineCreation/with_Azure_and_a_nil_provider_spec_value (0.03s)
--- PASS: TestMachineCreation/with_Azure_and_no_fields_set (0.03s)
--- PASS: TestMachineCreation/with_Azure_and_a_location_and_disk_size_set (0.03s)
--- PASS: TestMachineCreation/with_GCP_and_a_nil_provider_spec_value (0.03s)
--- PASS: TestMachineCreation/with_GCP_and_no_fields_set (0.03s)
--- PASS: TestMachineCreation/with_GCP_and_the_region_and_zone_set (0.03s)
=== RUN TestMachineUpdate
=== RUN TestMachineUpdate/with_a_valid_AWS_ProviderSpec
Starting runnable 89af600b-6dd9-4ecf-b8ad-105eaee9ae28
=== RUN TestMachineUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_type
finished runnable 89af600b-6dd9-4ecf-b8ad-105eaee9ae28
Starting runnable eaad5e72-9f88-437a-ac81-2514e3674bdf
=== RUN TestMachineUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_profile
finished runnable eaad5e72-9f88-437a-ac81-2514e3674bdf
Starting runnable bac2b175-0700-4527-86f8-ec48ab0eaaef
=== RUN TestMachineUpdate/with_an_AWS_ProviderSpec,_removing_the_user_data_secret
finished runnable bac2b175-0700-4527-86f8-ec48ab0eaaef
Starting runnable 48cdcd7f-d78e-48f7-903f-ffc0e1ac0c91
=== RUN TestMachineUpdate/with_a_valid_Azure_ProviderSpec
finished runnable 48cdcd7f-d78e-48f7-903f-ffc0e1ac0c91
Starting runnable 7d28c1aa-1009-4981-a912-5125566953ba
=== RUN TestMachineUpdate/with_an_Azure_ProviderSpec,_removing_the_vm_size
finished runnable 7d28c1aa-1009-4981-a912-5125566953ba
Starting runnable 22ed13ac-6789-4e20-8f77-ae0062b34870
=== RUN TestMachineUpdate/with_an_Azure_ProviderSpec,_removing_the_subnet
finished runnable 22ed13ac-6789-4e20-8f77-ae0062b34870
Starting runnable b8a4a079-da65-47a7-bc66-d915171af359
=== RUN TestMachineUpdate/with_an_Azure_ProviderSpec,_removing_the_credentials_secret
finished runnable b8a4a079-da65-47a7-bc66-d915171af359
Starting runnable 5aee8782-1246-45a2-89dd-23d0da708e87
=== RUN TestMachineUpdate/with_a_valid_GCP_ProviderSpec
finished runnable 5aee8782-1246-45a2-89dd-23d0da708e87
Starting runnable 690e68d9-a3bd-4bad-a2f2-131826be76bb
=== RUN TestMachineUpdate/with_a_GCP_ProviderSpec,_removing_the_region
finished runnable 690e68d9-a3bd-4bad-a2f2-131826be76bb
Starting runnable 8b2ac9c1-c06f-4fc0-b802-2ead7265bcd3
=== RUN TestMachineUpdate/with_a_GCP_ProviderSpec,_and_an_invalid_region
finished runnable 8b2ac9c1-c06f-4fc0-b802-2ead7265bcd3
Starting runnable 808aba95-8efe-40ee-8b6f-d36b488c9717
=== RUN TestMachineUpdate/with_a_GCP_ProviderSpec,_removing_the_disks
finished runnable 808aba95-8efe-40ee-8b6f-d36b488c9717
Starting runnable 5bc60611-05f9-4bb9-b1a9-038832e2ab7e
=== RUN TestMachineUpdate/with_a_GCP_ProviderSpec,_removing_the_service_accounts
finished runnable 5bc60611-05f9-4bb9-b1a9-038832e2ab7e
Starting runnable 49126896-5e87-499f-a67a-ee3a2e5ccb57
finished runnable 49126896-5e87-499f-a67a-ee3a2e5ccb57
--- PASS: TestMachineUpdate (0.49s)
--- PASS: TestMachineUpdate/with_a_valid_AWS_ProviderSpec (0.04s)
--- PASS: TestMachineUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_type (0.04s)
--- PASS: TestMachineUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_profile (0.04s)
--- PASS: TestMachineUpdate/with_an_AWS_ProviderSpec,_removing_the_user_data_secret (0.04s)
--- PASS: TestMachineUpdate/with_a_valid_Azure_ProviderSpec (0.04s)
--- PASS: TestMachineUpdate/with_an_Azure_ProviderSpec,_removing_the_vm_size (0.06s)
--- PASS: TestMachineUpdate/with_an_Azure_ProviderSpec,_removing_the_subnet (0.04s)
--- PASS: TestMachineUpdate/with_an_Azure_ProviderSpec,_removing_the_credentials_secret (0.04s)
--- PASS: TestMachineUpdate/with_a_valid_GCP_ProviderSpec (0.03s)
--- PASS: TestMachineUpdate/with_a_GCP_ProviderSpec,_removing_the_region (0.04s)
--- PASS: TestMachineUpdate/with_a_GCP_ProviderSpec,_and_an_invalid_region (0.04s)
--- PASS: TestMachineUpdate/with_a_GCP_ProviderSpec,_removing_the_disks (0.04s)
--- PASS: TestMachineUpdate/with_a_GCP_ProviderSpec,_removing_the_service_accounts (0.04s)
=== RUN TestValidateAWSProviderSpec
=== RUN TestValidateAWSProviderSpec/with_no_ami_values_it_fails
=== RUN TestValidateAWSProviderSpec/with_no_instanceType_it_fails
=== RUN TestValidateAWSProviderSpec/with_no_iam_instance_profile_it_fails
=== RUN TestValidateAWSProviderSpec/with_no_user_data_secret_it_fails
=== RUN TestValidateAWSProviderSpec/with_no_credentials_secret_it_fails
=== RUN TestValidateAWSProviderSpec/with_no_security_groups_it_fails
=== RUN TestValidateAWSProviderSpec/with_no_subnet_values_it_fails
=== RUN TestValidateAWSProviderSpec/with_all_required_values_it_succeeds
--- PASS: TestValidateAWSProviderSpec (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_no_ami_values_it_fails (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_no_instanceType_it_fails (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_no_iam_instance_profile_it_fails (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_no_user_data_secret_it_fails (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_no_credentials_secret_it_fails (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_no_security_groups_it_fails (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_no_subnet_values_it_fails (0.00s)
--- PASS: TestValidateAWSProviderSpec/with_all_required_values_it_succeeds (0.00s)
=== RUN TestDefaultAWSProviderSpec
=== RUN TestDefaultAWSProviderSpec/it_defaults_InstanceType,_IAMInstanceProfile,_UserDataSecret,_CredentialsSecret,_SecurityGroups_and_Subnet
--- PASS: TestDefaultAWSProviderSpec (0.00s)
--- PASS: TestDefaultAWSProviderSpec/it_defaults_InstanceType,_IAMInstanceProfile,_UserDataSecret,_CredentialsSecret,_SecurityGroups_and_Subnet (0.00s)
=== RUN TestValidateAzureProviderSpec
=== RUN TestValidateAzureProviderSpec/with_no_location_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_vmsize_it_fails
=== RUN TestValidateAzureProviderSpec/with_a_vnet_but_no_subnet_it_fails
=== RUN TestValidateAzureProviderSpec/with_a_subnet_but_no_vnet_it_fails
=== RUN TestValidateAzureProviderSpec/with_a_vnet_and_subnet_but_no_resource_group_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_image_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_managed_identity_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_resource_group_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_user_data_secret_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_user_data_secret_name_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_credentials_secret_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_credentials_secret_namespace_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_credentials_secret_name_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_os_disk_size_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_os_disk_type_it_fails
=== RUN TestValidateAzureProviderSpec/with_no_os_disk_storage_account_type_it_fails
=== RUN TestValidateAzureProviderSpec/with_all_required_fields_it_succeeds
--- PASS: TestValidateAzureProviderSpec (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_location_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_vmsize_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_a_vnet_but_no_subnet_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_a_subnet_but_no_vnet_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_a_vnet_and_subnet_but_no_resource_group_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_image_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_managed_identity_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_resource_group_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_user_data_secret_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_user_data_secret_name_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_credentials_secret_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_credentials_secret_namespace_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_credentials_secret_name_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_os_disk_size_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_os_disk_type_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_no_os_disk_storage_account_type_it_fails (0.00s)
--- PASS: TestValidateAzureProviderSpec/with_all_required_fields_it_succeeds (0.00s)
=== RUN TestDefaultAzureProviderSpec
=== RUN TestDefaultAzureProviderSpec/it_defaults_defaultable_fields
=== RUN TestDefaultAzureProviderSpec/does_not_overwrite_the_network_resource_group_if_it_already_exists
=== RUN TestDefaultAzureProviderSpec/does_not_overwrite_the_credentials_secret_namespace_if_they_already_exist
=== RUN TestDefaultAzureProviderSpec/does_not_overwrite_the_secret_names_if_they_already_exist
--- PASS: TestDefaultAzureProviderSpec (0.00s)
--- PASS: TestDefaultAzureProviderSpec/it_defaults_defaultable_fields (0.00s)
--- PASS: TestDefaultAzureProviderSpec/does_not_overwrite_the_network_resource_group_if_it_already_exists (0.00s)
--- PASS: TestDefaultAzureProviderSpec/does_not_overwrite_the_credentials_secret_namespace_if_they_already_exist (0.00s)
--- PASS: TestDefaultAzureProviderSpec/does_not_overwrite_the_secret_names_if_they_already_exist (0.00s)
=== RUN TestValidateGCPProviderSpec
=== RUN TestValidateGCPProviderSpec/with_no_region
=== RUN TestValidateGCPProviderSpec/with_no_zone
=== RUN TestValidateGCPProviderSpec/with_an_invalid_zone
=== RUN TestValidateGCPProviderSpec/with_no_machine_type
=== RUN TestValidateGCPProviderSpec/with_no_network_interfaces
=== RUN TestValidateGCPProviderSpec/with_a_network_interfaces_is_missing_the_network
=== RUN TestValidateGCPProviderSpec/with_a_network_interfaces_is_missing_the_subnetwork
=== RUN TestValidateGCPProviderSpec/with_no_disks
=== RUN TestValidateGCPProviderSpec/with_a_disk_that_is_too_small
=== RUN TestValidateGCPProviderSpec/with_a_disk_that_is_too_large
=== RUN TestValidateGCPProviderSpec/with_a_disk_type_that_is_not_supported
=== RUN TestValidateGCPProviderSpec/with_multiple_service_accounts
=== RUN TestValidateGCPProviderSpec/with_the_service_account's_email_missing
=== RUN TestValidateGCPProviderSpec/with_the_service_account's_with_no_scopes
=== RUN TestValidateGCPProviderSpec/with_no_user_data_secret
=== RUN TestValidateGCPProviderSpec/with_no_user_data_secret_name
=== RUN TestValidateGCPProviderSpec/with_no_credentials_data_secret
=== RUN TestValidateGCPProviderSpec/with_no_user_data_secret_name#01
=== RUN TestValidateGCPProviderSpec/with_all_required_fields_it_succeeds
--- PASS: TestValidateGCPProviderSpec (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_region (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_zone (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_an_invalid_zone (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_machine_type (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_network_interfaces (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_a_network_interfaces_is_missing_the_network (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_a_network_interfaces_is_missing_the_subnetwork (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_disks (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_a_disk_that_is_too_small (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_a_disk_that_is_too_large (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_a_disk_type_that_is_not_supported (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_multiple_service_accounts (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_the_service_account's_email_missing (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_the_service_account's_with_no_scopes (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_user_data_secret (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_user_data_secret_name (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_credentials_data_secret (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_no_user_data_secret_name#01 (0.00s)
--- PASS: TestValidateGCPProviderSpec/with_all_required_fields_it_succeeds (0.00s)
=== RUN TestDefaultGCPProviderSpec
=== RUN TestDefaultGCPProviderSpec/it_defaults_defaultable_fields
=== RUN TestDefaultGCPProviderSpec/it_does_not_overwrite_disks_which_already_have_fields_set
--- PASS: TestDefaultGCPProviderSpec (0.00s)
--- PASS: TestDefaultGCPProviderSpec/it_defaults_defaultable_fields (0.00s)
--- PASS: TestDefaultGCPProviderSpec/it_does_not_overwrite_disks_which_already_have_fields_set (0.00s)
=== RUN TestStorageMachineSet
Starting runnable b4656ddf-2ab2-4e34-b8ba-663dbd78af71
finished runnable b4656ddf-2ab2-4e34-b8ba-663dbd78af71
--- PASS: TestStorageMachineSet (0.16s)
=== RUN TestDefaults
2020/06/18 14:07:59 Defaulting fields for MachineSet foo
2020/06/18 14:07:59 Defaulting to Random
--- PASS: TestDefaults (0.00s)
=== RUN TestRoundTripMachineSet
--- PASS: TestRoundTripMachineSet (0.79s)
=== RUN TestMachineSetCreation
=== RUN TestMachineSetCreation/with_AWS_and_a_nil_provider_spec_value
Starting runnable e20a4445-31e8-423c-a19f-fc69fadcb426
finished runnable e20a4445-31e8-423c-a19f-fc69fadcb426
=== RUN TestMachineSetCreation/with_AWS_and_no_fields_set
Starting runnable c0d1f1fd-9326-4be3-921b-e1a3389bb2a2
finished runnable c0d1f1fd-9326-4be3-921b-e1a3389bb2a2
=== RUN TestMachineSetCreation/with_AWS_and_an_AMI_ID_set
Starting runnable a06d604b-6e38-4fd9-96aa-9fa0200c3ebe
finished runnable a06d604b-6e38-4fd9-96aa-9fa0200c3ebe
=== RUN TestMachineSetCreation/with_Azure_and_a_nil_provider_spec_value
Starting runnable 6af37ad6-5125-4c34-89f8-255bf529be21
finished runnable 6af37ad6-5125-4c34-89f8-255bf529be21
=== RUN TestMachineSetCreation/with_Azure_and_no_fields_set
Starting runnable 24c34d8e-dcc8-4e57-882b-21c1d726f895
finished runnable 24c34d8e-dcc8-4e57-882b-21c1d726f895
=== RUN TestMachineSetCreation/with_Azure_and_a_location_and_disk_size_set
Starting runnable 68de64c9-5b05-4b3d-ad52-02879ade8f30
finished runnable 68de64c9-5b05-4b3d-ad52-02879ade8f30
=== RUN TestMachineSetCreation/with_GCP_and_a_nil_provider_spec_value
Starting runnable 09d4345c-b510-4e3e-b61d-b3164344d0dd
finished runnable 09d4345c-b510-4e3e-b61d-b3164344d0dd
=== RUN TestMachineSetCreation/with_GCP_and_no_fields_set
Starting runnable 5e9cb9dc-a169-4058-84ef-4ae625242661
finished runnable 5e9cb9dc-a169-4058-84ef-4ae625242661
=== RUN TestMachineSetCreation/with_GCP_and_the_region_and_zone_set
Starting runnable 351180e1-c065-43b9-86d9-46cca4b0af1f
finished runnable 351180e1-c065-43b9-86d9-46cca4b0af1f
--- PASS: TestMachineSetCreation (1.49s)
--- PASS: TestMachineSetCreation/with_AWS_and_a_nil_provider_spec_value (0.13s)
--- PASS: TestMachineSetCreation/with_AWS_and_no_fields_set (0.16s)
--- PASS: TestMachineSetCreation/with_AWS_and_an_AMI_ID_set (0.18s)
--- PASS: TestMachineSetCreation/with_Azure_and_a_nil_provider_spec_value (0.15s)
--- PASS: TestMachineSetCreation/with_Azure_and_no_fields_set (0.17s)
--- PASS: TestMachineSetCreation/with_Azure_and_a_location_and_disk_size_set (0.18s)
--- PASS: TestMachineSetCreation/with_GCP_and_a_nil_provider_spec_value (0.16s)
--- PASS: TestMachineSetCreation/with_GCP_and_no_fields_set (0.17s)
--- PASS: TestMachineSetCreation/with_GCP_and_the_region_and_zone_set (0.18s)
=== RUN TestMachineSetUpdate
=== RUN TestMachineSetUpdate/with_a_valid_AWS_ProviderSpec
Starting runnable f4da46ad-06c4-4fa5-9b32-8ba9f99a3b3e
finished runnable f4da46ad-06c4-4fa5-9b32-8ba9f99a3b3e
=== RUN TestMachineSetUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_type
Starting runnable b06e2144-0af4-4678-bb17-ecd8b81949a9
=== RUN TestMachineSetUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_profile
Starting runnable a783432c-71e2-4b6f-9d53-fb49f670e31b
=== RUN TestMachineSetUpdate/with_an_AWS_ProviderSpec,_removing_the_user_data_secret
Starting runnable bb0fac27-58e0-4038-bce7-3b0a208a6dd9
finished runnable b06e2144-0af4-4678-bb17-ecd8b81949a9
=== RUN TestMachineSetUpdate/with_a_valid_Azure_ProviderSpec
Starting runnable 5c95328f-9041-44ee-84b3-4f5a715db621
finished runnable 5c95328f-9041-44ee-84b3-4f5a715db621
=== RUN TestMachineSetUpdate/with_an_Azure_ProviderSpec,_removing_the_vm_size
Starting runnable 241513c9-3835-4c6d-b649-a63ba0812015
finished runnable a783432c-71e2-4b6f-9d53-fb49f670e31b
=== RUN TestMachineSetUpdate/with_an_Azure_ProviderSpec,_removing_the_subnet
Starting runnable a3d21073-18a3-41ab-badb-ed47ac4dd467
finished runnable bb0fac27-58e0-4038-bce7-3b0a208a6dd9
finished runnable a3d21073-18a3-41ab-badb-ed47ac4dd467
=== RUN TestMachineSetUpdate/with_an_Azure_ProviderSpec,_removing_the_credentials_secret
Starting runnable 5a7f22ab-8296-430f-a722-e0b406e80479
finished runnable 241513c9-3835-4c6d-b649-a63ba0812015
=== RUN TestMachineSetUpdate/with_a_valid_GCP_ProviderSpec
Starting runnable e13b31de-8d2a-4fec-b13f-5ed7db7ddecb
finished runnable e13b31de-8d2a-4fec-b13f-5ed7db7ddecb
=== RUN TestMachineSetUpdate/with_a_GCP_ProviderSpec,_removing_the_region
Starting runnable 93c1c702-b855-4a62-86aa-e17bfaa7fea7
=== RUN TestMachineSetUpdate/with_a_GCP_ProviderSpec,_and_an_invalid_region
Starting runnable 04762d8c-3429-46ab-b961-f7a31499b35a
finished runnable 5a7f22ab-8296-430f-a722-e0b406e80479
finished runnable 04762d8c-3429-46ab-b961-f7a31499b35a
=== RUN TestMachineSetUpdate/with_a_GCP_ProviderSpec,_removing_the_disks
Starting runnable bd618457-e8f2-46e7-b5b7-874061d2d199
finished runnable 93c1c702-b855-4a62-86aa-e17bfaa7fea7
=== RUN TestMachineSetUpdate/with_a_GCP_ProviderSpec,_removing_the_service_accounts
Starting runnable 64831609-e5f3-4886-8efc-5dc7d30203b9
--- FAIL: TestMachineSetUpdate (2.52s)
--- PASS: TestMachineSetUpdate/with_a_valid_AWS_ProviderSpec (0.19s)
--- PASS: TestMachineSetUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_type (0.20s)
--- PASS: TestMachineSetUpdate/with_an_AWS_ProviderSpec,_removing_the_instance_profile (0.21s)
--- PASS: TestMachineSetUpdate/with_an_AWS_ProviderSpec,_removing_the_user_data_secret (0.19s)
--- FAIL: TestMachineSetUpdate/with_a_valid_Azure_ProviderSpec (0.16s)
machineset_webhook_test.go:610:
Unexpected error:
<*errors.StatusError | 0xc0001c2280>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "admission webhook \"default.machineset.machine.openshift.io\" denied the request: providerSpec.value: Invalid value: v1beta1.AWSMachineProviderConfig{TypeMeta:v1.TypeMeta{Kind:\"\", APIVersion:\"\"}, ObjectMeta:v1.ObjectMeta{Name:\"\", GenerateName:\"\", Namespace:\"\", SelfLink:\"\", UID:\"\", ResourceVersion:\"\", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:\"\", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, AMI:v1beta1.AWSResourceReference{ID:(*string)(nil), ARN:(*string)(nil), Filters:[]v1beta1.Filter(nil)}, InstanceType:\"\", Tags:[]v1beta1.TagSpecification(nil), IAMInstanceProfile:(*v1beta1.AWSResourceReference)(nil), UserDataSecret:(*v1.LocalObjectReference)(0xc000606e10), CredentialsSecret:(*v1.LocalObjectReference)(0xc000606e20), KeyName:(*string)(nil), DeviceIndex:0, PublicIP:(*bool)(0xc000ab52b8), SecurityGroups:[]v1beta1.AWSResourceReference(nil), Subnet:v1beta1.AWSResourceReference{ID:(*string)(nil), ARN:(*string)(nil), Filters:[]v1beta1.Filter(nil)}, Placement:v1beta1.Placement{Region:\"\", AvailabilityZone:\"\"}, LoadBalancers:[]v1beta1.LoadBalancerReference(nil), BlockDevices:[]v1beta1.BlockDeviceMappingSpec(nil), SpotMarketOptions:(*v1beta1.SpotMarketOptions)(nil)}: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field AWSMachineProviderConfig.subnet of type v1beta1.AWSResourceReference",
Reason: "providerSpec.value: Invalid value: v1beta1.AWSMachineProviderConfig{TypeMeta:v1.TypeMeta{Kind:\"\", APIVersion:\"\"}, ObjectMeta:v1.ObjectMeta{Name:\"\", GenerateName:\"\", Namespace:\"\", SelfLink:\"\", UID:\"\", ResourceVersion:\"\", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:\"\", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, AMI:v1beta1.AWSResourceReference{ID:(*string)(nil), ARN:(*string)(nil), Filters:[]v1beta1.Filter(nil)}, InstanceType:\"\", Tags:[]v1beta1.TagSpecification(nil), IAMInstanceProfile:(*v1beta1.AWSResourceReference)(nil), UserDataSecret:(*v1.LocalObjectReference)(0xc000606e10), CredentialsSecret:(*v1.LocalObjectReference)(0xc000606e20), KeyName:(*string)(nil), DeviceIndex:0, PublicIP:(*bool)(0xc000ab52b8), SecurityGroups:[]v1beta1.AWSResourceReference(nil), Subnet:v1beta1.AWSResourceReference{ID:(*string)(nil), ARN:(*string)(nil), Filters:[]v1beta1.Filter(nil)}, Placement:v1beta1.Placement{Region:\"\", AvailabilityZone:\"\"}, LoadBalancers:[]v1beta1.LoadBalancerReference(nil), BlockDevices:[]v1beta1.BlockDeviceMappingSpec(nil), SpotMarketOptions:(*v1beta1.SpotMarketOptions)(nil)}: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field AWSMachineProviderConfig.subnet of type v1beta1.AWSResourceReference",
Details: nil,
Code: 403,
},
}
admission webhook "default.machineset.machine.openshift.io" denied the request: providerSpec.value: Invalid value: v1beta1.AWSMachineProviderConfig{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, AMI:v1beta1.AWSResourceReference{ID:(*string)(nil), ARN:(*string)(nil), Filters:[]v1beta1.Filter(nil)}, InstanceType:"", Tags:[]v1beta1.TagSpecification(nil), IAMInstanceProfile:(*v1beta1.AWSResourceReference)(nil), UserDataSecret:(*v1.LocalObjectReference)(0xc000606e10), CredentialsSecret:(*v1.LocalObjectReference)(0xc000606e20), KeyName:(*string)(nil), DeviceIndex:0, PublicIP:(*bool)(0xc000ab52b8), SecurityGroups:[]v1beta1.AWSResourceReference(nil), Subnet:v1beta1.AWSResourceReference{ID:(*string)(nil), ARN:(*string)(nil), Filters:[]v1beta1.Filter(nil)}, Placement:v1beta1.Placement{Region:"", AvailabilityZone:""}, LoadBalancers:[]v1beta1.LoadBalancerReference(nil), BlockDevices:[]v1beta1.BlockDeviceMappingSpec(nil), SpotMarketOptions:(*v1beta1.SpotMarketOptions)(nil)}: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field AWSMachineProviderConfig.subnet of type v1beta1.AWSResourceReference
occurred
--- PASS: TestMachineSetUpdate/with_an_Azure_ProviderSpec,_removing_the_vm_size (0.20s)
--- PASS: TestMachineSetUpdate/with_an_Azure_ProviderSpec,_removing_the_subnet (0.20s)
--- PASS: TestMachineSetUpdate/with_an_Azure_ProviderSpec,_removing_the_credentials_secret (0.20s)
--- FAIL: TestMachineSetUpdate/with_a_valid_GCP_ProviderSpec (0.15s)
machineset_webhook_test.go:610:
Unexpected error:
<*errors.StatusError | 0xc000c98640>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "admission webhook \"default.machineset.machine.openshift.io\" denied the request: providerSpec.value: Invalid value: v1beta1.AzureMachineProviderSpec{TypeMeta:v1.TypeMeta{Kind:\"\", APIVersion:\"\"}, ObjectMeta:v1.ObjectMeta{Name:\"\", GenerateName:\"\", Namespace:\"\", SelfLink:\"\", UID:\"\", ResourceVersion:\"\", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:\"\", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, UserDataSecret:(*v1.SecretReference)(0xc000011360), CredentialsSecret:(*v1.SecretReference)(0xc0000113c0), Location:\"\", VMSize:\"\", Image:v1beta1.Image{Publisher:\"\", Offer:\"\", SKU:\"\", Version:\"\", ResourceID:\"\"}, OSDisk:v1beta1.OSDisk{OSType:\"\", ManagedDisk:v1beta1.ManagedDisk{StorageAccountType:\"\"}, DiskSizeGB:0}, SSHPublicKey:\"\", PublicIP:false, Tags:map[string]string(nil), SecurityGroup:\"\", ApplicationSecurityGroups:[]string(nil), Subnet:\"\", PublicLoadBalancer:\"\", InternalLoadBalancer:\"\", NatRule:(*int)(nil), ManagedIdentity:\"\", Vnet:\"\", Zone:(*string)(0xc000649840), NetworkResourceGroup:\"\", ResourceGroup:\"\"}: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field AzureMachineProviderSpec.tags of type map[string]string",
Reason: "providerSpec.value: Invalid value: v1beta1.AzureMachineProviderSpec{TypeMeta:v1.TypeMeta{Kind:\"\", APIVersion:\"\"}, ObjectMeta:v1.ObjectMeta{Name:\"\", GenerateName:\"\", Namespace:\"\", SelfLink:\"\", UID:\"\", ResourceVersion:\"\", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:\"\", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, UserDataSecret:(*v1.SecretReference)(0xc000011360), CredentialsSecret:(*v1.SecretReference)(0xc0000113c0), Location:\"\", VMSize:\"\", Image:v1beta1.Image{Publisher:\"\", Offer:\"\", SKU:\"\", Version:\"\", ResourceID:\"\"}, OSDisk:v1beta1.OSDisk{OSType:\"\", ManagedDisk:v1beta1.ManagedDisk{StorageAccountType:\"\"}, DiskSizeGB:0}, SSHPublicKey:\"\", PublicIP:false, Tags:map[string]string(nil), SecurityGroup:\"\", ApplicationSecurityGroups:[]string(nil), Subnet:\"\", PublicLoadBalancer:\"\", InternalLoadBalancer:\"\", NatRule:(*int)(nil), ManagedIdentity:\"\", Vnet:\"\", Zone:(*string)(0xc000649840), NetworkResourceGroup:\"\", ResourceGroup:\"\"}: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field AzureMachineProviderSpec.tags of type map[string]string",
Details: nil,
Code: 403,
},
}
admission webhook "default.machineset.machine.openshift.io" denied the request: providerSpec.value: Invalid value: v1beta1.AzureMachineProviderSpec{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, UserDataSecret:(*v1.SecretReference)(0xc000011360), CredentialsSecret:(*v1.SecretReference)(0xc0000113c0), Location:"", VMSize:"", Image:v1beta1.Image{Publisher:"", Offer:"", SKU:"", Version:"", ResourceID:""}, OSDisk:v1beta1.OSDisk{OSType:"", ManagedDisk:v1beta1.ManagedDisk{StorageAccountType:""}, DiskSizeGB:0}, SSHPublicKey:"", PublicIP:false, Tags:map[string]string(nil), SecurityGroup:"", ApplicationSecurityGroups:[]string(nil), Subnet:"", PublicLoadBalancer:"", InternalLoadBalancer:"", NatRule:(*int)(nil), ManagedIdentity:"", Vnet:"", Zone:(*string)(0xc000649840), NetworkResourceGroup:"", ResourceGroup:""}: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field AzureMachineProviderSpec.tags of type map[string]string
occurred
--- PASS: TestMachineSetUpdate/with_a_GCP_ProviderSpec,_removing_the_region (0.21s)
--- PASS: TestMachineSetUpdate/with_a_GCP_ProviderSpec,_and_an_invalid_region (0.21s)
--- PASS: TestMachineSetUpdate/with_a_GCP_ProviderSpec,_removing_the_disks (0.20s)
--- PASS: TestMachineSetUpdate/with_a_GCP_ProviderSpec,_removing_the_service_accounts (0.19s)
=== RUN TestCPMachineSetDelete
=== RUN TestCPMachineSetDelete/is_not_CP_MachineSet
Starting runnable f1a4f7b3-8813-47c7-8f6a-77fe40e5eeb3
finished runnable f1a4f7b3-8813-47c7-8f6a-77fe40e5eeb3
=== RUN TestCPMachineSetDelete/is_not_CP_MachineSet,_no_labels
Starting runnable 3e9558f1-0196-4eee-84f2-94b48bb7ac18
finished runnable 3e9558f1-0196-4eee-84f2-94b48bb7ac18
finished runnable bd618457-e8f2-46e7-b5b7-874061d2d199
=== RUN TestCPMachineSetDelete/is_CP_MachineSet
Starting runnable b24896db-8e6e-4b14-b92a-9dedb4411716
finished runnable 64831609-e5f3-4886-8efc-5dc7d30203b9
--- FAIL: TestCPMachineSetDelete (0.48s)
--- FAIL: TestCPMachineSetDelete/is_not_CP_MachineSet (0.14s)
machineset_webhook_test.go:719:
Expected success, but got an error:
<*errors.StatusError | 0xc000270aa0>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "admission webhook \"default.machineset.machine.openshift.io\" denied the request: providerSpec.value: Required value: a value must be provided",
Reason: "providerSpec.value: Required value: a value must be provided",
Details: nil,
Code: 403,
},
}
admission webhook "default.machineset.machine.openshift.io" denied the request: providerSpec.value: Required value: a value must be provided
--- PASS: TestCPMachineSetDelete/is_not_CP_MachineSet,_no_labels (0.16s)
--- PASS: TestCPMachineSetDelete/is_CP_MachineSet (0.17s)
FAIL
FAIL github.com/openshift/machine-api-operator/pkg/apis/machine/v1beta1 13.841s
FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment