Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update poetry #1315

Closed
wants to merge 1 commit into from

chore(deps): update poetry

c3b3608
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

chore(deps): update poetry #1315

chore(deps): update poetry
c3b3608
Select commit
Loading
Failed to load commit list.
GitHub Actions / test-report-ui-9.2.2-input failed Oct 8, 2024 in 1s

0 passed, 121 failed and 0 skipped

Tests failed

❌ test-results/junit.xml

121 tests were completed in 16s with 0 passed, 121 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 121❌ 16s

❌ pytest

test_input_page.chrome_TestInputPage
  ❌ test_inputs_displayed_columns
	request = <SubRequest 'splunk' for <Function test_inputs_displayed_columns>>
  ❌ test_inputs_pagination_list
	request = <SubRequest 'splunk' for <Function test_inputs_pagination_list>>
  ❌ test_inputs_pagination
	request = <SubRequest 'splunk' for <Function test_inputs_pagination>>
  ❌ test_inputs_sort_functionality
	request = <SubRequest 'splunk' for <Function test_inputs_sort_functionality>>
  ❌ test_inputs_filter_functionality_negative
	request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_negative>>
  ❌ test_inputs_filter_functionality_positive
	request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_positive>>
  ❌ test_inputs_default_rows_in_table
	request = <SubRequest 'splunk' for <Function test_inputs_default_rows_in_table>>
  ❌ test_inputs_create_new_input_list_values
	request = <SubRequest 'splunk' for <Function test_inputs_create_new_input_list_values>>
  ❌ test_inputs_input_type_list_values
	request = <SubRequest 'splunk' for <Function test_inputs_input_type_list_values>>
  ❌ test_inputs_more_info
	request = <SubRequest 'splunk' for <Function test_inputs_more_info>>
  ❌ test_inputs_enable_disable
	request = <SubRequest 'splunk' for <Function test_inputs_enable_disable>>
  ❌ test_inputs_count
	request = <SubRequest 'splunk' for <Function test_inputs_count>>
  ❌ test_inputs_title_and_description
	request = <SubRequest 'splunk' for <Function test_inputs_title_and_description>>
  ❌ test_example_input_one_required_field_name
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_name>>
  ❌ test_example_input_one_valid_length_name
	request = <SubRequest 'splunk' for <Function test_example_input_one_valid_length_name>>
  ❌ test_example_input_one_valid_input_name
	request = <SubRequest 'splunk' for <Function test_example_input_one_valid_input_name>>
  ❌ test_example_input_one_list_single_select_group_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_list_single_select_group_test>>
  ❌ test_example_input_one_select_value_single_select_group_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_select_value_single_select_group_test>>
  ❌ test_example_input_one_search_value_single_select_group_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_search_value_single_select_group_test>>
  ❌ test_example_input_one_default_value_multiple_select_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_default_value_multiple_select_test>>
  ❌ test_example_input_one_list_multiple_select_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_list_multiple_select_test>>
  ❌ test_example_input_one_select_value_multiple_select_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_select_value_multiple_select_test>>
  ❌ test_example_input_one_select_multiple_values_multiple_select_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_select_multiple_values_multiple_select_test>>
  ❌ test_example_input_one_deselect_multiple_select_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_deselect_multiple_select_test>>
  ❌ test_example_input_one_search_value_multiple_select_test
	request = <SubRequest 'splunk' for <Function test_example_input_one_search_value_multiple_select_test>>
  ❌ test_example_input_one_default_value_example_checkbox
	request = <SubRequest 'splunk' for <Function test_example_input_one_default_value_example_checkbox>>
  ❌ test_example_input_one_unchecked_example_checkbox
	request = <SubRequest 'splunk' for <Function test_example_input_one_unchecked_example_checkbox>>
  ❌ test_example_input_one_checked_example_checkbox
	request = <SubRequest 'splunk' for <Function test_example_input_one_checked_example_checkbox>>
  ❌ test_example_input_one_default_value_example_radio
	request = <SubRequest 'splunk' for <Function test_example_input_one_default_value_example_radio>>
  ❌ test_example_input_one_select_value_example_radio
	request = <SubRequest 'splunk' for <Function test_example_input_one_select_value_example_radio>>
  ❌ test_example_input_one_required_field_interval
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_interval>>
  ❌ test_example_input_one_valid_input_interval
	request = <SubRequest 'splunk' for <Function test_example_input_one_valid_input_interval>>
  ❌ test_example_input_one_required_field_index
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_index>>
  ❌ test_example_input_one_default_value_index
	request = <SubRequest 'splunk' for <Function test_example_input_one_default_value_index>>
  ❌ test_example_input_one_required_field_example_account
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_example_account>>
  ❌ test_example_input_one_required_field_object
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_object>>
  ❌ test_example_input_one_required_field_object_fields
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_object_fields>>
  ❌ test_example_input_one_required_field_order_by
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_order_by>>
  ❌ test_example_input_one_default_value_order_by
	request = <SubRequest 'splunk' for <Function test_example_input_one_default_value_order_by>>
  ❌ test_example_input_one_required_field_textarea
	request = <SubRequest 'splunk' for <Function test_example_input_one_required_field_textarea>>
  ❌ test_example_input_one_fields_label_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_fields_label_entity>>
  ❌ test_example_input_two_fields_label_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_fields_label_entity>>
  ❌ test_example_input_one_help_text_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_help_text_entity>>
  ❌ test_example_input_one_valid_input_query_start_date
	request = <SubRequest 'splunk' for <Function test_example_input_one_valid_input_query_start_date>>
  ❌ test_example_input_one_default_value_limit
	request = <SubRequest 'splunk' for <Function test_example_input_one_default_value_limit>>
  ❌ test_example_input_one_help_link
	request = <SubRequest 'splunk' for <Function test_example_input_one_help_link>>
  ❌ test_example_input_one_add_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_one_add_frontend_backend_validation>>
  ❌ test_example_input_one_edit_uneditable_field_name
	request = <SubRequest 'splunk' for <Function test_example_input_one_edit_uneditable_field_name>>
  ❌ test_example_input_one_edit_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_one_edit_frontend_backend_validation>>
  ❌ test_example_input_one_clone_default_values
	request = <SubRequest 'splunk' for <Function test_example_input_one_clone_default_values>>
  ❌ test_example_input_one_clone_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_one_clone_frontend_backend_validation>>
  ❌ test_example_input_one_delete_row_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_one_delete_row_frontend_backend_validation>>
  ❌ test_example_input_one_add_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_add_close_entity>>
  ❌ test_example_input_one_edit_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_edit_close_entity>>
  ❌ test_example_input_one_clone_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_clone_close_entity>>
  ❌ test_example_input_one_clone_save_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_clone_save_entity>>
  ❌ test_example_input_one_delete_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_delete_close_entity>>
  ❌ test_example_input_one_add_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_add_cancel_entity>>
  ❌ test_example_input_one_edit_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_edit_cancel_entity>>
  ❌ test_example_input_one_clone_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_clone_cancel_entity>>
  ❌ test_example_input_one_delete_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_one_delete_cancel_entity>>
  ❌ test_example_input_one_add_duplicate_names
	request = <SubRequest 'splunk' for <Function test_example_input_one_add_duplicate_names>>
  ❌ test_example_input_one_clone_duplicate_names
	request = <SubRequest 'splunk' for <Function test_example_input_one_clone_duplicate_names>>
  ❌ test_example_input_one_add_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_one_add_valid_title>>
  ❌ test_example_input_one_edit_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_one_edit_valid_title>>
  ❌ test_example_input_one_clone_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_one_clone_valid_title>>
  ❌ test_example_input_one_delete_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_one_delete_valid_title>>
  ❌ test_example_input_one_delete_valid_prompt_message
	request = <SubRequest 'splunk' for <Function test_example_input_one_delete_valid_prompt_message>>
  ❌ test_example_input_two_required_field_name
	request = <SubRequest 'splunk' for <Function test_example_input_two_required_field_name>>
  ❌ test_example_input_two_valid_length_name
	request = <SubRequest 'splunk' for <Function test_example_input_two_valid_length_name>>
  ❌ test_example_input_two_valid_input_name
	request = <SubRequest 'splunk' for <Function test_example_input_two_valid_input_name>>
  ❌ test_example_input_two_clone_valid_input_name
	request = <SubRequest 'splunk' for <Function test_example_input_two_clone_valid_input_name>>
  ❌ test_example_input_two_required_field_interval
	request = <SubRequest 'splunk' for <Function test_example_input_two_required_field_interval>>
  ❌ test_example_input_two_valid_input_interval
	request = <SubRequest 'splunk' for <Function test_example_input_two_valid_input_interval>>
  ❌ test_example_input_two_required_field_index
	request = <SubRequest 'splunk' for <Function test_example_input_two_required_field_index>>
  ❌ test_example_input_two_default_value_index
	request = <SubRequest 'splunk' for <Function test_example_input_two_default_value_index>>
  ❌ test_example_input_two_required_field_example_example_account
	request = <SubRequest 'splunk' for <Function test_example_input_two_required_field_example_example_account>>
  ❌ test_example_input_two_required_field_example_multiple_select
	request = <SubRequest 'splunk' for <Function test_example_input_two_required_field_example_multiple_select>>
  ❌ test_example_input_two_list_example_multiple_select
	request = <SubRequest 'splunk' for <Function test_example_input_two_list_example_multiple_select>>
  ❌ test_example_input_two_select_select_value_example_multiple_select
	request = <SubRequest 'splunk' for <Function test_example_input_two_select_select_value_example_multiple_select>>
  ❌ test_example_input_two_select_multiple_values_example_multiple_select
	request = <SubRequest 'splunk' for <Function test_example_input_two_select_multiple_values_example_multiple_select>>
  ❌ test_example_input_two_help_text_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_help_text_entity>>
  ❌ test_example_input_two_checked_example_checkbox
	request = <SubRequest 'splunk' for <Function test_example_input_two_checked_example_checkbox>>
  ❌ test_example_input_two_unchecked_example_checkbox
	request = <SubRequest 'splunk' for <Function test_example_input_two_unchecked_example_checkbox>>
  ❌ test_example_input_two_required_field_example_radio
	request = <SubRequest 'splunk' for <Function test_example_input_two_required_field_example_radio>>
  ❌ test_example_input_two_select_value_example_radio
	request = <SubRequest 'splunk' for <Function test_example_input_two_select_value_example_radio>>
  ❌ test_example_input_two_valid_input_query_start_date
	request = <SubRequest 'splunk' for <Function test_example_input_two_valid_input_query_start_date>>
  ❌ test_example_input_two_add_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_two_add_frontend_backend_validation>>
  ❌ test_example_input_two_edit_uneditable_field_name
	request = <SubRequest 'splunk' for <Function test_example_input_two_edit_uneditable_field_name>>
  ❌ test_example_input_two_edit_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_two_edit_frontend_backend_validation>>
  ❌ test_example_input_two_clone_default_values
	request = <SubRequest 'splunk' for <Function test_example_input_two_clone_default_values>>
  ❌ test_example_input_two_clone_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_two_clone_frontend_backend_validation>>
  ❌ test_example_input_two_delete_row_frontend_backend_validation
	request = <SubRequest 'splunk' for <Function test_example_input_two_delete_row_frontend_backend_validation>>
  ❌ test_example_input_two_add_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_add_close_entity>>
  ❌ test_example_input_two_edit_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_edit_close_entity>>
  ❌ test_example_input_two_clone_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_clone_close_entity>>
  ❌ test_example_input_two_delete_close_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_delete_close_entity>>
  ❌ test_example_input_two_add_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_add_cancel_entity>>
  ❌ test_example_input_two_edit_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_edit_cancel_entity>>
  ❌ test_example_input_two_clone_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_clone_cancel_entity>>
  ❌ test_example_input_two_delete_cancel_entity
	request = <SubRequest 'splunk' for <Function test_example_input_two_delete_cancel_entity>>
  ❌ test_example_input_two_add_duplicate_names
	request = <SubRequest 'splunk' for <Function test_example_input_two_add_duplicate_names>>
  ❌ test_example_input_two_clone_duplicate_names
	request = <SubRequest 'splunk' for <Function test_example_input_two_clone_duplicate_names>>
  ❌ test_example_input_two_add_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_two_add_valid_title>>
  ❌ test_example_input_two_edit_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_two_edit_valid_title>>
  ❌ test_example_input_two_clone_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_two_clone_valid_title>>
  ❌ test_example_input_two_delete_valid_title
	request = <SubRequest 'splunk' for <Function test_example_input_two_delete_valid_title>>
  ❌ test_example_input_two_delete_valid_prompt_message
	request = <SubRequest 'splunk' for <Function test_example_input_two_delete_valid_prompt_message>>
  ❌ test_inputs_enable_all_title_message
	request = <SubRequest 'splunk' for <Function test_inputs_enable_all_title_message>>
  ❌ test_inputs_disable_all_title_message
	request = <SubRequest 'splunk' for <Function test_inputs_disable_all_title_message>>
  ❌ test_inputs_enable_all_close
	request = <SubRequest 'splunk' for <Function test_inputs_enable_all_close>>
  ❌ test_inputs_disable_all_close
	request = <SubRequest 'splunk' for <Function test_inputs_disable_all_close>>
  ❌ test_inputs_enable_all_deny
	request = <SubRequest 'splunk' for <Function test_inputs_enable_all_deny>>
  ❌ test_inputs_disable_all_deny
	request = <SubRequest 'splunk' for <Function test_inputs_disable_all_deny>>
  ❌ test_inputs_disable_enable_all
	request = <SubRequest 'splunk' for <Function test_inputs_disable_enable_all>>
  ❌ test_inputs_disable_all_enable_all_input_one_input_two
	request = <SubRequest 'splunk' for <Function test_inputs_disable_all_enable_all_input_one_input_two>>
  ❌ test_inputs_enable_all_some_already_enabled
	request = <SubRequest 'splunk' for <Function test_inputs_enable_all_some_already_enabled>>
  ❌ test_inputs_disable_all_some_already_disabled
	request = <SubRequest 'splunk' for <Function test_inputs_disable_all_some_already_disabled>>
  ❌ test_inputs_textarea_height
	request = <SubRequest 'splunk' for <Function test_inputs_textarea_height>>
  ❌ test_inputs_textarea_big_input
	request = <SubRequest 'splunk' for <Function test_inputs_textarea_big_input>>
  ❌ test_inputs_textarea_scroll
	request = <SubRequest 'splunk' for <Function test_inputs_textarea_scroll>>

