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

Integration tests: Reliable full yellow local for 4.2.0 #1516

Closed
juliamagan opened this issue Jun 28, 2021 · 3 comments
Closed

Integration tests: Reliable full yellow local for 4.2.0 #1516

juliamagan opened this issue Jun 28, 2021 · 3 comments

Comments

@juliamagan
Copy link
Member

juliamagan commented Jun 28, 2021

Wazuh QA: Branch Wazuh QA: Commit Wazuh: Tag Wazuh: Commit
4.2 a043e36 v4.2.0-rc8 wazuh/wazuh@a594dcd

It is necessary to get a reliable full yellow on the integration tests of the wazuh-qa repository. We will need to do research to check the status of the integration tests. If any problem is found during the research, we will need to fix it in order to achieve the reliable full green.

Fixing


Research

Integration tests fixing

QA Framework shared libraries fixing

Report


Product issues reported

QA framework issues reported

QA framework enhancement propositions

PRs merged

Tests disabled

Metrics


Check below some big numbers regarding the teamwork done here.

WPK
22 total comments
245 lines added, 74 lines removed
15 test rounds

Agentd
12 total comments
36 lines added, 29 lines removed
15 test rounds

GCP
6 total comments
227 lines added, 250 lines removed
9 test rounds

Remoted
30~ comments
77 lines added, 42 lines removed
128 tests rounds

WazuhDB
4~ comments
44 lines added, 5 lines removed
10 tests rounds

Vulnerability Detector
50~ comments
2,574 lines added, 595 lines removed
225 tests rounds

FIM
30~ comments
425 lines added, 666 lines removed
120 tests rounds

Conclusions


The majority of current integration tests were broken mostly because either the framework is not working properly or the host set up to run the tests was not correct.

There are big problems related to the amount of time that a test needs to finish. Major problems as well with the performance of internal functions like FileMonitor or ManInTheMiddle that we must fix for next iterations.

The full yellow local 4.2.0 has established a set of rules regarding new tests creation (for example, no more simulators) and IMO is the first step to achieve a solid and reliable testing framework by the end of this year.

@damarisg damarisg changed the title Integration tests: Reliable full green for 4.2.0 Integration tests: Reliable full yellow local for 4.2.0 Jul 5, 2021
@snaow
Copy link
Contributor

snaow commented Jul 12, 2021

I am taking out the following two issues:

Since they are related to Jenkins pipelines and this epic has turned into a full local testing effort.

@snaow
Copy link
Contributor

snaow commented Sep 6, 2021

Closed by: #1843

@snaow snaow closed this as completed Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants