wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
65 stars 32 forks source link

Investigate and document tests - Workload/Scalability #4293

Closed verdx closed 11 months ago

verdx commented 1 year ago
Parent issue https://github.com/wazuh/wazuh-qa/issues/4241
Pipeline state :red_circle:
Tests state :red_circle:
Jenkins link https://ci.wazuh.info/job/CLUSTER-Workload_benchmarks_metrics/
Branch used 4.4

Description

This issue aims to analyze and document all about the Workload and Scalability tests. Jenkins parameters, pytest location, steps in the test and current state of it.

What is being tested?

This pipeline tests Wazuh's response to workload and it's scalability. This is done by creating a cluster and simulating a given amount of agent and then sending events to the simulated agents sockets. From the agent's and cluster response data CSV files are generated and used to create graphs that show response CPU usage of wazuh-apid and wazuh-clusterd daemons.

State

Parameters

mauromalara commented 1 year ago

Review comment No.1

The issue has no ETA and Start date ⚠️

What is tested

I would change the title to “What is being tested?”

Parameters

CUSTOM_TASK_DEFINITION_SIMULATE

Explain this parameter and its difference with CUSTOM_TASK_DEFINITION_API

CUSTOM_TASK_DEFINITION_VISUALIZATION

IDEM above.

LABELS

Do they have a specific format? (Comma-separated, separated by a newline, YAML, etc.) How can I use them?

MODE

I would add more detail to this. Maybe detailing the different types would help to understand better.

QUEUES

Change the description to: “EPS to be sent by each simulated agent through a given queue”

GROUPS_NUMBER, FILES_NUMBER_PER_GROUP, BYTES_NUMBER_PER_FILE

Describe these parameters

State

There is no execution attached. Please, attach some information about this or a screenshot.

Deblintrake09 commented 1 year ago

Applied requested changes.

mauromalara commented 1 year ago

Review comment No.2

Good job!!

mauromalara commented 1 year ago

LGTM!

davidjiglesias commented 11 months ago

LGTM!