➜ terraform-provider-aap git:(feat-waitforjobcompleted-aapjob) ✗ export AAP_TEST_JOB_TEMPLATE_ID=7 ➜ terraform-provider-aap git:(feat-waitforjobcompleted-aapjob) ✗ TF_ACC=1 go test -count=1 -v ./... ? github.com/ansible/terraform-provider-aap [no test files] === RUN TestComputeURLPath === RUN TestComputeURLPath/case_1 === RUN TestComputeURLPath/case_2 === RUN TestComputeURLPath/case_3 === RUN TestComputeURLPath/case_4 --- PASS: TestComputeURLPath (0.00s) --- PASS: TestComputeURLPath/case_1 (0.00s) --- PASS: TestComputeURLPath/case_2 (0.00s) --- PASS: TestComputeURLPath/case_3 (0.00s) --- PASS: TestComputeURLPath/case_4 (0.00s) === RUN TestReadApiEndpoint === RUN TestReadApiEndpoint/AAP_2.4 === RUN TestReadApiEndpoint/AAP_2.5+ --- PASS: TestReadApiEndpoint (0.00s) --- PASS: TestReadApiEndpoint/AAP_2.4 (0.00s) --- PASS: TestReadApiEndpoint/AAP_2.5+ (0.00s) === RUN TestGroupResourceSchema === PAUSE TestGroupResourceSchema === RUN TestGroupResourceCreateRequestBody === RUN TestGroupResourceCreateRequestBody/test_with_unknown_values === RUN TestGroupResourceCreateRequestBody/test_with_null_values === RUN TestGroupResourceCreateRequestBody/test_with_some_values === RUN TestGroupResourceCreateRequestBody/test_with_all_values --- PASS: TestGroupResourceCreateRequestBody (0.00s) --- PASS: TestGroupResourceCreateRequestBody/test_with_unknown_values (0.00s) --- PASS: TestGroupResourceCreateRequestBody/test_with_null_values (0.00s) --- PASS: TestGroupResourceCreateRequestBody/test_with_some_values (0.00s) --- PASS: TestGroupResourceCreateRequestBody/test_with_all_values (0.00s) === RUN TestGroupResourceParseHttpResponse === RUN TestGroupResourceParseHttpResponse/test_with_JSON_error === RUN TestGroupResourceParseHttpResponse/test_with_missing_values === RUN TestGroupResourceParseHttpResponse/test_with_all_values --- PASS: TestGroupResourceParseHttpResponse (0.00s) --- PASS: TestGroupResourceParseHttpResponse/test_with_JSON_error (0.00s) --- PASS: TestGroupResourceParseHttpResponse/test_with_missing_values (0.00s) --- PASS: TestGroupResourceParseHttpResponse/test_with_all_values (0.00s) === RUN TestAccGroupResource --- PASS: TestAccGroupResource (5.30s) === RUN TestSliceDifference --- PASS: TestSliceDifference (0.00s) === RUN TestExtractIDs --- PASS: TestExtractIDs (0.00s) === RUN TestHostResourceSchema === PAUSE TestHostResourceSchema === RUN TestHostResourceCreateRequestBody === RUN TestHostResourceCreateRequestBody/test_with_unknown_values === RUN TestHostResourceCreateRequestBody/test_with_null_values === RUN TestHostResourceCreateRequestBody/test_with_some_values === RUN TestHostResourceCreateRequestBody/test_with_all_values --- PASS: TestHostResourceCreateRequestBody (0.00s) --- PASS: TestHostResourceCreateRequestBody/test_with_unknown_values (0.00s) --- PASS: TestHostResourceCreateRequestBody/test_with_null_values (0.00s) --- PASS: TestHostResourceCreateRequestBody/test_with_some_values (0.00s) --- PASS: TestHostResourceCreateRequestBody/test_with_all_values (0.00s) === RUN TestHostResourceParseHttpResponse === RUN TestHostResourceParseHttpResponse/test_with_JSON_error === RUN TestHostResourceParseHttpResponse/test_with_missing_values === RUN TestHostResourceParseHttpResponse/test_with_all_values --- PASS: TestHostResourceParseHttpResponse (0.00s) --- PASS: TestHostResourceParseHttpResponse/test_with_JSON_error (0.00s) --- PASS: TestHostResourceParseHttpResponse/test_with_missing_values (0.00s) --- PASS: TestHostResourceParseHttpResponse/test_with_all_values (0.00s) === RUN TestAccHostResource --- PASS: TestAccHostResource (6.14s) === RUN TestInventoryDataSourceSchema === PAUSE TestInventoryDataSourceSchema === RUN TestInventoryDataSourceParseHttpResponse === RUN TestInventoryDataSourceParseHttpResponse/JSON_error === RUN TestInventoryDataSourceParseHttpResponse/missing_values === RUN TestInventoryDataSourceParseHttpResponse/all_values --- PASS: TestInventoryDataSourceParseHttpResponse (0.00s) --- PASS: TestInventoryDataSourceParseHttpResponse/JSON_error (0.00s) --- PASS: TestInventoryDataSourceParseHttpResponse/missing_values (0.00s) --- PASS: TestInventoryDataSourceParseHttpResponse/all_values (0.00s) === RUN TestAccInventoryDataSource --- PASS: TestAccInventoryDataSource (2.37s) === RUN TestInventoryResourceSchema === PAUSE TestInventoryResourceSchema === RUN TestInventoryResourceGenerateRequestBody === RUN TestInventoryResourceGenerateRequestBody/unknown_values === RUN TestInventoryResourceGenerateRequestBody/null_values === RUN TestInventoryResourceGenerateRequestBody/provided_values --- PASS: TestInventoryResourceGenerateRequestBody (0.00s) --- PASS: TestInventoryResourceGenerateRequestBody/unknown_values (0.00s) --- PASS: TestInventoryResourceGenerateRequestBody/null_values (0.00s) --- PASS: TestInventoryResourceGenerateRequestBody/provided_values (0.00s) === RUN TestInventoryResourceParseHttpResponse === RUN TestInventoryResourceParseHttpResponse/JSON_error === RUN TestInventoryResourceParseHttpResponse/missing_values === RUN TestInventoryResourceParseHttpResponse/all_values --- PASS: TestInventoryResourceParseHttpResponse (0.00s) --- PASS: TestInventoryResourceParseHttpResponse/JSON_error (0.00s) --- PASS: TestInventoryResourceParseHttpResponse/missing_values (0.00s) --- PASS: TestInventoryResourceParseHttpResponse/all_values (0.00s) === RUN TestAccInventoryResource --- PASS: TestAccInventoryResource (4.50s) === RUN TestJobResourceSchema === PAUSE TestJobResourceSchema === RUN TestJobResourceCreateRequestBody === RUN TestJobResourceCreateRequestBody/unknown_values === RUN TestJobResourceCreateRequestBody/null_values === RUN TestJobResourceCreateRequestBody/extra_vars_only === RUN TestJobResourceCreateRequestBody/inventory_vars_only === RUN TestJobResourceCreateRequestBody/combined === RUN TestJobResourceCreateRequestBody/manual_triggers === RUN TestJobResourceCreateRequestBody/wait_for_completed_parameters --- PASS: TestJobResourceCreateRequestBody (0.00s) --- PASS: TestJobResourceCreateRequestBody/unknown_values (0.00s) --- PASS: TestJobResourceCreateRequestBody/null_values (0.00s) --- PASS: TestJobResourceCreateRequestBody/extra_vars_only (0.00s) --- PASS: TestJobResourceCreateRequestBody/inventory_vars_only (0.00s) --- PASS: TestJobResourceCreateRequestBody/combined (0.00s) --- PASS: TestJobResourceCreateRequestBody/manual_triggers (0.00s) --- PASS: TestJobResourceCreateRequestBody/wait_for_completed_parameters (0.00s) === RUN TestJobResourceParseHttpResponse === RUN TestJobResourceParseHttpResponse/JSON_error === RUN TestJobResourceParseHttpResponse/no_ignored_fields === RUN TestJobResourceParseHttpResponse/ignored_fields --- PASS: TestJobResourceParseHttpResponse (0.00s) --- PASS: TestJobResourceParseHttpResponse/JSON_error (0.00s) --- PASS: TestJobResourceParseHttpResponse/no_ignored_fields (0.00s) --- PASS: TestJobResourceParseHttpResponse/ignored_fields (0.00s) === RUN TestAccAAPJob_basic --- PASS: TestAccAAPJob_basic (2.20s) === RUN TestAccAAPJob_UpdateWithSameParameters --- PASS: TestAccAAPJob_UpdateWithSameParameters (3.28s) === RUN TestAccAAPJob_UpdateWithNewInventoryIdPromptOnLaunch --- PASS: TestAccAAPJob_UpdateWithNewInventoryIdPromptOnLaunch (42.34s) === RUN TestAccAAPJob_UpdateWithTrigger --- PASS: TestAccAAPJob_UpdateWithTrigger (3.30s) === RUN TestAccAAPJob_disappears --- PASS: TestAccAAPJob_disappears (38.54s) === RUN TestReadValues === RUN TestReadValues/No_defined_values === RUN TestReadValues/Using_env_variables_only === RUN TestReadValues/Using_both_configuration_and_envs_value === RUN TestReadValues/Using_configuration_value === RUN TestReadValues/Bad_value_for_env_variable === RUN TestReadValues/Using_null_values_in_configuration --- PASS: TestReadValues (0.00s) --- PASS: TestReadValues/No_defined_values (0.00s) --- PASS: TestReadValues/Using_env_variables_only (0.00s) --- PASS: TestReadValues/Using_both_configuration_and_envs_value (0.00s) --- PASS: TestReadValues/Using_configuration_value (0.00s) --- PASS: TestReadValues/Bad_value_for_env_variable (0.00s) --- PASS: TestReadValues/Using_null_values_in_configuration (0.00s) === RUN TestReturnAAPNamedURL === RUN TestReturnAAPNamedURL/test_test === RUN TestReturnAAPNamedURL/test_test#01 === RUN TestReturnAAPNamedURL/test_test#02 === RUN TestReturnAAPNamedURL/test_test#03 === RUN TestReturnAAPNamedURL/test_test#04 === RUN TestReturnAAPNamedURL/test_test#05 === RUN TestReturnAAPNamedURL/test_test#06 === RUN TestReturnAAPNamedURL/test_test#07 === RUN TestReturnAAPNamedURL/test_test#08 === RUN TestReturnAAPNamedURL/test_test#09 --- PASS: TestReturnAAPNamedURL (0.00s) --- PASS: TestReturnAAPNamedURL/test_test (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#01 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#02 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#03 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#04 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#05 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#06 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#07 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#08 (0.00s) --- PASS: TestReturnAAPNamedURL/test_test#09 (0.00s) === RUN TestGetURL === RUN TestGetURL/https://example.com === RUN TestGetURL/https://example.com/ === RUN TestGetURL/https://example.com#01 === RUN TestGetURL/invalid-url --- PASS: TestGetURL (0.00s) --- PASS: TestGetURL/https://example.com (0.00s) --- PASS: TestGetURL/https://example.com/ (0.00s) --- PASS: TestGetURL/https://example.com#01 (0.00s) --- PASS: TestGetURL/invalid-url (0.00s) === RUN TestParseStringValue === RUN TestParseStringValue/Test_non-empty_string === RUN TestParseStringValue/Test_empty_string --- PASS: TestParseStringValue (0.00s) --- PASS: TestParseStringValue/Test_non-empty_string (0.00s) --- PASS: TestParseStringValue/Test_empty_string (0.00s) === RUN TestParseNormalizedValue === RUN TestParseNormalizedValue/Test_non-empty_string === RUN TestParseNormalizedValue/Test_empty_string --- PASS: TestParseNormalizedValue (0.00s) --- PASS: TestParseNormalizedValue/Test_non-empty_string (0.00s) --- PASS: TestParseNormalizedValue/Test_empty_string (0.00s) === CONT TestGroupResourceSchema === CONT TestInventoryResourceSchema === CONT TestJobResourceSchema === CONT TestInventoryDataSourceSchema === CONT TestHostResourceSchema --- PASS: TestGroupResourceSchema (0.00s) --- PASS: TestInventoryResourceSchema (0.00s) --- PASS: TestInventoryDataSourceSchema (0.00s) --- PASS: TestJobResourceSchema (0.00s) --- PASS: TestHostResourceSchema (0.00s) PASS ok github.com/ansible/terraform-provider-aap/internal/provider 108.629s === RUN TestAAPCustomStringTypeValidate === PAUSE TestAAPCustomStringTypeValidate === RUN TestAAPCustomStringTypeValueFromTerraform === PAUSE TestAAPCustomStringTypeValueFromTerraform === RUN TestAAPCustomStringStringSemanticEquals === PAUSE TestAAPCustomStringStringSemanticEquals === CONT TestAAPCustomStringTypeValidate === CONT TestAAPCustomStringStringSemanticEquals === RUN TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference_with_newline === CONT TestAAPCustomStringTypeValueFromTerraform === RUN TestAAPCustomStringTypeValueFromTerraform/yaml_string_no_newline === RUN TestAAPCustomStringTypeValidate/yaml_string === PAUSE TestAAPCustomStringTypeValueFromTerraform/yaml_string_no_newline === RUN TestAAPCustomStringTypeValueFromTerraform/true === PAUSE TestAAPCustomStringTypeValueFromTerraform/true === PAUSE TestAAPCustomStringTypeValidate/yaml_string === RUN TestAAPCustomStringTypeValueFromTerraform/unknown === PAUSE TestAAPCustomStringTypeValueFromTerraform/unknown === PAUSE TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference_with_newline === RUN TestAAPCustomStringTypeValidate/yaml_string_no_newline === RUN TestAAPCustomStringTypeValueFromTerraform/null === PAUSE TestAAPCustomStringTypeValidate/yaml_string_no_newline === RUN TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_values === PAUSE TestAAPCustomStringTypeValueFromTerraform/null === RUN TestAAPCustomStringTypeValueFromTerraform/wrongType === RUN TestAAPCustomStringTypeValidate/wrong-value-type === PAUSE TestAAPCustomStringTypeValueFromTerraform/wrongType === PAUSE TestAAPCustomStringTypeValidate/wrong-value-type === CONT TestAAPCustomStringTypeValueFromTerraform/unknown === CONT TestAAPCustomStringTypeValueFromTerraform/true === CONT TestAAPCustomStringTypeValueFromTerraform/yaml_string_no_newline === PAUSE TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_values === RUN TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_names === PAUSE TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_names === RUN TestAAPCustomStringStringSemanticEquals/not_equal_-_additional_field === PAUSE TestAAPCustomStringStringSemanticEquals/not_equal_-_additional_field === RUN TestAAPCustomStringStringSemanticEquals/not_equal_-_array_item_order_difference === PAUSE TestAAPCustomStringStringSemanticEquals/not_equal_-_array_item_order_difference === RUN TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_byte-for-byte_match === PAUSE TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_byte-for-byte_match === RUN TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_whitespace_difference === PAUSE TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_whitespace_difference === RUN TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference === CONT TestAAPCustomStringTypeValueFromTerraform/wrongType === PAUSE TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference === CONT TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference_with_newline === CONT TestAAPCustomStringTypeValueFromTerraform/null === RUN TestAAPCustomStringTypeValidate/empty-struct === PAUSE TestAAPCustomStringTypeValidate/empty-struct === RUN TestAAPCustomStringTypeValidate/null === PAUSE TestAAPCustomStringTypeValidate/null === RUN TestAAPCustomStringTypeValidate/unknown === PAUSE TestAAPCustomStringTypeValidate/unknown === RUN TestAAPCustomStringTypeValidate/json_object --- PASS: TestAAPCustomStringTypeValueFromTerraform (0.00s) --- PASS: TestAAPCustomStringTypeValueFromTerraform/unknown (0.00s) --- PASS: TestAAPCustomStringTypeValueFromTerraform/true (0.00s) --- PASS: TestAAPCustomStringTypeValueFromTerraform/yaml_string_no_newline (0.00s) --- PASS: TestAAPCustomStringTypeValueFromTerraform/null (0.00s) --- PASS: TestAAPCustomStringTypeValueFromTerraform/wrongType (0.00s) === PAUSE TestAAPCustomStringTypeValidate/json_object === CONT TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_names === RUN TestAAPCustomStringTypeValidate/json_string === PAUSE TestAAPCustomStringTypeValidate/json_string === CONT TestAAPCustomStringStringSemanticEquals/not_equal_-_array_item_order_difference === CONT TestAAPCustomStringStringSemanticEquals/not_equal_-_additional_field === CONT TestAAPCustomStringTypeValidate/yaml_string === CONT TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_values === CONT TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_whitespace_difference === CONT TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference === CONT TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_byte-for-byte_match === CONT TestAAPCustomStringTypeValidate/json_string === CONT TestAAPCustomStringTypeValidate/json_object === CONT TestAAPCustomStringTypeValidate/unknown === CONT TestAAPCustomStringTypeValidate/empty-struct === CONT TestAAPCustomStringTypeValidate/wrong-value-type === CONT TestAAPCustomStringTypeValidate/yaml_string_no_newline === CONT TestAAPCustomStringTypeValidate/null --- PASS: TestAAPCustomStringStringSemanticEquals (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference_with_newline (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_values (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/not_equal_-_additional_field (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/not_equal_-_mismatched_field_names (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/not_equal_-_array_item_order_difference (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_whitespace_difference (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/semantically_equal_-_object_byte-for-byte_match (0.00s) --- PASS: TestAAPCustomStringStringSemanticEquals/semantically_equal_-_yaml_no_difference (0.00s) --- PASS: TestAAPCustomStringTypeValidate (0.00s) --- PASS: TestAAPCustomStringTypeValidate/yaml_string (0.00s) --- PASS: TestAAPCustomStringTypeValidate/empty-struct (0.00s) --- PASS: TestAAPCustomStringTypeValidate/yaml_string_no_newline (0.00s) --- PASS: TestAAPCustomStringTypeValidate/null (0.00s) --- PASS: TestAAPCustomStringTypeValidate/json_string (0.00s) --- PASS: TestAAPCustomStringTypeValidate/json_object (0.00s) --- PASS: TestAAPCustomStringTypeValidate/unknown (0.00s) --- PASS: TestAAPCustomStringTypeValidate/wrong-value-type (0.00s) PASS ok github.com/ansible/terraform-provider-aap/internal/provider/customtypes 0.311s ➜ terraform-provider-aap git:(feat-waitforjobcompleted-aapjob) ✗ git branch --show-current feat-waitforjobcompleted-aapjob ➜ terraform-provider-aap git:(feat-waitforjobcompleted-aapjob) ✗ git rev-parse HEAD 04b37a761abf46504c80d4e2edf459ec5896d5f8