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

Bump version to 4.8.2 #3076

Merged
merged 1 commit into from
Aug 16, 2024

chore: bump version to 4.8.2

f14d614
Select commit
Loading
Failed to load commit list.
Merged

Bump version to 4.8.2 #3076

chore: bump version to 4.8.2
f14d614
Select commit
Loading
Failed to load commit list.
Wazuh CI / All In One - Rhel 9 - Tests failed Aug 16, 2024 in 46s

Test_unattended

Below you have the stage output

Details

Rhel 9 log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.18, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /bin/python3
cachedir: .pytest_cache
rootdir: /tmp/unattended/tests/unattended/install, configfile: pytest.ini
collecting ... collected 22 items / 3 deselected / 19 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 10%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 15%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 21%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 26%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 31%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 36%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 42%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 47%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 52%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 57%]
test_unattended.py::test_check_indexer_process PASSED                    [ 63%]
test_unattended.py::test_check_dashboard_process PASSED                  [ 68%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 73%]
test_unattended.py::test_check_dashboard_status PASSED                   [ 78%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 84%]
test_unattended.py::test_check_log_errors FAILED                         [ 89%]
test_unattended.py::test_check_cluster_log_errors PASSED                 [ 94%]
test_unattended.py::test_check_alerts PASSED                             [100%]

=================================== FAILURES ===================================
____________________________ test_check_log_errors _____________________________

    @pytest.mark.wazuh
    def test_check_log_errors():
        found_error = False
        exceptions = [
            'WARNING: Cluster error detected',
            'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.',
            "ERROR: Could not send message through the cluster after '10' attempts"
    
        ]
    
        with open('/var/ossec/logs/ossec.log', 'r') as f:
            for line in f.readlines():
                if 'ERROR' in line:
                    if not any(exception in line for exception in exceptions):
                        found_error = True
                        break
>       assert found_error == False, line
E       AssertionError: 2024/08/16 08:05:15 wazuh-modulesd:content-updater: ERROR: Action for 'vulnerability_feed_manager' failed: Orchestration run failed: Error 429 from server: HTTP response code s
aid error
E         
E       assert True == False
E         +True
E         -False

test_unattended.py:224: AssertionError
=============================== warnings summary ===============================
test_unattended.py::test_check_indexer_cluster_status_not_red
test_unattended.py::test_check_dashboard_status
test_unattended.py::test_check_wazuh_api_status
test_unattended.py::test_check_alerts
  /usr/lib64/python3.9/tarfile.py:2239: RuntimeWarning: The default behavior of tarfile extraction has been changed to disallow common exploits (including CVE-2007-4559). By default, absolute/parent p
aths are disallowed and some mode bits are cleared. See https://access.redhat.com/articles/7004769 for more details.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_log_errors - AssertionError: 2024/08/16...
============ 1 failed, 18 passed, 3 deselected, 4 warnings in 8.25s ============