wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
64 stars 30 forks source link

Migrate code from wazuh-qa to the new QA repository #5562

Closed QU3B1M closed 1 week ago

QU3B1M commented 2 months ago

Description

Migrate the relevant content from the repository wazuh-qa(legacy) detected on https://github.com/wazuh/wazuh-qa/issues/5527

To migrate:

Tasks

Conclusion

This migration was separated into two PRs to make the review "easier" as all the changes combined affect many files (close to 400).

QU3B1M commented 1 month ago

Update progress

QU3B1M commented 1 month ago

On hold 🔐

The migration of the End to End tests is being evaluated, this issue will remain On Hold until this is solved.

QU3B1M commented 4 weeks ago

After some analysis and debates with the team, the migration scope is expanded, the main goal is to migrate the required code from wazuh-qa to avoid losing coverage, applying the minimal refactoring needed, and trying to keep the new repository "clean".

In summary, we will migrate all the code from this repository used on any Jenkins pipeline required for v4.10.0.


Update 15/08/2024 - Working on https://github.com/wazuh/wazuh-qa-automation/pull/23

QU3B1M commented 3 weeks ago

Migration scope update

The scope of the migration is increased, now including the System tests with its dependencies apart from the Vulnerability Detector end-to-end test suite, and the provisioning tool. Taking this into account, the ETA will be updated.

QU3B1M commented 3 weeks ago

Update report

As the migrated code has grown, we separated it into two different branches.

The tests can now be executed correctly, anyway, some of them are failing due to an issue with the execution of a script on the guest systems (machines on test), this is because Ansible is not copying the script from the local code but its cloning from the GitHub repository instead.

QU3B1M commented 1 week ago

Update report

Test execution in progress using the Wazuh QA Environment provided on https://ci.wazuh.info/job/Wazuh_QA_environment/1216/. The results must be for early tomorrow morning.