Annotations

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_displayed_columns

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_displayed_columns>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_displayed_columns>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_displayed_columns>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_pagination_list

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_pagination_list>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_pagination_list>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_pagination_list>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_pagination

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_pagination>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_pagination>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_pagination>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_sort_functionality

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_sort_functionality>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_sort_functionality>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_sort_functionality>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_filter_functionality_negative

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_negative>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_negative>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_negative>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_filter_functionality_positive

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_positive>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_positive>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_filter_functionality_positive>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_default_rows_in_table

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_default_rows_in_table>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_default_rows_in_table>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_default_rows_in_table>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_create_new_input_list_values

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_create_new_input_list_values>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_create_new_input_list_values>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_create_new_input_list_values>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_input_type_list_values

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_input_type_list_values>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_input_type_list_values>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_input_type_list_values>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_more_info

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_more_info>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_more_info>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_more_info>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception

Check failure on line 0 in test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / test-report-ui-9.2.2-input

pytest ► test_input_page.chrome_TestInputPage ► test_inputs_enable_disable

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_inputs_enable_disable>>
Raw output
request = <SubRequest 'splunk' for <Function test_inputs_enable_disable>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
>           splunk_info = request.getfixturevalue(splunk_fixture)

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:440: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:642: in splunk_external
    is_valid_hec(request, splunk_info)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

