c5ax_100mb_5.html

Report generated on 22-Mar-2024 at 15:37:43 by pytest-html v3.1.1

Summary

24 tests ran in 1776.12 seconds.

24 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_cluster/test_integrity_sync/test_integrity_sync.py 0 4 0 0
test_cluster/test_ruleset_sync_status/test_ruleset_sync_status.py 0 1 0 0
test_jwt_invalidation/test_change_rbac_mode.py 0 4 0 0
test_jwt_invalidation/test_change_security_resources.py 0 4 0 0
test_jwt_invalidation/test_disconnected_nodes.py 0 1 0 0
test_jwt_invalidation/test_revoke_endpoint.py 0 6 0 0
test_jwt_invalidation/test_update_password.py 0 4 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2024-03-22 15:37:43.001893 test_cluster/test_integrity_sync/test_integrity_sync.py::test_missing_file Check if missing files are copied to each node. 143.70 cluster, agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.002008 test_cluster/test_integrity_sync/test_integrity_sync.py::test_shared_files Check if the content of each file is the same in all nodes. 110.59 cluster, agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.002077 test_cluster/test_integrity_sync/test_integrity_sync.py::test_extra_files Check if extra files in the workers are correctly deleted. 111.97 cluster, agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.002827 test_cluster/test_integrity_sync/test_integrity_sync.py::test_zip_size_limit Check if zip size limit works and if it is dynamically adapted. 268.65 cluster, agentless_cluster_env
------------------------------Captured stdout call------------------------------
STARTED MONITORING AT: 2024-03-22 15:16:30.159378 STARTED IN wazuh-master MONITORING AT: 2024-03-22 15:16:30.165067 STARTED IN wazuh-worker1 MONITORING AT: 2024-03-22 15:16:30.171932 STARTED IN wazuh-worker2 MONITORING AT: 2024-03-22 15:16:30.179947 ENDED MONITORING AT: 2024-03-22 15:17:46.794250
------------------------------Captured stderr call------------------------------
2024-03-22 15:16:30,161 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 15:16:30,163 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/ubuntu/wazuh-qa/tests/system/test_cluster/test_integrity_sync/data/tmp/wazuh-master_cluster.log.tmp 2024-03-22 15:16:30,165 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 15:16:30,167 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*File too large to be synced: /var/ossec/etc/rules/test_file_too_big 2024-03-22 15:16:30,168 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 15:16:30,171 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/cluster.log. Composite file in /home/ubuntu/wazuh-qa/tests/system/test_cluster/test_integrity_sync/data/tmp/wazuh-worker1_cluster.log.tmp 2024-03-22 15:16:30,172 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 15:16:30,175 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Files to create: 0 \| Files to update: 0 \| Files to delete: 0.* 2024-03-22 15:16:30,175 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 15:16:30,179 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker2 and path: /var/ossec/logs/cluster.log. Composite file in /home/ubuntu/wazuh-qa/tests/system/test_cluster/test_integrity_sync/data/tmp/wazuh-worker2_cluster.log.tmp 2024-03-22 15:16:30,180 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 15:16:30,184 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker2 and message: .*Files to create: 0 \| Files to update: 0 \| Files to delete: 0.* 2024-03-22 15:17:25,485 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*File too large to be synced: /var/ossec/etc/rules/test_file_too_big 2024-03-22 15:17:25,485 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Maximum zip size exceeded. Not all files will be compressed during this sync.* 2024-03-22 15:17:25,524 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Maximum zip size exceeded. Not all files will be compressed during this sync.* 2024-03-22 15:17:25,524 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Command received: b'cancel_task'.* 2024-03-22 15:17:25,559 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Command received: b'cancel_task'.* 2024-03-22 15:17:25,559 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Decreasing sync size limit to .* MB.* 2024-03-22 15:17:25,586 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Decreasing sync size limit to .* MB.* 2024-03-22 15:17:25,586 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*wazuh-worker1.*Files to create in worker: 1 \| Files to update in worker: 0 \| Files to delete in worker: 0.* 2024-03-22 15:17:34,738 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker2 and message: .*Files to create: 0 \| Files to update: 0 \| Files to delete: 0.* 2024-03-22 15:17:45,422 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*wazuh-worker1.*Files to create in worker: 1 \| Files to update in worker: 0 \| Files to delete in worker: 0.* 2024-03-22 15:17:45,422 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*wazuh-worker2.*Files to create in worker: 1 \| Files to update in worker: 0 \| Files to delete in worker: 0.* 2024-03-22 15:17:45,629 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*wazuh-worker2.*Files to create in worker: 1 \| Files to update in worker: 0 \| Files to delete in worker: 0.* 2024-03-22 15:17:45,629 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Increasing sync size limit to .* MB.* 2024-03-22 15:17:45,689 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Increasing sync size limit to .* MB.* 2024-03-22 15:17:46,244 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Files to create: 0 \| Files to update: 0 \| Files to delete: 0.* 2024-03-22 15:17:46,789 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-03-22 15:17:46,790 - wazuh_testing - DEBUG - Checking results... 2024-03-22 15:17:46,791 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:17:46,792 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:17:46,792 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:17:46,792 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:17:46,792 - wazuh_testing - DEBUG - Received from wazuh-worker2 the expected message: True 2024-03-22 15:17:46,793 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:17:46,793 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:17:46,793 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:17:46,794 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:80 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:85 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:80 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:85 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:80 Add new file composer process for wazuh-worker2 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:85 Add new file monitor process for wazuh-worker2 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:189 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:178 Checking results... DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-worker2 the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-worker1 the expected message: True
Passed 2024-03-22 15:37:43.002931 test_cluster/test_ruleset_sync_status/test_ruleset_sync_status.py::test_ruleset_sync_status Check if 'GET /cluster/ruleset/synchronization' API endpoint returns correct sync status. 244.79 cluster, agentless_cluster_env
------------------------------Captured stdout call------------------------------
STARTED MONITORING AT: 2024-03-22 15:20:13.239700 STARTED IN wazuh-master MONITORING AT: 2024-03-22 15:20:13.245428 ENDED MONITORING AT: 2024-03-22 15:21:20.317675 STARTED MONITORING AT: 2024-03-22 15:21:20.342612 STARTED IN wazuh-worker1 MONITORING AT: 2024-03-22 15:21:20.349773 STARTED IN wazuh-worker2 MONITORING AT: 2024-03-22 15:21:20.358207 ENDED MONITORING AT: 2024-03-22 15:22:04.913978
------------------------------Captured stderr call------------------------------
2024-03-22 15:20:13,242 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 15:20:13,245 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/ubuntu/wazuh-qa/tests/system/test_cluster/test_ruleset_sync_status/data/tmp/wazuh-master_cluster.log.tmp 2024-03-22 15:20:13,245 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 15:20:13,248 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*\[Local integrity\] Starting.* 2024-03-22 15:21:19,310 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*\[Local integrity\] Starting.* 2024-03-22 15:21:19,311 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*\[Local integrity\] Finished in .* 2024-03-22 15:21:19,344 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*\[Local integrity\] Finished in .* 2024-03-22 15:21:20,315 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-03-22 15:21:20,316 - wazuh_testing - DEBUG - Checking results... 2024-03-22 15:21:20,317 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:21:20,317 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 15:21:20,345 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 15:21:20,349 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/cluster.log. Composite file in /home/ubuntu/wazuh-qa/tests/system/test_cluster/test_ruleset_sync_status/data/tmp/wazuh-worker1_cluster.log.tmp 2024-03-22 15:21:20,350 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 15:21:20,354 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Starting.* 2024-03-22 15:21:20,354 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 15:21:20,358 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 15:21:20,359 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker2 and path: /var/ossec/logs/cluster.log. Composite file in /home/ubuntu/wazuh-qa/tests/system/test_cluster/test_ruleset_sync_status/data/tmp/wazuh-worker2_cluster.log.tmp 2024-03-22 15:21:20,364 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Starting.* 2024-03-22 15:21:41,370 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Starting.* 2024-03-22 15:21:41,370 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Finished in.* 2024-03-22 15:21:41,374 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Finished in.* 2024-03-22 15:22:04,394 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Starting.* 2024-03-22 15:22:04,394 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Finished in.* 2024-03-22 15:22:04,398 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Finished in.* 2024-03-22 15:22:04,911 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-03-22 15:22:04,911 - wazuh_testing - DEBUG - Checking results... 2024-03-22 15:22:04,913 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-03-22 15:22:04,913 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-03-22 15:22:04,913 - wazuh_testing - DEBUG - Received from wazuh-worker2 the expected message: True 2024-03-22 15:22:04,913 - wazuh_testing - DEBUG - Received from wazuh-worker2 the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:80 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:85 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:189 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:178 Checking results... DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:80 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:85 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:80 Add new file composer process for wazuh-worker2 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:85 Add new file monitor process for wazuh-worker2 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:189 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:178 Checking results... DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-worker2 the expected message: True DEBUG wazuh_testing:system_monitoring.py:184 Received from wazuh-worker2 the expected message: True
Passed 2024-03-22 15:37:43.002992 test_jwt_invalidation/test_change_rbac_mode.py::test_change_rbac_mode_with_endpoint[login_endpoint0] Check that all tokens are revoked when changing RBAC mode with the security endpoint. 77.83 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003050 test_jwt_invalidation/test_change_rbac_mode.py::test_change_rbac_mode_with_endpoint[login_endpoint1] Check that all tokens are revoked when changing RBAC mode with the security endpoint. 9.89 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003106 test_jwt_invalidation/test_change_rbac_mode.py::test_change_rbac_mode_manually[login_endpoint0] Check that all tokens are revoked when changing RBAC mode manually in the security.yaml . 36.39 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003161 test_jwt_invalidation/test_change_rbac_mode.py::test_change_rbac_mode_manually[login_endpoint1] Check that all tokens are revoked when changing RBAC mode manually in the security.yaml . 65.75 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003218 test_jwt_invalidation/test_change_security_resources.py::test_change_user_policy_and_role[wazuh-master-wazuh-worker1-login_endpoint0] Test that the obtained token is invalid after changing a role or policy related to the user. 87.31 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003277 test_jwt_invalidation/test_change_security_resources.py::test_change_user_policy_and_role[wazuh-master-wazuh-worker1-login_endpoint1] Test that the obtained token is invalid after changing a role or policy related to the user. 12.46 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003338 test_jwt_invalidation/test_change_security_resources.py::test_change_user_policy_and_role[wazuh-worker1-wazuh-worker2-login_endpoint0] Test that the obtained token is invalid after changing a role or policy related to the user. 12.58 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003452 test_jwt_invalidation/test_change_security_resources.py::test_change_user_policy_and_role[wazuh-worker1-wazuh-worker2-login_endpoint1] Test that the obtained token is invalid after changing a role or policy related to the user. 45.47 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003512 test_jwt_invalidation/test_disconnected_nodes.py::test_create_user_when_node_is_disconnected Check that user information is not lost when different nodes from the cluster disconnect and reconnect. 205.28 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003569 test_jwt_invalidation/test_revoke_endpoint.py::test_revoke_all_tokens_with_api[wazuh-master-login_endpoint0] Test that every token gets revoked after making an API call to 'PUT /security/user/revoke'. 71.51 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003625 test_jwt_invalidation/test_revoke_endpoint.py::test_revoke_all_tokens_with_api[wazuh-master-login_endpoint1] Test that every token gets revoked after making an API call to 'PUT /security/user/revoke'. 12.34 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003682 test_jwt_invalidation/test_revoke_endpoint.py::test_revoke_all_tokens_with_api[wazuh-worker1-login_endpoint0] Test that every token gets revoked after making an API call to 'PUT /security/user/revoke'. 12.34 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003737 test_jwt_invalidation/test_revoke_endpoint.py::test_revoke_all_tokens_with_api[wazuh-worker1-login_endpoint1] Test that every token gets revoked after making an API call to 'PUT /security/user/revoke'. 12.29 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003790 test_jwt_invalidation/test_revoke_endpoint.py::test_revoke_all_tokens_with_api[wazuh-worker2-login_endpoint0] Test that every token gets revoked after making an API call to 'PUT /security/user/revoke'. 12.53 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003845 test_jwt_invalidation/test_revoke_endpoint.py::test_revoke_all_tokens_with_api[wazuh-worker2-login_endpoint1] Test that every token gets revoked after making an API call to 'PUT /security/user/revoke'. 37.34 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003900 test_jwt_invalidation/test_update_password.py::test_update_password[login_endpoint0-wazuh-master-None-Newpass1*] Test that the obtained token is invalid after updating the password from its user. 57.24 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.003956 test_jwt_invalidation/test_update_password.py::test_update_password[login_endpoint1-wazuh-worker1-Newpass1*-Newpass2*] Test that the obtained token is invalid after updating the password from its user. 4.22 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.004014 test_jwt_invalidation/test_update_password.py::test_update_password[login_endpoint2-wazuh-master-Newpass2*-Newpass1*] Test that the obtained token is invalid after updating the password from its user. 3.83 agentless_cluster_env
No log output captured.
Passed 2024-03-22 15:37:43.004070 test_jwt_invalidation/test_update_password.py::test_update_password[login_endpoint3-wazuh-worker1-Newpass1*-Newpass2*] Test that the obtained token is invalid after updating the password from its user. 28.26 agentless_cluster_env
No log output captured.