Merge 4.7.2 into 4.8.0 #2715
Merged
Merge 4.7.2 into 4.8.0 #2715
Wazuh CI / Distributed Cases - manager_indexer - ubuntu - Tests
failed
Dec 21, 2023 in 1m 34s
Test_unattended_distributed_cases
Below you have the stage output
Details
ubuntu_focal_unattended_master 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/Test_unattended_distributed_cases/B2067/tests/unattended/install, configfile: pytest.ini
collecting ... collected 22 items / 5 deselected / 17 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 [ 17%]
test_unattended.py::test_check_wazuh_manager_analysisd PASSED [ 23%]
test_unattended.py::test_check_wazuh_manager_syscheckd PASSED [ 29%]
test_unattended.py::test_check_wazuh_manager_remoted PASSED [ 35%]
test_unattended.py::test_check_wazuh_manager_logcollec PASSED [ 41%]
test_unattended.py::test_check_wazuh_manager_monitord PASSED [ 47%]
test_unattended.py::test_check_wazuh_manager_modulesd PASSED [ 52%]
test_unattended.py::test_check_wazuh_manager_apid PASSED [ 58%]
test_unattended.py::test_check_filebeat_process PASSED [ 64%]
test_unattended.py::test_check_indexer_process PASSED [ 70%]
test_unattended.py::test_check_indexer_cluster_status_not_red PASSED [ 76%]
test_unattended.py::test_check_indexer_cluster_status_not_yellow FAILED [ 82%]
test_unattended.py::test_check_wazuh_api_status PASSED [ 88%]
test_unattended.py::test_check_log_errors PASSED [ 94%]
test_unattended.py::test_check_alerts PASSED [100%]
=================================== FAILURES ===================================
_________________ test_check_indexer_cluster_status_not_yellow _________________
@pytest.mark.indexer_cluster
def test_check_indexer_cluster_status_not_yellow():
> assert get_indexer_cluster_status() != "yellow"
E AssertionError: assert 'yellow' != 'yellow'
E + where 'yellow' = get_indexer_cluster_status()
test_unattended.py:198: AssertionError
=========================== short test summary info ============================
FAILED test_unattended.py::test_check_indexer_cluster_status_not_yellow - Ass...
================== 1 failed, 16 passed, 5 deselected in 1.02s ==================
ubuntu_focal_unattended 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/Test_unattended_distributed_cases/B2067/tests/unattended/install, configfile: pytest.ini
collecting ... collected 22 items / 20 deselected / 2 selected
test_unattended.py::test_check_dashboard_process PASSED [ 50%]
test_unattended.py::test_check_dashboard_status PASSED [100%]
======================= 2 passed, 20 deselected in 0.26s =======================
Loading