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

Release 4.8.0 - RC 2 - System tests #23433

Closed
1 task
juliamagan opened this issue May 15, 2024 · 2 comments
Closed
1 task

Release 4.8.0 - RC 2 - System tests #23433

juliamagan opened this issue May 15, 2024 · 2 comments

Comments

@juliamagan
Copy link
Member

juliamagan commented May 15, 2024

The following issue aims to run all system tests for the current release candidate, report the results, and open new issues for any encountered errors.

System tests information

Main release candidate issue #23405
Version 4.8.0
Release stage RC 2
Tag https://github.com/wazuh/wazuh/tree/v4.8.0-rc2
Previous system tests issue #23297

Instructions

To run tests in an AWS EC2 virtual environment, the following requirements will need to be met:

Environment EC2
Basic_cluster Ubuntu 22.04.2 LTS C5.XLarge 15GB SSD
Big_cluster_40_agents Ubuntu 22.04.2 LTS T3.Large 60GB SSD
Agentless_cluster Ubuntu 22.04.2 LTS C5a.XLarge 30GB SSD
Four_manager_disconnected_node Ubuntu 22.04.2 LTS T3.Large 30GB SSD
One_manager_agent Ubuntu 22.04.2 LTS T3.Large 30GB SSD
Manager_agent Ubuntu 22.04.2 LTS T3.Large 30GB SSD
Enrollment_cluster Ubuntu 22.04.2 LTS T3.Large 30GB SSD
Basic_environment Ubuntu 22.04.2 LTS T3.Large 30GB SSD

These requirements should be requested to the @wazuh/devel-devops team via https://github.com/wazuh/internal-devel-requests.

For further information, check https://github.com/wazuh/wazuh-qa/tree/master/tests/system/README.md

Test report procedure

All individual test checks must be marked as:

Pass The test ran successfully.
Xfail The test was expected to fail and it failed. It must be properly justified and reported in an issue.
Skip The test was not run. It must be properly justified and reported in an issue.
Fail The test failed. A new issue must be opened to evaluate and address the problem.

All test results must have one the following statuses:

🟢 All checks passed.
🔴 There is at least one failed check.
🟡 There is at least one expected fail or skipped test and no failures.

Any failing test must be properly addressed with a new issue, detailing the error and the possible cause. It must be included in the Fixes section of the current release candidate main issue.

Any expected fail or skipped test must have an issue justifying the reason. All auditors must validate the justification for an expected fail or skipped test.

An extended report of the test results must be attached as a zip or txt. This report can be used by the auditors to dig deeper into any possible failures and details.

Conclusions 🔴

New issues

Auditors validation

The definition of done for this one is the validation of the conclusions and the test results from all auditors.

All checks from below must be accepted in order to close this issue.

  • @wazuh/devel-qa-release
@juliamagan
Copy link
Member Author

Test results

Reports

agentless_cluster_env.zip
basic_cluster_env.zip
basic_environment_env.zip
big_cluster_40_agents_env.zip
enrollment_cluster_env.zip
four_manager_disconnected_node_env.zip
manager_agent_env.zip
one_manager_agent_env.zip


Test name Status Pass XFail/Skip Fail Issues Ref.
One Manager Agent
1 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py 🟢 12 0 0
2 test_fim/test_files/test_files_cud.py 🟢 9 0 0
3 test_fim/test_synchronization/test_synchronization.py 🟢 6 0 0
Four Manager Disconnected Node
4 test_cluster/test_agent_groups/test_agent_groups_new_cluster_node.py 🟢 2 0 0
Agentless Cluster
5 test_cluster/test_integrity_sync/test_integrity_sync.py 🟢 4 0 0
6 test_cluster/test_ruleset_sync_status/test_ruleset_sync_status.py 🟢 1 0 0
7 test_jwt_invalidation/test_change_rbac_mode.py 🟢 4 0 0
8 test_jwt_invalidation/test_change_security_resources.py 🟢 4 0 0
9 test_jwt_invalidation/test_disconnected_nodes.py 🟢 1 0 0
10 test_jwt_invalidation/test_revoke_endpoint.py 🟢 6 0 0
11 test_jwt_invalidation/test_update_password.py 🟢 4 0 0
Enrollment Cluster
12 test_cluster/test_agent_enrollment/test_agent_enrollment.py 🟢 1 0
13 test_cluster/test_agent_groups/test_agent_default_group_added.py 🟢 2 0 0
14 test_cluster/test_agent_groups/test_assign_agent_group_with_enrollment.py 🟢 1 0 0
15 test_cluster/test_agent_groups/test_assign_agent_never_connected_to_group.py 🟢 2 0 0
16 test_cluster/test_agent_groups/test_assign_agent_to_a_group_api.py 🟢 4 0 0
17 test_cluster/test_agent_groups/test_assign_agent_to_a_group_by_tool.py 🟢 2 0 0
18 test_cluster/test_agent_groups/test_assign_agent_to_a_group.py 🟢 4 0 0
19 test_cluster/test_agent_groups/test_assign_groups_guess.py 🔴 10 2 0 wazuh/wazuh-qa#5395
20 test_cluster/test_agent_groups/test_agent_groups.py 🟢 1 0 0
21 test_cluster/test_agent_groups/test_remove_group.py 🟢 10 0 0
22 test_cluster/test_agent_groups/test_group_sync_status.py 🟢 27 0 0
23 test_cluster/test_agent_groups/test_group_hash.py 🟢 8 0 0
Manager Agent
24 test_active_response_log_format/test_active_response_log_format.py 🟢 3 0 0
Basic Cluster
25 test_cluster/test_agent_info_sync/test_agent_info_sync.py 🟢 2 0 0
26 test_cluster/test_agent_key_polling/test_agent_key_polling.py 🟢 1 0 0
27 test_cluster/test_agent_files_deletion/test_agent_files_deletion.py 🟢 1 0 0
28 test_multigroups/test_multigroups.py 🟢 4 0 0
29 test_cluster/test_agent_groups/test_agent_groups_forced_change.py 🟢 3 0 0
Big Cluster 40 Agents
30 test_cluster/test_agent_groups/test_groups_sync_default.py 🟢 2 0 0
31 test_cluster/test_agent_groups/test_groups_sync_time.py 🟢 2 0 0
32 test_shutdown_message/test_shutdown_message.py 🟢 1 0 0
Basic Environment
33 test_agent_auth/test_agent_auth.py 🟢 20 0 0
34 test_enrollment/test_enrollment.py 🟢 20 0 0

@santipadilla
Copy link
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants