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

Merge 4.7.2 into 4.8.0 #2741

Merged
merged 6 commits into from
Jan 5, 2024

Fix source branch version

c7d4df1
Select commit
Loading
Failed to load commit list.
Merged

Merge 4.7.2 into 4.8.0 #2741

Fix source branch version
c7d4df1
Select commit
Loading
Failed to load commit list.
Wazuh CI / Distributed - Tests failed Jan 5, 2024 in 1m 40s

Test_unattended_distributed

Below you have the stage output

Details

centos_7 log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-3.10.0-693.11.6.el7.x86_64-x86_64-with-centos-7.4.1708-Core', 'Packages': {'pytest': '6.2.5', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata
': '1.8.0', 'html': '2.0.1'}}
rootdir: /tmp/unattended/tests/unattended/install, configfile: pytest.ini
plugins: metadata-1.8.0, html-2.0.1
collecting ... collected 22 items / 4 deselected / 18 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors FAILED                         [ 88%]
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
        with open('/var/ossec/logs/ossec.log', 'r') as f:
            for line in f.readlines():
                if 'ERROR' in line:
                    if 'ERROR: Cluster error detected' not in line and 'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.' not in line:
                        found_error = True
                        break
>       assert found_error == False, line
E       AssertionError: 2024/01/05 04:51:00 wazuh-modulesd: ERROR: Could not send message through the cluster after '10' attempts.
E         
E       assert True == False
E         +True
E         -False

test_unattended.py:217: AssertionError
=============================== warnings summary ===============================
../../../../../usr/local/lib/python3.6/site-packages/requests/__init__.py:91
  /usr/local/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
    RequestsDependencyWarning)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_log_errors - AssertionError: 2024/01/05...
============ 1 failed, 17 passed, 4 deselected, 1 warning in 16.51s ============

centos_8 log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.6.8, 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 / 1 deselected / 21 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  4%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [  9%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 14%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 19%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 23%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 28%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 33%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 38%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 42%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 47%]
test_unattended.py::test_check_wazuh_manager_clusterd PASSED             [ 52%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 57%]
test_unattended.py::test_check_indexer_process PASSED                    [ 61%]
test_unattended.py::test_check_dashboard_process PASSED                  [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 71%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 76%]
test_unattended.py::test_check_dashboard_status PASSED                   [ 80%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 85%]
test_unattended.py::test_check_log_errors PASSED                         [ 90%]
test_unattended.py::test_check_api_log_errors PASSED                     [ 95%]
test_unattended.py::test_check_alerts PASSED                             [100%]

====================== 21 passed, 1 deselected in 11.73s =======================

ubuntu_xenial log



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

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors FAILED                         [ 88%]
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
        with open('/var/ossec/logs/ossec.log', 'r') as f:
            for line in f.readlines():
                if 'ERROR' in line:
                    if 'ERROR: Cluster error detected' not in line and 'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.' not in line:
                        found_error = True
                        break
>       assert found_error == False, line
E       AssertionError: 2024/01/05 04:51:05 wazuh-modulesd: ERROR: Could not send message through the cluster after '10' attempts.
E         
E       assert True == False
E         +True
E         -False

test_unattended.py:217: AssertionError
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_log_errors - AssertionError: 2024/01/05...
================= 1 failed, 17 passed, 4 deselected in 15.45s ==================

ubuntu_bionic log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.6.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.6.9', 'Platform': 'Linux-4.15.0-1060-aws-x86_64-with-Ubuntu-18.04-bionic', 'Packages': {'pytest': '6.2.5', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata': '1.8.0', 
'html': '2.0.1'}}
rootdir: /tmp/unattended/tests/unattended/install, configfile: pytest.ini
plugins: metadata-1.8.0, html-2.0.1
collecting ... collected 22 items / 4 deselected / 18 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors FAILED                         [ 88%]
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
        with open('/var/ossec/logs/ossec.log', 'r') as f:
            for line in f.readlines():
                if 'ERROR' in line:
                    if 'ERROR: Cluster error detected' not in line and 'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.' not in line:
                        found_error = True
                        break
>       assert found_error == False, line
E       AssertionError: 2024/01/05 04:51:11 wazuh-modulesd: ERROR: Could not send message through the cluster after '10' attempts.
E         
E       assert True == False
E         +True
E         -False

test_unattended.py:217: AssertionError
=============================== warnings summary ===============================
../../../../../usr/lib/python3/dist-packages/requests/__init__.py:80
  /usr/lib/python3/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
    RequestsDependencyWarning)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_log_errors - AssertionError: 2024/01/05...