request = <SubRequest 'splunk_external' for <Function test_inputs_displayed_columns>>
splunk = {'forwarder_host': 'localhost', 'host': 'localhost', 'password': 'Chang3d!', 'port': '8089', ...}

    def is_valid_hec(request, splunk):
        """
        Verify if provided hec token is valid by sending simple post request.
    
        Args:
            splunk (dict): details of the Splunk instance
    
        Returns:
            None
        """
    
        LOGGER.info(
            "Validating HEC token...  splunk=%s",
            json.dumps(splunk),
        )
        response = requests.post(
            url=f'{request.config.getoption("splunk_hec_scheme")}://{splunk["forwarder_host"]}:{splunk["port_hec"]}/services/collector/raw',
            headers={
                "Authorization": f'Splunk {request.config.getoption("splunk_hec_token")}'
            },
            data={"event": "test_hec", "sourcetype": "hec_token_test"},
            verify=False,
        )
        LOGGER.debug("Status code: %d", response.status_code)
    
        if response.status_code == 200:
            LOGGER.info("Splunk HEC is valid.")
        else:
>           pytest.exit("Exiting pytest due to invalid HEC token value.")
E           _pytest.outcomes.Exit: Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:1048: Exit

During handling of the above exception, another exception occurred:

request = <SubRequest 'splunk' for <Function test_inputs_enable_disable>>
file_system_prerequisite = None

    @pytest.fixture(scope="session")
    def splunk(request, file_system_prerequisite):
        """
        This fixture based on the passed option will provide a real fixture
        for external or docker Splunk
    
        Returns:
            dict: Details of the splunk instance including host, port, username & password.
        """
        splunk_type = request.config.getoption("splunk_type")
        LOGGER.info("Get the Splunk instance of splunk_type=%s", splunk_type)
        splunk_fixture = f"splunk_{splunk_type}"
        try:
            request.fixturenames.append(splunk_fixture)
            splunk_info = request.getfixturevalue(splunk_fixture)
        except Exception as e:
>           raise Exception(f"Failed to get Splunk fixture ({splunk_fixture}): {e}")
E           Exception: Failed to get Splunk fixture (splunk_external): Exiting pytest due to invalid HEC token value.

../../../.cache/pypoetry/virtualenvs/splunk-add-on-ucc-framework-rPXMmn5S-py3.7/lib/python3.7/site-packages/pytest_splunk_addon/splunk.py:442: Exception