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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

chore(deps): update poetry

b696b99
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

chore(deps): update poetry #1315

chore(deps): update poetry
b696b99
Select commit
Loading
Failed to load commit list.
GitHub Actions / test-report-ui-9.2.2-logging failed Sep 26, 2024 in 0s

0 passed, 5 failed and 0 skipped

Tests failed

❌ test-results/junit.xml

5 tests were completed in 1s with 0 passed, 5 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 5❌ 1s

❌ pytest

test_configuration_page_logging_tab.chrome_TestLoggingPage
  ❌ test_logging_default_log_level
	request = <SubRequest 'splunk' for <Function test_logging_default_log_level>>
  ❌ test_logging_list_log_levels
	request = <SubRequest 'splunk' for <Function test_logging_list_log_levels>>
  ❌ test_logging_select_random_log_level
	request = <SubRequest 'splunk' for <Function test_logging_select_random_log_level>>
  ❌ test_logging_selected_log_level_frontend_backend
	request = <SubRequest 'splunk' for <Function test_logging_selected_log_level_frontend_backend>>
  ❌ test_logging_label_log_level
	request = <SubRequest 'splunk' for <Function test_logging_label_log_level>>

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-logging

pytest ► test_configuration_page_logging_tab.chrome_TestLoggingPage ► test_logging_default_log_level

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_logging_default_log_level>>
Raw output
request = <SubRequest 'splunk' for <Function test_logging_default_log_level>>
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_logging_default_log_level>>
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_logging_default_log_level>>
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-logging

pytest ► test_configuration_page_logging_tab.chrome_TestLoggingPage ► test_logging_list_log_levels

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_logging_list_log_levels>>
Raw output
request = <SubRequest 'splunk' for <Function test_logging_list_log_levels>>
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_logging_default_log_level>>
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_logging_list_log_levels>>
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-logging

pytest ► test_configuration_page_logging_tab.chrome_TestLoggingPage ► test_logging_select_random_log_level

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_logging_select_random_log_level>>
Raw output
request = <SubRequest 'splunk' for <Function test_logging_select_random_log_level>>
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_logging_default_log_level>>
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_logging_select_random_log_level>>
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-logging

pytest ► test_configuration_page_logging_tab.chrome_TestLoggingPage ► test_logging_selected_log_level_frontend_backend

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_logging_selected_log_level_frontend_backend>>
Raw output
request = <SubRequest 'splunk' for <Function test_logging_selected_log_level_frontend_backend>>
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_logging_default_log_level>>
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_logging_selected_log_level_frontend_backend>>
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-logging

pytest ► test_configuration_page_logging_tab.chrome_TestLoggingPage ► test_logging_label_log_level

Failed test found in:
  test-results/junit.xml
Error:
  request = <SubRequest 'splunk' for <Function test_logging_label_log_level>>
Raw output
request = <SubRequest 'splunk' for <Function test_logging_label_log_level>>
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_logging_default_log_level>>
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_logging_label_log_level>>
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