============ 1 failed, 17 passed, 4 deselected, 1 warning in 14.53s ============

ubuntu_focal log



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

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors FAILED                         [ 88%]
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
        with open('/var/ossec/logs/ossec.log', 'r') as f:
            for line in f.readlines():
                if 'ERROR' in line:
                    if 'ERROR: Cluster error detected' not in line and 'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.' not in line:
                        found_error = True
                        break
>       assert found_error == False, line
E       AssertionError: 2024/01/05 04:51:18 wazuh-modulesd: ERROR: Could not send message through the cluster after '10' attempts.
E         
E       assert True == False
E         +True
E         -False

test_unattended.py:217: AssertionError
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_log_errors - AssertionError: 2024/01/05...
================= 1 failed, 17 passed, 4 deselected in 15.69s ==================

ubuntu_jammy log



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

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors PASSED                         [ 88%]
test_unattended.py::test_check_cluster_log_errors PASSED                 [ 94%]
test_unattended.py::test_check_alerts PASSED                             [100%]

====================== 18 passed, 4 deselected in 17.88s =======================

amazonlinux_2_base log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.7.16, 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 / 4 deselected / 18 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors FAILED                         [ 88%]
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
        with open('/var/ossec/logs/ossec.log', 'r') as f:
            for line in f.readlines():
                if 'ERROR' in line:
                    if 'ERROR: Cluster error detected' not in line and 'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.' not in line:
                        found_error = True
                        break
>       assert found_error == False, line
E       AssertionError: 2024/01/05 04:50:20 wazuh-modulesd: ERROR: Could not send message through the cluster after '10' attempts.
E         
E       assert True == False
E         +True
E         -False

test_unattended.py:217: AssertionError
=============================== warnings summary ===============================
../../../../../usr/lib64/python3.7/site-packages/simplejson/compat.py:23
  /usr/lib64/python3.7/site-packages/simplejson/compat.py:23: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    from imp import reload as reload_module

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_log_errors - AssertionError: 2024/01/05...
============ 1 failed, 17 passed, 4 deselected, 1 warning in 18.10s ============

redhat_7 log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.6.8, 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 / 4 deselected / 18 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors FAILED                         [ 88%]
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
        with open('/var/ossec/logs/ossec.log', 'r') as f:
            for line in f.readlines():
                if 'ERROR' in line:
                    if 'ERROR: Cluster error detected' not in line and 'agent-upgrade: ERROR: (8123): There has been an error executing the request in the tasks manager.' not in line:
                        found_error = True
                        break
>       assert found_error == False, line
E       AssertionError: 2024/01/05 04:50:56 wazuh-modulesd: ERROR: Could not send message through the cluster after '10' attempts.
E         
E       assert True == False
E         +True
E         -False

test_unattended.py:217: AssertionError
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_log_errors - AssertionError: 2024/01/05...
================= 1 failed, 17 passed, 4 deselected in 16.29s ==================

redhat_8 log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.6.8, 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 / 4 deselected / 18 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors PASSED                         [ 88%]
test_unattended.py::test_check_cluster_log_errors PASSED                 [ 94%]
test_unattended.py::test_check_alerts PASSED                             [100%]

=============================== warnings summary ===============================
../../../../../usr/lib/python3.6/site-packages/requests/__init__.py:91
  /usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
    RequestsDependencyWarning)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
================= 18 passed, 4 deselected, 1 warning in 17.30s =================

redhat_9 log



--------------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.10, 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 / 4 deselected / 18 selected

test_unattended.py::test_check_wazuh_manager_authd PASSED                [  5%]
test_unattended.py::test_check_wazuh_manager_db PASSED                   [ 11%]
test_unattended.py::test_check_wazuh_manager_execd PASSED                [ 16%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED            [ 22%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED            [ 27%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED              [ 33%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED            [ 38%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED             [ 44%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED             [ 50%]
test_unattended.py::test_check_wazuh_manager_apid PASSED                 [ 55%]
test_unattended.py::test_check_filebeat_process PASSED                   [ 61%]
test_unattended.py::test_check_indexer_process PASSED                    [ 66%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED     [ 72%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow PASSED  [ 77%]
test_unattended.py::test_check_wazuh_api_status PASSED                   [ 83%]
test_unattended.py::test_check_log_errors PASSED                         [ 88%]
test_unattended.py::test_check_cluster_log_errors PASSED                 [ 94%]
test_unattended.py::test_check_alerts PASSED                             [100%]

====================== 18 passed, 4 deselected in 17.67s =======================