c5ax_100mb_3.html

Report generated on 22-Mar-2024 at 13:02:54 by pytest-html v3.1.1

Summary

24 tests ran in 1756.70 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 13:02:54.989811 test_cluster/test_integrity_sync/test_integrity_sync.py::test_missing_file Check if missing files are copied to each node. 143.65 cluster, agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.989925 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.55 cluster, agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.989992 test_cluster/test_integrity_sync/test_integrity_sync.py::test_extra_files Check if extra files in the workers are correctly deleted. 111.95 cluster, agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.990725 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. 250.99 cluster, agentless_cluster_env
------------------------------Captured stdout call------------------------------
STARTED MONITORING AT: 2024-03-22 12:41:58.150651 STARTED IN wazuh-master MONITORING AT: 2024-03-22 12:41:58.156085 STARTED IN wazuh-worker1 MONITORING AT: 2024-03-22 12:41:58.163463 STARTED IN wazuh-worker2 MONITORING AT: 2024-03-22 12:41:58.171543 ENDED MONITORING AT: 2024-03-22 12:42:58.262664
------------------------------Captured stderr call------------------------------
2024-03-22 12:41:58,153 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 12:41:58,155 - 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 12:41:58,156 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 12:41:58,158 - 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 12:41:58,159 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 12:41:58,162 - 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 12:41:58,163 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 12:41:58,166 - 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 12:41:58,167 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 12:41:58,170 - 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 12:41:58,171 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 12:41:58,176 - 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 12:42:08,707 - 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 12:42:08,707 - 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 12:42:08,731 - 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 12:42:08,732 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Command received: b'cancel_task'.* 2024-03-22 12:42:08,757 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Command received: b'cancel_task'.* 2024-03-22 12:42:08,757 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Decreasing sync size limit to .* MB.* 2024-03-22 12:42:08,782 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Decreasing sync size limit to .* MB.* 2024-03-22 12:42:08,783 - 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 12:42:54,231 - 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 12:42:57,040 - 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 12:42:57,040 - 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 12:42:57,225 - 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 12:42:57,225 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Increasing sync size limit to .* MB.* 2024-03-22 12:42:57,416 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Increasing sync size limit to .* MB.* 2024-03-22 12:42:57,720 - 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 12:42:58,258 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-03-22 12:42:58,259 - wazuh_testing - DEBUG - Checking results... 2024-03-22 12:42:58,260 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:42:58,260 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:42:58,260 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:42:58,261 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:42:58,261 - wazuh_testing - DEBUG - Received from wazuh-worker2 the expected message: True 2024-03-22 12:42:58,261 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:42:58,261 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:42:58,262 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:42:58,262 - 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 13:02:54.990832 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.77 cluster, agentless_cluster_env
------------------------------Captured stdout call------------------------------
STARTED MONITORING AT: 2024-03-22 12:45:24.239954 STARTED IN wazuh-master MONITORING AT: 2024-03-22 12:45:24.244940 ENDED MONITORING AT: 2024-03-22 12:46:32.316141 STARTED MONITORING AT: 2024-03-22 12:46:32.338716 STARTED IN wazuh-worker1 MONITORING AT: 2024-03-22 12:46:32.345285 STARTED IN wazuh-worker2 MONITORING AT: 2024-03-22 12:46:32.352978 ENDED MONITORING AT: 2024-03-22 12:47:15.909808
------------------------------Captured stderr call------------------------------
2024-03-22 12:45:24,242 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 12:45:24,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 12:45:24,245 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-03-22 12:45:24,248 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*\[Local integrity\] Starting.* 2024-03-22 12:46:31,312 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*\[Local integrity\] Starting.* 2024-03-22 12:46:31,312 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*\[Local integrity\] Finished in .* 2024-03-22 12:46:31,331 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*\[Local integrity\] Finished in .* 2024-03-22 12:46:32,314 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-03-22 12:46:32,314 - wazuh_testing - DEBUG - Checking results... 2024-03-22 12:46:32,315 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:46:32,316 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-03-22 12:46:32,341 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 12:46:32,345 - 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 12:46:32,345 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-03-22 12:46:32,349 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 12:46:32,351 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Starting.* 2024-03-22 12:46:32,353 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker2 and path: /var/ossec/logs/cluster.log 2024-03-22 12:46:32,357 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Starting.* 2024-03-22 12:46:32,357 - 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 12:46:51,366 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Starting.* 2024-03-22 12:46:51,366 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Finished in.* 2024-03-22 12:46:51,371 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Integrity sync.*Finished in.* 2024-03-22 12:47:15,386 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Starting.* 2024-03-22 12:47:15,386 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Finished in.* 2024-03-22 12:47:15,391 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker2 and message: .*Integrity sync.*Finished in.* 2024-03-22 12:47:15,906 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-03-22 12:47:15,907 - wazuh_testing - DEBUG - Checking results... 2024-03-22 12:47:15,908 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-03-22 12:47:15,909 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-03-22 12:47:15,909 - wazuh_testing - DEBUG - Received from wazuh-worker2 the expected message: True 2024-03-22 12:47:15,909 - 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 13:02:54.990893 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.92 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.990948 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.88 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991004 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 . 37.25 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991059 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.88 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991119 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. 86.42 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991175 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.47 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991233 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.54 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991346 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.30 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991405 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. 206.39 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991460 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.41 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991515 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.24 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991571 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.37 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991625 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.34 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991678 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.41 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991732 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.42 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991788 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.11 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991843 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.16 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991899 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.80 agentless_cluster_env
No log output captured.
Passed 2024-03-22 13:02:54.991953 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.35 agentless_cluster_env
No log output captured.