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

DTT1 - Iteration 3 - Test module - Battery test #5125

Closed
3 tasks done
Tracked by #4495
fcaffieri opened this issue Mar 19, 2024 · 19 comments
Closed
3 tasks done
Tracked by #4495

DTT1 - Iteration 3 - Test module - Battery test #5125

fcaffieri opened this issue Mar 19, 2024 · 19 comments
Assignees

Comments

@fcaffieri
Copy link
Member

fcaffieri commented Mar 19, 2024

Epic #4495

Description

The objective of this issue is to carry out a battery of tests for the Test module, to guarantee the correct functioning of the tests in the provided systems.

Tasks

  • Define test cases
  • Execute use cases.
  • Record evidence of use cases.
@fcaffieri fcaffieri changed the title Battery test DTT1 - Iteration 3 - Test module - Battery test Mar 19, 2024
@wazuhci wazuhci moved this to Backlog in Release 4.9.0 Mar 19, 2024
@rauldpm
Copy link
Member

rauldpm commented Mar 21, 2024

This issue can be started using Vagrant, AWS testing will be blocked until DevOps defines the mandatory EC2 tags and how we have to use them

@fcaffieri fcaffieri self-assigned this Mar 21, 2024
@fcaffieri
Copy link
Member Author

Update

Working on defining test cases for vagrant

@wazuhci wazuhci moved this from Backlog to In progress in Release 4.9.0 Mar 22, 2024
@fcaffieri
Copy link
Member Author

fcaffieri commented Mar 22, 2024

Vagrant Provider - Test agent 🟢 PART 1

⚠️
Amazon - 2023 image does not exist
Suse - 15 image does not exist
openSUSE 15 Assistant does not work (for Manager Installation) (Could not find the system)

  • Test agent into all supported OS with one manager (RedHat 7) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-redhat-7-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-redhat-7-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-02 16:41:58,054] [INFO] [531485] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 16:41:58,055] [INFO] [531485] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 16:41:58,055] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Starting task.
[2024-04-02 16:42:46,327] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Finished task in 48.26 seconds.
[2024-04-02 16:42:46,333] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 16:43:38,846] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 52.51 seconds.
[2024-04-02 16:43:38,857] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 16:44:32,356] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 53.49 seconds.
[2024-04-02 16:44:32,362] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-02 16:45:26,856] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 54.49 seconds.
[2024-04-02 16:45:26,866] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-02 16:46:42,517] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 75.64 seconds.
[2024-04-02 16:46:42,523] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-02 16:47:46,717] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 64.18 seconds.
[2024-04-02 16:47:46,728] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-02 16:49:06,439] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 79.71 seconds.
[2024-04-02 16:49:06,450] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-02 16:50:10,785] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 64.33 seconds.
[2024-04-02 16:50:10,795] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-02 16:51:24,943] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 74.14 seconds.
[2024-04-02 16:51:24,955] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-02 16:52:52,164] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 87.20 seconds.
[2024-04-02 16:52:52,175] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-02 16:53:53,009] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 60.83 seconds.
[2024-04-02 16:53:53,019] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-02 16:54:51,482] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 58.46 seconds.
[2024-04-02 16:54:51,493] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-02 16:57:05,068] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 133.56 seconds.
[2024-04-02 16:57:05,073] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-02 16:57:23,222] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-02 16:57:24,147] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 16:57:25,124] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 16:57:26,878] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-02 16:57:27,041] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 16:57:27,499] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 16:57:30,129] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-02 16:57:31,708] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-02 16:57:33,645] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-02 16:57:33,896] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 16:57:34,418] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 16:57:35,083] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 16:57:35,393] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-02 16:57:51,761] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-02 16:59:33,680] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 16:59:38,869] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-02 16:59:46,158] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 16:59:49,163] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 16:59:49,163] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 16:59:49,842] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 16:59:53,184] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-02 16:59:58,285] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 17:00:00,324] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 17:00:00,325] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:00:05,765] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 17:00:10,243] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-02 17:00:35,917] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 17:00:38,322] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 17:00:38,322] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:00:38,633] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 17:00:41,729] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-02 17:00:45,682] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 17:00:46,951] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 17:00:46,951] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:00:47,342] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 17:00:51,672] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-02 17:01:16,769] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 17:01:19,291] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 17:01:19,291] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:01:19,636] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 17:01:23,412] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-02 17:02:12,868] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 17:02:15,392] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 17:02:15,392] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:02:15,884] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 17:02:20,282] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-02 17:02:42,494] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 17:02:44,900] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 17:02:44,900] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:02:45,276] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 17:02:48,923] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-02 17:03:38,654] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 17:03:40,795] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 17:03:40,795] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:03:41,041] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 17:03:44,224] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-02 17:03:49,644] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 17:03:51,649] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 17:03:51,649] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:03:52,239] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 17:03:54,842] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-02 17:03:59,735] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 17:04:02,203] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 17:04:02,203] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:04:02,494] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 17:04:05,554] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-02 17:04:11,673] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 17:04:13,451] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 17:04:13,451] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:04:13,744] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 17:04:17,368] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-02 17:04:22,982] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 17:04:25,047] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-02 17:04:25,047] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:04:29,637] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 17:04:30,128] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 17:04:30,367] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 17:04:30,697] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 17:04:30,888] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 17:04:31,596] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 17:04:31,885] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 17:04:32,248] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 17:04:32,537] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 17:04:32,713] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 17:04:33,070] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 17:04:33,688] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 17:06:25,160] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 17:06:25,917] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 17:06:27,091] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 17:06:28,056] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 17:06:28,324] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 17:06:33,902] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 17:06:39,317] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 17:06:39,925] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 17:06:40,358] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 17:06:40,626] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 17:06:40,917] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 17:06:41,313] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 17:07:11,993] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 17:07:20,393] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 17:07:28,711] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 17:07:34,994] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 17:07:40,811] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-02 17:07:48,474] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 17:07:54,978] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 17:08:03,398] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 17:08:11,161] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 17:08:18,993] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 17:08:27,216] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 17:08:36,683] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 17:08:42,892] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 17:08:43,560] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 17:08:44,276] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 17:08:44,770] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 17:08:44,937] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 17:08:45,365] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 17:08:45,793] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 17:08:46,249] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 17:08:46,578] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 17:08:46,848] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 17:08:47,208] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 17:08:47,491] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 17:09:10,039] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-02 17:09:12,017] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-02 17:09:13,083] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-02 17:09:14,165] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-02 17:09:15,249] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-02 17:09:16,310] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-02 17:09:17,933] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-02 17:09:19,868] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-02 17:09:21,611] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-02 17:09:22,764] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-02 17:09:25,045] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-02 17:09:27,277] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-02 17:09:28,746] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 17:09:29,848] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 17:09:30,440] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 17:09:31,183] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 17:09:31,502] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 17:09:32,458] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 17:09:33,085] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 17:09:33,917] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 17:09:34,510] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 17:09:34,960] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 17:09:35,367] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 17:09:36,163] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 17:09:37,082] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 17:09:43,856] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 17:09:51,330] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 17:09:57,001] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 17:10:02,363] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-02 17:10:08,310] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 17:10:14,177] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 17:10:21,999] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 17:10:26,614] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 17:10:33,096] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 17:10:39,643] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 17:10:47,489] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 17:11:08,445] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 17:11:12,228] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-02 17:11:16,319] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 17:11:19,391] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 17:11:19,392] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:11:19,687] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 17:11:21,830] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-02 17:11:25,612] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 17:11:27,598] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 17:11:27,598] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:11:28,068] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 17:11:30,624] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-02 17:11:42,428] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 17:11:44,827] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 17:11:44,827] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:11:45,026] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 17:11:46,632] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-02 17:11:53,436] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 17:11:54,730] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 17:11:54,730] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:11:55,138] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 17:11:57,660] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-02 17:12:14,300] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 17:12:16,420] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 17:12:16,420] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:12:16,740] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 17:12:18,931] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-02 17:12:43,996] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 17:12:46,189] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 17:12:46,189] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:12:46,619] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 17:12:49,289] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-02 17:13:00,894] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 17:13:03,203] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 17:13:03,203] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:13:03,560] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 17:13:05,897] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-02 17:13:30,281] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 17:13:32,352] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 17:13:32,352] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:13:32,592] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 17:13:34,672] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-02 17:13:37,656] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 17:13:39,984] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 17:13:39,985] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:13:40,234] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 17:13:42,194] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-02 17:13:44,567] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 17:13:46,937] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 17:13:46,937] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:13:47,247] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 17:13:49,311] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-02 17:13:52,305] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 17:13:54,533] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 17:13:54,533] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:13:54,824] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 17:13:57,128] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-02 17:14:00,712] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 17:14:02,861] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-02 17:14:02,861] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 17:14:49,905] [INFO] [531485] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1064.83 seconds.
[2024-04-02 17:14:49,915] [INFO] [531485] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 17:14:49,916] [INFO] [531485] [MainThread] [workflow_engine]: Executing tasks in parallel.





  • Test agent into all supported OS with one manager (RedHat 8) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-redhat-8-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-redhat-8-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-02 17:49:44,024] [INFO] [616976] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 17:49:44,024] [INFO] [616976] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 17:49:44,026] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Starting task.
[2024-04-02 17:50:40,045] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Finished task in 56.01 seconds.
[2024-04-02 17:50:40,056] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 17:51:34,381] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 54.32 seconds.
[2024-04-02 17:51:34,387] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 17:52:25,334] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 50.94 seconds.
[2024-04-02 17:52:25,339] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-02 17:53:20,317] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 54.97 seconds.
[2024-04-02 17:53:20,322] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-02 17:54:44,140] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 83.81 seconds.
[2024-04-02 17:54:44,150] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-02 17:55:36,097] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 51.94 seconds.
[2024-04-02 17:55:36,108] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-02 17:56:30,528] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 54.41 seconds.
[2024-04-02 17:56:30,534] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-02 17:57:20,423] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 49.88 seconds.
[2024-04-02 17:57:20,428] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-02 17:58:14,662] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 54.23 seconds.
[2024-04-02 17:58:14,667] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-02 17:59:20,802] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 66.13 seconds.
[2024-04-02 17:59:20,808] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-02 18:00:08,440] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 47.63 seconds.
[2024-04-02 18:00:08,451] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-02 18:00:59,504] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 51.04 seconds.
[2024-04-02 18:00:59,504] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-02 18:02:41,368] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 101.86 seconds.
[2024-04-02 18:02:41,369] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-02 18:02:57,843] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-02 18:02:58,598] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 18:02:59,447] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 18:03:01,460] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-02 18:03:01,793] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 18:03:02,362] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 18:03:07,428] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-02 18:03:09,155] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-02 18:03:12,063] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-02 18:03:12,343] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 18:03:12,587] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 18:03:13,169] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 18:03:13,477] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-02 18:03:29,160] [INFO] [Testing]: Installing Manager in redhat-8
[2024-04-02 18:06:27,689] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 18:06:32,928] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-02 18:06:41,899] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 18:06:45,787] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 18:06:45,787] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:06:46,378] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 18:06:49,729] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-02 18:06:57,272] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 18:06:59,889] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 18:06:59,889] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:07:00,529] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 18:07:05,306] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-02 18:07:32,609] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 18:07:35,972] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 18:07:35,972] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:07:36,163] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 18:07:38,881] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-02 18:07:42,982] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 18:07:44,453] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 18:07:44,453] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:07:44,983] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 18:07:49,438] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-02 18:08:14,847] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 18:08:17,733] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 18:08:17,733] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:08:18,443] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 18:08:24,194] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-02 18:08:49,665] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 18:08:52,382] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 18:08:52,382] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:08:52,930] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 18:08:57,155] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-02 18:09:21,164] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 18:09:23,696] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 18:09:23,696] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:09:24,043] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 18:09:27,485] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-02 18:10:21,543] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 18:10:23,585] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 18:10:23,585] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:10:23,812] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 18:10:26,885] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-02 18:10:31,741] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 18:10:33,624] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 18:10:33,624] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:10:33,852] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 18:10:36,381] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-02 18:10:40,599] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 18:10:42,105] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 18:10:42,105] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:10:42,380] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 18:10:45,938] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-02 18:10:51,442] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 18:10:53,416] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 18:10:53,416] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:10:53,689] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 18:10:57,118] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-02 18:11:02,765] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 18:11:04,757] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-02 18:11:04,757] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:11:09,209] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:11:09,694] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:11:09,890] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:11:10,201] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:11:10,377] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:11:10,728] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 18:11:11,134] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:11:11,439] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 18:11:11,699] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 18:11:11,877] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 18:11:12,067] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 18:11:12,311] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 18:12:57,245] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:12:59,286] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:13:01,253] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:13:02,232] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:13:02,481] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:13:03,195] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 18:13:03,959] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:13:04,988] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 18:13:05,636] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 18:13:06,050] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 18:13:06,451] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 18:13:06,972] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 18:13:35,903] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 18:13:44,207] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 18:13:51,953] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 18:13:58,867] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 18:14:04,275] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-02 18:14:13,156] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-02 18:14:21,293] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 18:14:31,556] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 18:14:37,324] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 18:14:45,815] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 18:14:54,864] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 18:15:04,071] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 18:15:11,238] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:15:11,990] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:15:12,660] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:15:13,223] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:15:13,421] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:15:13,920] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 18:15:14,467] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:15:15,109] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 18:15:15,493] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 18:15:15,829] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 18:15:16,256] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 18:15:16,540] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 18:15:36,219] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-02 18:15:37,675] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-02 18:15:39,426] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-02 18:15:41,348] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-02 18:15:43,001] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-02 18:15:44,139] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-02 18:15:46,447] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-02 18:15:48,349] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-02 18:15:50,363] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-02 18:15:52,034] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-02 18:15:53,928] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-02 18:15:56,350] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-02 18:15:57,571] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:15:58,843] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:15:59,375] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:16:00,226] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:16:00,601] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:16:01,525] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 18:16:02,492] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:16:03,473] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 18:16:04,181] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 18:16:04,649] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 18:16:05,304] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 18:16:05,913] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 18:16:06,318] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 18:16:14,405] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 18:16:22,180] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 18:16:26,890] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 18:16:33,312] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-02 18:16:40,219] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-02 18:16:46,142] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 18:16:52,224] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 18:16:58,946] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 18:17:06,407] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 18:17:14,129] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 18:17:22,054] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 18:17:46,270] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 18:17:50,092] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-02 18:17:54,489] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 18:17:57,815] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 18:17:57,815] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:17:58,118] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 18:18:00,235] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-02 18:18:03,529] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 18:18:05,443] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 18:18:05,443] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:18:05,949] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 18:18:08,742] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-02 18:18:22,783] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 18:18:25,229] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 18:18:25,229] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:18:25,383] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 18:18:26,913] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-02 18:18:33,327] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 18:18:34,637] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 18:18:34,638] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:18:35,149] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 18:18:38,385] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-02 18:18:54,596] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 18:18:56,932] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 18:18:56,932] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:18:57,369] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 18:19:00,409] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-02 18:19:16,099] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 18:19:18,902] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 18:19:18,902] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:19:19,374] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 18:19:22,400] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-02 18:19:34,979] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 18:19:37,587] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 18:19:37,588] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:19:37,972] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 18:19:40,344] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-02 18:20:05,738] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 18:20:07,746] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 18:20:07,747] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:20:08,342] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 18:20:10,629] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-02 18:20:13,317] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 18:20:15,186] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 18:20:15,186] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:20:15,513] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 18:20:17,502] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-02 18:20:19,928] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 18:20:21,752] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 18:20:21,753] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:20:22,042] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 18:20:24,035] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-02 18:20:26,659] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 18:20:28,313] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 18:20:28,313] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:20:28,601] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 18:20:30,784] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-02 18:20:33,973] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 18:20:35,984] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-02 18:20:35,984] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:21:25,730] [INFO] [616976] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1124.35 seconds.
[2024-04-02 18:21:25,741] [INFO] [616976] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 18:21:25,741] [INFO] [616976] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (RedHat 9) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-redhat-9-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-redhat-9-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result

[2024-04-02 18:21:25,741] [INFO] [616976] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 18:21:25,741] [INFO] [616976] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 18:24:38,539] [INFO] [660816] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 18:24:38,540] [INFO] [660816] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 18:24:38,541] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Starting task.
[2024-04-02 18:25:33,087] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Finished task in 54.55 seconds.
[2024-04-02 18:25:33,092] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 18:26:26,401] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 53.30 seconds.
[2024-04-02 18:26:26,412] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 18:27:16,750] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 50.33 seconds.
[2024-04-02 18:27:16,761] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-02 18:28:09,274] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 52.50 seconds.
[2024-04-02 18:28:09,279] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-02 18:29:27,401] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 78.12 seconds.
[2024-04-02 18:29:27,411] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-02 18:30:18,475] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 51.06 seconds.
[2024-04-02 18:30:18,481] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-02 18:31:12,948] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 54.47 seconds.
[2024-04-02 18:31:12,953] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-02 18:32:02,667] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 49.70 seconds.
[2024-04-02 18:32:02,678] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-02 18:32:56,547] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 53.85 seconds.
[2024-04-02 18:32:56,552] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-02 18:34:01,698] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 65.14 seconds.
[2024-04-02 18:34:01,708] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-02 18:34:59,043] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 57.32 seconds.
[2024-04-02 18:34:59,053] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-02 18:35:54,854] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 55.79 seconds.
[2024-04-02 18:35:54,865] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-02 18:37:34,253] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 99.38 seconds.
[2024-04-02 18:37:34,258] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-02 18:37:47,134] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-02 18:37:47,907] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 18:37:48,484] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 18:37:50,046] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-02 18:37:50,205] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 18:37:50,752] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 18:37:55,001] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-02 18:37:55,180] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-02 18:37:57,396] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-02 18:37:57,634] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 18:37:57,975] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 18:37:58,367] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 18:37:58,812] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-02 18:38:14,995] [INFO] [Testing]: Installing Manager in redhat-9
[2024-04-02 18:40:17,160] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 18:40:21,917] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-02 18:40:28,098] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 18:40:31,022] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 18:40:31,022] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:40:31,780] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 18:40:35,258] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-02 18:40:39,988] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 18:40:42,259] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 18:40:42,259] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:40:42,728] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 18:40:47,107] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-02 18:41:09,947] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 18:41:12,373] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 18:41:12,373] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:41:12,698] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 18:41:15,277] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-02 18:41:18,945] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 18:41:20,270] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 18:41:20,270] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:41:20,686] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 18:41:24,535] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-02 18:41:47,293] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 18:41:49,497] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 18:41:49,497] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:41:49,986] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 18:41:53,992] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-02 18:42:42,542] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 18:42:44,908] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 18:42:44,909] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 18:42:45,580] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 18:42:45,580] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:45,580] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:45,580] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:45,580] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:46,075] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-02 18:42:46,075] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 18:42:46,075] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:46,075] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:46,075] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:46,075] [INFO] [Testing]: Unsupported operating system
[2024-04-02 18:42:46,137] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:42:46,728] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:42:47,670] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:42:48,158] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:42:48,317] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:42:48,769] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 18:42:49,036] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:42:54,428] [ERROR] [Testing]: The redhat-9 status is not loaded
[2024-04-02 18:42:56,790] [ERROR] [Testing]: The version redhat-9 is not 4.7.3 by command
[2024-04-02 18:42:59,025] [ERROR] [Testing]: The revision redhat-9 is not 40714 by command
[2024-04-02 18:43:42,370] [ERROR] [Testing]: Error configuring the Manager IP (192.168.57.2)in: redhat-9 agent
[2024-04-02 18:43:42,458] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:43:43,596] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:43:43,948] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:43:44,474] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:43:44,776] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:43:45,232] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 18:43:45,522] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:43:45,639] [ERROR] [Testing]: The redhat-9 is not active
[2024-04-02 18:44:08,822] [ERROR] [Testing]: agent-7 is not active by API
[2024-04-02 18:44:11,985] [ERROR] [Testing]: agent-7 has not ClientKeys file
[2024-04-02 18:44:20,171] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 18:44:29,411] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 18:44:37,740] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 18:44:44,676] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 18:44:49,835] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-02 18:44:56,410] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 18:45:03,002] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 18:45:03,160] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 18:45:03,616] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 18:45:03,904] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 18:45:04,253] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 18:45:04,622] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 18:45:05,582] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:45:06,432] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:45:07,085] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:45:07,634] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:45:07,809] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:45:08,271] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 18:45:08,552] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:45:08,699] [ERROR] [Testing]: agent-7 is not active by command
[2024-04-02 18:45:11,208] [ERROR] [Testing]: agent-7 is not present in agent_control information
[2024-04-02 18:45:13,233] [ERROR] [Testing]: agent-7 is not active by command
[2024-04-02 18:45:15,350] [ERROR] [Testing]: agent-7 has not ClientKeys file
[2024-04-02 18:45:23,729] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-02 18:45:25,724] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-02 18:45:27,033] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-02 18:45:28,493] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-02 18:45:29,995] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-02 18:45:31,840] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-02 18:45:33,417] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-02 18:45:33,563] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-02 18:45:33,897] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-02 18:45:34,147] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-02 18:45:34,389] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-02 18:45:34,759] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-02 18:45:35,611] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 18:45:36,859] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 18:45:37,546] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 18:45:38,209] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 18:45:38,523] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 18:45:39,498] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 18:45:40,049] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 18:45:40,204] [ERROR] [Testing]: agent-7 is still active by command
[2024-04-02 18:45:40,236] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 18:45:47,902] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 18:45:54,311] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 18:45:58,982] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 18:46:03,302] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-02 18:46:09,191] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 18:46:15,906] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 18:46:16,066] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 18:46:16,414] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 18:46:16,733] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 18:46:17,131] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 18:46:17,419] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 18:46:29,844] [ERROR] [Testing]: agent-7 is not Active before the installation
[2024-04-02 18:46:30,397] [ERROR] [Testing]: The /var/ossec is still present in the agent agent-1
[2024-04-02 18:46:32,569] [ERROR] [Testing]: agent-1 is not inactive by command
[2024-04-02 18:47:07,697] [INFO] [660816] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 573.43 seconds.
[2024-04-02 18:47:07,707] [INFO] [660816] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 18:47:07,707] [INFO] [660816] [MainThread] [workflow_engine]: Executing tasks in parallel.

  • Test agent into all supported OS with one manager (CentOS 7) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-centos-7-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-centos-7-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-02 10:45:18,686] [INFO] [325957] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 10:45:18,687] [INFO] [325957] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 10:45:27,620] [INFO] [328736] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 10:45:27,620] [INFO] [328736] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 10:45:27,620] [INFO] [328736] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Starting task.
[2024-04-02 10:46:15,744] [INFO] [328736] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Finished task in 48.12 seconds.
[2024-04-02 10:46:15,749] [INFO] [328736] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-02 10:47:51,683] [INFO] [328736] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 95.93 seconds.
[2024-04-02 10:47:51,694] [INFO] [328736] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 10:47:51,694] [INFO] [328736] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 10:52:03,738] [INFO] [338053] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 10:52:03,738] [INFO] [338053] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 10:52:03,739] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Starting task.
[2024-04-02 10:52:51,448] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Finished task in 47.71 seconds.
[2024-04-02 10:52:51,453] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 10:53:43,860] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 52.40 seconds.
[2024-04-02 10:53:43,865] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 10:54:33,045] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 49.18 seconds.
[2024-04-02 10:54:33,051] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-02 10:55:27,150] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 54.10 seconds.
[2024-04-02 10:55:27,155] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-02 10:56:42,216] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 75.06 seconds.
[2024-04-02 10:56:42,226] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-02 10:57:34,293] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 52.06 seconds.
[2024-04-02 10:57:34,303] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-02 10:58:28,985] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 54.67 seconds.
[2024-04-02 10:58:28,990] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-02 10:59:23,490] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 54.50 seconds.
[2024-04-02 10:59:23,495] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-02 11:00:16,513] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 53.02 seconds.
[2024-04-02 11:00:16,524] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-02 11:01:29,124] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 72.59 seconds.
[2024-04-02 11:01:29,136] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-02 11:02:21,875] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 52.73 seconds.
[2024-04-02 11:02:21,885] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-02 11:03:12,081] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 50.18 seconds.
[2024-04-02 11:03:12,091] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-02 11:04:51,545] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 99.44 seconds.
[2024-04-02 11:04:51,555] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-02 11:05:03,829] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 11:05:04,780] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 11:05:05,392] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 11:05:07,031] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-02 11:05:07,234] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 11:05:18,467] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-02 11:05:20,865] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-02 11:05:22,321] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-02 11:05:26,861] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-02 11:05:27,080] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 11:05:27,335] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 11:05:27,632] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 11:05:27,928] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-02 11:06:14,356] [INFO] [Testing]: Installing Manager in centos-7
[2024-04-02 11:07:54,400] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 11:07:59,381] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-02 11:08:07,301] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 11:08:10,634] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 11:08:10,634] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:08:11,268] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 11:08:14,481] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-02 11:08:20,051] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 11:08:22,640] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 11:08:22,641] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:08:23,165] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 11:08:27,344] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-02 11:08:54,010] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 11:08:56,424] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 11:08:56,424] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:08:56,590] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 11:08:59,215] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-02 11:09:03,145] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 11:09:04,419] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 11:09:04,419] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:09:04,867] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 11:09:09,513] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-02 11:09:36,346] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 11:09:39,196] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 11:09:39,197] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:09:39,592] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 11:09:44,643] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-02 11:10:40,536] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 11:10:42,679] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 11:10:42,679] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:10:43,130] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 11:10:47,444] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-02 11:11:12,428] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 11:11:14,853] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 11:11:14,853] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:11:15,411] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 11:11:19,427] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-02 11:12:13,330] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 11:12:16,084] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 11:12:16,084] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:12:16,300] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 11:12:19,365] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-02 11:12:24,732] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 11:12:26,522] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 11:12:26,523] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:12:26,818] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 11:12:29,446] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-02 11:12:33,634] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 11:12:35,264] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 11:12:35,265] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:12:35,558] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 11:12:38,192] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-02 11:12:43,025] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 11:12:44,651] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 11:12:44,651] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:12:44,948] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 11:12:48,715] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-02 11:12:55,236] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 11:12:57,217] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-02 11:12:57,218] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:13:17,251] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 11:13:17,809] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 11:13:18,280] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 11:13:23,818] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 11:13:23,987] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 11:13:29,452] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 11:13:29,861] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 11:13:30,364] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 11:13:30,876] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 11:13:31,097] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 11:13:31,345] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 11:13:31,715] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 11:15:05,637] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 11:15:07,251] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 11:15:09,411] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 11:15:10,636] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 11:15:10,941] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 11:15:12,774] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 11:15:13,990] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 11:15:15,456] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 11:15:16,620] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 11:15:17,499] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 11:15:18,734] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 11:15:19,842] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 11:16:02,821] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 11:16:09,649] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 11:16:18,415] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 11:16:24,073] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 11:16:30,548] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-02 11:16:39,085] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 11:16:47,426] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 11:16:54,528] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 11:17:02,405] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 11:17:08,937] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 11:17:16,354] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 11:17:24,740] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 11:17:30,671] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 11:17:31,348] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 11:17:32,071] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 11:17:32,638] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 11:17:32,918] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 11:17:33,425] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 11:17:33,814] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 11:17:34,334] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 11:17:34,687] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 11:17:34,922] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 11:17:35,187] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 11:17:35,519] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 11:17:56,536] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-02 11:17:58,290] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-02 11:17:59,639] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-02 11:18:00,790] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-02 11:18:02,442] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-02 11:18:04,294] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-02 11:18:05,881] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-02 11:18:07,268] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-02 11:18:08,876] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-02 11:18:10,193] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-02 11:18:11,812] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-02 11:18:13,666] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-02 11:18:14,929] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 11:18:16,436] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 11:18:17,114] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 11:18:17,944] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 11:18:18,270] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 11:18:19,262] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 11:18:19,949] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 11:18:20,933] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 11:18:21,674] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 11:18:22,076] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 11:18:22,640] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 11:18:23,097] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-02 11:18:23,490] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 11:18:31,189] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 11:18:37,641] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 11:18:42,327] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 11:18:47,725] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-02 11:18:54,030] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 11:19:00,055] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 11:19:07,913] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 11:19:14,042] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 11:19:20,627] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 11:19:27,281] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 11:19:33,835] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-02 11:19:56,898] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 11:20:00,717] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-02 11:20:05,612] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 11:20:09,139] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 11:20:09,139] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:20:09,446] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 11:20:11,874] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-02 11:20:15,438] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 11:20:17,971] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 11:20:17,971] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:20:18,440] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 11:20:21,241] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-02 11:20:33,971] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 11:20:36,577] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 11:20:36,577] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:20:36,743] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 11:20:38,485] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-02 11:20:45,916] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 11:20:47,231] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 11:20:47,231] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:20:47,753] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 11:20:51,194] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-02 11:21:08,056] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 11:21:10,607] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 11:21:10,607] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:21:10,947] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 11:21:13,552] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-02 11:21:41,222] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 11:21:43,251] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 11:21:43,251] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:21:43,725] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 11:21:46,557] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-02 11:21:58,906] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 11:22:01,370] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 11:22:01,370] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:22:01,741] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 11:22:04,130] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-02 11:22:32,697] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 11:22:34,838] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 11:22:34,839] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:22:35,064] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 11:22:37,159] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-02 11:22:39,765] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 11:22:41,594] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 11:22:41,594] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:22:41,828] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 11:22:43,762] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-02 11:22:45,937] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 11:22:47,590] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 11:22:47,590] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:22:47,874] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 11:22:49,746] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-02 11:22:51,848] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 11:22:53,467] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 11:22:53,467] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:22:53,763] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 11:22:56,294] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-02 11:22:59,319] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-02 11:23:01,446] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-02 11:23:01,446] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:23:49,384] [INFO] [338053] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1137.82 seconds.
[2024-04-02 11:23:49,390] [INFO] [338053] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 11:23:49,390] [INFO] [338053] [MainThread] [workflow_engine]: Executing tasks in parallel.



  • Test agent into all supported OS with one manager (CentOS 8) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:

    - linux-centos-8-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-centos-8-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 11:55:41,273] [INFO] [1014530] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 11:55:41,273] [INFO] [1014530] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 11:55:41,274] [INFO] [1014530] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Starting task.
[2024-04-03 11:56:03,263] [INFO] [1015771] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 11:56:03,263] [INFO] [1015771] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 11:56:03,264] [INFO] [1015771] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 11:56:22,051] [INFO] [1017835] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 11:56:22,051] [INFO] [1017835] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 11:56:22,052] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Starting task.
[2024-04-03 11:57:16,961] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Finished task in 54.90 seconds.
[2024-04-03 11:57:16,972] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 11:57:17,161] [ERROR] [Testing]: The revision centos-7 is not 40714 by using commands
[2024-04-03 11:58:10,136] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 53.15 seconds.
[2024-04-03 11:58:10,146] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 11:59:01,042] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 50.89 seconds.
[2024-04-03 11:59:01,053] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 11:59:32,328] [ERROR] [Testing]: The /var/ossec is not present in centos-7
[2024-04-03 11:59:57,257] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 56.20 seconds.
[2024-04-03 11:59:57,267] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 12:01:23,808] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 86.54 seconds.
[2024-04-03 12:01:23,818] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 12:02:16,359] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 52.53 seconds.
[2024-04-03 12:02:16,370] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 12:03:12,802] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 56.42 seconds.
[2024-04-03 12:03:12,813] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 12:04:08,142] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 55.32 seconds.
[2024-04-03 12:04:08,153] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 12:05:00,298] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 52.14 seconds.
[2024-04-03 12:05:00,303] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 12:06:08,326] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 68.02 seconds.
[2024-04-03 12:06:08,336] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-03 12:07:06,760] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 58.41 seconds.
[2024-04-03 12:07:06,771] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 12:08:02,173] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 55.39 seconds.
[2024-04-03 12:08:02,184] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-03 12:09:40,564] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 98.37 seconds.
[2024-04-03 12:09:40,575] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 12:09:52,185] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 12:09:52,511] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 12:09:54,223] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 12:09:54,223] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 12:09:54,512] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 12:09:55,038] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 12:09:55,038] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 12:09:55,361] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 12:09:55,891] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 12:09:55,891] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 12:09:56,242] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 12:09:57,743] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 12:09:57,743] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 12:09:58,040] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 12:09:58,203] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 12:09:58,203] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 12:09:58,615] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 12:09:59,007] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 12:09:59,007] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 12:09:59,334] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 12:10:08,458] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 12:10:08,458] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 12:10:08,779] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 12:10:13,529] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 12:10:13,529] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 12:10:13,899] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 12:10:15,486] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 12:10:15,486] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 12:10:15,785] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 12:10:15,954] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 12:10:15,955] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 12:10:16,473] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 12:10:16,654] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 12:10:16,654] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 12:10:17,093] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 12:10:17,305] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 12:10:17,305] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 12:10:17,579] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 12:10:17,808] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 12:10:30,914] [INFO] [Testing]: Installing Manager in centos-8
[2024-04-03 12:12:49,435] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:12:54,169] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-03 12:13:01,416] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:13:04,519] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 12:13:04,520] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:13:05,124] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:13:08,006] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-03 12:13:13,446] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:13:15,499] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 12:13:15,499] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:13:15,953] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 12:13:19,929] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-03 12:13:44,584] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 12:13:47,068] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 12:13:47,068] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:13:47,242] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 12:13:49,307] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-03 12:13:53,517] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 12:13:54,838] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 12:13:54,838] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:13:55,233] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 12:13:59,814] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 12:14:23,775] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 12:14:25,955] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 12:14:25,955] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:14:26,425] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 12:14:31,049] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-03 12:14:55,181] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 12:14:57,720] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 12:14:57,720] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:14:58,295] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 12:15:02,204] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 12:15:54,082] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 12:15:56,273] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 12:15:56,273] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:15:56,994] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 12:16:01,333] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 12:16:24,165] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 12:16:26,656] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 12:16:26,656] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:16:26,872] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 12:16:29,851] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 12:16:35,541] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 12:16:37,353] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 12:16:37,353] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:16:38,022] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 12:16:40,835] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-03 12:16:46,454] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 12:16:48,067] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 12:16:48,067] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:16:48,511] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 12:16:51,526] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-03 12:16:56,209] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 12:16:57,878] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 12:16:57,878] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:16:58,156] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 12:17:02,132] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-03 12:17:07,462] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 12:17:09,485] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 12:17:09,485] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:17:14,604] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:17:15,233] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:17:15,457] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:17:16,063] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:17:16,451] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:17:17,006] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:17:17,464] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:17:17,802] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:17:18,176] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:17:18,338] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 12:17:18,529] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:17:18,776] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:19:26,349] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:19:27,187] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:19:28,116] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:19:28,803] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:19:28,989] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:19:29,611] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:19:30,164] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:19:30,581] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:19:31,198] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:19:31,442] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 12:19:31,688] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:19:32,247] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:19:58,125] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 12:20:06,933] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 12:20:14,588] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 12:20:20,592] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 12:20:26,804] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 12:20:35,418] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 12:20:44,606] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 12:20:52,816] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 12:21:00,981] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 12:21:08,864] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 12:21:16,127] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 12:21:25,071] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 12:21:31,764] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:21:32,661] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:21:33,445] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:21:33,995] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:21:34,203] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:21:34,651] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:21:35,227] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:21:35,607] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:21:36,114] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:21:36,345] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 12:21:36,580] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:21:36,944] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:21:56,781] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-03 12:21:58,485] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-03 12:21:59,843] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-03 12:22:01,814] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-03 12:22:03,516] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 12:22:05,063] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-03 12:22:06,612] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 12:22:08,150] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 12:22:09,423] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 12:22:10,329] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-03 12:22:12,371] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-03 12:22:13,617] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-03 12:22:14,609] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:22:17,302] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:22:17,916] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:22:18,751] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:22:19,135] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:22:20,294] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:22:21,233] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:22:21,913] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:22:22,809] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:22:23,223] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 12:22:23,670] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:22:24,349] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:22:24,741] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 12:22:32,383] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 12:22:39,871] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 12:22:44,541] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 12:22:49,901] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 12:22:58,317] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 12:23:04,311] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 12:23:09,951] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 12:23:15,909] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 12:23:21,505] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 12:23:28,961] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 12:23:36,753] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 12:23:59,968] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:24:03,705] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-03 12:24:08,032] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:24:11,218] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 12:24:11,219] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:24:11,546] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:24:13,874] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-03 12:24:17,256] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:24:19,255] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 12:24:19,255] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:24:19,710] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 12:24:22,596] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-03 12:24:35,247] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 12:24:37,967] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 12:24:37,968] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:24:38,122] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 12:24:39,676] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-03 12:24:46,648] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 12:24:48,135] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 12:24:48,135] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:24:48,555] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 12:24:51,467] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 12:25:08,990] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 12:25:11,214] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 12:25:11,214] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:25:11,687] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 12:25:14,892] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-03 12:25:31,683] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 12:25:34,247] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 12:25:34,247] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:25:34,602] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 12:25:37,180] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 12:26:03,627] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 12:26:05,946] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 12:26:05,946] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:26:06,416] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 12:26:09,298] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 12:26:21,517] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 12:26:24,047] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 12:26:24,048] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:26:24,262] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 12:26:26,210] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 12:26:28,780] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 12:26:30,583] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 12:26:30,583] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:26:31,003] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 12:26:33,520] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-03 12:26:37,007] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 12:26:39,120] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 12:26:39,120] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:26:39,415] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 12:26:41,671] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-03 12:26:44,384] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 12:26:46,028] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 12:26:46,028] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:26:46,319] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 12:26:48,462] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-03 12:26:51,938] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 12:26:53,952] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 12:26:53,952] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:27:45,151] [INFO] [1017835] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1084.57 seconds.
[2024-04-03 12:27:45,162] [INFO] [1017835] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 12:27:45,162] [INFO] [1017835] [MainThread] [workflow_engine]: Executing tasks in parallel.




  • Test agent into all supported OS with one manager (Debian 11) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-debian-11-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-debian-11-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 12:32:46,641] [INFO] [1071104] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 12:32:46,642] [INFO] [1071104] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 12:32:46,643] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Starting task.
[2024-04-03 12:33:41,551] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Finished task in 54.91 seconds.
[2024-04-03 12:33:41,561] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 12:34:34,520] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 52.95 seconds.
[2024-04-03 12:34:34,526] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 12:35:24,829] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 50.30 seconds.
[2024-04-03 12:35:24,834] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 12:36:19,405] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 54.57 seconds.
[2024-04-03 12:36:19,411] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 12:37:35,080] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 75.66 seconds.
[2024-04-03 12:37:35,090] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 12:38:24,771] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 49.67 seconds.
[2024-04-03 12:38:24,776] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 12:39:18,575] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 53.79 seconds.
[2024-04-03 12:39:18,585] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 12:40:12,322] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 53.73 seconds.
[2024-04-03 12:40:12,327] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 12:41:03,049] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 50.72 seconds.
[2024-04-03 12:41:03,059] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-03 12:41:56,775] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 53.70 seconds.
[2024-04-03 12:41:56,785] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 12:43:01,042] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 64.25 seconds.
[2024-04-03 12:43:01,053] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 12:43:54,615] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 53.55 seconds.
[2024-04-03 12:43:54,626] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-03 12:45:34,483] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 99.85 seconds.
[2024-04-03 12:45:34,493] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 12:45:46,085] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 12:45:46,405] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 12:45:46,619] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 12:45:46,620] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 12:45:47,134] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 12:45:47,667] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 12:45:47,667] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 12:45:47,976] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 12:45:48,558] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 12:45:48,558] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 12:45:48,906] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 12:45:50,306] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 12:45:50,306] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 12:45:50,678] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 12:45:50,825] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 12:45:50,826] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 12:45:51,219] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 12:45:51,607] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 12:45:51,607] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 12:45:51,943] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 12:45:53,764] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 12:45:53,764] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 12:45:54,092] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 12:45:59,623] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 12:45:59,623] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 12:46:00,099] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 12:46:01,613] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 12:46:01,613] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 12:46:02,070] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 12:46:03,631] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 12:46:03,632] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 12:46:04,083] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 12:46:04,268] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 12:46:04,268] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 12:46:04,581] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 12:46:04,838] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 12:46:04,838] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 12:46:05,100] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 12:46:05,337] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 12:46:21,525] [INFO] [Testing]: Installing Manager in debian-11
[2024-04-03 12:47:55,992] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:48:00,904] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-03 12:48:06,826] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:48:09,903] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 12:48:09,904] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:48:10,489] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:48:13,804] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-03 12:48:18,113] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:48:19,971] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 12:48:19,971] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:48:20,463] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 12:48:24,845] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-03 12:48:48,663] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 12:48:51,101] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 12:48:51,102] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:48:51,274] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 12:48:53,847] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-03 12:48:57,402] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 12:48:58,678] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 12:48:58,678] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:48:59,103] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 12:49:03,425] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 12:49:26,939] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 12:49:29,222] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 12:49:29,222] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:49:29,759] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 12:49:33,790] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-03 12:50:24,683] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 12:50:26,819] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 12:50:26,819] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:50:27,389] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 12:50:32,075] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-03 12:50:55,490] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 12:50:58,078] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 12:50:58,078] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:50:58,406] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 12:51:02,045] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 12:51:53,590] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 12:51:55,622] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 12:51:55,622] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:51:56,150] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 12:52:00,378] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 12:52:22,866] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 12:52:25,322] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 12:52:25,323] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:52:26,132] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 12:52:29,309] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 12:52:35,122] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 12:52:37,033] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 12:52:37,033] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:52:37,318] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 12:52:40,180] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-03 12:52:44,999] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 12:52:46,909] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 12:52:46,909] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:52:47,342] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 12:52:50,819] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-03 12:52:55,244] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 12:52:57,207] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 12:52:57,208] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:53:02,077] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:53:02,577] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:53:02,798] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:53:03,178] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:53:03,389] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:53:03,798] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 12:53:04,109] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:53:04,533] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:53:04,792] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:53:05,143] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:53:05,320] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:53:05,679] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:54:47,399] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:54:48,866] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:54:50,110] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:54:50,778] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:54:51,150] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:54:52,136] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 12:54:53,029] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:54:54,599] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:54:55,407] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:54:56,253] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:54:56,734] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:54:57,412] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:55:32,232] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 12:55:39,409] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 12:55:47,498] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 12:55:53,751] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 12:56:00,658] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 12:56:08,766] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 12:56:16,871] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 12:56:28,486] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 12:56:40,479] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 12:56:48,885] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 12:56:58,014] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 12:57:06,253] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 12:57:12,815] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:57:13,440] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:57:14,135] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:57:14,720] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:57:14,886] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:57:15,413] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 12:57:15,836] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:57:16,330] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:57:16,694] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:57:17,192] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:57:17,442] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:57:17,913] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:57:37,082] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-03 12:57:39,233] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-03 12:57:40,444] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-03 12:57:42,520] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-03 12:57:44,080] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 12:57:45,376] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-03 12:57:46,738] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-03 12:57:48,301] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 12:57:49,910] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 12:57:51,488] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 12:57:53,124] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-03 12:57:54,996] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-03 12:57:56,041] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 12:57:57,780] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 12:57:58,306] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 12:57:59,394] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 12:57:59,722] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 12:58:00,674] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 12:58:01,289] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 12:58:02,185] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 12:58:02,838] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 12:58:03,636] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 12:58:04,077] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 12:58:04,596] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 12:58:04,961] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 12:58:12,646] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 12:58:20,046] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 12:58:24,377] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 12:58:29,865] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 12:58:34,691] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 12:58:42,729] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 12:58:48,745] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 12:58:54,397] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 12:58:59,275] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 12:59:03,954] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 12:59:11,617] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 12:59:33,758] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:59:37,425] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-03 12:59:43,964] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 12:59:47,094] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 12:59:47,094] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:59:47,382] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:59:49,542] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-03 12:59:52,773] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 12:59:54,678] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 12:59:54,679] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 12:59:55,147] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 12:59:57,888] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-03 13:00:10,634] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 13:00:13,076] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 13:00:13,076] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:00:13,234] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 13:00:14,890] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-03 13:00:21,641] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 13:00:23,153] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 13:00:23,153] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:00:23,724] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 13:00:26,746] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 13:00:43,637] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 13:00:45,915] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 13:00:45,915] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:00:46,490] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 13:00:48,736] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-03 13:01:15,643] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 13:01:17,591] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 13:01:17,591] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:01:18,022] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 13:01:21,321] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-03 13:01:37,933] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 13:01:40,546] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 13:01:40,546] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:01:40,920] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 13:01:43,376] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 13:02:12,511] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 13:02:14,617] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 13:02:14,617] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:02:15,085] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 13:02:17,827] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 13:02:30,400] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 13:02:33,163] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 13:02:33,163] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:02:33,389] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 13:02:35,493] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 13:02:38,169] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 13:02:40,603] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 13:02:40,603] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:02:40,879] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 13:02:42,810] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-03 13:02:44,960] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 13:02:46,884] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 13:02:46,884] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:02:47,199] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 13:02:49,308] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-03 13:02:52,366] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 13:02:54,336] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 13:02:54,337] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:03:37,335] [INFO] [1071104] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1082.83 seconds.
[2024-04-03 13:03:37,345] [INFO] [1071104] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 13:03:37,346] [INFO] [1071104] [MainThread] [workflow_engine]: Executing tasks in parallel.



  • Test agent into all supported OS with one manager (Debian 12) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-debian-12-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-debian-12-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 13:14:04,026] [INFO] [1119560] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 13:14:04,026] [INFO] [1119560] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 13:14:04,027] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Starting task.
[2024-04-03 13:14:53,273] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Finished task in 49.25 seconds.
[2024-04-03 13:14:53,284] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 13:15:48,776] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 55.48 seconds.
[2024-04-03 13:15:48,781] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 13:16:39,489] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 50.70 seconds.
[2024-04-03 13:16:39,495] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 13:17:35,951] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 56.46 seconds.
[2024-04-03 13:17:35,962] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 13:18:53,780] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 77.81 seconds.
[2024-04-03 13:18:53,791] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 13:19:45,917] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 52.12 seconds.
[2024-04-03 13:19:45,923] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 13:20:41,660] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 55.73 seconds.
[2024-04-03 13:20:41,671] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 13:21:36,960] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 55.28 seconds.
[2024-04-03 13:21:36,971] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 13:22:27,446] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 50.47 seconds.
[2024-04-03 13:22:27,457] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-03 13:23:23,627] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 56.16 seconds.
[2024-04-03 13:23:23,633] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 13:24:28,818] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 65.19 seconds.
[2024-04-03 13:24:28,824] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-03 13:25:17,607] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 48.78 seconds.
[2024-04-03 13:25:17,612] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-03 13:27:00,876] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 103.25 seconds.
[2024-04-03 13:27:00,881] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 13:27:12,590] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 13:27:12,906] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 13:27:13,168] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 13:27:13,168] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 13:27:13,434] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 13:27:13,999] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 13:27:13,999] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 13:27:14,314] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 13:27:14,849] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 13:27:14,850] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 13:27:15,209] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 13:27:16,578] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 13:27:16,578] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 13:27:17,054] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 13:27:17,261] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 13:27:17,261] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 13:27:17,572] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 13:27:18,007] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 13:27:18,007] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 13:27:18,319] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 13:27:21,020] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 13:27:21,021] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 13:27:21,339] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 13:27:29,620] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 13:27:29,620] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 13:27:29,948] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 13:27:33,707] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 13:27:33,707] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 13:27:34,070] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 13:27:35,527] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 13:27:35,527] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 13:27:35,841] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 13:27:36,019] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 13:27:36,019] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 13:27:36,333] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 13:27:36,522] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 13:27:36,523] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 13:27:36,790] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 13:27:37,065] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 13:27:58,020] [INFO] [Testing]: Installing Manager in debian-12
[2024-04-03 13:29:53,156] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 13:29:58,704] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-03 13:30:05,622] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 13:30:09,036] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 13:30:09,036] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:30:09,711] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 13:30:13,134] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-03 13:30:17,811] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 13:30:19,821] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 13:30:19,821] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:30:20,262] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 13:30:24,339] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-03 13:30:47,782] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 13:30:50,107] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 13:30:50,107] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:30:50,257] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 13:30:52,783] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-03 13:30:56,097] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 13:30:57,411] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 13:30:57,411] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:30:57,837] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 13:31:02,366] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 13:31:27,383] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 13:31:29,777] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 13:31:29,777] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:31:30,098] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 13:31:33,639] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-03 13:32:27,468] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 13:32:29,735] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 13:32:29,735] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:32:30,194] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 13:32:34,796] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-03 13:32:59,524] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 13:33:02,147] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 13:33:02,147] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:33:02,828] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 13:33:06,671] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 13:33:59,232] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 13:34:01,363] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 13:34:01,364] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:34:01,824] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 13:34:06,062] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 13:34:29,810] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 13:34:32,336] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 13:34:32,336] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:34:32,580] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 13:34:35,670] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 13:34:40,286] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 13:34:42,289] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 13:34:42,290] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:34:42,560] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 13:34:45,200] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-03 13:34:49,086] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 13:34:50,632] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 13:34:50,632] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:34:50,910] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 13:34:55,148] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-03 13:34:59,913] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 13:35:01,852] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 13:35:01,852] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:35:06,707] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 13:35:07,251] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 13:35:07,711] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 13:35:08,083] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 13:35:08,397] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 13:35:08,834] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 13:35:09,100] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 13:35:09,568] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 13:35:09,847] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 13:35:10,213] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 13:35:10,417] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 13:35:10,619] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 13:36:40,600] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 13:36:43,636] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 13:36:46,184] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 13:36:48,308] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 13:36:48,755] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 13:36:50,529] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 13:36:51,737] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 13:36:54,620] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 13:36:56,035] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 13:36:58,614] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 13:36:59,559] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 13:37:00,534] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 13:37:36,866] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 13:37:44,993] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 13:37:52,929] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 13:37:58,151] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 13:38:04,857] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 13:38:11,921] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 13:38:19,527] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 13:38:27,355] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 13:38:35,486] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 13:38:44,489] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 13:38:52,804] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 13:39:01,475] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 13:39:09,203] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 13:39:10,033] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 13:39:10,630] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 13:39:11,131] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 13:39:11,381] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 13:39:11,827] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 13:39:12,418] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 13:39:12,926] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 13:39:13,354] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 13:39:13,895] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 13:39:14,161] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 13:39:14,496] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 13:39:33,966] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-03 13:39:35,658] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-03 13:39:37,640] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-03 13:39:39,033] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-03 13:39:40,486] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 13:39:41,588] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-03 13:39:42,948] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-03 13:39:44,998] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 13:39:46,295] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 13:39:47,538] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 13:39:49,448] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-03 13:39:50,963] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-03 13:39:52,391] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 13:39:53,561] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 13:39:54,556] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 13:39:55,393] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 13:39:55,893] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 13:39:56,715] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 13:39:57,463] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 13:39:58,464] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 13:39:59,093] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 13:39:59,931] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 13:40:00,394] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 13:40:00,803] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 13:40:01,179] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 13:40:08,820] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 13:40:15,870] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 13:40:20,574] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 13:40:26,117] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 13:40:32,933] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 13:40:38,081] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 13:40:43,015] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 13:40:48,586] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 13:40:55,553] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 13:41:00,842] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 13:41:05,719] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 13:41:29,901] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 13:41:33,646] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-03 13:41:38,640] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 13:41:41,900] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 13:41:41,900] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:41:42,404] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 13:41:44,693] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-03 13:41:48,202] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 13:41:50,334] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 13:41:50,334] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:41:50,862] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 13:41:53,517] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-03 13:42:05,956] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 13:42:08,460] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 13:42:08,460] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:42:08,789] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 13:42:10,557] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-03 13:42:16,883] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 13:42:18,213] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 13:42:18,214] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:42:18,641] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 13:42:21,334] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 13:42:38,748] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 13:42:41,223] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 13:42:41,223] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:42:41,565] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 13:42:43,842] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-03 13:43:10,807] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 13:43:12,777] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 13:43:12,778] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:43:13,211] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 13:43:16,238] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-03 13:43:32,901] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 13:43:35,494] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 13:43:35,494] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:43:35,841] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 13:43:38,262] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 13:44:05,367] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 13:44:07,618] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 13:44:07,618] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:44:08,089] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 13:44:10,939] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 13:44:23,081] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 13:44:25,570] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 13:44:25,570] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:44:25,810] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 13:44:27,856] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 13:44:30,504] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 13:44:32,364] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 13:44:32,364] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:44:32,587] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 13:44:34,338] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-03 13:44:36,506] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 13:44:37,982] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 13:44:37,982] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:44:38,298] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 13:44:40,613] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-03 13:44:43,800] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 13:44:45,730] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 13:44:45,730] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 13:45:29,372] [INFO] [1119560] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1108.48 seconds.
[2024-04-03 13:45:29,383] [INFO] [1119560] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 13:45:29,384] [INFO] [1119560] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (Ubuntu 20) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-ubuntu-20.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 13:45:29,383] [INFO] [1119560] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 13:45:29,384] [INFO] [1119560] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 13:50:42,998] [INFO] [1168207] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 13:50:42,998] [INFO] [1168207] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 13:50:42,999] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 13:51:37,739] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Finished task in 54.74 seconds.
[2024-04-03 13:51:37,750] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 13:52:27,758] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 50.00 seconds.
[2024-04-03 13:52:27,769] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 13:53:22,543] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 54.76 seconds.
[2024-04-03 13:53:22,548] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 13:54:37,569] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 75.02 seconds.
[2024-04-03 13:54:37,580] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 13:55:27,266] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 49.68 seconds.
[2024-04-03 13:55:27,276] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 13:56:20,801] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 53.51 seconds.
[2024-04-03 13:56:20,812] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 13:57:13,630] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 52.81 seconds.
[2024-04-03 13:57:13,641] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 13:58:03,376] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 49.72 seconds.
[2024-04-03 13:58:03,386] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-03 13:58:56,716] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 53.32 seconds.
[2024-04-03 13:58:56,721] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 14:00:00,073] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 63.35 seconds.
[2024-04-03 14:00:00,078] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-03 14:00:47,600] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 47.52 seconds.
[2024-04-03 14:00:47,605] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 14:01:41,314] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 53.70 seconds.
[2024-04-03 14:01:41,325] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-03 14:03:18,355] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 97.02 seconds.
[2024-04-03 14:03:18,365] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 14:03:29,921] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 14:03:30,179] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 14:03:30,727] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 14:03:30,727] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 14:03:31,037] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 14:03:31,577] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 14:03:31,577] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 14:03:31,922] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 14:03:33,448] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 14:03:33,448] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 14:03:33,783] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 14:03:33,928] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 14:03:33,928] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 14:03:34,308] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 14:03:34,758] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 14:03:34,758] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 14:03:35,188] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 14:03:37,024] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 14:03:37,024] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 14:03:37,392] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 14:03:58,195] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 14:03:58,196] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 14:03:58,513] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 14:04:00,458] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 14:04:00,459] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 14:04:00,815] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 14:04:02,248] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 14:04:02,248] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 14:04:02,551] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 14:04:02,728] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 14:04:02,728] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 14:04:03,064] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 14:04:03,238] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 14:04:03,238] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 14:04:03,548] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 14:04:03,759] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 14:04:03,759] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 14:04:04,030] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 14:04:04,266] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 14:04:27,617] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-03 14:06:07,974] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 14:06:11,349] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-03 14:06:16,098] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 14:06:18,089] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 14:06:18,089] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:06:18,599] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 14:06:22,694] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-03 14:06:46,570] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 14:06:49,116] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 14:06:49,117] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:06:49,265] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 14:06:52,114] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-03 14:06:56,168] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 14:06:57,542] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 14:06:57,543] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:06:58,096] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 14:07:03,130] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 14:07:27,466] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 14:07:29,570] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 14:07:29,570] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:07:29,914] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 14:07:33,547] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-03 14:08:23,320] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 14:08:25,467] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 14:08:25,467] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:08:25,949] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 14:08:30,837] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-03 14:08:54,501] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 14:08:57,131] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 14:08:57,132] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:08:57,761] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 14:09:02,031] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 14:09:52,460] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 14:09:54,781] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 14:09:54,782] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:09:55,270] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 14:09:59,624] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 14:10:22,499] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 14:10:25,010] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 14:10:25,011] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:10:25,225] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 14:10:28,191] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 14:10:33,474] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 14:10:35,249] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 14:10:35,249] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:10:35,538] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 14:10:38,458] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-03 14:10:43,267] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 14:10:44,930] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 14:10:44,930] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:10:45,243] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 14:10:47,926] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-03 14:10:53,745] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 14:10:55,938] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 14:10:55,938] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:10:56,248] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 14:10:59,751] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-03 14:11:08,038] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 14:11:10,040] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 14:11:10,040] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:11:14,569] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 14:11:14,819] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 14:11:15,454] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 14:11:15,633] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 14:11:16,204] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 14:11:16,476] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 14:11:17,079] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 14:11:17,329] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 14:11:17,650] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 14:11:17,825] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 14:11:18,014] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 14:11:18,806] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 14:13:10,669] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 14:13:12,502] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 14:13:13,786] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 14:13:14,128] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 14:13:20,143] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 14:13:25,689] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 14:13:26,337] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 14:13:26,903] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 14:13:28,003] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 14:13:28,424] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 14:13:29,081] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 14:13:29,495] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 14:14:03,522] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 14:14:11,354] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 14:14:15,796] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 14:14:23,435] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 14:14:29,941] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 14:14:38,630] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 14:14:46,532] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 14:14:53,361] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 14:15:00,453] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 14:15:07,340] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 14:15:14,392] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 14:15:23,001] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 14:15:30,230] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 14:15:30,884] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 14:15:31,416] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 14:15:31,626] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 14:15:32,162] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 14:15:32,527] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 14:15:33,002] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 14:15:33,360] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 14:15:33,856] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 14:15:34,090] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 14:15:34,327] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 14:15:35,090] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 14:15:59,316] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-03 14:16:01,235] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-03 14:16:02,495] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-03 14:16:04,199] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 14:16:05,935] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-03 14:16:07,688] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-03 14:16:09,500] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 14:16:11,359] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 14:16:13,488] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 14:16:15,002] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-03 14:16:16,718] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-03 14:16:18,443] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-03 14:16:20,536] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 14:16:21,090] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 14:16:21,966] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 14:16:22,321] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 14:16:23,219] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 14:16:23,852] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 14:16:24,748] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 14:16:25,613] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 14:16:26,428] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 14:16:26,836] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 14:16:27,486] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 14:16:28,128] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 14:16:28,514] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 14:16:34,824] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 14:16:38,601] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 14:16:45,093] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 14:16:50,876] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 14:16:56,599] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 14:17:03,648] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 14:17:09,262] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 14:17:16,149] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 14:17:23,561] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 14:17:29,093] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 14:17:38,288] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 14:17:57,839] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 14:18:00,050] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-03 14:18:03,521] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 14:18:05,596] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 14:18:05,596] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:18:06,063] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 14:18:08,823] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-03 14:18:20,851] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 14:18:23,240] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 14:18:23,240] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:18:23,394] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 14:18:25,097] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-03 14:18:31,424] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 14:18:32,781] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 14:18:32,782] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:18:33,215] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 14:18:36,361] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 14:18:52,799] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 14:18:55,177] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 14:18:55,177] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:18:55,549] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 14:18:57,837] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-03 14:19:23,183] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 14:19:26,295] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 14:19:26,295] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:19:26,715] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 14:19:29,756] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-03 14:19:45,954] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 14:19:48,639] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 14:19:48,640] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:19:48,964] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 14:19:51,378] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 14:20:17,077] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 14:20:19,124] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 14:20:19,124] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:20:19,578] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 14:20:22,534] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 14:20:34,504] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 14:20:37,175] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 14:20:37,175] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:20:37,397] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 14:20:39,333] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 14:20:41,848] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 14:20:43,648] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 14:20:43,648] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:20:43,883] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 14:20:45,798] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-03 14:20:48,270] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 14:20:49,738] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 14:20:49,739] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:20:50,031] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 14:20:51,920] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-03 14:20:54,223] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 14:20:55,841] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 14:20:55,841] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:20:56,137] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 14:20:58,284] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-03 14:21:01,355] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 14:21:03,323] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 14:21:03,324] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 14:21:58,181] [INFO] [1168207] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1119.81 seconds.
[2024-04-03 14:21:58,186] [INFO] [1168207] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 14:21:58,187] [INFO] [1168207] [MainThread] [workflow_engine]: Executing tasks in parallel.


@pro-akim pro-akim self-assigned this Apr 1, 2024
@wazuhci wazuhci moved this from In progress to On hold in Release 4.9.0 Apr 1, 2024
@wazuhci wazuhci moved this from On hold to In progress in Release 4.9.0 Apr 2, 2024
@pro-akim
Copy link
Member

pro-akim commented Apr 2, 2024

Vagrant Provider - Test agent 🟢 PART 2

⚠️
Amazon - 2023 image does not exist
Suse - 15 image does not exist
openSUSE 15 Assistant does not work (for Manager Installation) (Could not find the system)


  • Test agent into all supported OS with one manager (Ubuntu 22) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 14:44:41,343] [INFO] [1220512] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 14:44:41,344] [INFO] [1220512] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 14:44:41,344] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 14:45:34,028] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 52.68 seconds.
[2024-04-03 14:45:34,033] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 14:46:31,169] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 57.14 seconds.
[2024-04-03 14:46:31,175] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 14:47:26,810] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 55.63 seconds.
[2024-04-03 14:47:26,821] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 14:48:45,906] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 79.07 seconds.
[2024-04-03 14:48:45,917] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 14:49:37,902] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 51.98 seconds.
[2024-04-03 14:49:37,907] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 14:50:35,871] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 57.95 seconds.
[2024-04-03 14:50:35,877] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 14:51:32,414] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 56.53 seconds.
[2024-04-03 14:51:32,425] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 14:52:24,244] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 51.81 seconds.
[2024-04-03 14:52:24,250] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-03 14:53:20,019] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 55.76 seconds.
[2024-04-03 14:53:20,030] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 14:54:26,716] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 66.68 seconds.
[2024-04-03 14:54:26,722] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-03 14:55:17,165] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 50.43 seconds.
[2024-04-03 14:55:17,175] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 14:56:06,874] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 49.69 seconds.
[2024-04-03 14:56:06,885] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-03 14:57:45,949] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 99.05 seconds.
[2024-04-03 14:57:45,955] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 14:57:57,856] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 14:57:58,180] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 14:57:58,764] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 14:57:58,764] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 14:57:59,051] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 14:57:59,635] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 14:57:59,635] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 14:57:59,982] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 14:58:01,818] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 14:58:01,818] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 14:58:02,160] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 14:58:02,311] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 14:58:02,311] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 14:58:02,734] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 14:58:03,184] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 14:58:03,184] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 14:58:03,544] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 14:58:05,482] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 14:58:05,483] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 14:58:05,804] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 14:58:12,343] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 14:58:12,343] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 14:58:12,815] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 14:58:19,694] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 14:58:19,694] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 14:58:20,122] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 14:58:21,509] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 14:58:21,509] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 14:58:21,822] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 14:58:21,999] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 14:58:21,999] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 14:58:22,354] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 14:58:22,553] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 14:58:22,553] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 14:58:22,862] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 14:58:23,063] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 14:58:23,063] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 14:58:23,555] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 14:58:23,795] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 14:58:44,606] [INFO] [Testing]: Installing Manager in ubuntu-22.04
[2024-04-03 15:00:32,417] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:00:37,384] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-03 15:00:44,485] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:00:47,886] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 15:00:47,886] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:00:48,395] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 15:00:52,598] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-03 15:01:17,021] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 15:01:19,302] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 15:01:19,302] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:01:19,466] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:01:22,390] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-03 15:01:28,420] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:01:29,721] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 15:01:29,721] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:01:30,107] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:01:44,107] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 15:02:14,944] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:02:16,831] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 15:02:16,832] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:02:17,119] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:02:20,340] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-03 15:03:13,222] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:03:15,374] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 15:03:15,374] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:03:15,775] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:03:20,071] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-03 15:03:45,899] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:03:48,281] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 15:03:48,281] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:03:48,624] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:03:53,328] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 15:04:45,657] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:04:48,052] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 15:04:48,052] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:04:48,875] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:04:52,819] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 15:05:19,700] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:05:22,089] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 15:05:22,089] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:05:22,340] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:05:25,297] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 15:05:34,182] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:05:36,286] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 15:05:36,287] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:05:36,595] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:05:38,802] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-03 15:05:44,840] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:05:46,327] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 15:05:46,327] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:05:46,626] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:05:49,070] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-03 15:05:55,501] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:05:57,121] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 15:05:57,121] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:05:57,472] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:06:00,318] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-03 15:06:06,773] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:06:08,702] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 15:06:08,702] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:06:13,414] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:06:13,916] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 15:06:14,702] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:06:14,847] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:06:15,339] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:06:15,655] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:06:16,096] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:06:16,319] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:06:16,644] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:06:16,823] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:06:17,022] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:06:17,229] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:07:51,070] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:07:52,870] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 15:07:54,141] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:07:54,449] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:07:55,484] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:07:56,709] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:07:58,988] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:08:00,040] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:08:02,238] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:08:02,947] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:08:03,684] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:08:04,583] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:08:34,708] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 15:08:42,371] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 15:08:49,532] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 15:08:55,736] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 15:09:04,357] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 15:09:09,699] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 15:09:19,543] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 15:09:26,547] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 15:09:35,778] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 15:09:42,826] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 15:09:50,750] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 15:09:58,955] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 15:10:06,460] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:10:07,177] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 15:10:07,741] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:10:07,900] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:10:08,424] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:10:08,821] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:10:09,357] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:10:09,753] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:10:10,451] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:10:10,694] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:10:10,993] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:10:11,296] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:10:31,130] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-03 15:10:33,102] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-03 15:10:34,759] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-03 15:10:35,644] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 15:10:36,759] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-03 15:10:38,122] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-03 15:10:40,121] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 15:10:41,586] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 15:10:42,928] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 15:10:44,953] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-03 15:10:46,642] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-03 15:10:47,693] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-03 15:10:49,495] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:10:50,662] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 15:10:51,574] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:10:52,131] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:10:53,150] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:10:53,875] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:10:54,854] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:10:55,471] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:10:56,448] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:10:56,956] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:10:57,517] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:10:57,962] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:10:58,447] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 15:11:06,230] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 15:11:09,973] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 15:11:17,713] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 15:11:23,448] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 15:11:28,033] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 15:11:35,193] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 15:11:42,374] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 15:11:50,315] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 15:11:56,900] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 15:12:03,302] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 15:12:10,844] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 15:12:32,293] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:12:36,061] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-03 15:12:41,557] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:12:44,785] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 15:12:44,785] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:12:45,299] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 15:12:48,271] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-03 15:13:01,668] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 15:13:04,201] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 15:13:04,201] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:13:04,346] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:13:05,847] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-03 15:13:12,294] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:13:13,627] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 15:13:13,627] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:13:14,063] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:13:17,359] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 15:13:34,447] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:13:36,679] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 15:13:36,679] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:13:37,033] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:13:39,393] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-03 15:14:04,960] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:14:07,382] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 15:14:07,382] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:14:07,829] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:14:11,201] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-03 15:14:28,068] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:14:31,048] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 15:14:31,048] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:14:31,402] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:14:33,905] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 15:15:00,468] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:15:02,670] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 15:15:02,670] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:15:03,227] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:15:06,473] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 15:15:18,837] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:15:21,407] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 15:15:21,408] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:15:21,625] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:15:23,656] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 15:15:26,581] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:15:28,866] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 15:15:28,866] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:15:29,111] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:15:30,824] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-03 15:15:32,849] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:15:34,385] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 15:15:34,385] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:15:34,691] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:15:36,547] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-03 15:15:38,612] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:15:40,278] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 15:15:40,279] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:15:40,714] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:15:42,945] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-03 15:15:45,973] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:15:47,954] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 15:15:47,955] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:16:36,036] [INFO] [1220512] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1130.08 seconds.
[2024-04-03 15:16:36,047] [INFO] [1220512] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 15:16:36,047] [INFO] [1220512] [MainThread] [workflow_engine]: Executing tasks in parallel.



  • Test agent into all supported OS with one manager (Oracle Linux) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-oracle-9-amd64

  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-oracle-9-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 15:20:58,340] [INFO] [1271444] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 15:20:58,341] [INFO] [1271444] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 15:20:58,341] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Starting task.
[2024-04-03 15:21:55,500] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Finished task in 57.15 seconds.
[2024-04-03 15:21:55,511] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 15:22:48,808] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 53.29 seconds.
[2024-04-03 15:22:48,819] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 15:23:39,936] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 51.11 seconds.
[2024-04-03 15:23:39,947] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 15:24:57,245] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 77.29 seconds.
[2024-04-03 15:24:57,250] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 15:25:47,342] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 50.08 seconds.
[2024-04-03 15:25:47,347] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 15:26:42,238] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 54.89 seconds.
[2024-04-03 15:26:42,249] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 15:27:36,378] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 54.12 seconds.
[2024-04-03 15:27:36,383] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 15:28:26,189] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 49.80 seconds.
[2024-04-03 15:28:26,200] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-03 15:29:20,516] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 54.31 seconds.
[2024-04-03 15:29:20,526] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 15:30:24,595] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 64.06 seconds.
[2024-04-03 15:30:24,606] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-03 15:31:18,318] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 53.71 seconds.
[2024-04-03 15:31:18,324] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 15:32:13,202] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 54.87 seconds.
[2024-04-03 15:32:13,207] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-03 15:33:50,679] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 97.47 seconds.
[2024-04-03 15:33:50,684] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 15:34:02,266] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 15:34:02,774] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 15:34:04,167] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 15:34:04,167] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 15:34:04,428] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 15:34:05,011] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 15:34:05,011] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 15:34:05,356] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 15:34:05,911] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 15:34:05,912] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 15:34:06,290] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 15:34:06,491] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 15:34:06,491] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 15:34:06,804] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 15:34:07,237] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 15:34:07,238] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 15:34:07,552] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 15:34:09,193] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 15:34:09,194] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 15:34:09,652] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 15:34:12,849] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 15:34:12,850] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 15:34:13,275] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 15:34:15,576] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 15:34:15,576] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 15:34:16,015] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 15:34:17,423] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 15:34:17,423] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 15:34:17,744] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 15:34:17,923] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 15:34:17,923] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 15:34:18,274] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 15:34:18,467] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 15:34:18,467] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 15:34:18,780] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 15:34:18,990] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 15:34:18,990] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 15:34:19,288] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 15:34:19,527] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 15:34:35,036] [INFO] [Testing]: Installing Manager in oracle-9
[2024-04-03 15:37:45,992] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:37:50,984] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-03 15:37:57,501] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:38:00,640] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 15:38:00,640] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:38:01,338] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 15:38:04,945] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-03 15:38:09,957] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 15:38:11,949] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 15:38:11,949] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:38:12,105] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:38:14,610] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-03 15:38:18,133] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:38:19,862] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 15:38:19,862] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:38:20,321] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:38:24,178] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 15:38:48,221] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:38:50,318] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 15:38:50,318] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:38:50,994] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:38:54,898] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-03 15:39:45,716] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:39:47,833] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 15:39:47,833] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:39:48,307] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:39:53,307] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-03 15:40:18,341] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:40:20,898] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 15:40:20,898] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:40:21,313] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:40:25,126] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 15:41:16,311] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:41:19,126] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 15:41:19,126] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:41:19,619] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:41:23,920] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 15:41:46,951] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:41:49,939] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 15:41:49,939] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:41:50,153] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:41:53,114] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 15:41:59,128] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:42:00,948] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 15:42:00,948] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:42:01,278] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:42:04,203] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-03 15:42:08,935] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:42:10,910] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 15:42:10,911] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:42:11,234] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:42:13,899] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-03 15:42:19,113] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:42:20,712] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 15:42:20,713] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:42:20,992] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:42:24,520] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-03 15:42:30,515] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:42:32,614] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 15:42:32,614] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:42:37,849] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:42:38,344] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 15:42:38,564] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:42:38,717] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:42:39,133] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:42:39,776] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:42:40,210] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:42:40,495] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:42:40,868] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:42:41,030] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:42:41,650] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:42:41,885] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:44:22,621] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:44:24,931] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 15:44:27,319] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:44:27,644] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:44:28,814] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:44:30,131] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:44:32,322] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:44:33,352] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:44:35,424] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:44:36,108] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:44:36,709] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:44:37,779] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:45:16,511] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 15:45:24,680] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 15:45:33,929] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 15:45:40,249] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 15:45:52,064] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 15:45:58,850] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 15:46:15,744] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 15:46:23,601] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 15:46:31,477] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 15:46:40,271] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 15:46:49,226] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 15:46:56,652] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 15:47:03,639] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:47:04,371] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 15:47:05,188] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:47:05,350] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:47:05,821] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:47:06,175] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:47:06,722] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:47:07,052] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:47:07,574] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:47:07,804] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:47:08,047] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:47:08,377] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:47:29,123] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-03 15:47:31,004] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-03 15:47:32,506] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-03 15:47:33,550] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 15:47:35,251] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-03 15:47:36,703] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-03 15:47:39,085] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 15:47:40,758] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 15:47:42,505] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 15:47:43,524] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-03 15:47:44,867] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-03 15:47:46,579] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-03 15:47:47,746] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 15:47:48,994] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 15:47:49,562] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 15:47:49,993] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 15:47:50,854] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 15:47:51,468] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 15:47:52,499] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 15:47:53,094] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 15:47:53,994] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 15:47:54,424] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 15:47:55,293] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 15:47:55,790] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 15:47:56,175] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 15:48:02,841] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 15:48:10,310] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 15:48:15,630] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 15:48:22,607] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 15:48:28,570] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 15:48:35,525] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 15:48:41,202] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 15:48:48,485] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 15:48:55,146] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 15:49:01,639] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 15:49:09,204] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 15:49:29,193] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:49:33,401] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-03 15:49:38,057] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 15:49:41,807] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 15:49:41,807] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:49:42,119] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 15:49:44,709] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-03 15:49:48,403] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 15:49:50,441] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 15:49:50,441] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:49:50,755] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:49:52,323] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-03 15:49:58,800] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 15:50:00,194] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 15:50:00,194] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:50:00,665] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:50:03,787] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 15:50:22,262] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 15:50:24,913] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 15:50:24,913] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:50:25,230] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:50:27,624] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-03 15:50:57,075] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 15:50:59,147] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 15:50:59,148] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:50:59,597] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:51:02,920] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-03 15:51:21,614] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 15:51:25,384] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 15:51:25,384] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:51:25,691] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:51:27,953] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 15:51:57,647] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 15:51:59,651] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 15:51:59,651] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:52:00,185] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:52:03,104] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 15:52:16,442] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 15:52:19,126] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 15:52:19,126] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:52:19,362] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:52:21,370] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 15:52:24,082] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 15:52:25,920] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 15:52:25,920] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:52:26,170] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:52:28,367] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-03 15:52:30,716] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 15:52:32,269] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 15:52:32,269] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:52:32,560] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:52:34,655] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-03 15:52:36,881] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 15:52:38,684] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 15:52:38,684] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:52:38,975] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:52:41,168] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-03 15:52:45,093] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 15:52:47,637] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 15:52:47,638] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 15:53:42,033] [INFO] [1271444] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1191.34 seconds.
[2024-04-03 15:53:42,044] [INFO] [1271444] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 15:53:42,044] [INFO] [1271444] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (Amazon Linux 2) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-opensuse-15-amd64

  manager-os:
    - linux-amazon-2-amd64

  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-amazon-2-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-opensuse-15-amd64/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 15:58:33,431] [INFO] [1322793] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 15:58:33,432] [INFO] [1322793] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 15:58:33,432] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Starting task.
[2024-04-03 15:59:51,461] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Finished task in 78.03 seconds.
[2024-04-03 15:59:51,472] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 16:00:47,418] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 55.94 seconds.
[2024-04-03 16:00:47,423] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 16:01:39,068] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 51.63 seconds.
[2024-04-03 16:01:39,078] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 16:02:35,530] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 56.44 seconds.
[2024-04-03 16:02:35,536] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 16:03:28,237] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 52.70 seconds.
[2024-04-03 16:03:28,242] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 16:04:25,262] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 57.02 seconds.
[2024-04-03 16:04:25,268] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 16:05:20,510] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 55.23 seconds.
[2024-04-03 16:05:20,521] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 16:06:11,199] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 50.67 seconds.
[2024-04-03 16:06:11,204] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-03 16:07:06,670] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 55.46 seconds.
[2024-04-03 16:07:06,676] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 16:08:13,178] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 66.50 seconds.
[2024-04-03 16:08:13,184] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-03 16:09:01,526] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 48.33 seconds.
[2024-04-03 16:09:01,532] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 16:09:50,766] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 49.23 seconds.
[2024-04-03 16:09:50,777] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Starting task.
[2024-04-03 16:11:43,541] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-opensuse-15-amd64] Finished task in 112.75 seconds.
[2024-04-03 16:11:43,551] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 16:11:55,013] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 16:11:55,316] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 16:11:55,524] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 16:11:55,525] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 16:11:55,790] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 16:11:56,332] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 16:11:56,332] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 16:11:56,649] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 16:11:57,212] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 16:11:57,213] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 16:11:57,571] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 16:11:58,874] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 16:11:58,875] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 16:11:59,344] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 16:11:59,686] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 16:11:59,686] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 16:12:00,165] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 16:12:02,683] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 16:12:02,684] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 16:12:03,001] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 16:12:08,771] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 16:12:08,771] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 16:12:09,190] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 16:12:14,922] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 16:12:14,922] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 16:12:15,273] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 16:12:16,490] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 16:12:16,490] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 16:12:16,973] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 16:12:17,167] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 16:12:17,167] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 16:12:17,486] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 16:12:17,673] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 16:12:17,673] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 16:12:18,384] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 16:12:18,574] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 16:12:18,574] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 16:12:18,834] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 16:12:19,057] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 16:12:24,564] [INFO] [Testing]: Installing Manager in amazon-2
[2024-04-03 16:13:27,141] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 16:13:32,245] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-03 16:13:38,388] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 16:13:41,475] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 16:13:41,475] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:13:42,082] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 16:13:45,626] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-03 16:13:50,261] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 16:13:52,284] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 16:13:52,284] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:13:52,827] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 16:13:57,420] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-03 16:14:20,869] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 16:14:23,294] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 16:14:23,294] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:14:23,774] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 16:14:27,656] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 16:14:51,263] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 16:14:53,350] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 16:14:53,350] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:14:53,628] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 16:14:57,500] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-03 16:15:47,387] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 16:15:49,280] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 16:15:49,281] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:15:49,672] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 16:15:53,802] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-03 16:16:17,183] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 16:16:20,314] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 16:16:20,314] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:16:20,613] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 16:16:24,282] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 16:17:13,644] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 16:17:16,082] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 16:17:16,082] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:17:16,503] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 16:17:21,449] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 16:17:44,198] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 16:17:46,490] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 16:17:46,491] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:17:46,721] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 16:17:50,168] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 16:17:55,056] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 16:17:57,100] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 16:17:57,100] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:17:57,494] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 16:18:00,470] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-03 16:18:11,797] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 16:18:13,727] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 16:18:13,727] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:18:14,277] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 16:18:17,534] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-03 16:18:22,971] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 16:18:24,838] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 16:18:24,838] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:18:25,147] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 16:18:28,918] [INFO] [Testing]: Installing Agent in opensuse-15
[2024-04-03 16:18:37,521] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 16:18:39,461] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 16:18:39,461] [INFO] [Testing]: Pre and post install checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:18:44,799] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 16:18:45,284] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 16:18:45,482] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 16:18:45,833] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 16:18:46,329] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 16:18:46,987] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 16:18:47,423] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 16:18:47,817] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 16:18:48,160] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 16:18:48,347] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 16:18:48,545] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 16:18:48,952] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 16:20:37,734] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 16:20:38,947] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 16:20:39,931] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 16:20:40,666] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 16:20:41,682] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 16:20:42,464] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 16:20:43,339] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 16:20:43,892] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 16:20:44,508] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 16:20:44,794] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 16:20:45,337] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 16:20:45,717] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 16:21:10,502] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 16:21:19,340] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 16:21:27,392] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 16:21:32,835] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 16:21:41,812] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 16:21:49,234] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 16:21:55,941] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 16:22:03,161] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 16:22:10,139] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 16:22:18,570] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 16:22:27,472] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 16:22:37,316] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 16:22:42,928] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 16:22:43,650] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 16:22:44,429] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 16:22:45,021] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 16:22:45,528] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 16:22:45,893] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 16:22:46,485] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 16:22:46,908] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 16:22:47,467] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 16:22:47,742] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 16:22:48,161] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 16:22:48,565] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 16:23:08,158] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-03 16:23:09,514] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-03 16:23:11,356] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-03 16:23:13,564] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 16:23:16,549] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-03 16:23:18,080] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-03 16:23:19,674] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 16:23:21,467] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 16:23:22,633] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 16:23:23,855] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-03 16:23:25,307] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-03 16:23:27,852] [INFO] [Testing]: Stopping wazuh-agent in opensuse-15
[2024-04-03 16:23:29,503] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 16:23:30,884] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 16:23:31,446] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 16:23:32,305] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 16:23:33,364] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 16:23:34,704] [INFO] [Testing]: Getting status of redhat-7
[2024-04-03 16:23:35,620] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 16:23:36,242] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 16:23:37,105] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 16:23:37,575] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 16:23:38,199] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 16:23:38,795] [INFO] [Testing]: Getting status of opensuse-15
[2024-04-03 16:23:39,180] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 16:23:46,105] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 16:23:53,933] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 16:23:58,572] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 16:24:06,519] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 16:24:12,576] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-03 16:24:18,712] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 16:24:24,492] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 16:24:32,079] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 16:24:38,866] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 16:24:46,486] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 16:24:53,109] [INFO] [Testing]: Restarting wazuh-agent in opensuse-15
[2024-04-03 16:25:15,089] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 16:25:19,178] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-03 16:25:24,016] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 16:25:27,347] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 16:25:27,348] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:25:27,673] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 16:25:30,262] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-03 16:25:34,988] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 16:25:37,203] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 16:25:37,203] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:25:37,701] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 16:25:40,406] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-03 16:25:54,207] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 16:25:56,877] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 16:25:56,878] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:25:57,302] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 16:26:00,078] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 16:26:17,585] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 16:26:20,837] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 16:26:20,837] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:26:21,213] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 16:26:23,444] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-03 16:26:51,148] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 16:26:54,024] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 16:26:54,024] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:26:54,458] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 16:26:57,620] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-03 16:27:15,061] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-03 16:27:17,786] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-03 16:27:17,786] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:27:18,140] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 16:27:20,492] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 16:27:49,387] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 16:27:51,763] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 16:27:51,763] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:27:52,231] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 16:27:55,524] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 16:28:10,775] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 16:28:13,129] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 16:28:13,129] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:28:13,373] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 16:28:15,461] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 16:28:18,227] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 16:28:20,202] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 16:28:20,203] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:28:20,468] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 16:28:23,618] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-03 16:28:27,277] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 16:28:29,960] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 16:28:29,960] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:28:30,308] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 16:28:32,326] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-03 16:28:35,311] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 16:28:37,675] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 16:28:37,675] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:28:37,959] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 16:28:40,132] [INFO] [Testing]: Uninstalling Agent in opensuse-15
[2024-04-03 16:28:44,242] [INFO] [Testing]: Generating Snapshot for Checkfile in opensuse-15
[2024-04-03 16:28:46,212] [INFO] [Testing]: Applying filters in checkfiles in opensuse-15
[2024-04-03 16:28:46,212] [INFO] [Testing]: Pre and post uninstall checkfile comparison in opensuse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 16:31:42,202] [INFO] [1322793] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 1198.64 seconds.
[2024-04-03 16:31:42,213] [INFO] [1322793] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 16:31:42,213] [INFO] [1322793] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (Amazon Linux 2023) 🔴

Note ⚠️
Amazon Linux 2023 vagrant image does not exist


  • Test into all supported OS with one manager (openSUSE 15) 🔴

Note ⚠️
openSUSE 15 Assistant does not work (for Manager Installation) (Could not find the system)

Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64

  manager-os:
    - linux-opensuse-15-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-opensuse-15-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 16:55:09,275] [INFO] [6385] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 16:55:09,275] [INFO] [6385] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 16:55:09,276] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-opensuse-15-amd64] Starting task.
[2024-04-03 16:56:48,953] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-opensuse-15-amd64] Finished task in 99.68 seconds.
[2024-04-03 16:56:48,963] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 16:57:42,441] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 53.47 seconds.
[2024-04-03 16:57:42,446] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 16:58:30,959] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 48.51 seconds.
[2024-04-03 16:58:30,969] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 16:59:22,846] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 51.87 seconds.
[2024-04-03 16:59:22,851] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 17:00:46,085] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 83.22 seconds.
[2024-04-03 17:00:46,096] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-03 17:01:41,853] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 55.75 seconds.
[2024-04-03 17:01:41,858] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 17:02:40,680] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 58.82 seconds.
[2024-04-03 17:02:40,691] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 17:03:39,690] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 58.99 seconds.
[2024-04-03 17:03:39,691] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 17:04:30,282] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 50.59 seconds.
[2024-04-03 17:04:30,293] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
 [2024-04-03 17:05:24,790] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 54.49 seconds.
[2024-04-03 17:05:24,797] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 17:06:30,846] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 66.04 seconds.
[2024-04-03 17:06:30,857] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
 [2024-04-03 17:07:27,648] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 56.78 seconds.
[2024-04-03 17:07:27,659] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 17:08:13,564] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 45.89 seconds.
[2024-04-03 17:08:13,569] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 17:08:25,093] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-03 17:08:25,370] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-03 17:08:25,602] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-03 17:08:25,603] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 17:08:25,859] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 17:08:26,416] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 17:08:26,416] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 17:08:26,731] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 17:08:27,250] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 17:08:27,250] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 17:08:27,701] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 17:08:29,156] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 17:08:29,156] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 17:08:29,463] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 17:08:29,610] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 17:08:29,611] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 17:08:29,919] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 17:08:30,323] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 17:08:30,323] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 17:08:30,672] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 17:08:32,548] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-03 17:08:32,548] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 17:08:32,991] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 17:08:35,404] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-03 17:08:35,404] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 17:08:35,761] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 17:08:37,707] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-03 17:08:37,707] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 17:08:38,046] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 17:08:39,549] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-03 17:08:39,549] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 17:08:39,981] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 17:08:40,160] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 17:08:40,160] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 17:08:40,471] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 17:08:40,647] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 17:08:40,647] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 17:08:40,957] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 17:08:41,214] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 17:08:46,381] [ERROR] [Testing]: wazuh-install-files.tar not created, check config.yml information



  • Test agent into all supported OS with one manager (SUSE 15) 🔴

Note ⚠️
Suse - 15 image does not exist

@pro-akim
Copy link
Member

pro-akim commented Apr 2, 2024

AWS Provider - Test agent 🟢 PART 1

⚠️
Opensuse - 15 AMI fails
SUSE 15 Assistant does not work (for Manager Installation) (Could not find the system)

  • Test agent into all supported OS with one manager (RedHat 7) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64


  manager-os:
    - linux-redhat-7-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-redhat-7-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-03 17:17:47,004] [INFO] [37003] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 17:17:47,005] [INFO] [37003] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 17:17:47,006] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Starting task.
[2024-04-03 17:18:08,593] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Finished task in 21.58 seconds.
[2024-04-03 17:18:08,604] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-03 17:18:29,208] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 20.60 seconds.
[2024-04-03 17:18:29,218] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-03 17:18:50,289] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 21.06 seconds.
[2024-04-03 17:18:50,300] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-03 17:19:11,617] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 21.31 seconds.
[2024-04-03 17:19:11,627] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-03 17:19:32,428] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 20.79 seconds.
[2024-04-03 17:19:32,438] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-03 17:19:53,493] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 21.05 seconds.
[2024-04-03 17:19:53,504] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-03 17:20:13,783] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 20.27 seconds.
[2024-04-03 17:20:13,794] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-03 17:20:34,149] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 20.35 seconds.
[2024-04-03 17:20:34,160] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-03 17:20:54,822] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 20.66 seconds.
[2024-04-03 17:20:54,832] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-03 17:21:15,210] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 20.37 seconds.
[2024-04-03 17:21:15,220] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-03 17:21:35,777] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 20.55 seconds.
[2024-04-03 17:21:35,788] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-03 17:21:56,360] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 20.56 seconds.
[2024-04-03 17:21:56,365] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Starting task.
[2024-04-03 17:22:17,448] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Finished task in 21.08 seconds.
[2024-04-03 17:22:17,453] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Starting task.
[2024-04-03 17:22:38,174] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 20.71 seconds.
[2024-04-03 17:22:38,179] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-03 17:22:49,389] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-03 17:22:50,708] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-03 17:22:52,552] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-03 17:22:52,553] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-03 17:22:53,938] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-03 17:22:56,342] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-03 17:22:56,342] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-03 17:22:57,773] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-03 17:23:00,027] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-03 17:23:00,027] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-03 17:23:01,425] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-03 17:23:07,818] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-03 17:23:07,818] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-03 17:23:09,125] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-03 17:23:10,881] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-03 17:23:10,881] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-03 17:23:11,943] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-03 17:23:14,364] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-03 17:23:14,364] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-03 17:23:15,559] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-03 17:23:17,452] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-03 17:23:17,452] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 17:23:19,011] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-03 17:23:20,898] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-03 17:23:20,898] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 17:23:22,182] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-03 17:23:24,885] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-03 17:23:24,885] [INFO] [Testing]: Checking connection to debian-10
[2024-04-03 17:23:25,933] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-03 17:23:28,290] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-03 17:23:28,290] [INFO] [Testing]: Checking connection to debian-11
[2024-04-03 17:23:30,331] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-03 17:23:32,874] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-03 17:23:32,874] [INFO] [Testing]: Checking connection to debian-12
[2024-04-03 17:23:34,433] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-03 17:23:36,456] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-03 17:23:36,456] [INFO] [Testing]: Checking connection to suse-15
[2024-04-03 17:23:37,686] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-03 17:23:39,492] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-03 17:23:39,492] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-03 17:23:40,884] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-03 17:23:43,039] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-03 17:24:17,991] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-03 17:25:35,607] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 17:25:57,854] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-03 17:26:14,281] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 17:26:25,160] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 17:26:25,161] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:26:27,699] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 17:26:42,262] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-03 17:26:55,036] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 17:27:05,764] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 17:27:05,764] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:27:07,769] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 17:27:22,480] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-03 17:27:50,027] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 17:27:59,246] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 17:27:59,246] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:28:01,599] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 17:28:16,228] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-03 17:28:27,506] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 17:28:36,624] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 17:28:36,624] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:28:38,771] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 17:28:53,289] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-03 17:29:40,213] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 17:29:50,349] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 17:29:50,349] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:29:52,212] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 17:30:09,747] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-03 17:30:39,148] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 17:30:49,336] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 17:30:49,336] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:30:51,382] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 17:31:07,459] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-03 17:31:34,853] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 17:31:43,558] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 17:31:43,558] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:31:45,550] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 17:32:08,759] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-03 17:32:54,459] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 17:33:01,849] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 17:33:01,850] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:33:03,338] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 17:33:22,796] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-03 17:33:35,664] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 17:33:43,259] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 17:33:43,260] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:33:44,967] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 17:34:11,487] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-03 17:34:24,893] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 17:34:33,801] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 17:34:33,801] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:34:35,850] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 17:34:56,225] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-03 17:35:09,947] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 17:35:18,658] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 17:35:18,658] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:35:20,863] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-03 17:35:37,910] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-03 17:35:51,137] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-03 17:36:03,012] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-03 17:36:03,012] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:36:05,347] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-03 17:36:21,628] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-03 17:36:53,785] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-03 17:37:04,025] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-03 17:37:04,025] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:37:32,389] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 17:37:34,748] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 17:37:36,894] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 17:37:39,249] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 17:37:41,606] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 17:37:43,852] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 17:37:46,241] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 17:37:48,303] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 17:37:50,364] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 17:37:52,512] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 17:37:54,199] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 17:37:56,044] [INFO] [Testing]: Getting status of suse-15
[2024-04-03 17:37:58,091] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-03 17:41:36,227] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 17:41:38,593] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 17:41:40,709] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 17:41:43,270] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 17:41:45,531] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 17:41:47,932] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 17:41:50,233] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 17:41:52,068] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 17:41:53,919] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 17:41:56,069] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 17:41:58,425] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 17:42:00,785] [INFO] [Testing]: Getting status of suse-15
[2024-04-03 17:42:02,950] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-03 17:43:59,196] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 17:44:09,498] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 17:44:18,919] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 17:44:26,686] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 17:44:34,995] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 17:44:42,630] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 17:44:52,608] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 17:45:02,135] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 17:45:09,133] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 17:45:17,801] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 17:45:28,042] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 17:45:37,701] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-03 17:45:45,731] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-03 17:45:53,333] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 17:45:56,100] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 17:45:58,157] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 17:46:00,164] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 17:46:02,345] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 17:46:04,903] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 17:46:06,951] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 17:46:09,393] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 17:46:11,507] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 17:46:13,947] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 17:46:16,393] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 17:46:18,260] [INFO] [Testing]: Getting status of suse-15
[2024-04-03 17:46:20,090] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-03 17:47:59,279] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-03 17:48:01,844] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-03 17:48:04,609] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-03 17:48:07,664] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-03 17:48:10,753] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-03 17:48:13,723] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-03 17:48:16,795] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-03 17:48:19,560] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-03 17:48:22,120] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-03 17:48:24,900] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-03 17:48:27,649] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-03 17:48:30,517] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-03 17:48:33,341] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-03 17:48:36,558] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-03 17:48:41,735] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-03 17:48:47,413] [INFO] [Testing]: Getting status of oracle-9
[2024-04-03 17:48:52,533] [INFO] [Testing]: Getting status of amazon-2
[2024-04-03 17:48:57,859] [INFO] [Testing]: Getting status of redhat-8
[2024-04-03 17:49:03,288] [INFO] [Testing]: Getting status of redhat-9
[2024-04-03 17:49:08,330] [INFO] [Testing]: Getting status of centos-7
[2024-04-03 17:49:13,339] [INFO] [Testing]: Getting status of centos-8
[2024-04-03 17:49:18,461] [INFO] [Testing]: Getting status of debian-10
[2024-04-03 17:49:23,049] [INFO] [Testing]: Getting status of debian-11
[2024-04-03 17:49:28,475] [INFO] [Testing]: Getting status of debian-12
[2024-04-03 17:49:34,107] [INFO] [Testing]: Getting status of suse-15
[2024-04-03 17:49:39,234] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-03 17:49:44,757] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-03 17:49:53,257] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-03 17:50:01,839] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-03 17:50:09,253] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-03 17:50:16,501] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-03 17:50:24,795] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-03 17:50:34,523] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-03 17:50:43,534] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-03 17:50:52,955] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-03 17:51:02,478] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-03 17:51:10,773] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-03 17:51:20,399] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-03 17:51:27,464] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-03 17:52:44,161] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 17:52:57,884] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-03 17:53:07,720] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-03 17:53:18,237] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-03 17:53:18,237] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:53:20,513] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 17:53:32,393] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-03 17:53:40,687] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-03 17:53:51,728] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-03 17:53:51,728] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:53:53,406] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 17:54:04,047] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-03 17:54:21,871] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-03 17:54:32,195] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-03 17:54:32,195] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:54:34,754] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 17:54:47,590] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-03 17:54:58,589] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-03 17:55:06,609] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-03 17:55:06,609] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:55:08,307] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 17:55:18,963] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-03 17:55:47,930] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-03 17:55:56,181] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-03 17:55:56,181] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:55:58,321] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 17:56:09,884] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-03 17:56:27,411] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-03 17:56:38,045] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-03 17:56:38,045] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:56:40,091] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 17:56:50,189] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-03 17:57:08,916] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-03 17:57:18,217] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-03 17:57:18,217] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:57:20,335] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 17:57:32,151] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-03 17:57:59,471] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-03 17:58:08,976] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-03 17:58:08,976] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:58:10,413] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 17:58:19,829] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-03 17:58:26,228] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-03 17:58:34,936] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-03 17:58:34,937] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:58:36,546] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 17:58:46,965] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-03 17:58:54,230] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-03 17:59:02,850] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-03 17:59:02,850] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:59:05,090] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 17:59:15,588] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-03 17:59:23,010] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-03 17:59:32,232] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-03 17:59:32,232] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 17:59:34,074] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-03 17:59:47,743] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-03 17:59:57,450] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-03 18:00:07,272] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-03 18:00:07,272] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 18:00:09,078] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-03 18:00:18,695] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-03 18:00:35,372] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-03 18:00:43,148] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-03 18:00:43,148] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-03 18:03:40,459] [INFO] [37003] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2462.28 seconds.
[2024-04-03 18:03:40,470] [INFO] [37003] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 18:03:40,470] [INFO] [37003] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 18:36:24,400] [INFO] [45239] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 18:36:24,400] [INFO] [45239] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 18:36:24,401] [INFO] [45239] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-suse-15-amd64] Starting task.
[2024-04-03 18:36:25,909] [ERROR] [45239] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-suse-15-amd64] Task failed with error: Error executing process task Traceback (most recent call last):
  File "/home/akim/Desktop/test/wazuh-qa/deployability/modules/allocation/main.py", line 34, in <module>
    main()
  File "/home/akim/Desktop/test/wazuh-qa/deployability/modules/allocation/main.py", line 30, in main
    Allocator.run(InputPayload(**vars(parse_arguments())))
  File "/home/akim/Desktop/test/wazuh-qa/deployability/modules/allocation/allocation.py", line 31, in run
    return cls.__create(payload)
  File "/home/akim/Desktop/test/wazuh-qa/deployability/modules/allocation/allocation.py", line 50, in __create
    instance = provider.create_instance(
  File "/home/akim/Desktop/test/wazuh-qa/deployability/modules/allocation/generic/provider.py", line 66, in create_instance
    return cls._create_instance(base_dir, params, config, ssh_key)
  File "/home/akim/Desktop/test/wazuh-qa/deployability/modules/allocation/vagrant/provider.py", line 75, in _create_instance
    config = cls.__parse_config(params, credentials, instance_id, instance_dir, macos_host_parameters)
  File "/home/akim/Desktop/test/wazuh-qa/deployability/modules/allocation/vagrant/provider.py", line 199, in __parse_config
    os_specs = cls._get_os_specs()[params.composite_name]
KeyError: 'linux-suse-15-amd64'
.
[2024-04-03 18:36:25,920] [INFO] [45239] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 18:36:25,920] [INFO] [45239] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 18:36:33,752] [INFO] [45298] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-03 18:36:33,752] [INFO] [45298] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-03 18:36:33,754] [INFO] [45298] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-opensuse-15-amd64] Starting task.
[2024-04-03 18:38:20,034] [INFO] [45298] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-opensuse-15-amd64] Finished task in 106.27 seconds.
[2024-04-03 18:38:20,040] [INFO] [45298] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-03 18:38:20,040] [INFO] [45298] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (RedHat 8) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64

  manager-os:
    - linux-redhat-8-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-redhat-8-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-04 10:38:20,850] [INFO] [101443] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-04 10:38:20,851] [INFO] [101443] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-04 10:38:20,853] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Starting task.
[2024-04-04 10:38:41,704] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Finished task in 20.85 seconds.
[2024-04-04 10:38:41,715] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-04 10:39:02,623] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 20.90 seconds.
[2024-04-04 10:39:02,633] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-04 10:39:23,620] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 20.98 seconds.
[2024-04-04 10:39:23,631] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-04 10:39:44,460] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 20.82 seconds.
[2024-04-04 10:39:44,465] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-04 10:40:05,793] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 21.33 seconds.
[2024-04-04 10:40:05,798] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-04 10:40:26,847] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 21.04 seconds.
[2024-04-04 10:40:26,857] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-04 10:40:48,371] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 21.50 seconds.
[2024-04-04 10:40:48,381] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-04 10:41:09,092] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 20.70 seconds.
[2024-04-04 10:41:09,103] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-04 10:41:29,649] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 20.54 seconds.
[2024-04-04 10:41:29,654] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-04 10:41:50,307] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 20.64 seconds.
[2024-04-04 10:41:50,317] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-04 10:42:11,012] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 20.68 seconds.
[2024-04-04 10:42:11,023] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-04 10:42:31,807] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 20.77 seconds.
[2024-04-04 10:42:31,818] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Starting task.
[2024-04-04 10:42:53,121] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Finished task in 21.30 seconds.
[2024-04-04 10:42:53,132] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Starting task.
[2024-04-04 10:43:14,198] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 21.06 seconds.
[2024-04-04 10:43:14,209] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-04 10:43:25,890] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-04 10:43:27,365] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-04 10:43:29,721] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-04 10:43:29,721] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-04 10:43:31,228] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-04 10:43:33,305] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-04 10:43:33,305] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-04 10:43:34,635] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-04 10:43:36,923] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-04 10:43:36,923] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-04 10:43:38,487] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-04 10:43:45,413] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-04 10:43:45,413] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-04 10:43:47,128] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-04 10:43:49,791] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-04 10:43:49,791] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-04 10:43:50,200] [WARNING] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 54.86.239.198
[2024-04-04 10:44:21,739] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-04 10:44:23,761] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-04 10:44:23,761] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-04 10:44:25,323] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-04 10:44:27,782] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-04 10:44:27,782] [INFO] [Testing]: Checking connection to centos-7
[2024-04-04 10:44:29,420] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-04 10:44:31,835] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-04 10:44:31,835] [INFO] [Testing]: Checking connection to centos-8
[2024-04-04 10:44:33,106] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-04 10:44:35,667] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-04 10:44:35,667] [INFO] [Testing]: Checking connection to debian-10
[2024-04-04 10:44:37,003] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-04 10:44:39,148] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-04 10:44:39,148] [INFO] [Testing]: Checking connection to debian-11
[2024-04-04 10:44:41,605] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-04 10:44:43,627] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-04 10:44:43,627] [INFO] [Testing]: Checking connection to debian-12
[2024-04-04 10:44:45,088] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-04 10:44:47,648] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-04 10:44:47,648] [INFO] [Testing]: Checking connection to suse-15
[2024-04-04 10:44:49,184] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-04 10:44:51,639] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-04 10:44:51,639] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-04 10:44:53,041] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-04 10:44:55,328] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-04 10:45:46,632] [INFO] [Testing]: Installing Manager in redhat-8
[2024-04-04 10:48:37,538] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 10:48:54,638] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-04 10:49:11,125] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 10:49:21,752] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 10:49:21,752] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:49:23,676] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 10:49:42,458] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-04 10:49:57,308] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 10:50:07,372] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 10:50:07,372] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:50:09,493] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 10:50:25,979] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-04 10:50:54,698] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 10:51:04,794] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 10:51:04,795] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:51:06,939] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 10:51:22,914] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-04 10:51:36,026] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 10:51:44,890] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 10:51:44,890] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:51:47,079] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 10:52:12,885] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-04 10:52:40,942] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 10:52:50,877] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 10:52:50,877] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:52:53,128] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 10:53:12,119] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-04 10:53:40,539] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 10:53:51,296] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 10:53:51,296] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:53:53,749] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 10:54:10,031] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-04 10:54:38,909] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 10:54:49,234] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 10:54:49,235] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:54:51,605] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 10:55:16,591] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-04 10:56:03,094] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 10:56:13,523] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 10:56:13,523] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:56:15,790] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 10:56:31,862] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-04 10:56:43,017] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 10:56:52,287] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 10:56:52,287] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:56:54,352] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 10:57:20,613] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-04 10:57:32,478] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 10:57:42,631] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 10:57:42,631] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:57:44,559] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 10:58:08,431] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-04 10:58:23,984] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 10:58:33,278] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 10:58:33,279] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:58:35,557] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 10:59:10,416] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-04 10:59:24,023] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 10:59:34,132] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 10:59:34,133] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 10:59:36,688] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 10:59:53,379] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-04 11:00:23,282] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 11:00:31,960] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 11:00:31,960] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:00:59,037] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 11:01:01,580] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 11:01:03,729] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 11:01:05,982] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 11:01:08,543] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 11:01:10,897] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 11:01:12,968] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 11:01:14,892] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 11:01:16,808] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 11:01:18,578] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 11:01:20,323] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 11:01:22,400] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 11:01:24,720] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 11:05:15,026] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 11:05:17,477] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 11:05:19,385] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 11:05:21,369] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 11:05:23,622] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 11:05:25,773] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 11:05:27,500] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 11:05:29,566] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 11:05:31,917] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 11:05:34,067] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 11:05:36,466] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 11:05:38,986] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 11:05:41,133] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 11:07:42,648] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 11:07:52,617] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 11:08:02,140] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 11:08:09,896] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 11:08:18,860] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 11:08:28,457] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 11:08:37,469] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 11:08:46,685] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 11:08:54,981] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 11:09:03,480] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 11:09:12,696] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 11:09:22,527] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 11:09:30,820] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 11:09:39,014] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 11:09:41,470] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 11:09:43,620] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 11:09:45,975] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 11:09:48,741] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 11:09:50,743] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 11:09:53,083] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 11:09:55,205] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 11:09:57,241] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 11:09:59,596] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 11:10:02,053] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 11:10:04,101] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 11:10:06,456] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 11:11:50,701] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-04 11:11:53,759] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-04 11:11:56,371] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-04 11:11:59,200] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-04 11:12:02,347] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-04 11:12:05,242] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-04 11:12:08,006] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-04 11:12:10,873] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-04 11:12:13,731] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-04 11:12:16,608] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-04 11:12:19,476] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-04 11:12:22,343] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-04 11:12:24,731] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-04 11:12:27,348] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 11:12:32,585] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 11:12:38,013] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 11:12:43,869] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 11:12:49,070] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 11:12:54,327] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 11:12:59,518] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 11:13:04,737] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 11:13:09,581] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 11:13:14,671] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 11:13:19,893] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 11:13:24,976] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 11:13:29,138] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 11:13:34,028] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 11:13:43,610] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 11:13:51,636] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 11:13:58,727] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 11:14:05,871] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 11:14:12,938] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 11:14:20,088] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 11:14:28,518] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 11:14:36,488] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 11:14:43,738] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 11:14:52,032] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 11:15:01,456] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 11:15:08,847] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 11:16:20,028] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 11:16:32,020] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-04 11:16:40,907] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 11:16:51,541] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 11:16:51,541] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:16:54,013] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 11:17:05,043] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-04 11:17:15,408] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 11:17:25,137] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 11:17:25,138] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:17:26,822] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 11:17:37,675] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-04 11:17:54,533] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 11:18:04,216] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 11:18:04,217] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:18:05,856] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 11:18:17,367] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-04 11:18:27,096] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 11:18:36,902] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 11:18:36,903] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:18:39,076] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 11:18:50,648] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-04 11:19:10,514] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 11:19:20,889] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 11:19:20,889] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:19:23,212] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 11:19:35,100] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-04 11:19:52,849] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 11:20:02,944] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 11:20:02,944] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:20:05,192] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 11:20:16,973] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-04 11:20:37,925] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 11:20:47,375] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 11:20:47,375] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:20:49,126] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 11:21:00,679] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-04 11:21:27,084] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 11:21:36,642] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 11:21:36,642] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:21:38,892] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 11:21:50,465] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-04 11:21:58,033] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 11:22:08,340] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 11:22:08,340] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:22:10,072] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 11:22:22,009] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-04 11:22:29,988] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 11:22:40,745] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 11:22:40,746] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:22:42,606] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 11:22:55,386] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-04 11:23:03,989] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 11:23:14,134] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 11:23:14,134] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:23:16,686] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 11:23:30,973] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-04 11:23:41,859] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 11:23:54,275] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 11:23:54,275] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:23:56,418] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 11:24:09,923] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-04 11:24:27,774] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 11:24:38,069] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 11:24:38,069] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 11:29:08,887] [INFO] [101443] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2754.67 seconds.
[2024-04-04 11:29:08,892] [INFO] [101443] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-04 11:29:08,893] [INFO] [101443] [MainThread] [workflow_engine]: Executing tasks in parallel.



  • Test agent into all supported OS with one manager (RedHat 9) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64

  manager-os:
    - linux-redhat-9-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-redhat-9-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-04 11:54:06,477] [INFO] [118269] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-04 11:54:06,478] [INFO] [118269] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-04 11:54:06,478] [INFO] [118269] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Starting task.
[2024-04-04 11:54:26,933] [INFO] [118269] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Finished task in 20.45 seconds.
[2024-04-04 11:54:26,939] [INFO] [118269] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-04 11:54:48,391] [INFO] [118269] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 21.45 seconds.
[2024-04-04 11:54:48,401] [INFO] [118269] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-04 11:57:01,510] [INFO] [119665] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-04 11:57:01,510] [INFO] [119665] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-04 11:57:01,511] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Starting task.
[2024-04-04 11:57:22,273] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Finished task in 20.76 seconds.
[2024-04-04 11:57:22,283] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-04 11:57:42,910] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 20.62 seconds.
[2024-04-04 11:57:42,915] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-04 11:58:04,514] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 21.60 seconds.
[2024-04-04 11:58:04,520] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-04 11:58:25,135] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 20.61 seconds.
[2024-04-04 11:58:25,145] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-04 11:58:46,132] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 20.98 seconds.
[2024-04-04 11:58:46,143] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-04 11:59:07,534] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 21.38 seconds.
[2024-04-04 11:59:07,544] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-04 11:59:28,220] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 20.66 seconds.
[2024-04-04 11:59:28,230] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-04 11:59:48,960] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 20.72 seconds.
[2024-04-04 11:59:48,966] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-04 12:00:09,586] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 20.62 seconds.
[2024-04-04 12:00:09,597] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-04 12:00:30,054] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 20.45 seconds.
[2024-04-04 12:00:30,064] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-04 12:00:50,449] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 20.37 seconds.
[2024-04-04 12:00:50,459] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-04 12:01:11,740] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 21.27 seconds.
[2024-04-04 12:01:11,750] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Starting task.
[2024-04-04 12:01:34,038] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Finished task in 22.28 seconds.
[2024-04-04 12:01:34,044] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Starting task.
[2024-04-04 12:02:12,464] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 38.42 seconds.
[2024-04-04 12:02:12,475] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-04 12:02:24,170] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-04 12:02:25,387] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-04 12:02:26,944] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-04 12:02:26,945] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-04 12:02:28,040] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-04 12:02:30,262] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-04 12:02:30,262] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-04 12:02:31,696] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-04 12:02:33,869] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-04 12:02:33,869] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-04 12:02:35,073] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-04 12:02:41,954] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-04 12:02:41,954] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-04 12:02:43,472] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-04 12:02:45,736] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-04 12:02:45,737] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-04 12:02:47,118] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-04 12:02:48,956] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-04 12:02:48,956] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-04 12:02:50,126] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-04 12:02:52,217] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-04 12:02:52,217] [INFO] [Testing]: Checking connection to centos-7
[2024-04-04 12:02:53,747] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-04 12:02:55,801] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-04 12:02:55,801] [INFO] [Testing]: Checking connection to centos-8
[2024-04-04 12:02:57,090] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-04 12:02:59,449] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-04 12:02:59,450] [INFO] [Testing]: Checking connection to debian-10
[2024-04-04 12:03:01,186] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-04 12:03:03,136] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-04 12:03:03,136] [INFO] [Testing]: Checking connection to debian-11
[2024-04-04 12:03:04,406] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-04 12:03:06,614] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-04 12:03:06,614] [INFO] [Testing]: Checking connection to debian-12
[2024-04-04 12:03:08,084] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-04 12:03:10,202] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-04 12:03:10,202] [INFO] [Testing]: Checking connection to suse-15
[2024-04-04 12:03:11,528] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-04 12:03:13,665] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-04 12:03:13,665] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-04 12:03:14,911] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-04 12:03:17,161] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-04 12:04:04,677] [INFO] [Testing]: Installing Manager in redhat-9
[2024-04-04 12:06:11,037] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 12:06:27,701] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-04 12:06:41,556] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 12:06:52,608] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 12:06:52,608] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:06:54,686] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 12:07:10,838] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-04 12:07:22,363] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 12:07:31,180] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 12:07:31,180] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:07:33,035] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 12:07:47,465] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-04 12:08:15,766] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 12:08:26,325] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 12:08:26,325] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:08:28,055] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 12:08:42,285] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-04 12:08:53,752] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 12:09:03,558] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 12:09:03,558] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:09:06,245] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 12:09:21,401] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-04 12:09:50,074] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 12:09:59,076] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 12:09:59,076] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:10:00,926] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 12:10:35,539] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-04 12:11:23,228] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 12:11:31,126] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 12:11:31,127] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:11:33,098] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 12:11:46,021] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-04 12:12:13,333] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 12:12:23,108] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 12:12:23,108] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:12:24,888] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 12:12:44,086] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-04 12:13:30,787] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 12:13:40,046] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 12:13:40,046] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:13:41,606] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 12:14:02,696] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-04 12:14:15,604] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 12:14:24,713] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 12:14:24,713] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:14:26,556] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 12:14:45,827] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-04 12:14:59,329] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 12:15:09,039] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 12:15:09,039] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:15:11,305] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 12:15:26,563] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-04 12:15:39,499] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 12:15:49,219] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 12:15:49,219] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:15:51,447] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 12:16:08,446] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-04 12:16:21,246] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 12:16:32,411] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 12:16:32,411] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:16:34,439] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 12:16:49,407] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-04 12:17:18,731] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 12:17:27,420] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 12:17:27,420] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:17:55,253] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 12:17:57,197] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 12:17:59,450] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 12:18:01,395] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 12:18:03,546] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 12:18:05,492] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 12:18:07,475] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 12:18:09,475] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 12:18:11,328] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 12:18:13,378] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 12:18:15,425] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 12:18:17,503] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 12:18:19,362] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 12:22:07,305] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 12:22:09,754] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 12:22:11,871] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 12:22:13,878] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 12:22:16,170] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 12:22:18,731] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 12:22:21,295] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 12:22:23,588] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 12:22:25,798] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 12:22:27,639] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 12:22:30,078] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 12:22:31,988] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 12:22:33,905] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 12:24:35,375] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 12:24:44,862] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 12:24:54,688] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 12:25:02,729] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 12:25:10,770] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 12:25:20,597] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 12:25:28,378] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 12:25:37,573] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 12:25:47,630] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 12:25:56,439] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 12:26:05,652] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 12:26:15,859] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 12:26:24,392] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 12:26:31,561] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 12:26:33,842] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 12:26:36,415] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 12:26:38,481] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 12:26:40,878] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 12:26:43,188] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 12:26:45,486] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 12:26:47,843] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 12:26:50,196] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 12:26:52,729] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 12:26:54,504] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 12:26:56,644] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 12:26:58,510] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 12:28:44,271] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-04 12:28:47,554] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-04 12:28:50,621] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-04 12:28:53,694] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-04 12:28:56,355] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-04 12:28:59,222] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-04 12:29:02,396] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-04 12:29:05,265] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-04 12:29:08,029] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-04 12:29:10,939] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-04 12:29:13,558] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-04 12:29:16,426] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-04 12:29:19,609] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-04 12:29:22,570] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 12:29:27,383] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 12:29:33,355] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 12:29:38,773] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 12:29:43,795] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 12:29:49,913] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 12:29:55,241] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 12:30:01,074] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 12:30:06,501] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 12:30:12,083] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 12:30:17,156] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 12:30:22,680] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 12:30:27,697] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 12:30:32,867] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 12:30:42,340] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 12:30:51,863] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 12:30:59,339] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 12:31:06,712] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 12:31:15,244] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 12:31:22,584] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 12:31:30,878] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 12:31:39,275] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 12:31:47,672] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 12:31:57,297] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 12:32:06,821] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 12:32:14,398] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 12:33:29,458] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 12:33:42,849] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-04 12:33:52,396] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 12:34:03,551] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 12:34:03,551] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:34:05,913] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 12:34:19,123] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-04 12:34:28,224] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 12:34:39,278] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 12:34:39,278] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:34:41,858] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 12:34:53,779] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-04 12:35:12,986] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 12:35:23,334] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 12:35:23,334] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:35:25,758] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 12:35:37,767] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-04 12:35:48,929] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 12:35:58,671] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 12:35:58,671] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:36:01,217] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 12:36:13,754] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-04 12:36:35,931] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 12:36:45,996] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 12:36:45,996] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:36:48,424] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 12:37:00,916] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-04 12:37:29,722] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 12:37:38,886] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 12:37:38,886] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:37:40,846] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 12:37:53,800] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-04 12:38:14,646] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 12:38:25,929] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 12:38:25,929] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:38:28,162] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 12:38:39,734] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-04 12:39:07,075] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 12:39:17,183] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 12:39:17,183] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:39:19,186] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 12:39:31,549] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-04 12:39:39,640] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 12:39:49,879] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 12:39:49,879] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:39:52,130] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 12:40:05,136] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-04 12:40:13,074] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 12:40:23,586] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 12:40:23,586] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:40:25,923] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 12:40:38,928] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-04 12:40:47,428] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 12:40:58,283] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 12:40:58,283] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:41:00,736] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 12:41:16,613] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-04 12:41:27,466] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 12:41:40,372] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 12:41:40,372] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:41:42,827] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 12:41:55,524] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-04 12:42:14,215] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 12:42:24,713] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 12:42:24,714] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:46:33,925] [INFO] [119665] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2661.44 seconds.
[2024-04-04 12:46:33,936] [INFO] [119665] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-04 12:46:33,936] [INFO] [119665] [MainThread] [workflow_engine]: Executing tasks in parallel.



  • Test agent into all supported OS with one manager (CentOS 7) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-suse-15-amd64
    - linux-amazon-2023-amd64

  manager-os:
    - linux-centos-7-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-centos-7-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-02 13:43:20,441] [INFO] [433261] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 13:43:20,441] [INFO] [433261] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 13:43:20,442] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Starting task.
[2024-04-02 13:43:41,077] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Finished task in 20.64 seconds.
[2024-04-02 13:43:41,088] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 13:44:01,723] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 20.63 seconds.
[2024-04-02 13:44:01,733] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 13:44:22,270] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 20.53 seconds.
[2024-04-02 13:44:22,276] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-02 13:44:43,153] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 20.87 seconds.
[2024-04-02 13:44:43,164] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-02 13:45:05,310] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 22.14 seconds.
[2024-04-02 13:45:05,321] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-02 13:45:26,252] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 20.92 seconds.
[2024-04-02 13:45:26,262] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-02 13:45:47,254] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 20.99 seconds.
[2024-04-02 13:45:47,264] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-02 13:46:08,051] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 20.78 seconds.
[2024-04-02 13:46:08,062] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-02 13:46:29,024] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 20.95 seconds.
[2024-04-02 13:46:29,034] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-02 13:46:49,971] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 20.93 seconds.
[2024-04-02 13:46:49,981] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-02 13:47:10,822] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 20.83 seconds.
[2024-04-02 13:47:10,832] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-02 13:47:31,602] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 20.76 seconds.
[2024-04-02 13:47:31,612] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Starting task.
[2024-04-02 13:47:52,198] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Finished task in 20.58 seconds.
[2024-04-02 13:47:52,208] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Starting task.
[2024-04-02 13:48:13,384] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 21.16 seconds.
[2024-04-02 13:48:13,394] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-02 13:48:27,998] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 13:48:30,353] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 13:48:33,738] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 13:48:40,489] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-02 13:48:43,052] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 13:48:43,255] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-02 13:48:45,713] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-02 13:48:47,870] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-02 13:48:50,677] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-02 13:48:53,230] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 13:48:55,955] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 13:48:58,737] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 13:49:01,278] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-02 13:49:03,736] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-02 13:49:44,389] [INFO] [Testing]: Installing Manager in centos-7
[2024-04-02 13:50:51,445] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 13:51:08,359] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-02 13:51:21,472] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 13:51:31,897] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 13:51:31,897] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:51:34,369] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 13:51:50,139] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-02 13:52:04,301] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 13:52:15,332] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 13:52:15,333] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:52:17,375] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 13:52:34,437] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-02 13:53:03,082] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 13:53:14,225] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 13:53:14,226] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:53:16,498] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 13:53:30,902] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-02 13:53:44,828] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 13:53:55,790] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 13:53:55,791] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:53:58,653] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 13:54:17,613] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-02 13:54:47,245] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 13:54:57,618] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 13:54:57,618] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:54:59,683] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 13:55:19,857] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-02 13:56:07,892] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 13:56:17,225] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 13:56:17,225] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:56:18,876] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 13:56:36,555] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-02 13:57:06,652] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 13:57:16,327] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 13:57:16,327] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:57:18,588] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 13:57:43,526] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-02 13:58:31,654] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 13:58:42,819] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 13:58:42,819] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:58:45,376] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 13:59:09,133] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-02 13:59:23,674] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 13:59:34,632] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 13:59:34,632] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 13:59:37,088] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 14:00:04,634] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-02 14:00:19,278] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 14:00:30,646] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 14:00:30,646] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:00:33,119] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 14:00:57,574] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-02 14:01:15,087] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 14:01:25,746] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 14:01:25,746] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:01:27,989] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-02 14:02:03,215] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-02 14:02:17,449] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-02 14:02:30,276] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-02 14:02:30,276] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:02:32,786] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-02 14:02:50,934] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-02 14:03:19,726] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-02 14:03:28,997] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-02 14:03:28,997] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:03:56,371] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 14:03:58,416] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 14:04:00,718] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 14:04:02,444] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 14:04:04,560] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 14:04:06,814] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 14:04:08,796] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 14:04:10,813] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 14:04:13,164] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 14:04:15,338] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 14:04:17,594] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 14:04:20,126] [INFO] [Testing]: Getting status of suse-15
[2024-04-02 14:04:22,426] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-02 14:08:19,953] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 14:08:22,099] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 14:08:24,659] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 14:08:26,826] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 14:08:29,071] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 14:08:31,615] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 14:08:33,653] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 14:08:36,039] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 14:08:38,278] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 14:08:40,941] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 14:08:43,091] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 14:08:45,315] [INFO] [Testing]: Getting status of suse-15
[2024-04-02 14:08:47,085] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-02 14:10:58,211] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 14:11:07,288] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 14:11:17,205] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 14:11:24,987] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 14:11:31,997] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-02 14:11:41,466] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 14:11:49,769] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 14:11:57,538] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 14:12:05,948] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 14:12:14,933] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 14:12:23,765] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 14:12:34,006] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-02 14:12:42,812] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-02 14:12:51,292] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 14:12:53,769] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 14:12:56,328] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 14:12:58,685] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 14:13:01,246] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 14:13:03,703] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 14:13:06,468] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 14:13:08,617] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 14:13:11,075] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 14:13:13,636] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 14:13:16,022] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 14:13:17,937] [INFO] [Testing]: Getting status of suse-15
[2024-04-02 14:13:20,290] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-02 14:15:06,480] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-02 14:15:09,553] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-02 14:15:12,727] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-02 14:15:15,902] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-02 14:15:18,461] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-02 14:15:21,357] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-02 14:15:24,298] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-02 14:15:27,478] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-02 14:15:30,339] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-02 14:15:33,105] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-02 14:15:35,973] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-02 14:15:38,839] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-02 14:15:41,604] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-02 14:15:44,574] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 14:15:50,309] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 14:15:56,353] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 14:16:01,778] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 14:16:07,347] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 14:16:12,864] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 14:16:18,472] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 14:16:23,794] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 14:16:29,119] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 14:16:34,053] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 14:16:39,666] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 14:16:45,095] [INFO] [Testing]: Getting status of suse-15
[2024-04-02 14:16:50,624] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-02 14:16:56,460] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-02 14:17:04,914] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-02 14:17:13,355] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-02 14:17:20,831] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-02 14:17:28,306] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-02 14:17:37,010] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-02 14:17:44,093] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-02 14:17:52,370] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-02 14:18:01,176] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-02 14:18:09,573] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-02 14:18:18,380] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-02 14:18:27,903] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-02 14:18:35,481] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-02 14:19:55,661] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 14:20:09,076] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-02 14:20:18,803] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 14:20:29,763] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 14:20:29,763] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:20:32,422] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 14:20:45,931] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-02 14:20:55,770] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 14:21:07,230] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 14:21:07,230] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:21:09,902] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 14:21:23,213] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-02 14:21:42,078] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 14:21:52,916] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 14:21:52,916] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:21:55,571] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 14:22:08,576] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-02 14:22:19,636] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 14:22:30,393] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 14:22:30,393] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:22:32,947] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 14:22:45,613] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-02 14:23:07,353] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 14:23:17,467] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 14:23:17,468] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:23:19,983] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 14:23:30,782] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-02 14:23:59,082] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 14:24:09,961] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 14:24:09,961] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:24:12,479] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 14:24:24,475] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-02 14:24:43,507] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 14:24:53,756] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 14:24:53,757] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:24:56,003] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 14:25:09,828] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-02 14:25:37,984] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 14:25:49,252] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 14:25:49,252] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:25:51,909] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 14:26:04,932] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-02 14:26:13,949] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 14:26:23,859] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 14:26:23,859] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:26:26,622] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 14:26:40,139] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-02 14:26:48,332] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 14:26:59,802] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 14:26:59,802] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:27:02,156] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 14:27:15,160] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-02 14:27:23,250] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 14:27:33,811] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 14:27:33,811] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:27:35,989] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-02 14:27:50,693] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-02 14:28:01,336] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-02 14:28:13,559] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-02 14:28:13,559] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:28:16,292] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-02 14:28:29,401] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-02 14:28:48,856] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-02 14:28:59,527] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-02 14:28:59,527] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 14:33:15,121] [INFO] [433261] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2701.72 seconds.
[2024-04-02 14:33:15,126] [INFO] [433261] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 14:33:15,127] [INFO] [433261] [MainThread] [workflow_engine]: Executing tasks in parallel.



  • Test agent into all supported OS with one manager (CentOS 8) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64

  manager-os:
    - linux-centos-8-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-centos-8-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-04 12:49:29,517] [INFO] [130455] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-04 12:49:29,517] [INFO] [130455] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-04 12:49:29,517] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Starting task.
[2024-04-04 12:49:50,593] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Finished task in 21.07 seconds.
[2024-04-04 12:49:50,603] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-04 12:50:11,783] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 21.17 seconds.
[2024-04-04 12:50:11,793] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-04 12:50:32,487] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 20.68 seconds.
[2024-04-04 12:50:32,498] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-04 12:50:52,686] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 20.18 seconds.
[2024-04-04 12:50:52,691] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-04 12:51:13,859] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 21.16 seconds.
[2024-04-04 12:51:13,869] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-04 12:51:34,531] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 20.65 seconds.
[2024-04-04 12:51:34,542] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-04 12:51:56,276] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 21.72 seconds.
[2024-04-04 12:51:56,281] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-04 12:52:16,614] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 20.32 seconds.
[2024-04-04 12:52:16,625] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-04 12:52:37,385] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 20.75 seconds.
[2024-04-04 12:52:37,390] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-04 12:52:57,480] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 20.09 seconds.
[2024-04-04 12:52:57,490] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-04 12:53:18,153] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 20.65 seconds.
[2024-04-04 12:53:18,163] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-04 12:53:38,933] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 20.76 seconds.
[2024-04-04 12:53:38,943] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Starting task.
[2024-04-04 12:54:00,237] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Finished task in 21.28 seconds.
[2024-04-04 12:54:00,242] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Starting task.
[2024-04-04 12:54:22,790] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 22.55 seconds.
[2024-04-04 12:54:22,801] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-04 12:54:35,104] [INFO] [Testing]: Checking connection to centos-8
[2024-04-04 12:54:36,668] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-04 12:54:39,434] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-04 12:54:39,434] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-04 12:54:40,866] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-04 12:54:43,120] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-04 12:54:43,120] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-04 12:54:44,655] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-04 12:54:46,654] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-04 12:54:46,654] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-04 12:54:47,795] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-04 12:54:54,897] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-04 12:54:54,897] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-04 12:54:56,479] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-04 12:54:58,355] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-04 12:54:58,356] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-04 12:54:58,551] [WARNING] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 100.26.112.113
[2024-04-04 12:55:29,989] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-04 12:55:32,020] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-04 12:55:32,020] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-04 12:55:33,222] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-04 12:55:34,977] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-04 12:55:34,977] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-04 12:55:36,367] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-04 12:55:38,264] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-04 12:55:38,264] [INFO] [Testing]: Checking connection to centos-7
[2024-04-04 12:55:39,747] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-04 12:55:41,916] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-04 12:55:41,916] [INFO] [Testing]: Checking connection to debian-10
[2024-04-04 12:55:43,228] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-04 12:55:45,176] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-04 12:55:45,176] [INFO] [Testing]: Checking connection to debian-11
[2024-04-04 12:55:46,609] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-04 12:55:48,115] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-04 12:55:48,115] [INFO] [Testing]: Checking connection to debian-12
[2024-04-04 12:55:49,884] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-04 12:55:52,138] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-04 12:55:52,139] [INFO] [Testing]: Checking connection to suse-15
[2024-04-04 12:55:53,366] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-04 12:55:56,132] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-04 12:55:56,132] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-04 12:55:57,302] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-04 12:55:59,306] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-04 12:56:41,525] [INFO] [Testing]: Installing Manager in centos-8
[2024-04-04 12:58:41,144] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 12:58:58,084] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-04 12:59:11,410] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 12:59:22,775] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 12:59:22,776] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 12:59:25,122] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 12:59:40,902] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-04 12:59:54,008] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 13:00:04,122] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 13:00:04,123] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:00:06,450] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 13:00:22,526] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-04 13:00:50,022] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 13:00:59,874] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 13:00:59,874] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:01:02,207] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 13:01:17,365] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-04 13:01:28,935] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 13:01:38,971] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 13:01:38,971] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:01:40,916] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 13:02:09,178] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-04 13:02:36,655] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 13:02:44,713] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 13:02:44,714] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:02:46,739] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 13:03:07,853] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-04 13:03:54,080] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 13:04:02,547] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 13:04:02,548] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:04:04,583] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 13:04:18,715] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-04 13:04:44,828] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 13:04:55,192] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 13:04:55,193] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:04:57,320] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 13:05:13,021] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-04 13:05:41,290] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 13:05:49,520] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 13:05:49,520] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:05:51,812] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 13:06:07,669] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-04 13:06:20,981] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 13:06:30,571] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 13:06:30,571] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:06:32,783] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 13:06:47,606] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-04 13:07:00,303] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 13:07:09,581] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 13:07:09,581] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:07:12,183] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 13:07:34,198] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-04 13:07:47,919] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 13:07:58,577] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 13:07:58,577] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:08:00,719] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 13:08:31,337] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-04 13:08:45,159] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 13:08:57,212] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 13:08:57,212] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:08:59,200] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 13:09:16,599] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-04 13:09:46,090] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 13:09:56,982] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 13:09:56,982] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:10:26,338] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 13:10:28,489] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 13:10:30,601] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 13:10:32,304] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 13:10:34,561] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 13:10:36,730] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 13:10:38,389] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 13:10:40,875] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 13:10:43,639] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 13:10:45,687] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 13:10:47,525] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 13:10:49,682] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 13:10:51,748] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 13:14:37,422] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 13:14:39,775] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 13:14:42,103] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 13:14:44,490] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 13:14:46,842] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 13:14:48,827] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 13:14:50,742] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 13:14:53,031] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 13:14:55,136] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 13:14:57,492] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 13:14:59,136] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 13:15:00,972] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 13:15:03,143] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 13:17:04,866] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 13:17:15,120] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 13:17:24,399] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 13:17:32,218] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 13:17:41,109] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 13:17:50,172] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 13:17:57,792] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 13:18:05,192] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 13:18:14,305] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 13:18:22,088] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 13:18:30,094] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 13:18:40,212] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 13:18:49,300] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 13:18:57,418] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 13:18:59,566] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 13:19:01,696] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 13:19:03,869] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 13:19:06,212] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 13:19:08,095] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 13:19:10,026] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 13:19:12,162] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 13:19:14,552] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 13:19:16,485] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 13:19:18,173] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 13:19:20,030] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 13:19:21,992] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 13:21:07,772] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-04 13:21:10,434] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-04 13:21:13,609] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-04 13:21:16,681] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-04 13:21:19,650] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-04 13:21:22,518] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-04 13:21:25,385] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-04 13:21:27,727] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-04 13:21:30,403] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-04 13:21:33,475] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-04 13:21:35,912] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-04 13:21:38,595] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-04 13:21:41,564] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-04 13:21:44,732] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 13:21:50,678] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 13:21:56,740] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 13:22:02,561] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 13:22:08,291] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 13:22:13,002] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 13:22:18,531] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 13:22:24,111] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 13:22:29,048] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 13:22:34,535] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 13:22:39,435] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 13:22:44,645] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 13:22:50,309] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 13:22:55,806] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 13:23:05,225] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 13:23:13,826] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 13:23:21,404] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 13:23:28,675] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 13:23:37,174] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 13:23:44,342] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 13:23:52,637] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 13:24:01,344] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 13:24:08,783] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 13:24:16,871] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 13:24:26,207] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 13:24:33,596] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 13:25:52,546] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 13:26:06,985] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-04 13:26:16,477] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 13:26:27,662] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 13:26:27,662] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:26:30,229] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 13:26:44,156] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-04 13:26:53,270] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 13:27:04,923] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 13:27:04,924] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:27:07,606] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 13:27:19,403] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-04 13:27:37,610] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 13:27:48,095] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 13:27:48,095] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:27:50,615] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 13:28:03,004] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-04 13:28:14,011] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 13:28:24,302] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 13:28:24,302] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:28:26,878] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 13:28:39,049] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-04 13:29:01,167] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 13:29:11,017] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 13:29:11,017] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:29:13,149] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 13:29:25,033] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-04 13:29:52,522] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 13:30:02,303] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 13:30:02,304] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:30:04,586] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 13:30:16,433] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-04 13:30:34,676] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 13:30:44,696] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 13:30:44,696] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:30:46,861] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 13:30:59,342] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-04 13:31:20,740] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 13:31:29,860] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 13:31:29,861] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:31:32,413] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 13:31:45,425] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-04 13:31:53,201] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 13:32:03,041] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 13:32:03,041] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:32:05,488] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 13:32:18,596] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-04 13:32:27,501] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 13:32:37,543] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 13:32:37,543] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:32:39,997] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 13:32:53,719] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-04 13:33:02,827] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 13:33:13,811] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 13:33:13,811] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:33:16,248] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 13:33:31,915] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-04 13:33:43,077] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 13:33:55,791] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 13:33:55,791] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:33:57,925] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 13:34:11,476] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-04 13:34:30,488] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 13:34:41,036] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 13:34:41,036] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:39:45,038] [INFO] [130455] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2722.23 seconds.
[2024-04-04 13:39:45,048] [INFO] [130455] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-04 13:39:45,049] [INFO] [130455] [MainThread] [workflow_engine]: Executing tasks in parallel.




  • Test agent into all supported OS with one manager (Debian 10) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64

  manager-os:
    - linux-debian-10-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-debian-10-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-04 13:44:18,207] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-10-amd64] Finished task in 20.50 seconds.
[2024-04-04 13:44:18,217] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-04 13:44:38,369] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 20.14 seconds.
[2024-04-04 13:44:38,379] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-04 13:44:59,010] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 20.62 seconds.
[2024-04-04 13:44:59,020] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-04 13:45:20,819] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 21.79 seconds.
[2024-04-04 13:45:20,825] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-04 13:45:41,546] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 20.72 seconds.
[2024-04-04 13:45:41,556] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-04 13:46:02,605] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 21.04 seconds.
[2024-04-04 13:46:02,610] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-04 13:46:23,221] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 20.61 seconds.
[2024-04-04 13:46:23,226] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-04 13:46:44,328] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 21.10 seconds.
[2024-04-04 13:46:44,339] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-04 13:47:05,774] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 21.42 seconds.
[2024-04-04 13:47:05,780] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-04 13:47:28,694] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 22.91 seconds.
[2024-04-04 13:47:28,700] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-04 13:47:49,752] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 21.05 seconds.
[2024-04-04 13:47:49,763] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-04 13:48:10,646] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 20.87 seconds.
[2024-04-04 13:48:10,657] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Starting task.
[2024-04-04 13:48:32,542] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Finished task in 21.88 seconds.
[2024-04-04 13:48:32,547] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Starting task.
[2024-04-04 13:48:53,419] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 20.87 seconds.
[2024-04-04 13:48:53,430] [INFO] [140360] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-04 13:49:04,752] [INFO] [Testing]: Checking connection to debian-10
[2024-04-04 13:49:06,411] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-04 13:49:08,675] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-04 13:49:08,676] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-04 13:49:10,415] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-04 13:49:12,875] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-04 13:49:12,875] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-04 13:49:14,306] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-04 13:49:16,805] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-04 13:49:16,805] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-04 13:49:17,896] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-04 13:49:24,484] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-04 13:49:24,484] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-04 13:49:25,879] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-04 13:49:27,927] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-04 13:49:27,928] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-04 13:49:28,121] [WARNING] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 52.87.158.163
[2024-04-04 13:49:58,339] [WARNING] [Testing]: Error on attempt 2 of 10: [Errno None] Unable to connect to port 2200 on 52.87.158.163
[2024-04-04 13:50:29,776] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-04 13:50:31,964] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-04 13:50:31,964] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-04 13:50:33,467] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-04 13:50:35,776] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-04 13:50:35,776] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-04 13:50:37,253] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-04 13:50:39,505] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-04 13:50:39,505] [INFO] [Testing]: Checking connection to centos-7
[2024-04-04 13:50:41,143] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-04 13:50:43,397] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-04 13:50:43,397] [INFO] [Testing]: Checking connection to centos-8
[2024-04-04 13:50:44,726] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-04 13:50:47,390] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-04 13:50:47,390] [INFO] [Testing]: Checking connection to debian-11
[2024-04-04 13:50:48,925] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-04 13:50:51,217] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-04 13:50:51,217] [INFO] [Testing]: Checking connection to debian-12
[2024-04-04 13:50:52,544] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-04 13:50:54,586] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-04 13:50:54,586] [INFO] [Testing]: Checking connection to suse-15
[2024-04-04 13:50:55,560] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-04 13:50:57,836] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-04 13:50:57,836] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-04 13:50:59,473] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-04 13:51:01,727] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-04 13:51:44,019] [INFO] [Testing]: Installing Manager in debian-10
[2024-04-04 13:52:57,848] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 13:53:17,614] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-04 13:53:32,562] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 13:53:43,111] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 13:53:43,111] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:53:45,260] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 13:54:01,951] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-04 13:54:15,673] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 13:54:27,181] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 13:54:27,182] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:54:29,007] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 13:54:44,007] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-04 13:55:11,620] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 13:55:20,711] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 13:55:20,711] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:55:23,155] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 13:55:36,979] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-04 13:55:48,039] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 13:55:57,673] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 13:55:57,673] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:55:59,298] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 13:56:25,641] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-04 13:56:54,600] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 13:57:02,822] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 13:57:02,822] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:57:05,202] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 13:57:30,078] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-04 13:58:20,944] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 13:58:29,993] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 13:58:29,993] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:58:31,962] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 13:58:45,602] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-04 13:59:11,694] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 13:59:21,556] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 13:59:21,556] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 13:59:23,834] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 13:59:41,514] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-04 14:00:09,007] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 14:00:19,115] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 14:00:19,116] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:00:21,159] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 14:00:41,507] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-04 14:01:27,873] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 14:01:36,726] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 14:01:36,726] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:01:39,071] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 14:01:53,611] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-04 14:02:06,617] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 14:02:16,252] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 14:02:16,253] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:02:18,905] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 14:02:33,242] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-04 14:02:47,173] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 14:02:56,807] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 14:02:56,807] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:02:58,681] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 14:03:30,032] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-04 14:03:43,594] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 14:03:54,664] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 14:03:54,664] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:03:56,857] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 14:04:11,836] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-04 14:04:40,530] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 14:04:49,632] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 14:04:49,632] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:05:17,493] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 14:05:19,950] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 14:05:21,912] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 14:05:23,944] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 14:05:26,185] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 14:05:27,907] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 14:05:29,878] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 14:05:32,172] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 14:05:34,196] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 14:05:36,334] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 14:05:38,693] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 14:05:40,943] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 14:05:42,900] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 14:09:36,285] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 14:09:38,540] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 14:09:40,898] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 14:09:42,756] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 14:09:45,068] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 14:09:47,425] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 14:09:49,166] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 14:09:51,454] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 14:09:53,565] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 14:09:55,974] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 14:09:58,304] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 14:10:00,324] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 14:10:02,577] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 14:12:01,269] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 14:12:10,904] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 14:12:21,535] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 14:12:29,665] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 14:12:37,817] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 14:12:47,033] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 14:12:56,146] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 14:13:03,929] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 14:13:12,837] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 14:13:21,439] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 14:13:30,553] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 14:13:40,691] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 14:13:49,088] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 14:13:57,105] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 14:13:59,567] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 14:14:02,400] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 14:14:04,960] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 14:14:06,819] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 14:14:08,851] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 14:14:10,809] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 14:14:13,049] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 14:14:15,146] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 14:14:17,453] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 14:14:19,705] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 14:14:21,550] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 14:14:23,495] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 14:16:05,896] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-04 14:16:08,968] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-04 14:16:11,669] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-04 14:16:14,498] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-04 14:16:16,816] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-04 14:16:19,105] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-04 14:16:21,564] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-04 14:16:23,921] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-04 14:16:26,184] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-04 14:16:28,609] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-04 14:16:30,939] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-04 14:16:33,226] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-04 14:16:35,696] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-04 14:16:37,991] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 14:16:42,575] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 14:16:47,272] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 14:16:51,194] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 14:16:55,422] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 14:16:59,197] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 14:17:03,739] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 14:17:07,560] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 14:17:12,069] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 14:17:17,068] [INFO] [Testing]: Getting status of debian-11
[2024-04-04 14:17:21,296] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 14:17:25,363] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 14:17:29,196] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 14:17:33,866] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 14:17:42,121] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 14:17:49,935] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 14:17:57,105] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 14:18:03,965] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 14:18:13,283] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 14:18:20,583] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 14:18:28,559] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 14:18:36,630] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 14:18:44,684] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-04 14:18:52,615] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 14:19:01,718] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 14:19:08,375] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 14:20:20,260] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 14:20:32,242] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-04 14:20:40,126] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 14:20:48,938] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 14:20:48,939] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:20:50,817] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 14:21:00,566] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-04 14:21:07,760] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 14:21:15,821] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 14:21:15,822] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:21:17,396] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 14:21:25,787] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-04 14:21:41,407] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 14:21:48,644] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 14:21:48,645] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:21:50,137] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 14:21:58,601] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-04 14:22:06,406] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 14:22:13,607] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 14:22:13,608] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:22:15,219] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 14:22:23,672] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-04 14:22:42,320] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 14:22:49,467] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 14:22:49,467] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:22:51,217] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 14:23:00,454] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-04 14:23:27,734] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 14:23:35,371] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 14:23:35,371] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:23:36,948] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 14:23:45,314] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-04 14:23:59,929] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 14:24:06,955] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 14:24:06,956] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:24:08,571] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 14:24:17,552] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-04 14:24:36,190] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 14:24:43,350] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 14:24:43,350] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:24:45,041] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 14:24:59,296] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-04 14:25:23,748] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 14:25:30,990] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 14:25:30,990] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:25:32,630] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 14:25:41,737] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-04 14:25:47,865] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-04 14:25:55,586] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-04 14:25:55,586] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:25:57,224] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 14:26:06,232] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-04 14:26:12,180] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 14:26:19,753] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 14:26:19,754] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:26:21,182] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 14:26:31,171] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-04 14:26:38,385] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 14:26:47,087] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 14:26:47,087] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:26:48,782] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 14:26:56,942] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-04 14:27:12,042] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 14:27:19,047] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 14:27:19,047] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 14:30:15,898] [INFO] [140360] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-04 14:30:15,898] [INFO] [140360] [MainThread] [workflow_engine]: Executing tasks in parallel.



  • Test agent into all supported OS with one manager (Debian 11) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64
  manager-os:
    - linux-debian-11-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-debian-11-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-04 14:30:15,898] [INFO] [140360] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-04 14:30:15,898] [INFO] [140360] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-04 14:55:19,386] [INFO] [152148] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-04 14:55:19,386] [INFO] [152148] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-04 14:55:19,387] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Starting task.
[2024-04-04 14:55:40,588] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Finished task in 21.20 seconds.
[2024-04-04 14:55:40,593] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-04 14:56:00,949] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 20.35 seconds.
[2024-04-04 14:56:00,955] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-04 14:56:21,807] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 20.85 seconds.
[2024-04-04 14:56:21,813] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-04 14:56:42,572] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 20.76 seconds.
[2024-04-04 14:56:42,583] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-04 14:57:03,844] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 21.26 seconds.
[2024-04-04 14:57:03,850] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-04 14:57:24,537] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 20.68 seconds.
[2024-04-04 14:57:24,548] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-04 14:57:45,558] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 21.00 seconds.
[2024-04-04 14:57:45,569] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-04 14:58:06,285] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 20.71 seconds.
[2024-04-04 14:58:06,296] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-04 14:58:26,890] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 20.58 seconds.
[2024-04-04 14:58:26,901] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-04 14:58:47,767] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 20.86 seconds.
[2024-04-04 14:58:47,777] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-04 14:59:08,387] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 20.60 seconds.
[2024-04-04 14:59:08,392] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-04 14:59:28,841] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 20.44 seconds.
[2024-04-04 14:59:28,852] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Starting task.
[2024-04-04 14:59:49,352] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2023-amd64] Finished task in 20.49 seconds.
[2024-04-04 14:59:49,363] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Starting task.
[2024-04-04 15:00:09,970] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 20.60 seconds.
[2024-04-04 15:00:09,980] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-04 15:36:58,419] [INFO] [152148] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2208.43 seconds.
[2024-04-04 15:00:21,648] [INFO] [Testing]: Checking connection to debian-11
[2024-04-04 15:00:23,406] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-04 15:00:25,312] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-04 15:00:25,313] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-04 15:00:26,469] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-04 15:00:28,356] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-04 15:00:28,356] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-04 15:00:29,550] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-04 15:00:31,600] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-04 15:00:31,600] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-04 15:00:32,827] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-04 15:00:39,929] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-04 15:00:39,929] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-04 15:00:41,633] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-04 15:00:43,682] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-04 15:00:43,682] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-04 15:00:43,886] [WARNING] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 54.152.122.5
[2024-04-04 15:01:15,357] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-04 15:01:17,480] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-04 15:01:17,480] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-04 15:01:19,114] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-04 15:01:21,367] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-04 15:01:21,367] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-04 15:01:22,700] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-04 15:01:24,731] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-04 15:01:24,731] [INFO] [Testing]: Checking connection to centos-7
[2024-04-04 15:01:26,246] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-04 15:01:28,010] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-04 15:01:28,011] [INFO] [Testing]: Checking connection to centos-8
[2024-04-04 15:01:29,359] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-04 15:01:31,037] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-04 15:01:31,037] [INFO] [Testing]: Checking connection to debian-10
[2024-04-04 15:01:32,835] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-04 15:01:34,679] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-04 15:01:34,679] [INFO] [Testing]: Checking connection to debian-12
[2024-04-04 15:01:36,039] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-04 15:01:38,057] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-04 15:01:38,057] [INFO] [Testing]: Checking connection to suse-15
[2024-04-04 15:01:39,391] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-04 15:01:41,659] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-04 15:01:41,660] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-04 15:01:43,381] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-04 15:01:45,841] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-04 15:02:26,493] [INFO] [Testing]: Installing Manager in debian-11
[2024-04-04 15:03:51,793] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 15:04:06,949] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-04 15:04:20,502] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 15:04:29,994] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 15:04:29,994] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:04:31,804] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 15:04:46,893] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-04 15:04:57,780] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 15:05:05,983] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 15:05:05,983] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:05:07,634] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 15:05:22,067] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-04 15:05:46,527] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 15:05:53,783] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 15:05:53,783] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:05:55,507] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 15:06:07,412] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-04 15:06:16,697] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 15:06:24,082] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 15:06:24,082] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:06:25,689] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 15:06:43,826] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-04 15:07:09,797] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 15:07:18,930] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 15:07:18,931] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:07:20,604] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 15:07:33,374] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-04 15:08:17,560] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 15:08:24,972] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 15:08:24,972] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:08:26,493] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 15:08:38,457] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-04 15:09:02,840] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 15:09:10,043] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 15:09:10,044] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:09:11,988] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 15:09:25,808] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-04 15:09:51,380] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 15:09:58,861] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 15:09:58,861] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:10:00,400] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 15:10:11,953] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-04 15:10:54,411] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 15:11:01,380] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 15:11:01,380] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:11:02,830] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 15:11:21,203] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-04 15:11:31,277] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 15:11:38,577] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 15:11:38,577] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:11:39,996] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 15:11:52,288] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-04 15:12:01,943] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 15:12:08,834] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 15:12:08,834] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:12:10,275] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 15:12:37,085] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-04 15:12:47,617] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 15:12:56,541] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 15:12:56,541] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:12:58,337] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 15:13:10,889] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-04 15:13:39,684] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 15:13:47,213] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 15:13:47,213] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:14:09,034] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 15:14:10,914] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 15:14:12,496] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 15:14:14,146] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 15:14:15,868] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 15:14:17,767] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 15:14:20,289] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 15:14:21,749] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 15:14:23,688] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 15:14:25,222] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 15:14:26,705] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 15:14:28,170] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 15:14:29,646] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 15:17:38,090] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 15:17:39,868] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 15:17:41,786] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 15:17:43,522] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 15:17:45,173] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 15:17:46,823] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 15:17:48,479] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 15:17:49,929] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 15:17:51,579] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 15:17:53,019] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 15:17:54,606] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 15:17:56,157] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 15:17:57,541] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 15:19:30,745] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 15:19:41,100] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 15:19:49,508] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 15:19:56,878] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 15:20:05,026] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 15:20:14,258] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 15:20:21,554] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 15:20:29,711] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 15:20:38,792] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 15:20:47,000] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 15:20:55,220] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 15:21:05,102] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 15:21:13,162] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 15:21:21,727] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 15:21:23,519] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 15:21:25,355] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 15:21:26,983] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 15:21:28,546] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 15:21:30,158] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 15:21:31,799] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 15:21:33,302] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 15:21:34,904] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 15:21:36,380] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 15:21:37,816] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 15:21:39,289] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 15:21:40,894] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 15:22:59,191] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-04 15:23:01,621] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-04 15:23:03,810] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-04 15:23:06,025] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-04 15:23:08,191] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-04 15:23:15,511] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-04 15:23:17,729] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-04 15:23:19,854] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-04 15:23:22,590] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-04 15:23:24,839] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-04 15:23:26,918] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-04 15:23:29,092] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-04 15:23:31,179] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-04 15:23:33,647] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-04 15:23:37,826] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-04 15:23:41,782] [INFO] [Testing]: Getting status of oracle-9
[2024-04-04 15:23:45,601] [INFO] [Testing]: Getting status of amazon-2
[2024-04-04 15:23:49,465] [INFO] [Testing]: Getting status of redhat-7
[2024-04-04 15:23:53,189] [INFO] [Testing]: Getting status of redhat-8
[2024-04-04 15:23:56,923] [INFO] [Testing]: Getting status of redhat-9
[2024-04-04 15:24:00,666] [INFO] [Testing]: Getting status of centos-7
[2024-04-04 15:24:04,509] [INFO] [Testing]: Getting status of centos-8
[2024-04-04 15:24:08,094] [INFO] [Testing]: Getting status of debian-10
[2024-04-04 15:24:11,659] [INFO] [Testing]: Getting status of debian-12
[2024-04-04 15:24:15,310] [INFO] [Testing]: Getting status of suse-15
[2024-04-04 15:24:18,880] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-04 15:24:22,903] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-04 15:24:31,955] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-04 15:24:40,647] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-04 15:24:47,520] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-04 15:24:54,385] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-04 15:25:02,212] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-04 15:25:09,006] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-04 15:25:15,591] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-04 15:25:24,356] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-04 15:25:33,177] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-04 15:25:40,821] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-04 15:25:49,565] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-04 15:25:56,357] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-04 15:26:55,560] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 15:27:06,107] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-04 15:27:13,651] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-04 15:27:22,402] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-04 15:27:22,402] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:27:24,281] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 15:27:33,971] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-04 15:27:41,717] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-04 15:27:49,759] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-04 15:27:49,759] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:27:51,458] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 15:28:00,526] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-04 15:28:15,556] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-04 15:28:23,305] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-04 15:28:23,306] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:28:24,938] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 15:28:33,989] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-04 15:28:42,097] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-04 15:28:49,472] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-04 15:28:49,472] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:28:51,078] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 15:29:00,476] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-04 15:29:19,587] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-04 15:29:27,492] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-04 15:29:27,492] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:29:29,192] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 15:29:38,193] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-04 15:30:03,638] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-04 15:30:11,055] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-04 15:30:11,055] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:30:12,563] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 15:30:21,307] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-04 15:30:35,970] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-04 15:30:42,902] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-04 15:30:42,902] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:30:44,546] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 15:30:53,371] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-04 15:31:11,693] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-04 15:31:18,976] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-04 15:31:18,976] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:31:20,502] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 15:31:29,011] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-04 15:31:53,440] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-04 15:32:00,364] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-04 15:32:00,364] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:32:01,816] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 15:32:10,300] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-04 15:32:16,332] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-04 15:32:23,072] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-04 15:32:23,072] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:32:24,634] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 15:32:33,079] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-04 15:32:38,650] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-04 15:32:45,364] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-04 15:32:45,364] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:32:46,777] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 15:32:56,946] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-04 15:33:04,527] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-04 15:33:13,278] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-04 15:33:13,278] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:33:15,178] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 15:33:24,455] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-04 15:33:40,903] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-04 15:33:48,484] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-04 15:33:48,484] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-04 15:36:58,424] [INFO] [152148] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-04 15:36:58,425] [INFO] [152148] [MainThread] [workflow_engine]: Executing tasks in parallel.



@pro-akim
Copy link
Member

pro-akim commented Apr 2, 2024

AWS Provider - Test agent 🔴 PART 2

⚠️
Opensuse - 15 AMI fails
SUSE 15 Assistant does not work (for Manager Installation) (Could not find the system)


  • Test agent into all supported OS with one manager (Debian 12) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64
  manager-os:
    - linux-debian-12-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-debian-12-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-05 09:03:38,763] [INFO] [323079] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-05 09:03:38,764] [INFO] [323079] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 09:03:38,764] [INFO] [323079] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Starting task.
[2024-04-05 09:08:33,847] [INFO] TESTER: Running tests for ec2-3-92-228-166.compute-1.amazonaws.com
[2024-04-05 09:08:33,847] [INFO] TESTER: Running tests for ec2-44-201-218-32.compute-1.amazonaws.com
[2024-04-05 09:08:33,848] [INFO] TESTER: Running tests for ec2-3-86-200-95.compute-1.amazonaws.com
[2024-04-05 09:08:33,849] [INFO] TESTER: Running tests for ec2-44-206-232-2.compute-1.amazonaws.com
[2024-04-05 09:08:33,850] [INFO] TESTER: Running tests for ec2-3-95-185-99.compute-1.amazonaws.com
[2024-04-05 09:08:33,851] [INFO] TESTER: Running tests for ec2-18-234-227-83.compute-1.amazonaws.com
[2024-04-05 09:08:33,851] [INFO] TESTER: Running tests for ec2-18-208-183-0.compute-1.amazonaws.com
[2024-04-05 09:08:33,852] [INFO] TESTER: Running tests for ec2-3-93-3-152.compute-1.amazonaws.com
[2024-04-05 09:08:33,853] [INFO] TESTER: Running tests for ec2-44-203-188-11.compute-1.amazonaws.com
[2024-04-05 09:08:33,854] [INFO] TESTER: Running tests for ec2-52-70-250-93.compute-1.amazonaws.com
[2024-04-05 09:08:33,854] [INFO] TESTER: Running tests for ec2-34-205-141-56.compute-1.amazonaws.com
[2024-04-05 09:08:33,855] [INFO] TESTER: Running tests for ec2-44-210-92-120.compute-1.amazonaws.com
[2024-04-05 09:08:33,856] [INFO] TESTER: Running tests for ec2-54-86-212-66.compute-1.amazonaws.com
[2024-04-05 09:08:33,857] [INFO] TESTER: Running tests for ec2-35-173-247-236.compute-1.amazonaws.com
[2024-04-05 09:08:45,049] [INFO] [Testing]: Checking connection to debian-12
[2024-04-05 09:08:46,784] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-05 09:08:46,785] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-05 09:08:48,009] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-05 09:08:50,984] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-05 09:08:50,984] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-05 09:08:52,473] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-05 09:08:54,284] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-05 09:08:54,284] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-05 09:08:55,693] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-05 09:09:01,708] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-05 09:09:01,709] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-05 09:09:03,232] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-05 09:09:05,525] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-05 09:09:05,525] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-05 09:09:05,758] [WARNING] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 18.234.227.83
[2024-04-05 09:09:37,473] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-05 09:09:39,824] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-05 09:09:39,824] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-05 09:09:40,911] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-05 09:09:43,517] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-05 09:09:43,517] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-05 09:09:45,050] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-05 09:09:47,395] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-05 09:09:47,395] [INFO] [Testing]: Checking connection to centos-7
[2024-04-05 09:09:48,874] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-05 09:09:51,243] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-05 09:09:51,243] [INFO] [Testing]: Checking connection to centos-8
[2024-04-05 09:09:52,615] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-05 09:09:55,301] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-05 09:09:55,302] [INFO] [Testing]: Checking connection to debian-10
[2024-04-05 09:09:56,863] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-05 09:09:59,284] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-05 09:09:59,284] [INFO] [Testing]: Checking connection to debian-11
[2024-04-05 09:10:00,661] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-05 09:10:02,767] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-05 09:10:02,767] [INFO] [Testing]: Checking connection to suse-15
[2024-04-05 09:10:04,137] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-05 09:10:06,452] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-05 09:10:06,452] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-05 09:10:07,783] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-05 09:10:10,218] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-05 09:10:12,005] [WARNING] [Testing]: Error on attempt 5 of 10: [Errno 110] Connection timed out
[2024-04-05 09:10:15,361] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-05 09:11:11,067] [INFO] [Testing]: Installing Manager in debian-12
[2024-04-05 09:12:55,845] [WARNING] [Testing]: Error on attempt 6 of 10: [Errno 110] Connection timed out
[2024-04-05 09:13:18,249] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 09:13:35,066] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-05 09:13:49,846] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 09:14:01,532] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 09:14:01,532] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:14:04,022] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 09:14:23,786] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-05 09:14:38,020] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 09:14:48,655] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 09:14:48,655] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:14:51,445] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 09:15:07,619] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-05 09:15:35,246] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 09:15:39,685] [WARNING] [Testing]: Error on attempt 7 of 10: [Errno 110] Connection timed out
[2024-04-05 09:15:45,621] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 09:15:45,621] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:15:47,857] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 09:16:03,626] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-05 09:16:15,921] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 09:16:26,771] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 09:16:26,771] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:16:29,226] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 09:16:59,331] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-05 09:17:28,413] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 09:17:38,815] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 09:17:38,815] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:17:41,520] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 09:18:06,721] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-05 09:18:23,525] [WARNING] [Testing]: Error on attempt 8 of 10: [Errno 110] Connection timed out
[2024-04-05 09:18:54,350] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 09:19:03,381] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 09:19:03,382] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:19:05,328] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 09:19:23,612] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-05 09:19:52,818] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 09:20:02,416] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 09:20:02,417] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:20:04,667] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 09:20:22,196] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-05 09:20:50,243] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 09:20:59,262] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 09:20:59,262] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:21:01,747] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 09:21:07,365] [WARNING] [Testing]: Error on attempt 9 of 10: [Errno 110] Connection timed out
[2024-04-05 09:21:26,791] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-05 09:22:14,686] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 09:22:24,241] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 09:22:24,241] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:22:26,337] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 09:22:41,533] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-05 09:22:54,353] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 09:23:04,510] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 09:23:04,510] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:23:07,267] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 09:23:28,033] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-05 09:23:41,455] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 09:23:51,184] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 09:23:51,185] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:23:51,205] [WARNING] [Testing]: Error on attempt 10 of 10: [Errno 110] Connection timed out
[2024-04-05 09:23:53,642] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 09:24:11,777] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-05 09:24:21,234] [ERROR] [Testing]: Connection attempts failed after 10 tries. Connection timeout in debian-11
[2024-04-05 09:24:23,184] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-05 09:24:23,185] [INFO] [Testing]: Checking connection to suse-15
[2024-04-05 09:24:24,473] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-05 09:24:24,797] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 09:24:26,133] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-05 09:24:26,133] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-05 09:24:27,212] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-05 09:24:28,899] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-05 09:24:31,105] [INFO] [Testing]: Manager is already installed in debian-12
[2024-04-05 09:24:34,615] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 09:24:34,698] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 09:24:34,698] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:24:36,234] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 09:24:48,190] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-05 09:24:49,973] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-05 09:25:00,508] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 09:25:10,954] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 09:25:10,954] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:25:12,950] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 09:25:17,608] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 09:25:26,259] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 09:25:26,260] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:25:27,614] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-05 09:25:39,760] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 09:25:48,847] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 09:25:48,847] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:25:50,696] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 09:25:51,721] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 09:25:53,823] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 09:25:55,750] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 09:25:57,443] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 09:25:59,696] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 09:26:02,051] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 09:26:04,181] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-05 09:26:04,328] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 09:26:06,190] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 09:26:07,921] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 09:26:09,734] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 09:26:11,212] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 09:26:13,201] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 09:26:13,552] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 09:26:14,814] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 09:26:22,306] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 09:26:22,306] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:26:24,487] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 09:26:37,175] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-05 09:26:46,889] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 09:26:55,656] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 09:26:55,656] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:26:57,872] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 09:27:11,376] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-05 09:27:22,847] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 09:27:32,151] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 09:27:32,151] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:27:34,620] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 09:27:46,630] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-05 09:27:56,228] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 09:28:05,044] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 09:28:05,044] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:28:07,388] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 09:28:20,701] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-05 09:28:33,604] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 09:28:43,643] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 09:28:43,643] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:28:45,289] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 09:28:58,699] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-05 09:29:10,058] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 09:29:18,764] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 09:29:18,764] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:29:20,901] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 09:29:33,621] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-05 09:29:43,928] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 09:29:44,283] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 09:29:45,927] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 09:29:48,557] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 09:29:50,070] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 09:29:52,144] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 09:29:53,169] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 09:29:53,170] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:29:53,992] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 09:29:54,633] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 09:29:55,448] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 09:29:57,572] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 09:29:59,398] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 09:30:01,585] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 09:30:03,602] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 09:30:05,661] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 09:30:07,635] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-05 09:30:07,667] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 09:30:22,858] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 09:30:30,136] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 09:30:30,136] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:30:32,480] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 09:30:46,222] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-05 09:31:04,215] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 09:31:13,352] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 09:31:13,352] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:31:15,127] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 09:31:29,853] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-05 09:31:39,878] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 09:31:50,485] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 09:31:50,485] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:31:52,489] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 09:31:58,924] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 09:32:04,222] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-05 09:32:08,132] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 09:32:14,144] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 09:32:18,699] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 09:32:22,606] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 09:32:22,606] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:32:26,154] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 09:32:33,571] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 09:32:42,745] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 09:32:47,392] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 09:32:49,329] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 09:32:49,925] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 09:32:51,070] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 09:32:52,732] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 09:32:54,816] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 09:32:57,295] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 09:32:58,355] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 09:32:58,969] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 09:33:00,867] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 09:33:03,329] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 09:33:05,476] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 09:33:08,036] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 09:33:08,113] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 09:33:10,053] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 09:33:12,443] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 09:33:16,945] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 09:33:25,080] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 09:33:34,609] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 09:33:42,340] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 09:33:50,226] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 09:33:52,690] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 09:33:54,957] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 09:33:56,472] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 09:33:58,520] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 09:34:00,155] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 09:34:02,720] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 09:34:04,690] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 09:34:06,507] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 09:34:08,461] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 09:34:10,501] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 09:34:12,446] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 09:34:14,801] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 09:36:08,138] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-05 09:36:11,120] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-05 09:36:20,050] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-05 09:36:27,376] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-05 09:36:31,195] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-05 09:36:39,718] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-05 09:36:43,697] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-05 09:36:47,834] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-05 09:37:07,074] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-05 09:37:10,830] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-05 09:37:13,613] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-05 09:37:18,994] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-05 09:37:22,011] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-05 09:37:25,289] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 09:37:37,959] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 09:37:46,968] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 09:37:54,926] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 09:38:25,931] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 09:38:33,704] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 09:38:41,459] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 09:38:48,049] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 09:38:54,356] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 09:39:00,106] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 09:39:06,133] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 09:39:12,280] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 09:39:17,908] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 09:39:23,950] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 09:39:32,345] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 09:39:40,844] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 09:39:48,012] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 09:39:55,385] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 09:40:04,704] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 09:40:12,281] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 09:40:20,780] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 09:40:30,508] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 09:40:39,110] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 09:40:47,713] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 09:40:56,378] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 09:41:03,891] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 09:42:48,445] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 09:43:01,446] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-05 09:43:10,533] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 09:43:21,792] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 09:43:21,793] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:43:24,281] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 09:43:38,208] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-05 09:43:47,939] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 09:44:09,423] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 09:44:09,423] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:44:12,103] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 09:44:38,381] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-05 09:44:56,350] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 09:45:06,171] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 09:45:06,172] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:45:08,627] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 09:45:21,427] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-05 09:45:35,387] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 09:45:57,720] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 09:45:57,720] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:45:59,800] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 09:46:13,344] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-05 09:46:35,975] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 09:46:47,285] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 09:46:47,285] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:46:49,385] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 09:47:01,956] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-05 09:47:29,442] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 09:47:38,348] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 09:47:38,348] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:47:40,794] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 09:47:53,082] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-05 09:48:11,822] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 09:48:22,146] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 09:48:22,147] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:48:24,316] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 09:48:35,476] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-05 09:48:56,570] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 09:49:06,505] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 09:49:06,505] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:49:08,999] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 09:49:21,863] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-05 09:49:49,830] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 09:49:59,036] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 09:49:59,036] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:50:01,390] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 09:50:14,100] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-05 09:50:20,135] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 09:50:30,985] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 09:50:30,985] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:50:33,339] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 09:50:46,651] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-05 09:50:55,366] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 09:51:05,524] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 09:51:05,525] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:51:08,463] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 09:51:23,311] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-05 09:51:34,166] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 09:51:46,368] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 09:51:46,369] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:51:48,338] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 09:52:00,245] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-05 09:52:17,709] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 09:52:27,626] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 09:52:27,627] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 09:56:47,289] [INFO] [323079] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2893.78 seconds.
[2024-04-05 09:56:47,300] [INFO] [323079] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 09:56:47,300] [INFO] [323079] [MainThread] [workflow_engine]: Executing tasks in parallel.

  • Test agent into all supported OS with one manager (Ubuntu 20) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64
  manager-os:
    - linux-ubuntu-20.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-05 10:40:17,967] [INFO] [398740] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 10:40:17,967] [INFO] [398740] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 10:41:44,774] [INFO] [405218] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-05 10:41:44,774] [INFO] [405218] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 10:41:44,774] [INFO] [405218] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-05 10:56:47,469] [INFO] [415519] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 20.48 seconds.
[2024-04-05 10:56:47,480] [INFO] [415519] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-05 10:56:47,835] [INFO] TESTER: Running tests for ec2-54-161-63-110.compute-1.amazonaws.com
[2024-04-05 10:56:47,836] [INFO] TESTER: Running tests for ec2-34-226-142-194.compute-1.amazonaws.com
[2024-04-05 10:56:47,837] [INFO] TESTER: Running tests for ec2-3-85-25-139.compute-1.amazonaws.com
[2024-04-05 10:56:47,837] [INFO] TESTER: Running tests for ec2-3-92-202-158.compute-1.amazonaws.com
[2024-04-05 10:56:47,838] [INFO] TESTER: Running tests for ec2-54-166-61-169.compute-1.amazonaws.com
[2024-04-05 10:56:47,839] [INFO] TESTER: Running tests for ec2-52-87-181-43.compute-1.amazonaws.com
[2024-04-05 10:56:47,840] [INFO] TESTER: Running tests for ec2-3-84-82-163.compute-1.amazonaws.com
[2024-04-05 10:56:47,840] [INFO] TESTER: Running tests for ec2-44-211-226-222.compute-1.amazonaws.com
[2024-04-05 10:56:47,841] [INFO] TESTER: Running tests for ec2-3-83-133-231.compute-1.amazonaws.com
[2024-04-05 10:56:47,842] [INFO] TESTER: Running tests for ec2-54-163-169-9.compute-1.amazonaws.com
[2024-04-05 10:56:47,843] [INFO] TESTER: Running tests for ec2-35-170-246-23.compute-1.amazonaws.com
[2024-04-05 10:56:47,843] [INFO] TESTER: Running tests for ec2-3-82-214-3.compute-1.amazonaws.com
[2024-04-05 10:56:47,844] [INFO] TESTER: Running tests for ec2-18-208-138-225.compute-1.amazonaws.com
[2024-04-05 10:56:47,845] [INFO] TESTER: Running tests for ec2-44-212-39-45.compute-1.amazonaws.com
[2024-04-05 10:56:58,913] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-05 10:57:00,469] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-05 10:57:00,470] [INFO] [Testing]: Checking connection to debian-12
[2024-04-05 10:57:01,752] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-05 10:57:04,110] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-05 10:57:04,110] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-05 10:57:05,131] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-05 10:57:06,873] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-05 10:57:06,873] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-05 10:57:08,455] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-05 10:57:14,787] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-05 10:57:14,787] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-05 10:57:16,190] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-05 10:57:18,740] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-05 10:57:18,740] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-05 10:57:20,389] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-05 10:57:22,464] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-05 10:57:22,464] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-05 10:57:23,870] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-05 10:57:26,432] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-05 10:57:26,432] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-05 10:57:27,557] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-05 10:57:29,503] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-05 10:57:29,504] [INFO] [Testing]: Checking connection to centos-7
[2024-04-05 10:57:31,038] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-05 10:57:33,455] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-05 10:57:33,456] [INFO] [Testing]: Checking connection to centos-8
[2024-04-05 10:57:34,732] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-05 10:57:37,389] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-05 10:57:37,389] [INFO] [Testing]: Checking connection to debian-10
[2024-04-05 10:57:38,462] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-05 10:57:40,665] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-05 10:57:40,666] [INFO] [Testing]: Checking connection to debian-11
[2024-04-05 10:57:41,893] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-05 10:57:44,249] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-05 10:57:44,249] [INFO] [Testing]: Checking connection to suse-15
[2024-04-05 10:57:45,477] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-05 10:57:47,628] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-05 10:57:47,629] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-05 10:57:49,071] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-05 10:57:51,521] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-05 10:57:56,134] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-05 10:58:36,694] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-05 10:59:59,113] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 11:00:14,601] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-05 11:00:27,713] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 11:00:38,398] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-05 11:00:38,399] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:00:40,688] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 11:00:57,379] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-05 11:01:10,180] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 11:01:20,889] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 11:01:20,889] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:01:23,396] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 11:01:41,208] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-05 11:02:08,959] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 11:02:17,597] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 11:02:17,597] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:02:19,534] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 11:02:33,842] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-05 11:02:44,269] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 11:02:54,017] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 11:02:54,017] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:02:56,063] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 11:03:19,302] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-05 11:03:46,856] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 11:03:56,161] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 11:03:56,161] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:03:58,529] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 11:04:24,232] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-05 11:05:10,928] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 11:05:21,726] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 11:05:21,727] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:05:23,932] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 11:05:41,136] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-05 11:06:09,603] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 11:06:20,664] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 11:06:20,665] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:06:23,018] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 11:06:38,392] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-05 11:07:06,519] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 11:07:15,858] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 11:07:15,858] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:07:18,417] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 11:07:43,608] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-05 11:08:32,352] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 11:08:42,301] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 11:08:42,302] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:08:44,741] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 11:09:01,025] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-05 11:09:13,416] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 11:09:23,860] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 11:09:23,860] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:09:26,111] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 11:09:45,324] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-05 11:09:57,724] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 11:10:07,091] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 11:10:07,091] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:10:09,325] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 11:10:26,473] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-05 11:10:38,202] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 11:10:49,468] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 11:10:49,468] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:10:51,821] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 11:11:07,386] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-05 11:11:38,004] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 11:11:48,041] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 11:11:48,041] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:12:18,045] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 11:12:20,124] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 11:12:21,832] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 11:12:24,120] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 11:12:26,440] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 11:12:28,060] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 11:12:30,332] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 11:12:32,893] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 11:12:35,093] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 11:12:37,098] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 11:12:39,369] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 11:12:41,084] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 11:12:42,672] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 11:16:28,028] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 11:16:30,462] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 11:16:33,022] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 11:16:35,101] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 11:16:37,016] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 11:16:39,371] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 11:16:41,435] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 11:16:43,985] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 11:16:46,027] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 11:16:48,126] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 11:16:50,635] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 11:16:52,888] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 11:16:55,088] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 11:18:59,508] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-05 11:19:09,594] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 11:19:20,244] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 11:19:27,696] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 11:19:35,153] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 11:19:44,719] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 11:19:52,500] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 11:20:00,811] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 11:20:09,806] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 11:20:18,100] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 11:20:26,305] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 11:20:35,816] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 11:20:44,930] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 11:20:52,816] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 11:20:55,091] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 11:20:57,337] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 11:20:59,481] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 11:21:01,687] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 11:21:03,602] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 11:21:05,819] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 11:21:08,072] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 11:21:10,632] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 11:21:12,885] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 11:21:15,445] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 11:21:17,904] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 11:21:20,279] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 11:23:04,334] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-05 11:23:07,063] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-05 11:23:10,339] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-05 11:23:13,411] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-05 11:23:16,382] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-05 11:23:19,226] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-05 11:23:22,064] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-05 11:23:24,778] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-05 11:23:27,542] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-05 11:23:30,512] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-05 11:23:33,482] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-05 11:23:35,858] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-05 11:23:38,499] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-05 11:23:41,481] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 11:23:46,796] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 11:23:52,631] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 11:23:57,753] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 11:24:02,683] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 11:24:07,582] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 11:24:13,056] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 11:24:18,846] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 11:24:23,824] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 11:24:29,087] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 11:24:34,513] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 11:24:39,840] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 11:24:44,153] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 11:24:49,672] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-05 11:24:59,088] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 11:25:07,692] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 11:25:14,981] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 11:25:22,538] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 11:25:30,527] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 11:25:36,978] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 11:25:45,579] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 11:25:54,080] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 11:26:02,578] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 11:26:11,180] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 11:26:19,373] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 11:26:26,915] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 11:27:46,208] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 11:27:59,828] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-05 11:28:08,224] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 11:28:18,772] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-05 11:28:18,772] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:28:21,332] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 11:28:34,644] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-05 11:28:44,053] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 11:28:54,870] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 11:28:54,870] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:28:57,129] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 11:29:09,869] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-05 11:29:27,484] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 11:29:38,178] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 11:29:38,178] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:29:40,590] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 11:29:52,812] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-05 11:30:03,647] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 11:30:13,362] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 11:30:13,362] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:30:15,816] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 11:30:26,796] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-05 11:30:47,355] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 11:30:55,848] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 11:30:55,848] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:30:58,108] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 11:31:10,703] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-05 11:31:39,473] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 11:31:49,788] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 11:31:49,789] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:31:51,970] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 11:32:04,053] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-05 11:32:21,769] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 11:32:31,827] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 11:32:31,827] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:32:34,160] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 11:32:46,505] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-05 11:33:07,747] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 11:33:18,400] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 11:33:18,400] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:33:20,752] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 11:33:32,498] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-05 11:33:59,140] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 11:34:09,009] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 11:34:09,009] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:34:11,411] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 11:34:23,402] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-05 11:34:31,410] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 11:34:42,264] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 11:34:42,264] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:34:44,473] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 11:34:54,978] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-05 11:35:03,349] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 11:35:12,337] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 11:35:12,338] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:35:14,622] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 11:35:28,242] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-05 11:35:38,300] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 11:35:50,054] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 11:35:50,055] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:35:52,159] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 11:36:05,227] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-05 11:36:23,128] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 11:36:33,586] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 11:36:33,587] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:40:38,995] [INFO] [415519] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2631.50 seconds.
[2024-04-05 11:40:39,001] [INFO] [415519] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 11:40:39,001] [INFO] [415519] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (Ubuntu 22) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    
    - linux-ubuntu-20.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64
  manager-os:
    - linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-05 11:40:39,001] [INFO] [415519] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 11:40:39,001] [INFO] [415519] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 11:45:31,529] [INFO] [430266] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-05 11:45:31,530] [INFO] [430266] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 11:45:31,530] [INFO] [430266] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-05 11:50:25,579] [INFO] [430266] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 20.52 seconds.
[2024-04-05 11:50:25,590] [INFO] [430266] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-05 11:50:25,944] [INFO] TESTER: Running tests for ec2-3-89-250-98.compute-1.amazonaws.com
[2024-04-05 11:50:25,945] [INFO] TESTER: Running tests for ec2-3-91-132-246.compute-1.amazonaws.com
[2024-04-05 11:50:25,946] [INFO] TESTER: Running tests for ec2-184-73-80-220.compute-1.amazonaws.com
[2024-04-05 11:50:25,946] [INFO] TESTER: Running tests for ec2-34-201-172-109.compute-1.amazonaws.com
[2024-04-05 11:50:25,947] [INFO] TESTER: Running tests for ec2-18-206-58-95.compute-1.amazonaws.com
[2024-04-05 11:50:25,948] [INFO] TESTER: Running tests for ec2-44-208-25-240.compute-1.amazonaws.com
[2024-04-05 11:50:25,948] [INFO] TESTER: Running tests for ec2-34-201-134-71.compute-1.amazonaws.com
[2024-04-05 11:50:25,949] [INFO] TESTER: Running tests for ec2-3-84-254-110.compute-1.amazonaws.com
[2024-04-05 11:50:25,950] [INFO] TESTER: Running tests for ec2-54-234-160-123.compute-1.amazonaws.com
[2024-04-05 11:50:25,951] [INFO] TESTER: Running tests for ec2-3-92-222-4.compute-1.amazonaws.com
[2024-04-05 11:50:25,951] [INFO] TESTER: Running tests for ec2-44-204-241-126.compute-1.amazonaws.com
[2024-04-05 11:50:25,952] [INFO] TESTER: Running tests for ec2-3-87-188-99.compute-1.amazonaws.com
[2024-04-05 11:50:25,953] [INFO] TESTER: Running tests for ec2-3-92-187-76.compute-1.amazonaws.com
[2024-04-05 11:50:25,954] [INFO] TESTER: Running tests for ec2-35-171-28-116.compute-1.amazonaws.com
[2024-04-05 11:50:37,815] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-05 11:50:38,852] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-05 11:50:38,853] [INFO] [Testing]: Checking connection to debian-12
[2024-04-05 11:50:39,917] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-05 11:50:41,696] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-05 11:50:41,697] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-05 11:50:42,774] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-05 11:50:45,152] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-05 11:50:45,153] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-05 11:50:46,530] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-05 11:50:53,544] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-05 11:50:53,544] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-05 11:50:55,222] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-05 11:50:57,327] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-05 11:50:57,327] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-05 11:50:58,884] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-05 11:51:01,014] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-05 11:51:01,014] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-05 11:51:02,222] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-05 11:51:04,508] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-05 11:51:04,509] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-05 11:51:06,029] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-05 11:51:08,386] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-05 11:51:08,387] [INFO] [Testing]: Checking connection to centos-7
[2024-04-05 11:51:09,950] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-05 11:51:12,183] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-05 11:51:12,183] [INFO] [Testing]: Checking connection to centos-8
[2024-04-05 11:51:13,602] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-05 11:51:15,448] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-05 11:51:15,449] [INFO] [Testing]: Checking connection to debian-10
[2024-04-05 11:51:16,895] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-05 11:51:19,343] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-05 11:51:19,343] [INFO] [Testing]: Checking connection to debian-11
[2024-04-05 11:51:21,289] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-05 11:51:23,336] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-05 11:51:23,337] [INFO] [Testing]: Checking connection to suse-15
[2024-04-05 11:51:24,666] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-05 11:51:26,978] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-05 11:51:26,979] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-05 11:51:28,192] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-05 11:51:30,402] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-05 11:51:34,704] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-05 11:52:16,754] [INFO] [Testing]: Installing Manager in ubuntu-22.04
[2024-04-05 11:53:40,964] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 11:53:54,772] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-05 11:54:07,298] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 11:54:17,113] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-05 11:54:17,113] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:54:19,161] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 11:54:41,278] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-05 11:54:56,744] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 11:55:07,600] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 11:55:07,600] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:55:10,052] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 11:55:25,818] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-05 11:55:51,735] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 11:56:00,129] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 11:56:00,129] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:56:01,972] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 11:56:15,486] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-05 11:56:27,497] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 11:56:36,163] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 11:56:36,163] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:56:38,486] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 11:57:03,001] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-05 11:57:31,161] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 11:57:40,956] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 11:57:40,956] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:57:42,772] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 11:57:59,497] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-05 11:58:45,235] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 11:58:55,950] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 11:58:55,950] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:58:57,780] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 11:59:15,210] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-05 11:59:44,488] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 11:59:55,410] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 11:59:55,410] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 11:59:57,489] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 12:00:13,298] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-05 12:00:40,003] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 12:00:47,881] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 12:00:47,881] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:00:50,344] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 12:01:05,347] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-05 12:01:49,369] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 12:01:58,955] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 12:01:58,955] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:02:00,885] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 12:02:14,078] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-05 12:02:26,039] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 12:02:34,588] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 12:02:34,588] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:02:36,316] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 12:02:51,881] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-05 12:03:04,272] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 12:03:13,411] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 12:03:13,411] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:03:15,486] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 12:03:51,479] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-05 12:04:06,144] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 12:04:17,344] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 12:04:17,345] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:04:19,198] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 12:04:32,516] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-05 12:05:00,933] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 12:05:09,954] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 12:05:09,954] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:05:37,012] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 12:05:38,602] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 12:05:40,843] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 12:05:42,947] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 12:05:44,625] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 12:05:46,726] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 12:05:49,148] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 12:05:51,390] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 12:05:53,066] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 12:05:55,111] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 12:05:57,115] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 12:05:58,858] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 12:06:01,172] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 12:09:42,911] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 12:09:45,271] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 12:09:47,385] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 12:09:49,768] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 12:09:52,133] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 12:09:54,794] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 12:09:56,920] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 12:09:59,095] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 12:10:01,758] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 12:10:03,909] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 12:10:06,263] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 12:10:08,619] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 12:10:10,832] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 12:12:12,631] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-05 12:12:22,401] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 12:12:32,184] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 12:12:39,947] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 12:12:48,517] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 12:12:58,091] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 12:13:06,283] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 12:13:15,397] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 12:13:24,305] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 12:13:34,239] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 12:13:42,839] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 12:13:52,773] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 12:14:01,439] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 12:14:09,098] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 12:14:11,613] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 12:14:13,867] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 12:14:15,871] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 12:14:18,098] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 12:14:20,524] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 12:14:22,483] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 12:14:24,721] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 12:14:26,805] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 12:14:29,284] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 12:14:32,002] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 12:14:34,347] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 12:14:36,311] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 12:16:22,687] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-05 12:16:25,254] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-05 12:16:27,602] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-05 12:16:30,572] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-05 12:16:33,758] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-05 12:16:36,618] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-05 12:16:39,690] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-05 12:16:42,553] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-05 12:16:45,485] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-05 12:16:47,980] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-05 12:16:50,787] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-05 12:16:53,819] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-05 12:16:56,773] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-05 12:16:59,859] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 12:17:05,595] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 12:17:10,510] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 12:17:16,460] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 12:17:21,978] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 12:17:27,293] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 12:17:32,729] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 12:17:38,107] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 12:17:41,992] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 12:17:46,414] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 12:17:52,002] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 12:17:57,310] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 12:18:02,863] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 12:18:07,816] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-05 12:18:17,171] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 12:18:26,732] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 12:18:33,657] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 12:18:40,727] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 12:18:48,780] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 12:18:56,208] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 12:19:04,598] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 12:19:12,775] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 12:19:21,403] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 12:19:29,631] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 12:19:37,866] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 12:19:45,646] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 12:21:00,264] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 12:21:12,570] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-05 12:21:20,775] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 12:21:31,278] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-05 12:21:31,278] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:21:33,361] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 12:21:47,194] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-05 12:21:56,909] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 12:22:08,714] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 12:22:08,714] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:22:10,644] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 12:22:23,546] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-05 12:22:41,272] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 12:22:51,024] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 12:22:51,024] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:22:52,798] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 12:23:03,484] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-05 12:23:14,245] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 12:23:23,813] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 12:23:23,813] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:23:25,758] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 12:23:37,126] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-05 12:23:58,502] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 12:24:09,340] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 12:24:09,340] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:24:11,776] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 12:24:24,105] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-05 12:24:51,822] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 12:25:01,859] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 12:25:01,859] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:25:03,955] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 12:25:16,587] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-05 12:25:34,981] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 12:25:44,908] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 12:25:44,908] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:25:47,017] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 12:26:00,431] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-05 12:26:21,526] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 12:26:31,490] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 12:26:31,491] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:26:34,327] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 12:26:46,629] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-05 12:27:13,582] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 12:27:24,198] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 12:27:24,198] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:27:26,453] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 12:27:38,433] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-05 12:27:45,302] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 12:27:54,301] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 12:27:54,302] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:27:56,349] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 12:28:08,545] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-05 12:28:16,931] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 12:28:26,964] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 12:28:26,964] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:28:28,841] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 12:28:43,301] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-05 12:28:53,695] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 12:29:05,990] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 12:29:05,990] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:29:08,033] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 12:29:19,315] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-05 12:29:37,931] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 12:29:47,056] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 12:29:47,056] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:34:10,294] [INFO] [430266] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2624.69 seconds.
[2024-04-05 12:34:10,305] [INFO] [430266] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 12:34:10,305] [INFO] [430266] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (Oracle Linux) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64
  manager-os:
    - linux-oracle-9-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-oracle-9-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result

[2024-04-05 12:47:47,618] [INFO] [446942] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-05 12:47:47,619] [INFO] [446942] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 12:47:47,620] [INFO] [446942] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Starting task.
[2024-04-05 12:52:38,900] [INFO] TESTER: Running tests for ec2-54-152-93-98.compute-1.amazonaws.com
[2024-04-05 12:52:38,901] [INFO] TESTER: Running tests for ec2-54-152-167-225.compute-1.amazonaws.com
[2024-04-05 12:52:38,901] [INFO] TESTER: Running tests for ec2-3-82-120-152.compute-1.amazonaws.com
[2024-04-05 12:52:38,902] [INFO] TESTER: Running tests for ec2-3-86-195-9.compute-1.amazonaws.com
[2024-04-05 12:52:38,903] [INFO] TESTER: Running tests for ec2-3-89-90-54.compute-1.amazonaws.com
[2024-04-05 12:52:38,904] [INFO] TESTER: Running tests for ec2-107-22-136-157.compute-1.amazonaws.com
[2024-04-05 12:52:38,905] [INFO] TESTER: Running tests for ec2-34-226-143-67.compute-1.amazonaws.com
[2024-04-05 12:52:38,905] [INFO] TESTER: Running tests for ec2-18-212-3-42.compute-1.amazonaws.com
[2024-04-05 12:52:38,906] [INFO] TESTER: Running tests for ec2-44-203-179-131.compute-1.amazonaws.com
[2024-04-05 12:52:38,907] [INFO] TESTER: Running tests for ec2-44-212-63-154.compute-1.amazonaws.com
[2024-04-05 12:52:38,908] [INFO] TESTER: Running tests for ec2-3-80-193-102.compute-1.amazonaws.com
[2024-04-05 12:52:38,909] [INFO] TESTER: Running tests for ec2-3-94-8-222.compute-1.amazonaws.com
[2024-04-05 12:52:38,910] [INFO] TESTER: Running tests for ec2-34-207-88-179.compute-1.amazonaws.com
[2024-04-05 12:52:38,911] [INFO] TESTER: Running tests for ec2-18-234-161-113.compute-1.amazonaws.com
[2024-04-05 12:52:50,290] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-05 12:52:52,015] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-05 12:52:52,015] [INFO] [Testing]: Checking connection to debian-12
[2024-04-05 12:52:53,267] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-05 12:52:55,502] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-05 12:52:55,502] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-05 12:52:57,004] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-05 12:52:59,286] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-05 12:52:59,286] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-05 12:53:00,823] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-05 12:53:03,177] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-05 12:53:03,178] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-05 12:53:04,815] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-05 12:53:06,864] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-05 12:53:06,864] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-05 12:53:08,492] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-05 12:53:10,551] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-05 12:53:10,551] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-05 12:53:11,821] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-05 12:53:14,646] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-05 12:53:14,646] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-05 12:53:15,951] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-05 12:53:18,190] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-05 12:53:18,190] [INFO] [Testing]: Checking connection to centos-7
[2024-04-05 12:53:19,725] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-05 12:53:22,236] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-05 12:53:22,236] [INFO] [Testing]: Checking connection to centos-8
[2024-04-05 12:53:23,994] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-05 12:53:25,735] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-05 12:53:25,735] [INFO] [Testing]: Checking connection to debian-10
[2024-04-05 12:53:27,447] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-05 12:53:29,495] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-05 12:53:29,495] [INFO] [Testing]: Checking connection to debian-11
[2024-04-05 12:53:30,648] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-05 12:53:32,575] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-05 12:53:32,575] [INFO] [Testing]: Checking connection to suse-15
[2024-04-05 12:53:33,620] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-05 12:53:35,642] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-05 12:53:35,642] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-05 12:53:36,913] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-05 12:53:39,122] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-05 12:53:47,657] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-05 12:54:25,405] [INFO] [Testing]: Installing Manager in oracle-9
[2024-04-05 12:55:46,301] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 12:56:02,686] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-05 12:56:15,393] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 12:56:25,619] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-05 12:56:25,619] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:56:27,546] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 12:56:42,933] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-05 12:56:56,754] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 12:57:07,477] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 12:57:07,478] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:57:09,921] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 12:57:25,938] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-05 12:57:38,461] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 12:57:49,184] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 12:57:49,184] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:57:51,328] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 12:58:07,019] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-05 12:58:18,880] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-05 12:58:28,098] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-05 12:58:28,098] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:58:30,245] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 12:58:46,632] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-05 12:59:14,176] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 12:59:23,097] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 12:59:23,097] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 12:59:25,333] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 12:59:40,493] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-05 13:00:26,992] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 13:00:35,313] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 13:00:35,313] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:00:37,053] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 13:00:50,933] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-05 13:01:16,997] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 13:01:25,817] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 13:01:25,817] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:01:28,005] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 13:01:41,707] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-05 13:02:07,951] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 13:02:16,499] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 13:02:16,500] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:02:18,430] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 13:02:33,038] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-05 13:03:16,867] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 13:03:26,276] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 13:03:26,276] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:03:28,167] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 13:03:50,399] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-05 13:04:02,980] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 13:04:11,661] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 13:04:11,661] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:04:13,281] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 13:04:29,877] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-05 13:04:42,268] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 13:04:51,918] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 13:04:51,918] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:04:53,737] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 13:05:30,134] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-05 13:05:43,011] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 13:05:54,770] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 13:05:54,770] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:05:56,703] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 13:06:13,134] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-05 13:06:41,693] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 13:06:51,398] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 13:06:51,398] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:07:18,738] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 13:07:21,092] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 13:07:23,345] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 13:07:25,461] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 13:07:27,391] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 13:07:29,079] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 13:07:31,141] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 13:07:33,585] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 13:07:35,325] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 13:07:37,000] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 13:07:39,012] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 13:07:41,500] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 13:07:43,154] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 13:11:29,982] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 13:11:31,892] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 13:11:34,180] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 13:11:36,378] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 13:11:38,730] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 13:11:40,887] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 13:11:42,502] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 13:11:44,280] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 13:11:46,247] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 13:11:48,196] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 13:11:50,279] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 13:11:52,147] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 13:11:54,718] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 13:13:16,811] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-05 13:13:26,766] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 13:13:36,494] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 13:13:45,453] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 13:13:53,492] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 13:14:03,219] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 13:14:11,208] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 13:14:19,892] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 13:14:29,332] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 13:14:37,125] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 13:14:46,908] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 13:14:56,366] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 13:15:05,021] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 13:15:14,185] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 13:15:16,539] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 13:15:18,720] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 13:15:21,356] [INFO] [Testing]: Getting status of amazon-2
[2024-04-05 13:15:23,740] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 13:15:25,690] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 13:15:27,430] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 13:15:29,442] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 13:15:31,695] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 13:15:33,826] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 13:15:36,098] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 13:15:38,762] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 13:15:40,868] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 13:17:28,006] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-05 13:17:37,555] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 13:17:46,864] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 13:17:56,926] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-05 13:18:04,812] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 13:18:14,217] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 13:18:21,850] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 13:18:30,897] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 13:18:39,396] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 13:18:48,613] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 13:18:57,213] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 13:19:06,737] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 13:19:14,724] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 13:20:31,320] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 13:20:43,739] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-05 13:20:51,791] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 13:32:14,772] [INFO] [446942] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 13:32:14,772] [INFO] [446942] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (Amazon Linux 2) 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-suse-15-amd64
    - linux-oracle-9-amd64
  manager-os:
    - linux-amazon-2-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-amazon-2-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result

[2024-04-05 13:45:31,721] [INFO] [462726] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-05 13:45:31,721] [INFO] [462726] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 13:45:31,722] [INFO] [462726] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Starting task.
[2024-04-05 13:51:18,822] [INFO] [463632] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 21.03 seconds.
[2024-04-05 13:51:18,833] [INFO] [463632] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-05 13:51:19,187] [INFO] TESTER: Running tests for ec2-54-152-252-99.compute-1.amazonaws.com
[2024-04-05 13:51:19,187] [INFO] TESTER: Running tests for ec2-184-72-122-26.compute-1.amazonaws.com
[2024-04-05 13:51:19,188] [INFO] TESTER: Running tests for ec2-3-83-128-127.compute-1.amazonaws.com
[2024-04-05 13:51:19,189] [INFO] TESTER: Running tests for ec2-3-80-180-70.compute-1.amazonaws.com
[2024-04-05 13:51:19,190] [INFO] TESTER: Running tests for ec2-54-166-177-134.compute-1.amazonaws.com
[2024-04-05 13:51:19,190] [INFO] TESTER: Running tests for ec2-54-211-132-3.compute-1.amazonaws.com
[2024-04-05 13:51:19,191] [INFO] TESTER: Running tests for ec2-54-86-220-230.compute-1.amazonaws.com
[2024-04-05 13:51:19,192] [INFO] TESTER: Running tests for ec2-35-175-143-205.compute-1.amazonaws.com
[2024-04-05 13:51:19,192] [INFO] TESTER: Running tests for ec2-3-83-44-240.compute-1.amazonaws.com
[2024-04-05 13:51:19,193] [INFO] TESTER: Running tests for ec2-52-90-116-52.compute-1.amazonaws.com
[2024-04-05 13:51:19,194] [INFO] TESTER: Running tests for ec2-54-172-51-12.compute-1.amazonaws.com
[2024-04-05 13:51:19,195] [INFO] TESTER: Running tests for ec2-54-204-210-111.compute-1.amazonaws.com
[2024-04-05 13:51:19,195] [INFO] TESTER: Running tests for ec2-44-204-183-95.compute-1.amazonaws.com
[2024-04-05 13:51:19,196] [INFO] TESTER: Running tests for ec2-18-206-157-39.compute-1.amazonaws.com
[2024-04-05 13:51:31,601] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-05 13:51:31,602] [INFO] [Testing]: Checking connection to debian-12
[2024-04-05 13:51:33,174] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-05 13:51:35,325] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-05 13:51:35,325] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-05 13:51:37,270] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-05 13:51:39,730] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-05 13:51:39,730] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-05 13:51:41,161] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-05 13:51:43,415] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-05 13:51:43,415] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-05 13:51:43,628] [WARNING] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 54.166.177.134
[2024-04-05 13:52:13,929] [WARNING] [Testing]: Error on attempt 2 of 10: [Errno None] Unable to connect to port 2200 on 54.166.177.134
[2024-04-05 13:52:44,240] [WARNING] [Testing]: Error on attempt 3 of 10: [Errno None] Unable to connect to port 2200 on 54.166.177.134
[2024-04-05 13:53:14,459] [WARNING] [Testing]: Error on attempt 4 of 10: [Errno None] Unable to connect to port 2200 on 54.166.177.134
[2024-04-05 13:53:46,090] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-05 13:53:53,566] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-05 13:53:53,566] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-05 13:53:54,829] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-05 13:53:57,083] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-05 13:53:57,083] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-05 13:53:58,441] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-05 13:54:00,632] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-05 13:54:00,632] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-05 13:54:02,269] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-05 13:54:04,625] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-05 13:54:04,626] [INFO] [Testing]: Checking connection to centos-7
[2024-04-05 13:54:06,058] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-05 13:54:08,312] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-05 13:54:08,312] [INFO] [Testing]: Checking connection to centos-8
[2024-04-05 13:54:09,642] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-05 13:54:11,691] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-05 13:54:11,691] [INFO] [Testing]: Checking connection to debian-10
[2024-04-05 13:54:13,329] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-05 13:54:15,621] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-05 13:54:15,621] [INFO] [Testing]: Checking connection to debian-11
[2024-04-05 13:54:17,015] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-05 13:54:19,371] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-05 13:54:19,371] [INFO] [Testing]: Checking connection to suse-15
[2024-04-05 13:54:20,815] [INFO] [Testing]: Connection established successfully in suse-15
[2024-04-05 13:54:23,160] [INFO] [Testing]: No Firewall to disable on suse-15
[2024-04-05 13:54:23,160] [INFO] [Testing]: Checking connection to amazon-2023
[2024-04-05 13:54:24,509] [INFO] [Testing]: Connection established successfully in amazon-2023
[2024-04-05 13:54:26,540] [INFO] [Testing]: No Firewall to disable on amazon-2023
[2024-04-05 13:54:30,964] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-05 13:55:06,856] [INFO] [Testing]: Installing Manager in amazon-2
[2024-04-05 13:56:00,380] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 13:56:15,007] [INFO] [Testing]: Installing Agent in debian-12
[2024-04-05 13:56:27,220] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 13:56:36,551] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-05 13:56:36,552] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:56:38,433] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 13:56:53,393] [INFO] [Testing]: Installing Agent in ubuntu-20.04
[2024-04-05 13:57:07,060] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 13:57:17,652] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 13:57:17,653] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:57:20,006] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 13:57:34,970] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-05 13:57:46,324] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 13:57:56,667] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 13:57:56,668] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:57:58,919] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 13:58:15,217] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-05 13:58:42,702] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 13:58:51,668] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 13:58:51,669] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 13:58:54,733] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 13:59:19,305] [INFO] [Testing]: Installing Agent in redhat-7
[2024-04-05 13:59:48,228] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 13:59:59,650] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 13:59:59,651] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:00:01,440] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 14:00:15,726] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-05 14:01:02,118] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 14:01:11,537] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 14:01:11,537] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:01:13,628] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 14:01:28,736] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-05 14:01:56,600] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 14:02:06,262] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 14:02:06,262] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:02:07,757] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 14:02:22,530] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-05 14:02:49,140] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 14:02:58,546] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 14:02:58,546] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:03:00,829] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 14:03:13,786] [INFO] [Testing]: Installing Agent in centos-8
[2024-04-05 14:03:57,811] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 14:04:07,240] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 14:04:07,240] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:04:09,119] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 14:04:33,005] [INFO] [Testing]: Installing Agent in debian-10
[2024-04-05 14:04:46,914] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 14:04:55,077] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 14:04:55,077] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:04:57,092] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 14:05:11,649] [INFO] [Testing]: Installing Agent in debian-11
[2024-04-05 14:05:23,133] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 14:05:32,694] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 14:05:32,694] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:05:34,281] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 14:05:49,990] [INFO] [Testing]: Installing Agent in suse-15
[2024-04-05 14:06:00,716] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 14:06:11,091] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 14:06:11,092] [INFO] [Testing]: Pre and post install checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:06:13,442] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 14:06:27,276] [INFO] [Testing]: Installing Agent in amazon-2023
[2024-04-05 14:06:54,958] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 14:07:03,633] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 14:07:03,634] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:07:29,538] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 14:07:31,906] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 14:07:33,695] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 14:07:35,335] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 14:07:37,128] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 14:07:39,117] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 14:07:41,683] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 14:07:43,526] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 14:07:45,680] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 14:07:47,533] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 14:07:49,569] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 14:07:52,314] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 14:07:53,781] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 14:11:29,526] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 14:11:31,795] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 14:11:33,759] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 14:11:36,089] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 14:11:38,341] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 14:11:40,088] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 14:11:42,475] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 14:11:44,540] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 14:11:46,626] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 14:11:48,469] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 14:11:51,130] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 14:11:53,281] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 14:11:55,362] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 14:14:10,225] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 14:14:19,509] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 14:14:28,736] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 14:14:35,484] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 14:14:45,000] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 14:14:52,741] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 14:15:01,661] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 14:15:09,890] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 14:15:18,594] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 14:15:26,135] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 14:15:35,822] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 14:15:44,452] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 14:15:52,286] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 14:15:54,055] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 14:15:56,252] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 14:15:58,429] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 14:16:00,616] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 14:16:02,934] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 14:16:05,041] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 14:16:06,927] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 14:16:09,284] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 14:16:11,433] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 14:16:13,729] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 14:16:15,735] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 14:16:17,679] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 14:18:01,720] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-05 14:18:05,007] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-05 14:18:07,734] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-05 14:18:10,185] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-05 14:18:13,188] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-05 14:18:16,158] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-05 14:18:19,333] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-05 14:18:22,199] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-05 14:18:25,085] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-05 14:18:27,652] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-05 14:18:30,596] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-05 14:18:33,007] [INFO] [Testing]: Stopping wazuh-agent in suse-15
[2024-04-05 14:18:35,931] [INFO] [Testing]: Stopping wazuh-agent in amazon-2023
[2024-04-05 14:18:39,300] [INFO] [Testing]: Getting status of debian-12
[2024-04-05 14:18:44,217] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-05 14:18:48,726] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-05 14:18:53,940] [INFO] [Testing]: Getting status of oracle-9
[2024-04-05 14:18:58,078] [INFO] [Testing]: Getting status of redhat-7
[2024-04-05 14:19:02,239] [INFO] [Testing]: Getting status of redhat-8
[2024-04-05 14:19:07,881] [INFO] [Testing]: Getting status of redhat-9
[2024-04-05 14:19:12,991] [INFO] [Testing]: Getting status of centos-7
[2024-04-05 14:19:17,395] [INFO] [Testing]: Getting status of centos-8
[2024-04-05 14:19:21,656] [INFO] [Testing]: Getting status of debian-10
[2024-04-05 14:19:26,201] [INFO] [Testing]: Getting status of debian-11
[2024-04-05 14:19:31,116] [INFO] [Testing]: Getting status of suse-15
[2024-04-05 14:19:35,526] [INFO] [Testing]: Getting status of amazon-2023
[2024-04-05 14:19:41,340] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-05 14:19:50,469] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-05 14:19:58,763] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-05 14:20:08,081] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-05 14:20:15,287] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-05 14:20:23,402] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-05 14:20:30,641] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-05 14:20:38,980] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-05 14:20:45,597] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-05 14:20:53,601] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-05 14:21:00,241] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-05 14:21:07,793] [INFO] [Testing]: Restarting wazuh-agent in suse-15
[2024-04-05 14:21:14,369] [INFO] [Testing]: Restarting wazuh-agent in amazon-2023
[2024-04-05 14:22:19,930] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 14:22:29,776] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-05 14:22:35,949] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-05 14:22:43,625] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-05 14:22:43,625] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:22:45,284] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 14:22:56,240] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-05 14:23:03,481] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-05 14:23:11,567] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-05 14:23:11,567] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:23:13,251] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 14:23:22,522] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-05 14:23:29,771] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-05 14:23:37,358] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-05 14:23:37,359] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:23:38,979] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 14:23:48,151] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-05 14:24:04,344] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-05 14:24:12,020] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-05 14:24:12,020] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:24:13,724] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 14:24:23,327] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-05 14:24:42,428] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-05 14:24:50,255] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-05 14:24:50,255] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:24:51,932] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 14:25:00,862] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-05 14:25:26,651] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-05 14:25:34,755] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-05 14:25:34,756] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:25:36,712] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 14:25:45,924] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-05 14:26:01,528] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-05 14:26:09,258] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-05 14:26:09,259] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:26:10,792] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 14:26:19,620] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-05 14:26:37,868] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-05 14:26:45,753] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-05 14:26:45,754] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:26:47,348] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 14:26:56,085] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-05 14:27:20,245] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-05 14:27:27,169] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-05 14:27:27,169] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:27:28,795] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 14:27:37,974] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-05 14:27:45,209] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-05 14:27:52,812] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-05 14:27:52,812] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:27:54,489] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 14:28:03,129] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-05 14:28:09,077] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-05 14:28:16,549] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-05 14:28:16,550] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:28:18,508] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 14:28:29,075] [INFO] [Testing]: Uninstalling Agent in suse-15
[2024-04-05 14:28:36,555] [INFO] [Testing]: Generating Snapshot for Checkfile in suse-15
[2024-04-05 14:28:45,718] [INFO] [Testing]: Applying filters in checkfiles in suse-15
[2024-04-05 14:28:45,720] [INFO] [Testing]: Pre and post uninstall checkfile comparison in suse-15: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:28:47,370] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 14:28:56,776] [INFO] [Testing]: Uninstalling Agent in amazon-2023
[2024-04-05 14:29:12,200] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2023
[2024-04-05 14:29:19,382] [INFO] [Testing]: Applying filters in checkfiles in amazon-2023
[2024-04-05 14:29:19,382] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2023: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-05 14:32:45,179] [INFO] [463632] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Finished task in 2486.34 seconds.
[2024-04-05 14:32:45,191] [INFO] [463632] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 14:32:45,191] [INFO] [463632] [MainThread] [workflow_engine]: Executing tasks in parallel.


  • Test agent into all supported OS with one manager (openSUSE 15) 🔴

Note ⚠️
openSUSE 15 AMI failure

Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-oracle-9-amd64
    - linux-suse-15-amd64
  manager-os:
    - linux-opensuse-15-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-opensuse-15-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"
            - agent-14: "{working-dir}/agent-linux-suse-15-amd64/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result

[2024-04-05 14:32:45,191] [INFO] [463632] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-05 14:32:45,191] [INFO] [463632] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 14:41:56,003] [INFO] [478151] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-05 14:41:56,003] [INFO] [478151] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 14:41:56,004] [INFO] [478151] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-opensuse-15-amd64] Starting task.
[2024-04-05 14:47:09,403] [INFO] [478151] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-suse-15-amd64] Finished task in 21.70 seconds.
[2024-04-05 14:47:09,408] [INFO] [478151] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-05 14:47:09,815] [INFO] TESTER: Running tests for ec2-3-91-240-58.compute-1.amazonaws.com
[2024-04-05 14:47:09,816] [INFO] TESTER: Running tests for ec2-3-85-122-245.compute-1.amazonaws.com
[2024-04-05 14:47:09,817] [INFO] TESTER: Running tests for ec2-44-204-160-118.compute-1.amazonaws.com
[2024-04-05 14:47:09,818] [INFO] TESTER: Running tests for ec2-54-167-55-147.compute-1.amazonaws.com
[2024-04-05 14:47:09,819] [INFO] TESTER: Running tests for ec2-100-26-101-80.compute-1.amazonaws.com
[2024-04-05 14:47:09,820] [INFO] TESTER: Running tests for ec2-54-164-58-33.compute-1.amazonaws.com
[2024-04-05 14:47:09,820] [INFO] TESTER: Running tests for ec2-44-203-98-28.compute-1.amazonaws.com
[2024-04-05 14:47:09,821] [INFO] TESTER: Running tests for ec2-3-91-132-161.compute-1.amazonaws.com
[2024-04-05 14:47:09,822] [INFO] TESTER: Running tests for ec2-44-201-153-32.compute-1.amazonaws.com
[2024-04-05 14:47:09,823] [INFO] TESTER: Running tests for ec2-3-93-148-32.compute-1.amazonaws.com
[2024-04-05 14:47:09,824] [INFO] TESTER: Running tests for ec2-54-161-188-1.compute-1.amazonaws.com
[2024-04-05 14:47:09,825] [INFO] TESTER: Running tests for ec2-184-72-204-255.compute-1.amazonaws.com
[2024-04-05 14:47:09,826] [INFO] TESTER: Running tests for ec2-3-86-26-73.compute-1.amazonaws.com
[2024-04-05 14:47:09,827] [INFO] TESTER: Running tests for ec2-44-204-43-26.compute-1.amazonaws.com
[2024-04-05 14:47:09,828] [INFO] TESTER: Running tests for ec2-44-212-8-3.compute-1.amazonaws.com
[2024-04-05 14:47:22,604] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-05 14:47:22,825] [WARNING] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:47:53,018] [WARNING] [Testing]: Error on attempt 2 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:48:23,204] [WARNING] [Testing]: Error on attempt 3 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:48:53,392] [WARNING] [Testing]: Error on attempt 4 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:49:23,587] [WARNING] [Testing]: Error on attempt 5 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:49:53,774] [WARNING] [Testing]: Error on attempt 6 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:50:23,964] [WARNING] [Testing]: Error on attempt 7 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:50:54,160] [WARNING] [Testing]: Error on attempt 8 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:51:24,349] [WARNING] [Testing]: Error on attempt 9 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:51:54,539] [WARNING] [Testing]: Error on attempt 10 of 10: [Errno None] Unable to connect to port 2200 on 3.91.240.58
[2024-04-05 14:52:24,569] [ERROR] [Testing]: Connection attempts failed after 10 tries. Connection timeout in opensuse-15


  • Test agent into all supported OS with one manager (SUSE 15) 🔴

Note ⚠️
SUSE 15 Assistant does not work (for Manager Installation) (Could not find the system)

Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-amazon-2023-amd64
    - linux-oracle-9-amd64
  manager-os:
    - linux-suse-15-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: manager-os
        as: manager

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-tests"
    description: "Run tests install for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-suse-15-amd64/inventory.yaml"
            - agent-1: "{working-dir}/agent-linux-debian-12-amd64/inventory.yaml"
            - agent-2: "{working-dir}/agent-linux-ubuntu-20.04-amd64/inventory.yaml"
            - agent-3: "{working-dir}/agent-linux-ubuntu-22.04-amd64/inventory.yaml"
            - agent-4: "{working-dir}/agent-linux-amazon-2-amd64/inventory.yaml"
            - agent-5: "{working-dir}/agent-linux-redhat-7-amd64/inventory.yaml"
            - agent-6: "{working-dir}/agent-linux-redhat-8-amd64/inventory.yaml"
            - agent-7: "{working-dir}/agent-linux-redhat-9-amd64/inventory.yaml"
            - agent-8: "{working-dir}/agent-linux-centos-7-amd64/inventory.yaml"
            - agent-9: "{working-dir}/agent-linux-centos-8-amd64/inventory.yaml"
            - agent-10: "{working-dir}/agent-linux-debian-10-amd64/inventory.yaml"
            - agent-11: "{working-dir}/agent-linux-debian-11-amd64/inventory.yaml"
            - agent-12: "{working-dir}/agent-linux-oracle-9-amd64/inventory.yaml"
            - agent-13: "{working-dir}/agent-linux-amazon-2023-amd64/inventory.yaml"

          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-05 13:55:09,275] [INFO] [6385] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-05 13:55:09,275] [INFO] [6385] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-05 13:55:09,276] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-opensuse-15-amd64] Starting task.
[2024-04-05 13:56:48,953] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-opensuse-15-amd64] Finished task in 99.68 seconds.
[2024-04-05 13:56:48,963] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-05 13:57:42,441] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 53.47 seconds.
[2024-04-05 13:57:42,446] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-05 13:58:30,959] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 48.51 seconds.
[2024-04-05 13:58:30,969] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-05 13:59:22,846] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 51.87 seconds.
[2024-04-05 13:59:22,851] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-05 14:00:46,085] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 83.22 seconds.
[2024-04-05 14:00:46,096] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-05 14:01:41,853] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 55.75 seconds.
[2024-04-05 14:01:41,858] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-05 14:02:40,680] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 58.82 seconds.
[2024-04-05 14:02:40,691] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-05 14:03:39,690] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 58.99 seconds.
[2024-04-05 14:03:39,691] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-05 14:04:30,282] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 50.59 seconds.
[2024-04-05 14:04:30,293] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
 [2024-04-05 14:05:24,790] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 54.49 seconds.
[2024-04-05 14:05:24,797] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-05 14:06:30,846] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 66.04 seconds.
[2024-04-05 14:06:30,857] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
 [2024-04-05 14:07:27,648] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 56.78 seconds.
[2024-04-05 14:07:27,659] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-05 14:08:13,564] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 45.89 seconds.
[2024-04-05 14:08:13,569] [INFO] [6385] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-tests] Starting task.
[2024-04-05 14:08:25,093] [INFO] [Testing]: Checking connection to opensuse-15
[2024-04-05 14:08:25,370] [INFO] [Testing]: Connection established successfully in opensuse-15
[2024-04-05 14:08:25,602] [INFO] [Testing]: No Firewall to disable on opensuse-15
[2024-04-05 14:08:25,603] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-05 14:08:25,859] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-05 14:08:26,416] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-05 14:08:26,416] [INFO] [Testing]: Checking connection to ubuntu-22.04
[2024-04-05 14:08:26,731] [INFO] [Testing]: Connection established successfully in ubuntu-22.04
[2024-04-05 14:08:27,250] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-05 14:08:27,250] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-05 14:08:27,701] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-05 14:08:29,156] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-05 14:08:29,156] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-05 14:08:29,463] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-05 14:08:29,610] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-05 14:08:29,611] [INFO] [Testing]: Checking connection to centos-7
[2024-04-05 14:08:29,919] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-05 14:08:30,323] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-05 14:08:30,323] [INFO] [Testing]: Checking connection to centos-8
[2024-04-05 14:08:30,672] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-05 14:08:32,548] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-05 14:08:32,548] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-05 14:08:32,991] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-05 14:08:35,404] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-05 14:08:35,404] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-05 14:08:35,761] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-05 14:08:37,707] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-05 14:08:37,707] [INFO] [Testing]: Checking connection to redhat-9
[2024-04-05 14:08:38,046] [INFO] [Testing]: Connection established successfully in redhat-9
[2024-04-05 14:08:39,549] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-05 14:08:39,549] [INFO] [Testing]: Checking connection to debian-10
[2024-04-05 14:08:39,981] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-05 14:08:40,160] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-05 14:08:40,160] [INFO] [Testing]: Checking connection to debian-11
[2024-04-05 14:08:40,471] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-05 14:08:40,647] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-05 14:08:40,647] [INFO] [Testing]: Checking connection to debian-12
[2024-04-05 14:08:40,957] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-05 14:08:41,214] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-05 14:08:46,381] [ERROR] [Testing]: wazuh-install-files.tar not created, check config.yml information



@QU3B1M QU3B1M self-assigned this Apr 3, 2024
@pro-akim
Copy link
Member

pro-akim commented Apr 3, 2024

Vagrant Provider - Test Manager 🟢

⚠️
Amazon - 2023 image does not exist
Suse - 15 image does not exist
Opensuse - 15 Assistant does not work (Could not find the system)

  • Test manager into all supported OS 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  #agent-os:
  #  - linux-ubuntu-20.04-amd64
  manager-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64

  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          #- ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager


  # Generic manager test task
  - task: "run-manager-tests"
    description: "Run tests install for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-centos-7-amd64/inventory.yaml"
            - wazuh-2: "{working-dir}/manager-linux-ubuntu-20.04-amd64/inventory.yaml"
            - wazuh-3: "{working-dir}/manager-linux-ubuntu-22.04-amd64/inventory.yaml"
            - wazuh-4: "{working-dir}/manager-linux-oracle-9-amd64/inventory.yaml"
            - wazuh-5: "{working-dir}/manager-linux-amazon-2-amd64/inventory.yaml"
            - wazuh-6: "{working-dir}/manager-linux-redhat-7-amd64/inventory.yaml"
            - wazuh-7: "{working-dir}/manager-linux-redhat-8-amd64/inventory.yaml"
            - wazuh-8: "{working-dir}/manager-linux-redhat-9-amd64/inventory.yaml"
            - wazuh-9: "{working-dir}/manager-linux-centos-8-amd64/inventory.yaml"
            - wazuh-10: "{working-dir}/manager-linux-debian-10-amd64/inventory.yaml"
            - wazuh-11: "{working-dir}/manager-linux-debian-11-amd64/inventory.yaml"
            - wazuh-12: "{working-dir}/manager-linux-debian-12-amd64/inventory.yaml"

          - tests: "install,restart,stop,uninstall"
          - component: "manager"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence:

Result
[2024-04-02 11:34:21,815] [INFO] [380475] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 11:34:21,815] [INFO] [380475] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 11:34:21,816] [INFO] [380475] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 11:36:05,885] [INFO] [382594] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 11:36:05,885] [INFO] [382594] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 11:36:05,886] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 11:36:54,979] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Finished task in 49.09 seconds.
[2024-04-02 11:36:54,984] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 11:37:44,173] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 49.18 seconds.
[2024-04-02 11:37:44,178] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Starting task.
[2024-04-02 11:38:36,880] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Finished task in 52.70 seconds.
[2024-04-02 11:38:36,891] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Starting task.
[2024-04-02 11:39:51,634] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Finished task in 74.73 seconds.
[2024-04-02 11:39:51,640] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Starting task.
[2024-04-02 11:40:41,017] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Finished task in 49.38 seconds.
[2024-04-02 11:40:41,023] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Starting task.
[2024-04-02 11:41:34,238] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Finished task in 53.21 seconds.
[2024-04-02 11:41:34,249] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Starting task.
[2024-04-02 11:42:26,980] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Finished task in 52.72 seconds.
[2024-04-02 11:42:26,990] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Starting task.
[2024-04-02 11:43:17,002] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Finished task in 50.00 seconds.
[2024-04-02 11:43:17,007] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Starting task.
[2024-04-02 11:44:09,398] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Finished task in 52.38 seconds.
[2024-04-02 11:44:09,408] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-10-amd64] Starting task.
[2024-04-02 11:45:11,732] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-10-amd64] Finished task in 62.31 seconds.
[2024-04-02 11:45:11,744] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Starting task.
[2024-04-02 11:46:04,882] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Finished task in 53.13 seconds.
[2024-04-02 11:46:04,888] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Starting task.
[2024-04-02 11:46:53,000] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Finished task in 48.11 seconds.
[2024-04-02 11:46:53,011] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Starting task.
[2024-04-02 11:47:05,166] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 11:47:05,739] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 11:47:06,380] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 11:47:08,318] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-02 11:47:08,465] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 11:47:12,401] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-02 11:47:14,327] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-02 11:47:16,409] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-02 11:47:19,677] [INFO] [Testing]: Firewall disabled on centos-8
[2024-04-02 11:47:19,923] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 11:47:20,330] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 11:47:20,667] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 11:48:32,315] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:48:33,232] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:48:33,759] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to ubuntu-20.04 (192.168.57.2)
[2024-04-02 11:48:34,744] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:48:34,744] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:48:37,129] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:48:38,021] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:48:38,260] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to ubuntu-22.04 (192.168.57.3)
[2024-04-02 11:48:39,096] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:48:39,096] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:48:40,897] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:48:41,775] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:48:42,106] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to oracle-9 (192.168.57.4)
[2024-04-02 11:48:43,094] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:48:43,095] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:48:45,070] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:48:45,990] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:48:46,151] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to amazon-2 (192.168.57.5)
[2024-04-02 11:48:46,942] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:48:46,942] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:48:48,837] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:48:49,720] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:48:50,180] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to redhat-7 (192.168.57.6)
[2024-04-02 11:48:51,421] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:48:51,421] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:48:53,267] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:48:54,245] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:48:54,666] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to redhat-8 (192.168.57.7)
[2024-04-02 11:48:55,719] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:48:55,719] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:48:57,597] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:48:58,658] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:48:59,010] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to redhat-9 (192.168.57.8)
[2024-04-02 11:48:59,876] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:48:59,876] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:49:01,960] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:49:03,037] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:49:03,504] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to centos-8 (192.168.57.10)
[2024-04-02 11:49:04,300] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:49:04,300] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:49:05,945] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:49:07,170] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:49:07,363] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to debian-10 (192.168.57.11)
[2024-04-02 11:49:08,295] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:49:08,296] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:49:09,965] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:49:10,972] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:49:11,187] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to debian-11 (192.168.57.12)
[2024-04-02 11:49:11,843] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:49:11,843] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:49:13,459] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 11:49:14,364] [INFO] [Testing]: File copied from centos-7 (192.168.57.9) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 11:49:14,725] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to debian-12 (192.168.57.13)
[2024-04-02 11:49:15,741] [INFO] [Testing]: File permissions were restablished
[2024-04-02 11:49:15,741] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 11:49:16,540] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 11:49:19,673] [INFO] [Testing]: Installing Manager in centos-7
[2024-04-02 11:50:56,940] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 11:50:59,392] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 11:50:59,392] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:50:59,976] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 11:51:04,506] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-02 11:53:02,993] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 11:53:06,254] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 11:53:06,254] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:53:06,833] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 11:53:09,639] [INFO] [Testing]: Installing Manager in ubuntu-22.04
[2024-04-02 11:55:00,748] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 11:55:02,980] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 11:55:02,980] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:55:03,411] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 11:55:06,785] [INFO] [Testing]: Installing Manager in oracle-9
[2024-04-02 11:58:02,982] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 11:58:05,435] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 11:58:05,435] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:58:05,608] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 11:58:08,117] [INFO] [Testing]: Installing Manager in amazon-2
[2024-04-02 11:59:31,315] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 11:59:32,738] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 11:59:32,738] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 11:59:33,289] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 11:59:43,641] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-02 12:01:45,347] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 12:01:48,172] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 12:01:48,172] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:01:48,615] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 12:01:52,582] [INFO] [Testing]: Installing Manager in redhat-8
[2024-04-02 12:04:42,510] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 12:04:44,871] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 12:04:44,871] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:04:45,371] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 12:04:55,369] [INFO] [Testing]: Installing Manager in redhat-9
[2024-04-02 12:07:26,155] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 12:07:28,725] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 12:07:28,725] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:07:29,253] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 12:07:32,857] [INFO] [Testing]: Installing Manager in centos-8
[2024-04-02 12:10:27,148] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 12:10:29,237] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 12:10:29,237] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:10:29,492] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 12:10:31,860] [INFO] [Testing]: Installing Manager in debian-10
[2024-04-02 12:12:42,171] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 12:12:44,136] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 12:12:44,136] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:12:44,472] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 12:12:46,628] [INFO] [Testing]: Installing Manager in debian-11
[2024-04-02 12:15:06,359] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 12:15:08,212] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 12:15:08,212] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:15:08,757] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 12:15:11,270] [INFO] [Testing]: Installing Manager in debian-12
[2024-04-02 12:17:33,160] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 12:17:35,049] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 12:17:35,049] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:17:35,050] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 12:17:35,940] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 12:17:37,210] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 12:17:38,049] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 12:17:38,913] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 12:17:39,241] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 12:17:40,269] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 12:17:40,898] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 12:17:41,801] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 12:17:42,508] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 12:17:42,897] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 12:17:43,295] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:18:04,702] [INFO] [Testing]: Cluster configured in: centos-7
[2024-04-02 12:18:29,123] [INFO] [Testing]: Cluster configured in: ubuntu-20.04
[2024-04-02 12:18:50,187] [INFO] [Testing]: Cluster configured in: ubuntu-22.04
[2024-04-02 12:19:07,133] [INFO] [Testing]: Cluster configured in: oracle-9
[2024-04-02 12:19:25,481] [INFO] [Testing]: Cluster configured in: amazon-2
[2024-04-02 12:19:49,248] [INFO] [Testing]: Cluster configured in: redhat-7
[2024-04-02 12:20:16,808] [INFO] [Testing]: Cluster configured in: redhat-8
[2024-04-02 12:20:48,196] [INFO] [Testing]: Cluster configured in: redhat-9
[2024-04-02 12:21:20,151] [INFO] [Testing]: Cluster configured in: centos-8
[2024-04-02 12:21:45,767] [INFO] [Testing]: Cluster configured in: debian-10
[2024-04-02 12:22:07,484] [INFO] [Testing]: Cluster configured in: debian-11
[2024-04-02 12:22:33,825] [INFO] [Testing]: Cluster configured in: debian-12
[2024-04-02 12:22:34,984] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 12:22:35,485] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 12:22:36,304] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 12:22:36,889] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 12:22:37,497] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 12:22:37,685] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 12:22:38,229] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 12:22:38,639] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 12:22:39,213] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 12:22:39,600] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 12:22:39,831] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 12:22:40,040] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:24:58,071] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-20.04
[2024-04-02 12:25:22,524] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-02 12:25:49,937] [INFO] [Testing]: Restarting wazuh-manager in oracle-9
[2024-04-02 12:26:15,720] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-02 12:26:42,521] [INFO] [Testing]: Restarting wazuh-manager in redhat-7
[2024-04-02 12:27:19,087] [INFO] [Testing]: Restarting wazuh-manager in redhat-8
[2024-04-02 12:27:49,335] [INFO] [Testing]: Restarting wazuh-manager in redhat-9
[2024-04-02 12:28:24,014] [INFO] [Testing]: Restarting wazuh-manager in centos-8
[2024-04-02 12:28:59,254] [INFO] [Testing]: Restarting wazuh-manager in debian-10
[2024-04-02 12:29:31,279] [INFO] [Testing]: Restarting wazuh-manager in debian-11
[2024-04-02 12:29:52,667] [INFO] [Testing]: Restarting wazuh-manager in debian-12
[2024-04-02 12:30:18,630] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 12:30:20,131] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 12:30:22,131] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 12:30:24,393] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 12:30:26,032] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 12:30:26,551] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 12:30:27,864] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 12:30:29,167] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 12:30:30,447] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 12:30:31,441] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 12:30:32,037] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 12:30:32,597] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:31:02,324] [INFO] [Testing]: Stopping wazuh-manager in ubuntu-20.04
[2024-04-02 12:31:07,761] [INFO] [Testing]: Stopping wazuh-manager in ubuntu-22.04
[2024-04-02 12:31:11,460] [INFO] [Testing]: Stopping wazuh-manager in oracle-9
[2024-04-02 12:31:15,954] [INFO] [Testing]: Stopping wazuh-manager in amazon-2
[2024-04-02 12:31:19,514] [INFO] [Testing]: Stopping wazuh-manager in redhat-7
[2024-04-02 12:31:23,846] [INFO] [Testing]: Stopping wazuh-manager in redhat-8
[2024-04-02 12:31:28,804] [INFO] [Testing]: Stopping wazuh-manager in redhat-9
[2024-04-02 12:31:33,615] [INFO] [Testing]: Stopping wazuh-manager in centos-8
[2024-04-02 12:31:38,083] [INFO] [Testing]: Stopping wazuh-manager in debian-10
[2024-04-02 12:31:45,192] [INFO] [Testing]: Stopping wazuh-manager in debian-11
[2024-04-02 12:31:51,665] [INFO] [Testing]: Stopping wazuh-manager in debian-12
[2024-04-02 12:31:56,742] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 12:31:59,912] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:32:01,780] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:32:04,357] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:32:06,610] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:32:22,422] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:32:41,552] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:33:14,326] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:33:14,808] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:33:15,213] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:33:15,609] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:33:16,028] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:33:16,415] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-20.04
[2024-04-02 12:33:34,303] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-02 12:33:49,926] [INFO] [Testing]: Restarting wazuh-manager in oracle-9
[2024-04-02 12:34:01,080] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-02 12:34:18,069] [INFO] [Testing]: Restarting wazuh-manager in redhat-7
[2024-04-02 12:34:38,757] [INFO] [Testing]: Restarting wazuh-manager in redhat-8
[2024-04-02 12:35:05,819] [INFO] [Testing]: Restarting wazuh-manager in redhat-9
[2024-04-02 12:35:27,924] [INFO] [Testing]: Restarting wazuh-manager in centos-8
[2024-04-02 12:35:43,607] [INFO] [Testing]: Restarting wazuh-manager in debian-10
[2024-04-02 12:36:02,818] [INFO] [Testing]: Restarting wazuh-manager in debian-11
[2024-04-02 12:36:20,502] [INFO] [Testing]: Restarting wazuh-manager in debian-12
[2024-04-02 12:36:55,949] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 12:36:56,343] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 12:36:56,888] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 12:36:57,433] [INFO] [Testing]: Getting status of oracle-9
[2024-04-02 12:36:57,872] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 12:36:58,026] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 12:36:58,464] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 12:36:58,776] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 12:36:59,259] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 12:36:59,595] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 12:36:59,794] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 12:37:00,024] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 12:37:00,615] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 12:37:02,662] [INFO] [Testing]: Uninstalling Manager in centos-7
[2024-04-02 12:37:21,189] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 12:37:23,242] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 12:37:23,242] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:37:23,760] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 12:37:26,936] [INFO] [Testing]: Uninstalling Manager in ubuntu-20.04
[2024-04-02 12:37:35,664] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 12:37:38,864] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 12:37:38,864] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:37:39,093] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 12:37:41,001] [INFO] [Testing]: Uninstalling Manager in ubuntu-22.04
[2024-04-02 12:37:48,517] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 12:37:50,611] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 12:37:50,612] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:37:51,043] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 12:37:53,296] [INFO] [Testing]: Uninstalling Manager in oracle-9
[2024-04-02 12:38:09,661] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-02 12:38:11,936] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-02 12:38:11,936] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:38:12,098] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 12:38:13,406] [INFO] [Testing]: Uninstalling Manager in amazon-2
[2024-04-02 12:38:19,147] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 12:38:20,503] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 12:38:20,503] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:38:20,926] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 12:38:23,515] [INFO] [Testing]: Uninstalling Manager in redhat-7
[2024-04-02 12:38:44,146] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 12:38:46,702] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 12:38:46,702] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:38:46,994] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 12:38:48,910] [INFO] [Testing]: Uninstalling Manager in redhat-8
[2024-04-02 12:39:19,326] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 12:39:21,269] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 12:39:21,269] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:39:21,691] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 12:39:23,947] [INFO] [Testing]: Uninstalling Manager in redhat-9
[2024-04-02 12:39:39,765] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 12:39:41,995] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 12:39:41,996] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:39:42,349] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 12:39:44,283] [INFO] [Testing]: Uninstalling Manager in centos-8
[2024-04-02 12:40:13,928] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 12:40:15,861] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 12:40:15,861] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:40:16,417] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 12:40:18,382] [INFO] [Testing]: Uninstalling Manager in debian-10
[2024-04-02 12:40:24,219] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 12:40:26,383] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 12:40:26,383] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:40:26,600] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 12:40:28,189] [INFO] [Testing]: Uninstalling Manager in debian-11
[2024-04-02 12:40:33,834] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 12:40:35,367] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 12:40:35,368] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:40:35,666] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 12:40:37,378] [INFO] [Testing]: Uninstalling Manager in debian-12
[2024-04-02 12:40:43,251] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 12:40:45,205] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 12:40:45,205] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 12:42:29,822] [INFO] [382594] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Finished task in 3336.80 seconds.
[2024-04-02 12:42:29,834] [INFO] [382594] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 12:42:29,835] [INFO] [382594] [MainThread] [workflow_engine]: Executing tasks in parallel.


@pro-akim
Copy link
Member

pro-akim commented Apr 3, 2024

AWS Provider - Test Manager 🔴 => 🟢

⚠️
Oracle - 9 No tar
Amazon - 2023 No curl
Suse - 15 Assistant does not work (Could not find the system)
Opensuse - 15 Assistant does not work (Could not find the system)

  • Test manager into all supported OS 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  #agent-os:
  #  - linux-ubuntu-20.04-amd64
  manager-os:
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    #- linux-oracle-9-amd64
    - linux-amazon-2-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64


  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager}"
          - inventory-output: "{working-dir}/manager-{manager}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager}/track.yaml"
          - ssh-key: "/home/akim/Desktop/personal/Ephemeral"
    foreach:
      - variable: manager-os
        as: manager

  # Generic manager test task
  - task: "run-manager-tests"
    description: "Run tests install for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-linux-centos-7-amd64/inventory.yaml"
            - wazuh-2: "{working-dir}/manager-linux-ubuntu-20.04-amd64/inventory.yaml"
            - wazuh-3: "{working-dir}/manager-linux-ubuntu-22.04-amd64/inventory.yaml"
            - wazuh-4: "{working-dir}/manager-linux-amazon-2-amd64/inventory.yaml"
            - wazuh-5: "{working-dir}/manager-linux-redhat-7-amd64/inventory.yaml"
            - wazuh-6: "{working-dir}/manager-linux-redhat-8-amd64/inventory.yaml"
            - wazuh-7: "{working-dir}/manager-linux-redhat-9-amd64/inventory.yaml"
            - wazuh-8: "{working-dir}/manager-linux-centos-8-amd64/inventory.yaml"
            - wazuh-9: "{working-dir}/manager-linux-debian-10-amd64/inventory.yaml"
            - wazuh-10: "{working-dir}/manager-linux-debian-11-amd64/inventory.yaml"
            - wazuh-11: "{working-dir}/manager-linux-debian-12-amd64/inventory.yaml"

          - tests: "install,restart,stop,uninstall"
          - component: "manager"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"

Evidence (Executions considering the ⚠️ Warning Note presented below) :

Result
[2024-04-02 14:57:52,626] [INFO] [464034] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 14:57:52,626] [INFO] [464034] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 14:57:52,627] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Starting task.
[2024-04-02 14:58:13,665] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Finished task in 21.04 seconds.
[2024-04-02 14:58:13,676] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 14:58:34,443] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Finished task in 20.76 seconds.
[2024-04-02 14:58:34,449] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 14:58:55,593] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 21.14 seconds.
[2024-04-02 14:58:55,599] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Starting task.
[2024-04-02 14:59:16,093] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Finished task in 20.49 seconds.
[2024-04-02 14:59:16,104] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Starting task.
[2024-04-02 14:59:37,058] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Finished task in 20.94 seconds.
[2024-04-02 14:59:37,064] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Starting task.
[2024-04-02 14:59:58,109] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Finished task in 21.04 seconds.
[2024-04-02 14:59:58,114] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Starting task.
[2024-04-02 15:00:19,144] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Finished task in 21.02 seconds.
[2024-04-02 15:00:19,154] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Starting task.
[2024-04-02 15:00:40,290] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Finished task in 21.13 seconds.
[2024-04-02 15:00:40,301] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-10-amd64] Starting task.
[2024-04-02 15:01:01,112] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-10-amd64] Finished task in 20.80 seconds.
[2024-04-02 15:01:01,123] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Starting task.
[2024-04-02 15:01:22,484] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Finished task in 21.35 seconds.
[2024-04-02 15:01:22,495] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Starting task.
[2024-04-02 15:01:43,575] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Finished task in 21.07 seconds.
[2024-04-02 15:01:43,586] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Starting task.
[2024-04-02 15:01:56,764] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 15:01:59,734] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 15:02:02,396] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 15:02:04,723] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 15:02:04,871] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-02 15:02:05,058] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-02 15:02:07,566] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-02 15:02:10,281] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-02 15:02:12,536] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 15:02:15,196] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 15:02:17,347] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 15:04:07,224] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:04:12,941] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:04:15,942] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to ubuntu-20.04 (54.227.172.190)
[2024-04-02 15:04:20,639] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:04:20,639] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:04:30,571] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:04:36,205] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:04:39,379] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to ubuntu-22.04 (54.234.179.37)
[2024-04-02 15:04:44,088] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:04:44,088] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:04:53,714] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:04:59,347] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:05:02,829] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to amazon-2 (3.91.176.177)
[2024-04-02 15:05:07,347] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:05:07,348] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:05:15,219] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:05:19,804] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:05:22,952] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to redhat-7 (54.159.246.44)
[2024-04-02 15:05:27,203] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:05:27,203] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:05:39,655] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:05:43,892] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:05:46,453] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to redhat-8 (3.88.223.198)
[2024-04-02 15:05:50,990] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:05:50,990] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:05:58,740] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:06:03,636] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:06:06,145] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to redhat-9 (52.202.100.42)
[2024-04-02 15:06:10,516] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:06:10,516] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:06:18,811] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:06:24,443] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:06:27,464] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to centos-8 (3.80.150.14)
[2024-04-02 15:06:31,712] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:06:31,713] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:06:41,008] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:06:46,762] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:06:50,043] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to debian-10 (34.226.245.173)
[2024-04-02 15:06:54,651] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:06:54,651] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:07:04,378] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:07:11,856] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:07:14,243] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to debian-11 (35.172.129.43)
[2024-04-02 15:07:18,234] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:07:18,234] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:07:27,778] [INFO] [Testing]: File permissions modified to be handled
[2024-04-02 15:07:32,644] [INFO] [Testing]: File copied from centos-7 (3.92.188.236) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-02 15:07:35,004] [INFO] [Testing]: Sending file from /home/centos/wazuh-install-files.tar to debian-12 (18.205.150.112)
[2024-04-02 15:07:39,502] [INFO] [Testing]: File permissions were restablished
[2024-04-02 15:07:39,503] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-02 15:07:44,419] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 15:07:56,400] [INFO] [Testing]: Installing Manager in centos-7
[2024-04-02 15:09:00,502] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 15:09:11,878] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 15:09:11,879] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:09:13,920] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 15:09:31,630] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-02 15:11:22,227] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 15:11:32,734] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 15:11:32,735] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:11:35,231] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 15:11:47,848] [INFO] [Testing]: Installing Manager in ubuntu-22.04
[2024-04-02 15:13:08,825] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 15:13:18,708] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 15:13:18,708] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:13:21,215] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 15:13:31,667] [INFO] [Testing]: Installing Manager in amazon-2
[2024-04-02 15:14:17,868] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 15:14:28,700] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 15:14:28,701] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:14:31,258] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 15:14:42,217] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-02 15:15:49,812] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 15:15:59,047] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 15:15:59,047] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:16:01,883] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 15:16:20,623] [INFO] [Testing]: Installing Manager in redhat-8
[2024-04-02 15:18:45,647] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 15:18:56,377] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 15:18:56,377] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:18:58,422] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 15:19:11,841] [INFO] [Testing]: Installing Manager in redhat-9
[2024-04-02 15:20:52,805] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 15:21:02,681] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 15:21:02,681] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:21:05,196] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 15:21:19,737] [INFO] [Testing]: Installing Manager in centos-8
[2024-04-02 15:23:10,932] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 15:23:21,001] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 15:23:21,001] [INFO] [Testing]: Pre and post install checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:23:23,047] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 15:23:33,169] [INFO] [Testing]: Installing Manager in debian-10
[2024-04-02 15:24:57,646] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 15:25:07,484] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 15:25:07,484] [INFO] [Testing]: Pre and post install checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:25:09,729] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 15:25:32,275] [INFO] [Testing]: Installing Manager in debian-11
[2024-04-02 15:28:01,645] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 15:28:11,563] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 15:28:11,563] [INFO] [Testing]: Pre and post install checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:28:13,746] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 15:28:24,556] [INFO] [Testing]: Installing Manager in debian-12
[2024-04-02 15:29:44,368] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 15:29:55,129] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 15:29:55,129] [INFO] [Testing]: Pre and post install checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:29:55,129] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 15:29:59,831] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 15:30:04,541] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 15:30:08,963] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 15:30:13,961] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 15:30:18,467] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 15:30:22,900] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 15:30:27,316] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 15:30:31,779] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 15:30:35,728] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 15:30:39,868] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:31:12,948] [INFO] [Testing]: Cluster configured in: centos-7
[2024-04-02 15:31:47,341] [INFO] [Testing]: Cluster configured in: ubuntu-20.04
[2024-04-02 15:32:19,565] [INFO] [Testing]: Cluster configured in: ubuntu-22.04
[2024-04-02 15:32:50,346] [INFO] [Testing]: Cluster configured in: amazon-2
[2024-04-02 15:33:22,890] [INFO] [Testing]: Cluster configured in: redhat-7
[2024-04-02 15:33:54,368] [INFO] [Testing]: Cluster configured in: redhat-8
[2024-04-02 15:34:23,626] [INFO] [Testing]: Cluster configured in: redhat-9
[2024-04-02 15:34:55,560] [INFO] [Testing]: Cluster configured in: centos-8
[2024-04-02 15:35:28,023] [INFO] [Testing]: Cluster configured in: debian-10
[2024-04-02 15:35:59,978] [INFO] [Testing]: Cluster configured in: debian-11
[2024-04-02 15:36:33,353] [INFO] [Testing]: Cluster configured in: debian-12
[2024-04-02 15:36:35,803] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 15:36:37,658] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 15:36:39,497] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 15:36:41,750] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 15:36:44,309] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 15:36:46,664] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 15:36:48,713] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 15:36:51,173] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 15:36:53,688] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 15:36:55,778] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 15:36:58,134] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:41:38,008] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-20.04
[2024-04-02 15:41:57,244] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-02 15:42:16,132] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-02 15:42:30,115] [INFO] [Testing]: Restarting wazuh-manager in redhat-7
[2024-04-02 15:42:46,499] [INFO] [Testing]: Restarting wazuh-manager in redhat-8
[2024-04-02 15:43:00,630] [INFO] [Testing]: Restarting wazuh-manager in redhat-9
[2024-04-02 15:43:15,171] [INFO] [Testing]: Restarting wazuh-manager in centos-8
[2024-04-02 15:43:32,643] [INFO] [Testing]: Restarting wazuh-manager in debian-10
[2024-04-02 15:43:51,728] [INFO] [Testing]: Restarting wazuh-manager in debian-11
[2024-04-02 15:44:10,161] [INFO] [Testing]: Restarting wazuh-manager in debian-12
[2024-04-02 15:44:30,039] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 15:44:32,176] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 15:44:34,634] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 15:44:37,300] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 15:44:39,550] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 15:44:41,906] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 15:44:44,298] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 15:44:46,210] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 15:44:48,359] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 15:44:50,917] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 15:44:53,482] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:45:02,108] [INFO] [Testing]: Stopping wazuh-manager in ubuntu-20.04
[2024-04-02 15:45:07,402] [INFO] [Testing]: Stopping wazuh-manager in ubuntu-22.04
[2024-04-02 15:45:12,379] [INFO] [Testing]: Stopping wazuh-manager in amazon-2
[2024-04-02 15:45:17,311] [INFO] [Testing]: Stopping wazuh-manager in redhat-7
[2024-04-02 15:45:21,420] [INFO] [Testing]: Stopping wazuh-manager in redhat-8
[2024-04-02 15:45:26,064] [INFO] [Testing]: Stopping wazuh-manager in redhat-9
[2024-04-02 15:45:30,852] [INFO] [Testing]: Stopping wazuh-manager in centos-8
[2024-04-02 15:45:35,841] [INFO] [Testing]: Stopping wazuh-manager in debian-10
[2024-04-02 15:45:40,477] [INFO] [Testing]: Stopping wazuh-manager in debian-11
[2024-04-02 15:45:45,713] [INFO] [Testing]: Stopping wazuh-manager in debian-12
[2024-04-02 15:45:50,821] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 15:45:53,278] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:45:55,838] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:45:57,885] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:00,009] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:02,290] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:04,644] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:06,855] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:08,472] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:10,890] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:13,143] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:46:15,294] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-20.04
[2024-04-02 15:46:31,446] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-02 15:46:47,588] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-02 15:46:58,916] [INFO] [Testing]: Restarting wazuh-manager in redhat-7
[2024-04-02 15:47:12,024] [INFO] [Testing]: Restarting wazuh-manager in redhat-8
[2024-04-02 15:47:24,312] [INFO] [Testing]: Restarting wazuh-manager in redhat-9
[2024-04-02 15:47:38,341] [INFO] [Testing]: Restarting wazuh-manager in centos-8
[2024-04-02 15:47:54,827] [INFO] [Testing]: Restarting wazuh-manager in debian-10
[2024-04-02 15:48:10,954] [INFO] [Testing]: Restarting wazuh-manager in debian-11
[2024-04-02 15:48:26,776] [INFO] [Testing]: Restarting wazuh-manager in debian-12
[2024-04-02 15:48:50,041] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 15:48:52,479] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-02 15:48:54,526] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-02 15:48:56,984] [INFO] [Testing]: Getting status of amazon-2
[2024-04-02 15:48:59,049] [INFO] [Testing]: Getting status of redhat-7
[2024-04-02 15:49:01,281] [INFO] [Testing]: Getting status of redhat-8
[2024-04-02 15:49:03,642] [INFO] [Testing]: Getting status of redhat-9
[2024-04-02 15:49:05,792] [INFO] [Testing]: Getting status of centos-8
[2024-04-02 15:49:08,248] [INFO] [Testing]: Getting status of debian-10
[2024-04-02 15:49:10,810] [INFO] [Testing]: Getting status of debian-11
[2024-04-02 15:49:12,691] [INFO] [Testing]: Getting status of debian-12
[2024-04-02 15:49:16,543] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 15:49:27,109] [INFO] [Testing]: Uninstalling Manager in centos-7
[2024-04-02 15:49:51,215] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-02 15:50:01,773] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-02 15:50:01,773] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:50:04,142] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 15:50:15,021] [INFO] [Testing]: Uninstalling Manager in ubuntu-20.04
[2024-04-02 15:50:28,740] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-02 15:50:45,710] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-02 15:50:45,710] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:50:47,891] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 15:51:02,939] [INFO] [Testing]: Uninstalling Manager in ubuntu-22.04
[2024-04-02 15:51:21,881] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-02 15:51:32,382] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-02 15:51:32,382] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:51:34,476] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 15:51:47,953] [INFO] [Testing]: Uninstalling Manager in amazon-2
[2024-04-02 15:52:01,510] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-02 15:52:11,344] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-02 15:52:11,344] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:52:13,799] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 15:52:24,141] [INFO] [Testing]: Uninstalling Manager in redhat-7
[2024-04-02 15:52:49,024] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-02 15:52:59,169] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-02 15:52:59,170] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:53:01,198] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 15:53:11,023] [INFO] [Testing]: Uninstalling Manager in redhat-8
[2024-04-02 15:53:43,608] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-02 15:53:53,047] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-02 15:53:53,048] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:53:55,687] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 15:54:05,727] [INFO] [Testing]: Uninstalling Manager in redhat-9
[2024-04-02 15:54:27,464] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-02 15:54:37,793] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-02 15:54:37,793] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:54:40,130] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 15:54:50,807] [INFO] [Testing]: Uninstalling Manager in centos-8
[2024-04-02 15:55:23,767] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-02 15:55:34,104] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-02 15:55:34,104] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:55:36,244] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 15:55:46,254] [INFO] [Testing]: Uninstalling Manager in debian-10
[2024-04-02 15:55:55,937] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-02 15:56:05,349] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-02 15:56:05,349] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:56:07,463] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 15:56:17,563] [INFO] [Testing]: Uninstalling Manager in debian-11
[2024-04-02 15:56:28,618] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-02 15:56:38,832] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-02 15:56:38,832] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:56:41,064] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 15:56:51,919] [INFO] [Testing]: Uninstalling Manager in debian-12
[2024-04-02 15:57:02,774] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-02 15:57:13,015] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-02 15:57:13,015] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-02 15:59:36,426] [INFO] [464034] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Finished task in 3472.83 seconds.
[2024-04-02 15:59:36,437] [INFO] [464034] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-02 15:59:36,437] [INFO] [464034] [MainThread] [workflow_engine]: Executing tasks in parallel.


Warning 🔴 ⚠️

A small instability has been found since the EC2s that the allocation deploys take a long time to allow an ssh connection.

Evidence

[2024-04-02 14:49:05,433] [INFO] [455587] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-02 14:49:05,433] [INFO] [455587] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-02 14:49:05,434] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-02 14:49:26,102] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Finished task in 20.67 seconds.
[2024-04-02 14:49:26,113] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-02 14:49:47,265] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 21.14 seconds.
[2024-04-02 14:49:47,270] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Starting task.
[2024-04-02 14:50:08,185] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-amazon-2-amd64] Finished task in 20.90 seconds.
[2024-04-02 14:50:08,195] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Starting task.
[2024-04-02 14:50:29,057] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-7-amd64] Finished task in 20.85 seconds.
[2024-04-02 14:50:29,062] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Starting task.
[2024-04-02 14:50:49,534] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-8-amd64] Finished task in 20.47 seconds.
[2024-04-02 14:50:49,539] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Starting task.
[2024-04-02 14:51:10,318] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-redhat-9-amd64] Finished task in 20.78 seconds.
[2024-04-02 14:51:10,328] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Starting task.
[2024-04-02 14:51:31,627] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-7-amd64] Finished task in 21.29 seconds.
[2024-04-02 14:51:31,638] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Starting task.
[2024-04-02 14:51:53,234] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-centos-8-amd64] Finished task in 21.59 seconds.
[2024-04-02 14:51:53,239] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-10-amd64] Starting task.
[2024-04-02 14:52:13,434] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-10-amd64] Finished task in 20.18 seconds.
[2024-04-02 14:52:13,444] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Starting task.
[2024-04-02 14:52:33,843] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-11-amd64] Finished task in 20.39 seconds.
[2024-04-02 14:52:33,848] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Starting task.
[2024-04-02 14:52:54,368] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-debian-12-amd64] Finished task in 20.52 seconds.
[2024-04-02 14:52:54,379] [INFO] [455587] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Starting task.
[2024-04-02 14:53:05,502] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-02 14:53:08,063] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-02 14:53:11,032] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-02 14:53:13,285] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-02 14:53:13,428] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-02 14:53:15,473] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-02 14:53:17,475] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-02 14:53:20,190] [INFO] [Testing]: No Firewall to disable on centos-8
[2024-04-02 14:53:22,609] [INFO] [Testing]: No Firewall to disable on debian-10
[2024-04-02 14:53:24,795] [INFO] [Testing]: No Firewall to disable on debian-11
[2024-04-02 14:53:26,904] [INFO] [Testing]: No Firewall to disable on debian-12
[2024-04-02 14:53:44,414] [ERROR] [Testing]: wazuh-install-files.tar not created, check config.yml information
[2024-04-02 14:53:44,468] [INFO] [Testing]: Getting status of centos-7
[2024-04-02 14:53:44,619] [ERROR] [Testing]: The centos-7 is not active
[2024-04-02 14:53:44,888] [ERROR] [Testing]: The version centos-7 is not 4.7.3 by using commands
[2024-04-02 14:53:45,132] [ERROR] [Testing]: The revision centos-7 is not 40714 by using commands
[2024-04-02 14:53:45,336] [ERROR] [Testing]: The /var/ossec is not present in centos-7
akim@akim-PC:~/Desktop/personal$ ssh -i "Ephemeral.pem" -p 2200 centos@ec2-35-174-173-189.compute-1.amazonaws.com
ssh: connect to host ec2-35-174-173-189.compute-1.amazonaws.com port 2200: Connection refused

After several executions

akim@akim-PC:~/Desktop/personal$ ssh -i "Ephemeral.pem" -p 2200 centos@ec2-35-174-173-189.compute-1.amazonaws.com
The authenticity of host '[ec2-35-174-173-189.compute-1.amazonaws.com]:2200 ([35.174.173.189]:2200)' can't be established.
ED25519 key fingerprint is SHA256:uwsuar6limQcg2QzgzVTzT/rzwxDgUx3GZwhDiDG6qg.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[ec2-35-174-173-189.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.

[centos@ip-172-31-82-161 ~]$ 

If the first host to which actions are executed is listed in the middle or at the end of the list of hosts to be allocated, there is a greater chance of failure.

A check should be generated at the endo of each module that guarantees the completion of its actions before moving to the next module


A waiting utility was added:

CASE 1. Wrong credentials:

[2024-04-03 11:29:26,669] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 11:29:26,948] [ERROR] [Testing]: Authentication error on attempt 1 of 10. Check SSH credentials in centos-8
[2024-04-03 11:29:32,144] [ERROR] [Testing]: Authentication error on attempt 2 of 10. Check SSH credentials in centos-8
[2024-04-03 11:29:37,345] [ERROR] [Testing]: Authentication error on attempt 3 of 10. Check SSH credentials in centos-8
[2024-04-03 11:29:42,782] [ERROR] [Testing]: Authentication error on attempt 4 of 10. Check SSH credentials in centos-8
[2024-04-03 11:29:47,979] [ERROR] [Testing]: Authentication error on attempt 5 of 10. Check SSH credentials in centos-8
[2024-04-03 11:29:53,176] [ERROR] [Testing]: Authentication error on attempt 6 of 10. Check SSH credentials in centos-8
[2024-04-03 11:29:58,372] [ERROR] [Testing]: Authentication error on attempt 7 of 10. Check SSH credentials in centos-8
[2024-04-03 11:30:03,576] [ERROR] [Testing]: Authentication error on attempt 8 of 10. Check SSH credentials in centos-8
[2024-04-03 11:30:08,885] [ERROR] [Testing]: Authentication error on attempt 9 of 10. Check SSH credentials in centos-8
[2024-04-03 11:30:14,076] [ERROR] [Testing]: Authentication error on attempt 10 of 10. Check SSH credentials in centos-8
[2024-04-03 11:30:19,080] [ERROR] [Testing]: Connection attempts failed after 10 tries. Connection timeout in centos-8
[2024-04-03 11:30:19,213] [INFO] [Testing]: No Firewall to disable on centos-8

CASE 2. The host is stopped but it restarts after certain amount of time:

[2024-04-03 11:30:48,223] [INFO] [Testing]: Checking connection to centos-8
[2024-04-03 11:31:02,764] [ERROR] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 22 on 192.168.57.10
[2024-04-03 11:31:10,984] [ERROR] [Testing]: Error on attempt 2 of 10: [Errno None] Unable to connect to port 22 on 192.168.57.10
[2024-04-03 11:31:19,176] [ERROR] [Testing]: Error on attempt 3 of 10: [Errno None] Unable to connect to port 22 on 192.168.57.10
[2024-04-03 11:31:24,391] [INFO] [Testing]: Connection established successfully in centos-8

Test in AWS 🟢

[2024-04-03 11:44:21,656] [INFO] [Testing]: Checking connection to centos-7
[2024-04-03 11:44:21,974] [ERROR] [Testing]: Error on attempt 1 of 10: [Errno None] Unable to connect to port 2200 on 44.201.151.52
[2024-04-03 11:44:52,290] [ERROR] [Testing]: Error on attempt 2 of 10: [Errno None] Unable to connect to port 2200 on 44.201.151.52
[2024-04-03 11:45:22,596] [ERROR] [Testing]: Error on attempt 3 of 10: [Errno None] Unable to connect to port 2200 on 44.201.151.52
[2024-04-03 11:45:52,906] [ERROR] [Testing]: Error on attempt 4 of 10: [Errno None] Unable to connect to port 2200 on 44.201.151.52
[2024-04-03 11:46:23,113] [ERROR] [Testing]: Error on attempt 5 of 10: [Errno None] Unable to connect to port 2200 on 44.201.151.52
[2024-04-03 11:46:54,858] [INFO] [Testing]: Connection established successfully in centos-7

@fcaffieri
Copy link
Member Author

fcaffieri commented Apr 5, 2024

New test with provision and depends-on and foreach tags

Test manager with depends-on:

Test agents with depends-on and Provision install:

Vagrant:

  • install, register, restart,stop,uninstall on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "allocate-agent-{agent}"
Result 🟢

test_install_vagrant.log


  • install with provision and stop on all agents with clean up 🔴

Failed due to timeout, more analysis required. Fixed!

Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"
Result 🔴

test_stop_vagrant.log


  • install with provision and restart on all agents with clean up 🔴
input 🔴
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agents-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🔴

workflow.log


  • install with provision and uninstall on all agents with clean up (Fede)
input 🔴
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agents-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🔴

workflow.log


AWS:

  • Test install, register, restart, stop, uninstall on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agents-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢

workflow.log


  • install with provision and stop on all agents with clean up (WIP)

  • install with provision and restart on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agents-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "restart"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢

test_restart_aws.log


  • install with provision and uninstall on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agents-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢

test_uninstall_aws.log

@fcaffieri
Copy link
Member Author

fcaffieri commented Apr 8, 2024

New test due tu a bug in provision

A bug was found in the provisioning when installing the agents, this caused the tests to not be executed or in other cases unexpected failures in workflow and tests. This bug is fixed and the following tests are re-executed:

  • Test install,registration,restart,stop,uninstall - for all agentes, provisioning manager with provision module:
Input
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent


  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢
  • Test stop - for all agentes, provisioning manager and agents with provision module:
Input
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-agent-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"

    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "provision-agent-{agent}"
Result 🟡
  • Test uninstall - for all agentes, provisioning manager and agents with provision module:
input
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-agent-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"

    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-agent-{agent}"
Result 🟡

@pro-akim
Copy link
Member

pro-akim commented Apr 8, 2024

Update

ETA Changed due to bug findings

Fixes and retests were required

@pro-akim
Copy link
Member

pro-akim commented Apr 8, 2024

Update

Working on the fix of #5125 (comment)

Test uninstall - for all agentes, provisioning manager and agents with provision module 🟢

The problem was due to the fact that after uninstallation, the clientkey disappeared and the system would look for it in successive validations.
A change was made so that the taking of the agent's name is done only at the beginning of the test and not in each test within the test set

Testing in Vagrant:

Install with provision and stop,restart,uninstall on all agents with clean up 🔴

Fixture
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop,restart,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"


Result
[2024-04-08 13:35:22,396] [INFO] [965706] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-08 13:35:22,397] [INFO] [965706] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-08 13:35:22,398] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 13:35:22,700] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:35:22,701] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:35:22,701] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:35:26,659] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:35:26,659] [INFO] ALLOCATOR: Instance VAGRANT-5C595D56-A827-47E8-A2AD-96499509BDCB created.
[2024-04-08 13:36:06,344] [INFO] ALLOCATOR: Instance VAGRANT-5C595D56-A827-47E8-A2AD-96499509BDCB started.
[2024-04-08 13:36:09,885] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml
[2024-04-08 13:36:13,325] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 13:36:13,398] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 51.00 seconds.
[2024-04-08 13:36:13,409] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task.
[2024-04-08 13:36:13,749] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:36:13,749] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:36:13,749] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:36:17,100] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:36:17,100] [INFO] ALLOCATOR: Instance VAGRANT-25B4BF7E-200D-4D49-9F64-39184C3D0C41 created.
[2024-04-08 13:36:56,727] [INFO] ALLOCATOR: Instance VAGRANT-25B4BF7E-200D-4D49-9F64-39184C3D0C41 started.
[2024-04-08 13:37:00,340] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml
[2024-04-08 13:37:03,754] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml
[2024-04-08 13:37:03,821] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 50.40 seconds.
[2024-04-08 13:37:03,827] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-08 13:37:04,139] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:37:04,140] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:37:04,140] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:37:07,834] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:37:07,834] [INFO] ALLOCATOR: Instance VAGRANT-E1566053-B388-461E-84E7-C43EDB87BE9D created.
[2024-04-08 13:37:58,935] [INFO] ALLOCATOR: Instance VAGRANT-E1566053-B388-461E-84E7-C43EDB87BE9D started.
[2024-04-08 13:38:03,596] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml
[2024-04-08 13:38:09,467] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/track.yaml
[2024-04-08 13:38:09,546] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 65.72 seconds.
[2024-04-08 13:38:09,551] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 13:38:09,946] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:38:09,947] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:38:09,947] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:38:13,918] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:38:13,919] [INFO] ALLOCATOR: Instance VAGRANT-49D93BEB-6BD8-4CD1-B1F7-E0157C4ABF7D created.
[2024-04-08 13:39:00,671] [INFO] ALLOCATOR: Instance VAGRANT-49D93BEB-6BD8-4CD1-B1F7-E0157C4ABF7D started.
[2024-04-08 13:39:05,064] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/inventory.yaml
[2024-04-08 13:39:09,160] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 13:39:09,228] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 59.67 seconds.
[2024-04-08 13:39:09,234] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-08 13:39:09,610] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:39:09,610] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:39:09,610] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:39:13,010] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:39:13,010] [INFO] ALLOCATOR: Instance VAGRANT-42432BBD-98C6-49B2-A8C6-191272A5669E created.
[2024-04-08 13:40:10,111] [INFO] ALLOCATOR: Instance VAGRANT-42432BBD-98C6-49B2-A8C6-191272A5669E started.
[2024-04-08 13:40:14,748] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml
[2024-04-08 13:40:19,350] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/track.yaml
[2024-04-08 13:40:19,439] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 70.19 seconds.
[2024-04-08 13:40:19,450] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-08 13:40:19,865] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:40:19,866] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:40:19,866] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:40:24,388] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:40:24,389] [INFO] ALLOCATOR: Instance VAGRANT-6F6E1FFD-D06A-4C0D-8A3A-F9229C7EC4A8 created.
[2024-04-08 13:41:04,679] [INFO] ALLOCATOR: Instance VAGRANT-6F6E1FFD-D06A-4C0D-8A3A-F9229C7EC4A8 started.
[2024-04-08 13:41:08,258] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml
[2024-04-08 13:41:11,894] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/track.yaml
[2024-04-08 13:41:11,958] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 52.50 seconds.
[2024-04-08 13:41:11,963] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-08 13:41:12,321] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:41:12,322] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:41:12,322] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:41:15,986] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:41:15,986] [INFO] ALLOCATOR: Instance VAGRANT-02E66976-13E8-4CC5-96CF-3DCBA14ECECD created.
[2024-04-08 13:41:56,370] [INFO] ALLOCATOR: Instance VAGRANT-02E66976-13E8-4CC5-96CF-3DCBA14ECECD started.
[2024-04-08 13:41:59,997] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml
[2024-04-08 13:42:03,812] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/track.yaml
[2024-04-08 13:42:03,933] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 51.97 seconds.
[2024-04-08 13:42:03,943] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-08 13:42:04,354] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:42:04,355] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:42:04,355] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:42:08,607] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:42:08,607] [INFO] ALLOCATOR: Instance VAGRANT-9A530A0D-9F1A-48F0-81D4-787528421121 created.
[2024-04-08 13:42:57,035] [INFO] ALLOCATOR: Instance VAGRANT-9A530A0D-9F1A-48F0-81D4-787528421121 started.
[2024-04-08 13:43:00,767] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml
[2024-04-08 13:43:04,522] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/track.yaml
[2024-04-08 13:43:04,583] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 60.63 seconds.
[2024-04-08 13:43:04,594] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-08 13:43:04,952] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:43:04,952] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:43:04,952] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:43:09,134] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:43:09,134] [INFO] ALLOCATOR: Instance VAGRANT-BF5AACA6-3D57-42E9-9836-F6C7720E8F65 created.
[2024-04-08 13:43:51,174] [INFO] ALLOCATOR: Instance VAGRANT-BF5AACA6-3D57-42E9-9836-F6C7720E8F65 started.
[2024-04-08 13:43:54,544] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml
[2024-04-08 13:43:58,016] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml
[2024-04-08 13:43:58,089] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 53.48 seconds.
[2024-04-08 13:43:58,094] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-08 13:43:58,494] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:43:58,494] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:43:58,494] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:44:03,055] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:44:03,056] [INFO] ALLOCATOR: Instance VAGRANT-DA7B60A7-B9E4-4C93-A29A-B0AE6CB85519 created.
[2024-04-08 13:44:50,950] [INFO] ALLOCATOR: Instance VAGRANT-DA7B60A7-B9E4-4C93-A29A-B0AE6CB85519 started.
[2024-04-08 13:44:54,632] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml
[2024-04-08 13:44:58,325] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml
[2024-04-08 13:44:58,385] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 60.28 seconds.
[2024-04-08 13:44:58,391] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-08 13:44:58,735] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:44:58,736] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:44:58,736] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:45:02,767] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:45:02,768] [INFO] ALLOCATOR: Instance VAGRANT-E6B37F89-66C2-4A51-B59C-7422FE0E3EBE created.
[2024-04-08 13:45:46,363] [INFO] ALLOCATOR: Instance VAGRANT-E6B37F89-66C2-4A51-B59C-7422FE0E3EBE started.
[2024-04-08 13:45:50,021] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml
[2024-04-08 13:45:53,643] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml
[2024-04-08 13:45:53,696] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 55.30 seconds.
[2024-04-08 13:45:53,701] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-08 13:45:54,044] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:45:54,044] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:45:54,044] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:45:58,085] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:45:58,085] [INFO] ALLOCATOR: Instance VAGRANT-C24A22CF-0950-47CB-B44A-A39F0A9E7475 created.
[2024-04-08 13:46:45,781] [INFO] ALLOCATOR: Instance VAGRANT-C24A22CF-0950-47CB-B44A-A39F0A9E7475 started.
[2024-04-08 13:46:49,383] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml
[2024-04-08 13:46:52,981] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml
[2024-04-08 13:46:53,050] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 59.34 seconds.
[2024-04-08 13:46:53,060] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-08 13:46:53,416] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:46:53,416] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:46:53,416] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:46:57,453] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:46:57,453] [INFO] ALLOCATOR: Instance VAGRANT-35BACA71-2B88-486D-B0FC-4178D9EB9897 created.
[2024-04-08 13:47:43,980] [INFO] ALLOCATOR: Instance VAGRANT-35BACA71-2B88-486D-B0FC-4178D9EB9897 started.
[2024-04-08 13:47:47,604] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/inventory.yaml
[2024-04-08 13:47:51,199] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml
[2024-04-08 13:47:51,271] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 58.20 seconds.
[2024-04-08 13:47:51,282] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-08 13:47:51,633] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:47:51,634] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:47:51,634] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:47:55,061] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:47:55,062] [INFO] ALLOCATOR: Instance VAGRANT-CE786070-A046-459C-888E-8069192A60DA created.
[2024-04-08 13:49:04,354] [INFO] ALLOCATOR: Instance VAGRANT-CE786070-A046-459C-888E-8069192A60DA started.
[2024-04-08 13:49:07,822] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml
[2024-04-08 13:49:11,315] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml
[2024-04-08 13:49:11,373] [INFO] [965706] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 80.08 seconds.
[2024-04-08 13:49:11,379] [INFO] [965706] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-08 13:49:11,379] [INFO] [965706] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-08 13:49:11,379] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task.
[2024-04-08 13:49:11,720] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml
[2024-04-08 13:49:11,722] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-25B4BF7E-200D-4D49-9F64-39184C3D0C41
[2024-04-08 13:49:17,945] [INFO] ALLOCATOR: Instance VAGRANT-25B4BF7E-200D-4D49-9F64-39184C3D0C41 deleted.
[2024-04-08 13:49:18,007] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 6.62 seconds.
[2024-04-08 13:49:18,012] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-08 13:49:18,337] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/track.yaml
[2024-04-08 13:49:18,338] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-E1566053-B388-461E-84E7-C43EDB87BE9D
[2024-04-08 13:49:24,870] [INFO] ALLOCATOR: Instance VAGRANT-E1566053-B388-461E-84E7-C43EDB87BE9D deleted.
[2024-04-08 13:49:24,929] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 6.91 seconds.
[2024-04-08 13:49:24,934] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 13:49:25,260] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 13:49:25,262] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-49D93BEB-6BD8-4CD1-B1F7-E0157C4ABF7D
[2024-04-08 13:49:31,549] [INFO] ALLOCATOR: Instance VAGRANT-49D93BEB-6BD8-4CD1-B1F7-E0157C4ABF7D deleted.
[2024-04-08 13:49:31,608] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 6.67 seconds.
[2024-04-08 13:49:31,614] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-08 13:49:31,939] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-10-amd64/track.yaml
[2024-04-08 13:49:31,940] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-42432BBD-98C6-49B2-A8C6-191272A5669E
[2024-04-08 13:49:38,142] [INFO] ALLOCATOR: Instance VAGRANT-42432BBD-98C6-49B2-A8C6-191272A5669E deleted.
[2024-04-08 13:49:38,203] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 6.59 seconds.
[2024-04-08 13:49:38,214] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-08 13:49:38,536] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-11-amd64/track.yaml
[2024-04-08 13:49:38,538] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-6F6E1FFD-D06A-4C0D-8A3A-F9229C7EC4A8
[2024-04-08 13:49:44,251] [INFO] ALLOCATOR: Instance VAGRANT-6F6E1FFD-D06A-4C0D-8A3A-F9229C7EC4A8 deleted.
[2024-04-08 13:49:44,308] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 6.09 seconds.
[2024-04-08 13:49:44,314] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-08 13:49:44,646] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-12-amd64/track.yaml
[2024-04-08 13:49:44,648] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-02E66976-13E8-4CC5-96CF-3DCBA14ECECD
[2024-04-08 13:49:50,390] [INFO] ALLOCATOR: Instance VAGRANT-02E66976-13E8-4CC5-96CF-3DCBA14ECECD deleted.
[2024-04-08 13:49:50,453] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 6.14 seconds.
[2024-04-08 13:49:50,458] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-08 13:49:50,767] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-oracle-9-amd64/track.yaml
[2024-04-08 13:49:50,769] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-9A530A0D-9F1A-48F0-81D4-787528421121
[2024-04-08 13:49:57,752] [INFO] ALLOCATOR: Instance VAGRANT-9A530A0D-9F1A-48F0-81D4-787528421121 deleted.
[2024-04-08 13:49:57,807] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 7.35 seconds.
[2024-04-08 13:49:57,813] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-08 13:49:58,129] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml
[2024-04-08 13:49:58,131] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-BF5AACA6-3D57-42E9-9836-F6C7720E8F65
[2024-04-08 13:50:03,808] [INFO] ALLOCATOR: Instance VAGRANT-BF5AACA6-3D57-42E9-9836-F6C7720E8F65 deleted.
[2024-04-08 13:50:03,884] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 6.07 seconds.
[2024-04-08 13:50:03,889] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-08 13:50:04,239] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml
[2024-04-08 13:50:04,241] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-DA7B60A7-B9E4-4C93-A29A-B0AE6CB85519
[2024-04-08 13:50:10,791] [INFO] ALLOCATOR: Instance VAGRANT-DA7B60A7-B9E4-4C93-A29A-B0AE6CB85519 deleted.
[2024-04-08 13:50:10,856] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 6.96 seconds.
[2024-04-08 13:50:10,861] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-08 13:50:11,203] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml
[2024-04-08 13:50:11,204] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-E6B37F89-66C2-4A51-B59C-7422FE0E3EBE
[2024-04-08 13:50:17,315] [INFO] ALLOCATOR: Instance VAGRANT-E6B37F89-66C2-4A51-B59C-7422FE0E3EBE deleted.
[2024-04-08 13:50:17,371] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 6.50 seconds.
[2024-04-08 13:50:17,376] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-08 13:50:17,695] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml
[2024-04-08 13:50:17,697] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-C24A22CF-0950-47CB-B44A-A39F0A9E7475
[2024-04-08 13:50:23,942] [INFO] ALLOCATOR: Instance VAGRANT-C24A22CF-0950-47CB-B44A-A39F0A9E7475 deleted.
[2024-04-08 13:50:24,009] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 6.63 seconds.
[2024-04-08 13:50:24,019] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-08 13:50:24,336] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml
[2024-04-08 13:50:24,337] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-35BACA71-2B88-486D-B0FC-4178D9EB9897
[2024-04-08 13:50:30,681] [INFO] ALLOCATOR: Instance VAGRANT-35BACA71-2B88-486D-B0FC-4178D9EB9897 deleted.
[2024-04-08 13:50:30,761] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 6.74 seconds.
[2024-04-08 13:50:30,762] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-08 13:50:31,151] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml
[2024-04-08 13:50:31,152] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-CE786070-A046-459C-888E-8069192A60DA
[2024-04-08 13:50:37,559] [INFO] ALLOCATOR: Instance VAGRANT-CE786070-A046-459C-888E-8069192A60DA deleted.
[2024-04-08 13:50:37,625] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 6.86 seconds.
[2024-04-08 13:50:37,636] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 13:50:37,993] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 13:50:37,995] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-5C595D56-A827-47E8-A2AD-96499509BDCB
[2024-04-08 13:50:44,851] [INFO] ALLOCATOR: Instance VAGRANT-5C595D56-A827-47E8-A2AD-96499509BDCB deleted.
[2024-04-08 13:50:44,913] [INFO] [965706] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 7.27 seconds.
[2024-04-08 13:51:57,598] [INFO] [1018721] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-08 13:51:57,598] [INFO] [1018721] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-08 13:51:57,599] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 13:51:57,933] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:51:57,934] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:51:57,934] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:52:01,335] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:52:01,335] [INFO] ALLOCATOR: Instance VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC created.
[2024-04-08 13:52:42,113] [INFO] ALLOCATOR: Instance VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC started.
[2024-04-08 13:52:45,553] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml
[2024-04-08 13:52:48,943] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 13:52:49,008] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 51.41 seconds.
[2024-04-08 13:52:49,018] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task.
[2024-04-08 13:52:49,372] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:52:49,373] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:52:49,373] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:52:52,861] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:52:52,861] [INFO] ALLOCATOR: Instance VAGRANT-DC55D626-982F-4D94-B3A2-2B66585316D9 created.
[2024-04-08 13:53:32,645] [INFO] ALLOCATOR: Instance VAGRANT-DC55D626-982F-4D94-B3A2-2B66585316D9 started.
[2024-04-08 13:53:36,080] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml
[2024-04-08 13:53:39,505] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml
[2024-04-08 13:53:39,579] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 50.55 seconds.
[2024-04-08 13:53:39,590] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-08 13:53:39,945] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:53:39,945] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:53:39,945] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:53:44,194] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:53:44,194] [INFO] ALLOCATOR: Instance VAGRANT-2C36D06E-36B8-4E89-8AFB-3390F4032176 created.
[2024-04-08 13:54:28,171] [INFO] ALLOCATOR: Instance VAGRANT-2C36D06E-36B8-4E89-8AFB-3390F4032176 started.
[2024-04-08 13:54:31,623] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml
[2024-04-08 13:54:35,075] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/track.yaml
[2024-04-08 13:54:35,154] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 55.55 seconds.
[2024-04-08 13:54:35,154] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 13:54:35,480] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:54:35,480] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:54:35,480] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:54:39,363] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:54:39,363] [INFO] ALLOCATOR: Instance VAGRANT-E5CE849D-8B9F-4238-9518-46EFEBA070EC created.
[2024-04-08 13:55:21,385] [INFO] ALLOCATOR: Instance VAGRANT-E5CE849D-8B9F-4238-9518-46EFEBA070EC started.
[2024-04-08 13:55:24,851] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/inventory.yaml
[2024-04-08 13:55:28,358] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 13:55:28,441] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 53.29 seconds.
[2024-04-08 13:55:28,452] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-08 13:55:28,775] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:55:28,776] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:55:28,776] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:55:32,224] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:55:32,224] [INFO] ALLOCATOR: Instance VAGRANT-1ED65402-494C-4E00-A389-7F01DCEA5C4A created.
[2024-04-08 13:56:22,305] [INFO] ALLOCATOR: Instance VAGRANT-1ED65402-494C-4E00-A389-7F01DCEA5C4A started.
[2024-04-08 13:56:26,467] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml
[2024-04-08 13:56:30,705] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/track.yaml
[2024-04-08 13:56:30,791] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 62.33 seconds.
[2024-04-08 13:56:30,802] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-08 13:56:31,193] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:56:31,193] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:56:31,193] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:56:34,907] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:56:34,908] [INFO] ALLOCATOR: Instance VAGRANT-E4F4A331-95FC-40F9-ADD1-A937E57BDC02 created.
[2024-04-08 13:57:19,496] [INFO] ALLOCATOR: Instance VAGRANT-E4F4A331-95FC-40F9-ADD1-A937E57BDC02 started.
[2024-04-08 13:57:22,918] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml
[2024-04-08 13:57:26,428] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/track.yaml
[2024-04-08 13:57:26,488] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 55.68 seconds.
[2024-04-08 13:57:26,498] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-08 13:57:26,855] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:57:26,856] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:57:26,856] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:57:31,519] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:57:31,519] [INFO] ALLOCATOR: Instance VAGRANT-4C45BCDA-9D2D-4AEE-9CB9-D44C56832065 created.
[2024-04-08 13:58:08,405] [INFO] ALLOCATOR: Instance VAGRANT-4C45BCDA-9D2D-4AEE-9CB9-D44C56832065 started.
[2024-04-08 13:58:11,803] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml
[2024-04-08 13:58:15,204] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/track.yaml
[2024-04-08 13:58:15,282] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 48.77 seconds.
[2024-04-08 13:58:15,292] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-08 13:58:15,658] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:58:15,658] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:58:15,658] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:58:19,386] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:58:19,387] [INFO] ALLOCATOR: Instance VAGRANT-92519BAB-97C3-43B5-B2A3-0507AB5F6B2A created.
[2024-04-08 13:59:06,216] [INFO] ALLOCATOR: Instance VAGRANT-92519BAB-97C3-43B5-B2A3-0507AB5F6B2A started.
[2024-04-08 13:59:10,038] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml
[2024-04-08 13:59:13,852] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/track.yaml
[2024-04-08 13:59:13,920] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 58.62 seconds.
[2024-04-08 13:59:13,926] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-08 13:59:14,293] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 13:59:14,294] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 13:59:14,294] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 13:59:17,894] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 13:59:17,894] [INFO] ALLOCATOR: Instance VAGRANT-85BD6385-337F-4757-84A4-58A6AF1CE0E7 created.
[2024-04-08 13:59:58,374] [INFO] ALLOCATOR: Instance VAGRANT-85BD6385-337F-4757-84A4-58A6AF1CE0E7 started.
[2024-04-08 14:00:01,876] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml
[2024-04-08 14:00:05,334] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml
[2024-04-08 14:00:05,400] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 51.46 seconds.
[2024-04-08 14:00:05,405] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-08 14:00:05,749] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 14:00:05,750] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 14:00:05,750] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 14:00:09,301] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 14:00:09,302] [INFO] ALLOCATOR: Instance VAGRANT-585E0241-D5F6-4C23-952D-9A234ED9B0D6 created.
[2024-04-08 14:00:56,626] [INFO] ALLOCATOR: Instance VAGRANT-585E0241-D5F6-4C23-952D-9A234ED9B0D6 started.
[2024-04-08 14:01:00,418] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml
[2024-04-08 14:01:04,231] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml
[2024-04-08 14:01:04,301] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 58.89 seconds.
[2024-04-08 14:01:04,306] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-08 14:01:04,649] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 14:01:04,649] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 14:01:04,649] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 14:01:08,071] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 14:01:08,072] [INFO] ALLOCATOR: Instance VAGRANT-4E427553-3C55-456F-9EB3-A1D2174FD71E created.
[2024-04-08 14:01:49,787] [INFO] ALLOCATOR: Instance VAGRANT-4E427553-3C55-456F-9EB3-A1D2174FD71E started.
[2024-04-08 14:01:53,693] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml
[2024-04-08 14:01:57,634] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml
[2024-04-08 14:01:57,695] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 53.38 seconds.
[2024-04-08 14:01:57,700] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-08 14:01:58,069] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 14:01:58,070] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 14:01:58,070] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 14:02:02,051] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 14:02:02,052] [INFO] ALLOCATOR: Instance VAGRANT-5CD7C16D-D9AA-4A99-A2DA-771624A371D4 created.
[2024-04-08 14:02:49,594] [INFO] ALLOCATOR: Instance VAGRANT-5CD7C16D-D9AA-4A99-A2DA-771624A371D4 started.
[2024-04-08 14:02:53,382] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml
[2024-04-08 14:02:57,216] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml
[2024-04-08 14:02:57,277] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 59.57 seconds.
[2024-04-08 14:02:57,287] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-08 14:02:57,637] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 14:02:57,637] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 14:02:57,638] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 14:03:01,308] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 14:03:01,308] [INFO] ALLOCATOR: Instance VAGRANT-CD45805F-520C-4CF6-89A4-2B33FD019D2A created.
[2024-04-08 14:03:47,613] [INFO] ALLOCATOR: Instance VAGRANT-CD45805F-520C-4CF6-89A4-2B33FD019D2A started.
[2024-04-08 14:03:51,653] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/inventory.yaml
[2024-04-08 14:03:55,586] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml
[2024-04-08 14:03:55,646] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 58.35 seconds.
[2024-04-08 14:03:55,651] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-08 14:03:56,041] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-08 14:03:56,041] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-08 14:03:56,041] [DEBUG] ALLOCATOR: Generating new key pair
[2024-04-08 14:03:59,478] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance.
[2024-04-08 14:03:59,479] [INFO] ALLOCATOR: Instance VAGRANT-6C7AF4F8-7CAC-42CA-9711-96FC62B035C5 created.
[2024-04-08 14:05:05,705] [INFO] ALLOCATOR: Instance VAGRANT-6C7AF4F8-7CAC-42CA-9711-96FC62B035C5 started.
[2024-04-08 14:05:09,767] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml
[2024-04-08 14:05:13,956] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml
[2024-04-08 14:05:14,044] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 78.38 seconds.
[2024-04-08 14:05:14,050] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 14:05:14,625] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:05:14,626] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:05:17,697] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:05:17,698] [DEBUG] ANSIBLE: Templates found: ['download.j2', 'install.j2']
[2024-04-08 14:05:17,708] [DEBUG] ANSIBLE: Rendering template download.j2
[2024-04-08 14:05:17,711] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:05:17,712] [DEBUG] ANSIBLE: [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh'}, {'name': 'Install wazuh-manager with asistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]
[2024-04-08 14:05:17,712] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:05:17,712] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh'}, {'name': 'Install wazuh-manager with asistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]}
[2024-04-08 14:12:34,126] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh'}, {'name': 'Install wazuh-manager with asistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.2': 4}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {'192.168.57.2': 3}}
[2024-04-08 14:12:34,212] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Finished task in 440.16 seconds.
[2024-04-08 14:12:34,228] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-18.04-amd64] Starting task.
[2024-04-08 14:12:34,620] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.3': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-DC55D626-982F-4D94-B3A2-2B66585316D9/instance_key'}}}}
[2024-04-08 14:12:34,620] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:12:37,573] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.3': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.3': 1}, 'changed': {}}
[2024-04-08 14:12:37,574] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:12:37,582] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:12:37,588] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:12:37,590] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:12:37,592] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:12:37,593] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:12:37,593] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.3': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-DC55D626-982F-4D94-B3A2-2B66585316D9/instance_key'}}}}
[2024-04-08 14:12:37,593] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:13:14,961] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.3': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.3': 1}, 'changed': {'192.168.57.3': 9}}
[2024-04-08 14:13:15,046] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-18.04-amd64] Finished task in 40.81 seconds.
[2024-04-08 14:13:15,057] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-08 14:13:15,434] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.4': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2C36D06E-36B8-4E89-8AFB-3390F4032176/instance_key'}}}}
[2024-04-08 14:13:15,435] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:13:18,538] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.4': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.4': 1}, 'changed': {}}
[2024-04-08 14:13:18,539] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:13:18,547] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:13:18,553] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:13:18,555] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:13:18,557] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:13:18,558] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:13:18,558] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.4': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2C36D06E-36B8-4E89-8AFB-3390F4032176/instance_key'}}}}
[2024-04-08 14:13:18,558] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:14:33,264] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.4': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.4': 1}, 'changed': {'192.168.57.4': 9}}
[2024-04-08 14:14:33,330] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-20.04-amd64] Finished task in 78.27 seconds.
[2024-04-08 14:14:33,330] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 14:14:33,712] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.5': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-E5CE849D-8B9F-4238-9518-46EFEBA070EC/instance_key'}}}}
[2024-04-08 14:14:33,712] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:14:36,406] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.5': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.5': 1}, 'changed': {}}
[2024-04-08 14:14:36,407] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:14:36,418] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:14:36,425] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:14:36,428] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:14:36,431] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:14:36,432] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:14:36,433] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.5': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-E5CE849D-8B9F-4238-9518-46EFEBA070EC/instance_key'}}}}
[2024-04-08 14:14:36,433] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:15:17,465] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.5': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.5': 1}, 'changed': {'192.168.57.5': 9}}
[2024-04-08 14:15:17,549] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-22.04-amd64] Finished task in 44.21 seconds.
[2024-04-08 14:15:17,559] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-10-amd64] Starting task.
[2024-04-08 14:15:17,940] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.6': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1ED65402-494C-4E00-A389-7F01DCEA5C4A/instance_key'}}}}
[2024-04-08 14:15:17,940] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:15:20,157] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.6': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.6': 1}, 'changed': {}}
[2024-04-08 14:15:20,157] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:15:20,165] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:15:20,170] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:15:20,172] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:15:20,173] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:15:20,174] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:15:20,174] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.6': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1ED65402-494C-4E00-A389-7F01DCEA5C4A/instance_key'}}}}
[2024-04-08 14:15:20,174] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:15:41,806] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.6': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.6': 1}, 'changed': {'192.168.57.6': 9}}
[2024-04-08 14:15:41,882] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-10-amd64] Finished task in 24.31 seconds.
[2024-04-08 14:15:41,887] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-11-amd64] Starting task.
[2024-04-08 14:15:42,237] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.7': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-E4F4A331-95FC-40F9-ADD1-A937E57BDC02/instance_key'}}}}
[2024-04-08 14:15:42,238] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:15:44,471] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.7': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.7': 1}, 'changed': {}}
[2024-04-08 14:15:44,472] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:15:44,479] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:15:44,484] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:15:44,486] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:15:44,487] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:15:44,488] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:15:44,488] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.7': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-E4F4A331-95FC-40F9-ADD1-A937E57BDC02/instance_key'}}}}
[2024-04-08 14:15:44,488] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:16:47,647] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.7': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.7': 1}, 'changed': {'192.168.57.7': 9}}
[2024-04-08 14:16:47,732] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-11-amd64] Finished task in 65.84 seconds.
[2024-04-08 14:16:47,743] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-12-amd64] Starting task.
[2024-04-08 14:16:48,109] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.8': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-4C45BCDA-9D2D-4AEE-9CB9-D44C56832065/instance_key'}}}}
[2024-04-08 14:16:48,110] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:16:50,393] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.8': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.8': 1}, 'changed': {}}
[2024-04-08 14:16:50,394] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:16:50,402] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:16:50,406] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:16:50,408] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:16:50,410] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:16:50,411] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:16:50,412] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.8': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-4C45BCDA-9D2D-4AEE-9CB9-D44C56832065/instance_key'}}}}
[2024-04-08 14:16:50,412] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:17:33,399] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.8': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.8': 1}, 'changed': {'192.168.57.8': 9}}
[2024-04-08 14:17:33,473] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-12-amd64] Finished task in 45.72 seconds.
[2024-04-08 14:17:33,478] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-oracle-9-amd64] Starting task.
[2024-04-08 14:17:33,892] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.9': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-92519BAB-97C3-43B5-B2A3-0507AB5F6B2A/instance_key'}}}}
[2024-04-08 14:17:33,892] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:17:38,199] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.9': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.9': 1}, 'changed': {}}
[2024-04-08 14:17:38,200] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:17:38,208] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:17:38,213] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:17:38,215] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:17:38,217] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:17:38,218] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:17:38,218] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.9': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-92519BAB-97C3-43B5-B2A3-0507AB5F6B2A/instance_key'}}}}
[2024-04-08 14:17:38,218] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:19:30,547] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.9': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.9': 1}, 'changed': {'192.168.57.9': 7}}
[2024-04-08 14:19:30,633] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-oracle-9-amd64] Finished task in 117.14 seconds.
[2024-04-08 14:19:30,643] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-7-amd64] Starting task.
[2024-04-08 14:19:31,149] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.10': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-85BD6385-337F-4757-84A4-58A6AF1CE0E7/instance_key'}}}}
[2024-04-08 14:19:31,149] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.10', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:19:33,850] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.10', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.10': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.10': 1}, 'changed': {}}
[2024-04-08 14:19:33,851] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:19:33,859] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:19:33,863] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:19:33,865] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:19:33,866] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:19:33,868] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:19:33,868] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.10': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-85BD6385-337F-4757-84A4-58A6AF1CE0E7/instance_key'}}}}
[2024-04-08 14:19:33,868] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.10', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:20:43,621] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.10', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.10': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.10': 1}, 'changed': {'192.168.57.10': 7}}
[2024-04-08 14:20:43,775] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-7-amd64] Finished task in 73.12 seconds.
[2024-04-08 14:20:43,786] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-8-amd64] Starting task.
[2024-04-08 14:20:44,606] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.11': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-585E0241-D5F6-4C23-952D-9A234ED9B0D6/instance_key'}}}}
[2024-04-08 14:20:44,606] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.11', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:20:48,647] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.11', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.11': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.11': 1}, 'changed': {}}
[2024-04-08 14:20:48,648] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:20:48,660] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:20:48,669] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:20:48,671] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:20:48,675] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:20:48,676] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:20:48,676] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.11': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-585E0241-D5F6-4C23-952D-9A234ED9B0D6/instance_key'}}}}
[2024-04-08 14:20:48,676] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.11', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:23:12,641] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.11', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.11': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.11': 1}, 'changed': {'192.168.57.11': 7}}
[2024-04-08 14:23:12,753] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-8-amd64] Finished task in 148.96 seconds.
[2024-04-08 14:23:12,763] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-7-amd64] Starting task.
[2024-04-08 14:23:13,401] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.12': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-4E427553-3C55-456F-9EB3-A1D2174FD71E/instance_key'}}}}
[2024-04-08 14:23:13,401] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.12', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:23:17,526] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.12', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.12': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.12': 1}, 'changed': {}}
[2024-04-08 14:23:17,528] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:23:17,547] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:23:17,558] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:23:17,562] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:23:17,567] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:23:17,569] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:23:17,570] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.12': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-4E427553-3C55-456F-9EB3-A1D2174FD71E/instance_key'}}}}
[2024-04-08 14:23:17,570] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.12', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:24:23,852] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.12', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.12': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.12': 1}, 'changed': {'192.168.57.12': 7}}
[2024-04-08 14:24:23,953] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-7-amd64] Finished task in 71.18 seconds.
[2024-04-08 14:24:23,954] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-8-amd64] Starting task.
[2024-04-08 14:24:24,598] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.13': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-5CD7C16D-D9AA-4A99-A2DA-771624A371D4/instance_key'}}}}
[2024-04-08 14:24:24,599] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.13', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:24:29,373] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.13', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.13': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.13': 1}, 'changed': {}}
[2024-04-08 14:24:29,374] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:24:29,387] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:24:29,393] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:24:29,396] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:24:29,399] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:24:29,401] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:24:29,401] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.13': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-5CD7C16D-D9AA-4A99-A2DA-771624A371D4/instance_key'}}}}
[2024-04-08 14:24:29,401] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.13', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:26:12,075] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.13', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.13': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.13': 1}, 'changed': {'192.168.57.13': 7}}
[2024-04-08 14:26:12,169] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-8-amd64] Finished task in 108.21 seconds.
[2024-04-08 14:26:12,179] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-9-amd64] Starting task.
[2024-04-08 14:26:12,619] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.14': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-CD45805F-520C-4CF6-89A4-2B33FD019D2A/instance_key'}}}}
[2024-04-08 14:26:12,619] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.14', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:26:16,057] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.14', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.14': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.14': 1}, 'changed': {}}
[2024-04-08 14:26:16,057] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:26:16,067] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:26:16,072] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:26:16,073] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:26:16,075] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:26:16,075] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:26:16,076] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.14': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-CD45805F-520C-4CF6-89A4-2B33FD019D2A/instance_key'}}}}
[2024-04-08 14:26:16,076] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.14', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:27:11,208] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.14', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.14': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.14': 1}, 'changed': {'192.168.57.14': 7}}
[2024-04-08 14:27:11,314] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-9-amd64] Finished task in 59.12 seconds.
[2024-04-08 14:27:11,324] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-amazon-2-amd64] Starting task.
[2024-04-08 14:27:11,737] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.15': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-6C7AF4F8-7CAC-42CA-9711-96FC62B035C5/instance_key'}}}}
[2024-04-08 14:27:11,738] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.15', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]}
[2024-04-08 14:27:23,838] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.15', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.15': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.15': 1}, 'changed': {}}
[2024-04-08 14:27:23,839] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2']
[2024-04-08 14:27:23,847] [DEBUG] ANSIBLE: Rendering template set_repo.j2
[2024-04-08 14:27:23,851] [DEBUG] ANSIBLE: Rendering template install.j2
[2024-04-08 14:27:23,853] [DEBUG] ANSIBLE: Rendering template register.j2
[2024-04-08 14:27:23,855] [DEBUG] ANSIBLE: Rendering template service.j2
[2024-04-08 14:27:23,856] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]
[2024-04-08 14:27:23,856] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.15': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-6C7AF4F8-7CAC-42CA-9711-96FC62B035C5/instance_key'}}}}
[2024-04-08 14:27:23,856] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.15', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
[2024-04-08 14:28:07,851] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.15', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.15': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.15': 1}, 'changed': {'192.168.57.15': 7}}
[2024-04-08 14:28:07,931] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-amazon-2-amd64] Finished task in 56.60 seconds.
[2024-04-08 14:28:07,942] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Starting task.
[2024-04-08 14:28:08,368] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:28:08,370] [INFO] TESTER: Running tests for 192.168.57.3
[2024-04-08 14:28:08,370] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.3'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:28:08,380] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:28:08,381] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:28:08,382] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.3']}]}]
[2024-04-08 14:28:14,984] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.3']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:28:14,986] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:28:14,988] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:28:14,988] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:28:18,615] [INFO] [Testing]: Checking connection to ubuntu-18.04
[2024-04-08 14:28:18,913] [INFO] [Testing]: Connection established successfully in ubuntu-18.04
[2024-04-08 14:28:23,691] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-18.04
[2024-04-08 14:28:24,824] [INFO] [Testing]: Getting status of ubuntu-18.04
[2024-04-08 14:28:26,003] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-18.04
[2024-04-08 14:28:34,393] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:28:34,398] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:28:34,401] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:28:34,401] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:28:41,536] [INFO] [Testing]: Checking connection to ubuntu-18.04
[2024-04-08 14:28:41,903] [INFO] [Testing]: Connection established successfully in ubuntu-18.04
[2024-04-08 14:28:44,437] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-18.04
[2024-04-08 14:28:53,018] [INFO] [Testing]: Getting status of ubuntu-18.04
[2024-04-08 14:28:55,824] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:28:55,827] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:28:55,829] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:28:55,829] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:29:05,145] [INFO] [Testing]: Checking connection to ubuntu-18.04
[2024-04-08 14:29:05,489] [INFO] [Testing]: Connection established successfully in ubuntu-18.04
[2024-04-08 14:29:09,446] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-18.04
[2024-04-08 14:29:13,038] [INFO] [Testing]: Uninstalling Agent in ubuntu-18.04
[2024-04-08 14:29:18,571] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-18.04
[2024-04-08 14:29:21,617] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-18.04
[2024-04-08 14:29:21,617] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-18.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:29:24,853] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:29:24,854] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:29:24,854] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:29:27,758] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:29:27,759] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:29:27,759] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:29:30,375] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:29:30,455] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Finished task in 82.50 seconds.
[2024-04-08 14:29:30,466] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-20.04-amd64-tests] Starting task.
[2024-04-08 14:29:30,855] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:29:30,856] [INFO] TESTER: Running tests for 192.168.57.4
[2024-04-08 14:29:30,856] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.4'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:29:30,863] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:29:30,865] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:29:30,865] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.4']}]}]
[2024-04-08 14:29:37,242] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.4']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:29:37,244] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:29:37,245] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:29:37,245] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:29:40,792] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-08 14:29:41,066] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-08 14:29:44,959] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-20.04
[2024-04-08 14:29:46,067] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-08 14:29:47,193] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-08 14:29:55,461] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:29:55,464] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:29:55,466] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:29:55,466] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:30:02,185] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-08 14:30:02,512] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-08 14:30:05,307] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04
[2024-04-08 14:30:13,837] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-08 14:30:16,530] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:30:16,532] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:30:16,533] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:30:16,534] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:30:24,160] [INFO] [Testing]: Checking connection to ubuntu-20.04
[2024-04-08 14:30:24,505] [INFO] [Testing]: Connection established successfully in ubuntu-20.04
[2024-04-08 14:30:28,047] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-08 14:30:30,592] [INFO] [Testing]: Uninstalling Agent in ubuntu-20.04
[2024-04-08 14:30:36,552] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-08 14:30:38,823] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-08 14:30:38,824] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:30:41,647] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:30:41,649] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:30:41,649] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:30:44,436] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:30:44,437] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:30:44,437] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:30:47,019] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:30:47,106] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-20.04-amd64-tests] Finished task in 76.63 seconds.
[2024-04-08 14:30:47,117] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-10-amd64-tests] Starting task.
[2024-04-08 14:30:47,512] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:30:47,513] [INFO] TESTER: Running tests for 192.168.57.6
[2024-04-08 14:30:47,513] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.6'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:30:47,519] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:30:47,521] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:30:47,522] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.6']}]}]
[2024-04-08 14:30:53,804] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.6']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:30:53,807] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:30:53,808] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:30:53,808] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:30:57,388] [INFO] [Testing]: Checking connection to debian-10
[2024-04-08 14:30:57,699] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-08 14:30:59,668] [INFO] [Testing]: Stopping wazuh-agent in debian-10
[2024-04-08 14:31:00,410] [INFO] [Testing]: Getting status of debian-10
[2024-04-08 14:31:00,809] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-08 14:31:08,730] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:31:08,734] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:31:08,736] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:31:08,737] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:31:17,141] [INFO] [Testing]: Checking connection to debian-10
[2024-04-08 14:31:17,465] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-08 14:31:18,151] [INFO] [Testing]: Restarting wazuh-agent in debian-10
[2024-04-08 14:31:26,252] [INFO] [Testing]: Getting status of debian-10
[2024-04-08 14:31:27,406] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:31:27,408] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:31:27,410] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:31:27,410] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:31:31,194] [INFO] [Testing]: Checking connection to debian-10
[2024-04-08 14:31:31,525] [INFO] [Testing]: Connection established successfully in debian-10
[2024-04-08 14:31:32,834] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-08 14:31:35,601] [INFO] [Testing]: Uninstalling Agent in debian-10
[2024-04-08 14:31:38,364] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-10
[2024-04-08 14:31:40,336] [INFO] [Testing]: Applying filters in checkfiles in debian-10
[2024-04-08 14:31:40,336] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-10: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:31:43,060] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:31:43,062] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:31:43,062] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:31:45,688] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:31:45,689] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:31:45,690] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:31:48,220] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:31:48,301] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-10-amd64-tests] Finished task in 61.17 seconds.
[2024-04-08 14:31:48,311] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-11-amd64-tests] Starting task.
[2024-04-08 14:31:48,720] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:31:48,721] [INFO] TESTER: Running tests for 192.168.57.7
[2024-04-08 14:31:48,722] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.7'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:31:48,728] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:31:48,730] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:31:48,730] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.7']}]}]
[2024-04-08 14:31:54,974] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.7']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:31:54,978] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:31:54,980] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:31:54,980] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:31:58,704] [INFO] [Testing]: Checking connection to debian-11
[2024-04-08 14:31:59,040] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-08 14:32:01,020] [INFO] [Testing]: Stopping wazuh-agent in debian-11
[2024-04-08 14:32:01,784] [INFO] [Testing]: Getting status of debian-11
[2024-04-08 14:32:02,207] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-08 14:32:10,129] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:32:10,131] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:32:10,133] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:32:10,133] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:32:18,723] [INFO] [Testing]: Checking connection to debian-11
[2024-04-08 14:32:19,077] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-08 14:32:19,944] [INFO] [Testing]: Restarting wazuh-agent in debian-11
[2024-04-08 14:32:27,936] [INFO] [Testing]: Getting status of debian-11
[2024-04-08 14:32:29,251] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:32:29,255] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:32:29,258] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:32:29,258] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:32:32,975] [INFO] [Testing]: Checking connection to debian-11
[2024-04-08 14:32:33,359] [INFO] [Testing]: Connection established successfully in debian-11
[2024-04-08 14:32:35,253] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-08 14:32:37,075] [INFO] [Testing]: Uninstalling Agent in debian-11
[2024-04-08 14:32:39,632] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-11
[2024-04-08 14:32:41,212] [INFO] [Testing]: Applying filters in checkfiles in debian-11
[2024-04-08 14:32:41,213] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-11: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:32:43,813] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:32:43,815] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:32:43,815] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:32:46,536] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:32:46,538] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:32:46,538] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:32:49,099] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:32:49,185] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-11-amd64-tests] Finished task in 60.87 seconds.
[2024-04-08 14:32:49,196] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-12-amd64-tests] Starting task.
[2024-04-08 14:32:49,567] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:32:49,568] [INFO] TESTER: Running tests for 192.168.57.8
[2024-04-08 14:32:49,568] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.8'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:32:49,575] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:32:49,576] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:32:49,576] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.8']}]}]
[2024-04-08 14:32:55,776] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.8']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:32:55,778] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:32:55,779] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:32:55,779] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:32:59,406] [INFO] [Testing]: Checking connection to debian-12
[2024-04-08 14:32:59,728] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-08 14:33:01,708] [INFO] [Testing]: Stopping wazuh-agent in debian-12
[2024-04-08 14:33:02,515] [INFO] [Testing]: Getting status of debian-12
[2024-04-08 14:33:02,952] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-08 14:33:10,893] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:33:10,896] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:33:10,898] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:33:10,899] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:33:18,555] [INFO] [Testing]: Checking connection to debian-12
[2024-04-08 14:33:18,891] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-08 14:33:19,676] [INFO] [Testing]: Restarting wazuh-agent in debian-12
[2024-04-08 14:33:27,837] [INFO] [Testing]: Getting status of debian-12
[2024-04-08 14:33:29,181] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:33:29,185] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:33:29,187] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:33:29,188] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:33:33,008] [INFO] [Testing]: Checking connection to debian-12
[2024-04-08 14:33:33,434] [INFO] [Testing]: Connection established successfully in debian-12
[2024-04-08 14:33:35,353] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-08 14:33:37,192] [INFO] [Testing]: Uninstalling Agent in debian-12
[2024-04-08 14:33:39,914] [INFO] [Testing]: Generating Snapshot for Checkfile in debian-12
[2024-04-08 14:33:41,620] [INFO] [Testing]: Applying filters in checkfiles in debian-12
[2024-04-08 14:33:41,620] [INFO] [Testing]: Pre and post uninstall checkfile comparison in debian-12: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:33:44,409] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:33:44,410] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:33:44,410] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:33:47,303] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:33:47,304] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:33:47,304] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:33:49,971] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:33:50,041] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-12-amd64-tests] Finished task in 60.83 seconds.
[2024-04-08 14:33:50,046] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-oracle-9-amd64-tests] Starting task.
[2024-04-08 14:33:50,430] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:33:50,431] [INFO] TESTER: Running tests for 192.168.57.9
[2024-04-08 14:33:50,431] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.9'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:33:50,438] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:33:50,439] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:33:50,439] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.9']}]}]
[2024-04-08 14:33:56,601] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.9']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:33:56,603] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:33:56,605] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:33:56,605] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:34:00,278] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-08 14:34:00,652] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-08 14:34:03,328] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-08 14:34:03,760] [INFO] [Testing]: Getting status of oracle-9
[2024-04-08 14:34:04,480] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-08 14:34:12,499] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:34:12,502] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:34:12,503] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:34:12,504] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:34:20,602] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-08 14:34:20,995] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-08 14:34:22,601] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-08 14:34:30,485] [INFO] [Testing]: Getting status of oracle-9
[2024-04-08 14:34:33,079] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:34:33,083] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:34:33,087] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:34:33,087] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:34:40,763] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-08 14:34:41,131] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-08 14:34:43,932] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-08 14:34:48,559] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-08 14:35:00,640] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-08 14:35:03,009] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-08 14:35:03,009] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:35:05,824] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:35:05,825] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:35:05,825] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:35:08,807] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:35:08,809] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:35:08,809] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:35:12,108] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:35:12,196] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-oracle-9-amd64-tests] Finished task in 82.14 seconds.
[2024-04-08 14:35:12,206] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-7-amd64-tests] Starting task.
[2024-04-08 14:35:12,606] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:35:12,607] [INFO] TESTER: Running tests for 192.168.57.10
[2024-04-08 14:35:12,607] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.10'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:35:12,616] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:35:12,617] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:35:12,617] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.10']}]}]
[2024-04-08 14:35:19,016] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.10']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:35:19,018] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:35:19,020] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:35:19,020] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:35:22,738] [INFO] [Testing]: Checking connection to centos-7
[2024-04-08 14:35:23,085] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-08 14:35:26,330] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-08 14:35:27,470] [INFO] [Testing]: Getting status of centos-7
[2024-04-08 14:35:28,462] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-08 14:35:36,685] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:35:36,687] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:35:36,690] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:35:36,690] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:35:43,678] [INFO] [Testing]: Checking connection to centos-7
[2024-04-08 14:35:44,102] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-08 14:35:46,759] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-08 14:35:55,502] [INFO] [Testing]: Getting status of centos-7
[2024-04-08 14:35:57,968] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:35:57,971] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:35:57,973] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:35:57,973] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:36:06,743] [INFO] [Testing]: Checking connection to centos-7
[2024-04-08 14:36:07,123] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-08 14:36:10,595] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-08 14:36:13,481] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-08 14:36:29,253] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-08 14:36:31,653] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-08 14:36:31,654] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:36:34,797] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:36:34,799] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:36:34,799] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:36:38,014] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:36:38,015] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:36:38,015] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:36:41,228] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:36:41,303] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-7-amd64-tests] Finished task in 89.09 seconds.
[2024-04-08 14:36:41,309] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-8-amd64-tests] Starting task.
[2024-04-08 14:36:41,703] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:36:41,704] [INFO] TESTER: Running tests for 192.168.57.11
[2024-04-08 14:36:41,704] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.11'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:36:41,711] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:36:41,713] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:36:41,713] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.11']}]}]
[2024-04-08 14:36:48,321] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.11']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:36:48,323] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:36:48,324] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:36:48,324] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:36:52,279] [INFO] [Testing]: Checking connection to centos-8
[2024-04-08 14:36:52,633] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-08 14:36:55,030] [INFO] [Testing]: Stopping wazuh-agent in centos-8
[2024-04-08 14:36:55,979] [INFO] [Testing]: Getting status of centos-8
[2024-04-08 14:36:56,624] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-08 14:37:04,621] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:37:04,624] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:37:04,626] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:37:04,626] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:37:12,184] [INFO] [Testing]: Checking connection to centos-8
[2024-04-08 14:37:12,697] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-08 14:37:14,210] [INFO] [Testing]: Restarting wazuh-agent in centos-8
[2024-04-08 14:37:22,509] [INFO] [Testing]: Getting status of centos-8
[2024-04-08 14:37:24,657] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:37:24,660] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:37:24,663] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:37:24,663] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:37:33,630] [INFO] [Testing]: Checking connection to centos-8
[2024-04-08 14:37:33,952] [INFO] [Testing]: Connection established successfully in centos-8
[2024-04-08 14:37:36,499] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-08 14:37:39,702] [INFO] [Testing]: Uninstalling Agent in centos-8
[2024-04-08 14:38:07,529] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8
[2024-04-08 14:38:09,711] [INFO] [Testing]: Applying filters in checkfiles in centos-8
[2024-04-08 14:38:09,711] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:38:12,562] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:38:12,564] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:38:12,564] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:38:15,337] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:38:15,338] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:38:15,339] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:38:17,911] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:38:17,976] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-8-amd64-tests] Finished task in 96.66 seconds.
[2024-04-08 14:38:17,981] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-7-amd64-tests] Starting task.
[2024-04-08 14:38:18,340] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:38:18,341] [INFO] TESTER: Running tests for 192.168.57.12
[2024-04-08 14:38:18,341] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.12'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:38:18,347] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:38:18,349] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:38:18,349] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.12']}]}]
[2024-04-08 14:38:24,369] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.12']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:38:24,371] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:38:24,373] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:38:24,373] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:38:28,072] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-08 14:38:28,401] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-08 14:38:31,992] [INFO] [Testing]: Stopping wazuh-agent in redhat-7
[2024-04-08 14:38:33,233] [INFO] [Testing]: Getting status of redhat-7
[2024-04-08 14:38:34,237] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-08 14:38:42,491] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:38:42,494] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:38:42,495] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:38:42,495] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:38:48,831] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-08 14:38:49,157] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-08 14:38:51,733] [INFO] [Testing]: Restarting wazuh-agent in redhat-7
[2024-04-08 14:39:00,276] [INFO] [Testing]: Getting status of redhat-7
[2024-04-08 14:39:02,945] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:39:02,947] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:39:02,949] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:39:02,949] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:39:11,457] [INFO] [Testing]: Checking connection to redhat-7
[2024-04-08 14:39:11,812] [INFO] [Testing]: Connection established successfully in redhat-7
[2024-04-08 14:39:16,563] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-08 14:39:20,690] [INFO] [Testing]: Uninstalling Agent in redhat-7
[2024-04-08 14:39:37,371] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-08 14:39:40,515] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-08 14:39:40,515] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:39:43,745] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:39:43,747] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:39:43,747] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:39:46,447] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:39:46,448] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:39:46,448] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:39:49,076] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:39:49,156] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-7-amd64-tests] Finished task in 91.17 seconds.
[2024-04-08 14:39:49,166] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-8-amd64-tests] Starting task.
[2024-04-08 14:39:49,565] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:39:49,566] [INFO] TESTER: Running tests for 192.168.57.13
[2024-04-08 14:39:49,566] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.13'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:39:49,573] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:39:49,575] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:39:49,575] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.13']}]}]
[2024-04-08 14:39:55,842] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.13']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:39:55,844] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:39:55,845] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:39:55,845] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:39:59,253] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-08 14:39:59,559] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-08 14:40:01,835] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-08 14:40:02,721] [INFO] [Testing]: Getting status of redhat-8
[2024-04-08 14:40:03,355] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-08 14:40:11,294] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:40:11,298] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:40:11,300] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:40:11,300] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:40:19,605] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-08 14:40:19,914] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-08 14:40:21,065] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-08 14:40:29,288] [INFO] [Testing]: Getting status of redhat-8
[2024-04-08 14:40:31,201] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:40:31,204] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:40:31,205] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:40:31,205] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:40:34,675] [INFO] [Testing]: Checking connection to redhat-8
[2024-04-08 14:40:35,097] [INFO] [Testing]: Connection established successfully in redhat-8
[2024-04-08 14:40:37,433] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-08 14:40:40,226] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-08 14:41:12,038] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-08 14:41:14,144] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-08 14:41:14,145] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:41:16,871] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:41:16,872] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:41:16,873] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:41:20,030] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:41:20,032] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:41:20,032] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:41:22,732] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:41:22,797] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-8-amd64-tests] Finished task in 93.62 seconds.
[2024-04-08 14:41:22,803] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-amazon-2-amd64-tests] Starting task.
[2024-04-08 14:41:23,151] [INFO] TESTER: Running tests for 192.168.57.2
[2024-04-08 14:41:23,152] [INFO] TESTER: Running tests for 192.168.57.15
[2024-04-08 14:41:23,152] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.15'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-08 14:41:23,159] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-08 14:41:23,160] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:41:23,160] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.15']}]}]
[2024-04-08 14:41:29,297] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.15']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:41:29,299] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:41:29,301] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:41:29,302] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:41:32,805] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-08 14:41:33,158] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-08 14:41:35,225] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-08 14:41:36,074] [INFO] [Testing]: Getting status of amazon-2
[2024-04-08 14:41:36,583] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-08 14:41:44,456] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:41:44,458] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:41:44,460] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:41:44,460] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:41:48,519] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-08 14:41:48,879] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-08 14:41:49,838] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-08 14:41:58,572] [INFO] [Testing]: Getting status of amazon-2
[2024-04-08 14:42:00,052] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:42:00,055] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-08 14:42:00,056] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:42:00,057] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-08 14:42:07,695] [INFO] [Testing]: Checking connection to amazon-2
[2024-04-08 14:42:08,042] [INFO] [Testing]: Connection established successfully in amazon-2
[2024-04-08 14:42:09,395] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-08 14:42:11,428] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-08 14:42:13,460] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-08 14:42:15,556] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-08 14:42:15,556] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-08 14:42:18,304] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-08 14:42:18,305] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:42:18,305] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:42:21,183] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:42:21,184] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC/instance_key'}}}}
[2024-04-08 14:42:21,184] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-08 14:42:23,913] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}}
[2024-04-08 14:42:24,004] [INFO] [1018721] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-amazon-2-amd64-tests] Finished task in 61.20 seconds.
[2024-04-08 14:42:24,015] [INFO] [1018721] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-08 14:42:24,015] [INFO] [1018721] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-08 14:42:24,016] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task.
[2024-04-08 14:42:24,387] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml
[2024-04-08 14:42:24,389] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-DC55D626-982F-4D94-B3A2-2B66585316D9
[2024-04-08 14:42:30,913] [INFO] ALLOCATOR: Instance VAGRANT-DC55D626-982F-4D94-B3A2-2B66585316D9 deleted.
[2024-04-08 14:42:30,989] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 6.97 seconds.
[2024-04-08 14:42:30,999] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task.
[2024-04-08 14:42:31,390] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/track.yaml
[2024-04-08 14:42:31,392] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-2C36D06E-36B8-4E89-8AFB-3390F4032176
[2024-04-08 14:42:37,812] [INFO] ALLOCATOR: Instance VAGRANT-2C36D06E-36B8-4E89-8AFB-3390F4032176 deleted.
[2024-04-08 14:42:37,890] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 6.88 seconds.
[2024-04-08 14:42:37,901] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 14:42:38,451] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 14:42:38,454] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-E5CE849D-8B9F-4238-9518-46EFEBA070EC
[2024-04-08 14:42:45,419] [INFO] ALLOCATOR: Instance VAGRANT-E5CE849D-8B9F-4238-9518-46EFEBA070EC deleted.
[2024-04-08 14:42:45,491] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 7.58 seconds.
[2024-04-08 14:42:45,502] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task.
[2024-04-08 14:42:45,864] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-10-amd64/track.yaml
[2024-04-08 14:42:45,866] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-1ED65402-494C-4E00-A389-7F01DCEA5C4A
[2024-04-08 14:42:52,457] [INFO] ALLOCATOR: Instance VAGRANT-1ED65402-494C-4E00-A389-7F01DCEA5C4A deleted.
[2024-04-08 14:42:52,514] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 7.00 seconds.
[2024-04-08 14:42:52,525] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task.
[2024-04-08 14:42:52,867] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-11-amd64/track.yaml
[2024-04-08 14:42:52,869] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-E4F4A331-95FC-40F9-ADD1-A937E57BDC02
[2024-04-08 14:42:58,679] [INFO] ALLOCATOR: Instance VAGRANT-E4F4A331-95FC-40F9-ADD1-A937E57BDC02 deleted.
[2024-04-08 14:42:58,747] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 6.21 seconds.
[2024-04-08 14:42:58,758] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task.
[2024-04-08 14:42:59,082] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-12-amd64/track.yaml
[2024-04-08 14:42:59,083] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-4C45BCDA-9D2D-4AEE-9CB9-D44C56832065
[2024-04-08 14:43:04,961] [INFO] ALLOCATOR: Instance VAGRANT-4C45BCDA-9D2D-4AEE-9CB9-D44C56832065 deleted.
[2024-04-08 14:43:05,020] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 6.25 seconds.
[2024-04-08 14:43:05,025] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task.
[2024-04-08 14:43:05,356] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-oracle-9-amd64/track.yaml
[2024-04-08 14:43:05,358] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-92519BAB-97C3-43B5-B2A3-0507AB5F6B2A
[2024-04-08 14:43:11,756] [INFO] ALLOCATOR: Instance VAGRANT-92519BAB-97C3-43B5-B2A3-0507AB5F6B2A deleted.
[2024-04-08 14:43:11,816] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 6.78 seconds.
[2024-04-08 14:43:11,821] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task.
[2024-04-08 14:43:12,162] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml
[2024-04-08 14:43:12,164] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-85BD6385-337F-4757-84A4-58A6AF1CE0E7
[2024-04-08 14:43:17,894] [INFO] ALLOCATOR: Instance VAGRANT-85BD6385-337F-4757-84A4-58A6AF1CE0E7 deleted.
[2024-04-08 14:43:17,959] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 6.13 seconds.
[2024-04-08 14:43:17,965] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task.
[2024-04-08 14:43:18,279] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml
[2024-04-08 14:43:18,281] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-585E0241-D5F6-4C23-952D-9A234ED9B0D6
[2024-04-08 14:43:24,650] [INFO] ALLOCATOR: Instance VAGRANT-585E0241-D5F6-4C23-952D-9A234ED9B0D6 deleted.
[2024-04-08 14:43:24,706] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 6.74 seconds.
[2024-04-08 14:43:24,712] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task.
[2024-04-08 14:43:25,054] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml
[2024-04-08 14:43:25,056] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-4E427553-3C55-456F-9EB3-A1D2174FD71E
[2024-04-08 14:43:31,112] [INFO] ALLOCATOR: Instance VAGRANT-4E427553-3C55-456F-9EB3-A1D2174FD71E deleted.
[2024-04-08 14:43:31,179] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 6.46 seconds.
[2024-04-08 14:43:31,189] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task.
[2024-04-08 14:43:31,534] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml
[2024-04-08 14:43:31,535] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-5CD7C16D-D9AA-4A99-A2DA-771624A371D4
[2024-04-08 14:43:37,592] [INFO] ALLOCATOR: Instance VAGRANT-5CD7C16D-D9AA-4A99-A2DA-771624A371D4 deleted.
[2024-04-08 14:43:37,659] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 6.46 seconds.
[2024-04-08 14:43:37,670] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task.
[2024-04-08 14:43:38,008] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml
[2024-04-08 14:43:38,009] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-CD45805F-520C-4CF6-89A4-2B33FD019D2A
[2024-04-08 14:43:44,345] [INFO] ALLOCATOR: Instance VAGRANT-CD45805F-520C-4CF6-89A4-2B33FD019D2A deleted.
[2024-04-08 14:43:44,413] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 6.73 seconds.
[2024-04-08 14:43:44,424] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task.
[2024-04-08 14:43:44,753] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml
[2024-04-08 14:43:44,754] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-6C7AF4F8-7CAC-42CA-9711-96FC62B035C5
[2024-04-08 14:43:50,727] [INFO] ALLOCATOR: Instance VAGRANT-6C7AF4F8-7CAC-42CA-9711-96FC62B035C5 deleted.
[2024-04-08 14:43:50,783] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 6.35 seconds.
[2024-04-08 14:43:50,794] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task.
[2024-04-08 14:43:51,137] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml
[2024-04-08 14:43:51,138] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC
[2024-04-08 14:43:57,507] [INFO] ALLOCATOR: Instance VAGRANT-2954646C-69AE-4690-BDEC-42955E8416FC deleted.
[2024-04-08 14:43:57,575] [INFO] [1018721] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 6.77 seconds.

Test is working ok, however, the agent (same OS than the manager (ubuntu-22.04) was jumped in the testing

@fcaffieri
Copy link
Member Author

fcaffieri commented Apr 8, 2024

Launch new battery of test after fixing the bugs


Vagrant: PART 1

  • Part 1: install, register, restart,stop,uninstall on all agents with clean up 🟢 ( Antonio)
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢

test1.txt

  • Part 2: install, register, restart,stop,uninstall on all agents with clean up 🟢 ( Antonio)
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢

test2.txt


  • Part 1: install with provision and stop on all agents with clean up 🟢 fede
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    on-error: "abort-all"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"
    on-error: "abort-all"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"
Result 🟢

workflow.log

  • Part 2: install with provision and stop on all agents with clean up 🟢 fede
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    on-error: "abort-all"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"
    on-error: "abort-all"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"
Result 🟢

workflow.log

@pro-akim
Copy link
Member

pro-akim commented Apr 8, 2024


  • Part 1: install with provision and restart on all agents with clean up ( Antonio)
input 🟡

This error is related to:

[ERROR] [Testing]: agent-linux-ubuntu-2204-amd64 is not present in agent_control information

#5125 (comment)

version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "restart"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"

      
Result 🟡

test1.txt

  • Part 2: install with provision and restart on all agents with clean up ( Antonio)
input 🟢
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "restart"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"

Result 🟢

test2.txt


  • Part 1: install with provision and uninstall on all agents with clean up ( Antonio)
input 🟡

This error is related to:

[2024-04-08 19:36:23,396] [ERROR] [Testing]: Time out, Expected condition was not met

Seems related to the comment in:
#5125 (comment)

This time, the agent was installed, but it is not present in the agent_list of the manager

image

Here is possible to see that the uninstall has worked properly, but the validation of the naming did not work because the agent was not registered

image

This can be because the naming has a conflict with the naming of the manager (same name)

version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"

Result 🟡

test3.txt

  • Part 2: install with provision and uninstall on all agents with clean up ( Antonio)
input 🟢
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: vagrant
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"

Result 🟢

test4.txt

@pro-akim
Copy link
Member

pro-akim commented Apr 8, 2024

AWS: (Fede)


  • Part 1: Test install, register, restart, stop, uninstall on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"


  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢

Test_part1.log

  • Part 2: Test install, register, restart, stop, uninstall on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"


  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "install,registration,restart,stop,uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-manager-{manager-os}"
      - "allocate-agent-{agent}"
Result 🟢

workflow.log


  • install with provision and stop on all agents with clean up
Result 🟢
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-20.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    on-error: "abort-all"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"
    on-error: "abort-all"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "stop"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"



Result 🟢

workflow.log


  • install with provision and restart on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    on-error: "abort-all"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"
    on-error: "abort-all"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "restart"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"
Result 🟢

workflow.log


  • install with provision and uninstall on all agents with clean up 🟢
Input yaml
version: 0.1
description: This workflow is used to test agents deployment por DDT1 PoC
variables:
  agent-os:
    - linux-ubuntu-18.04-amd64
    - linux-ubuntu-20.04-amd64
    - linux-ubuntu-22.04-amd64
    - linux-debian-10-amd64
    - linux-debian-11-amd64
    - linux-debian-12-amd64
    - linux-oracle-9-amd64
    - linux-centos-7-amd64
    - linux-centos-8-amd64
    - linux-redhat-7-amd64
    - linux-redhat-8-amd64
    - linux-redhat-9-amd64
    - linux-amazon-2-amd64
  manager-os: linux-ubuntu-22.04-amd64
  infra-provider: aws
  working-dir: /tmp/dtt1-poc

tasks:
  # Unique manager allocate task
  - task: "allocate-manager-{manager-os}"
    description: "Allocate resources for the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: large
          - composite-name: "{manager-os}"
          - inventory-output: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    on-error: "abort-all"
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/manager-{manager-os}/track.yaml"

  # Unique agent allocate task
  - task: "allocate-agent-{agent}"
    description: "Allocate resources for the agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: create
          - provider: "{infra-provider}"
          - size: small
          - composite-name: "{agent}"
          - inventory-output: "{working-dir}/agent-{agent}/inventory.yaml"
          - track-output: "{working-dir}/agent-{agent}/track.yaml"
          - label-termination-date: "1d"
          - label-team: "qa"
    foreach:
      - variable: agent-os
        as: agent
    cleanup:
      this: process
      with:
        path: python3
        args:
          - modules/allocation/main.py
          - action: delete
          - track-output: "{working-dir}/agent-{agent}/track.yaml"

  # Unique manager provision task
  - task: "provision-manager-{manager-os}"
    description: "Provision the manager."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-manager
              type: assistant
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-manager-{manager-os}"
    on-error: "abort-all"

  # Generic agent provision task
  - task: "provision-install-{agent}"
    description: "Provision resources for the {agent} agent."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/provision/main.py
          - inventory: "{working-dir}/agent-{agent}/inventory.yaml"
          - dependencies:
            - manager: "{working-dir}/manager-{manager-os}/inventory.yaml"
          - install:
            - component: wazuh-agent
              type: package
              version: 4.7.3
              live: True
    depends-on:
      - "allocate-agent-{agent}"
      - "provision-manager-{manager-os}"
    foreach:
      - variable: agent-os
        as: agent

  # Generic agent test task
  - task: "run-agent-{agent}-tests"
    description: "Run tests install for the agent {agent}."
    do:
      this: process
      with:
        path: python3
        args:
          - modules/testing/main.py
          - targets:
            - wazuh-1: "{working-dir}/manager-{manager-os}/inventory.yaml"
            - agent: "{working-dir}/agent-{agent}/inventory.yaml"
          - tests: "uninstall"
          - component: "agent"
          - wazuh-version: "4.7.3"
          - wazuh-revision: "40714"
          - live: "True"
    foreach:
      - variable: agent-os
        as: agent
    depends-on:
      - "provision-install-{agent}"
Result 🟢

workflow.log


Summary

  1. Centos-8 AMI fixed
  2. When manager and agent has the same Os, instability in the installation and registration was found
  3. Threads are not working for running tests.

@wazuhci wazuhci moved this from In progress to Pending review in Release 4.9.0 Apr 9, 2024
@wazuhci wazuhci moved this from Pending review to In review in Release 4.9.0 Apr 9, 2024
@wazuh wazuh deleted a comment from fcaffieri Apr 9, 2024
@rauldpm
Copy link
Member

rauldpm commented Apr 9, 2024

Review notes

@wazuhci wazuhci moved this from In review to On hold in Release 4.9.0 Apr 9, 2024
@pro-akim
Copy link
Member

pro-akim commented Apr 9, 2024

Update

SUSE -> connection error -> create an issue bug for the DevOps team to investigate if AMI is correct, if yes, open an issue for the QA team


We need to investigate if this is a testing provisioning error or not -> QA issue bug

  1. Installing tar manually in oracle-9
YAML file

[root@ip-172-31-89-138 ec2-user]# apt install tar
bash: apt: command not found
[root@ip-172-31-89-138 ec2-user]# yum install tar
Last metadata expiration check: 0:04:07 ago on Tue 09 Apr 2024 04:53:23 PM UTC.
Dependencies resolved.
=========================================================================================================
 Package          Architecture        Version                       Repository                      Size
=========================================================================================================
Installing:
 tar              x86_64              2:1.34-6.el9_1                ol9_baseos_latest              926 k

Transaction Summary
=========================================================================================================
Install  1 Package

Total download size: 926 k
Installed size: 3.0 M
Is this ok [y/N]: y
Downloading Packages:
tar-1.34-6.el9_1.x86_64.rpm                                               18 MB/s | 926 kB     00:00    
---------------------------------------------------------------------------------------------------------
Total                                                                     18 MB/s | 926 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                 1/1 
  Installing       : tar-2:1.34-6.el9_1.x86_64                                                       1/1 
  Running scriptlet: tar-2:1.34-6.el9_1.x86_64                                                       1/1 
  Verifying        : tar-2:1.34-6.el9_1.x86_64                                                       1/1 

Installed:
  tar-2:1.34-6.el9_1.x86_64                                                                              

Complete!

The test worked OK

Results
[2024-04-09 18:57:45,889] [INFO] [77461] [MainThread] [workflow_engine]: Executing DAG tasks.
[2024-04-09 18:57:45,889] [INFO] [77461] [MainThread] [workflow_engine]: Executing tasks in parallel.
[2024-04-09 18:57:45,890] [INFO] [77461] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Starting task.
[2024-04-09 18:57:46,205] [INFO] TESTER: Running tests for ec2-44-204-174-234.compute-1.amazonaws.com
[2024-04-09 18:57:46,206] [INFO] TESTER: Running tests for ec2-3-86-197-255.compute-1.amazonaws.com
[2024-04-09 18:57:46,207] [DEBUG] TESTER: Using extra vars: {'component': 'manager', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['ec2-44-204-174-234.compute-1.amazonaws.com', 'ec2-3-86-197-255.compute-1.amazonaws.com'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'}
[2024-04-09 18:57:46,213] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml
[2024-04-09 18:57:46,214] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'ec2-44-204-174-234.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ec2-user', 'ansible_ssh_private_key_file': '/home/akim/Desktop/personal/Ephemeral'}}}}
[2024-04-09 18:57:46,214] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['ec2-44-204-174-234.compute-1.amazonaws.com', 'ec2-3-86-197-255.compute-1.amazonaws.com']}]}]
[2024-04-09 18:57:52,261] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['ec2-44-204-174-234.compute-1.amazonaws.com', 'ec2-3-86-197-255.compute-1.amazonaws.com']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-09 18:57:52,263] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-09 18:57:52,265] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'ec2-44-204-174-234.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ec2-user', 'ansible_ssh_private_key_file': '/home/akim/Desktop/personal/Ephemeral'}}}}
[2024-04-09 18:57:52,265] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test install for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_install.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-09 18:57:55,544] [INFO] [Testing]: Checking connection to oracle-9
[2024-04-09 18:57:57,056] [INFO] [Testing]: Connection established successfully in oracle-9
[2024-04-09 18:58:04,174] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-09 18:58:04,174] [INFO] [Testing]: Checking connection to centos-7
[2024-04-09 18:58:05,761] [INFO] [Testing]: Connection established successfully in centos-7
[2024-04-09 18:58:07,912] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-09 18:58:59,991] [INFO] [Testing]: File permissions modified to be handled
[2024-04-09 18:59:05,182] [INFO] [Testing]: File copied from oracle-9 (44.204.174.234) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-09 18:59:08,226] [INFO] [Testing]: Sending file from /home/ec2-user/wazuh-install-files.tar to centos-7 (3.86.197.255)
[2024-04-09 18:59:12,527] [INFO] [Testing]: File permissions were restablished
[2024-04-09 18:59:12,527] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-09 18:59:17,032] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-09 18:59:29,015] [INFO] [Testing]: Installing Manager in oracle-9
[2024-04-09 19:00:42,788] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-09 19:00:53,507] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-09 19:00:53,507] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-09 19:00:56,156] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-09 19:01:09,264] [INFO] [Testing]: Installing Manager in centos-7
[2024-04-09 19:02:11,728] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-09 19:02:21,910] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-09 19:02:21,910] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-09 19:02:21,910] [INFO] [Testing]: Getting status of oracle-9
[2024-04-09 19:02:26,985] [INFO] [Testing]: Getting status of centos-7
[2024-04-09 19:03:02,724] [INFO] [Testing]: Cluster configured in: oracle-9
[2024-04-09 19:03:33,007] [INFO] [Testing]: Cluster configured in: centos-7
[2024-04-09 19:03:35,595] [INFO] [Testing]: Getting status of oracle-9
[2024-04-09 19:03:38,003] [INFO] [Testing]: Getting status of centos-7
[2024-04-09 19:04:36,614] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test install for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_install.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-09 19:04:36,616] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-09 19:04:36,618] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'ec2-44-204-174-234.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ec2-user', 'ansible_ssh_private_key_file': '/home/akim/Desktop/personal/Ephemeral'}}}}
[2024-04-09 19:04:36,618] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-09 19:04:42,733] [INFO] [Testing]: Restarting wazuh-manager in centos-7
[2024-04-09 19:04:58,532] [INFO] [Testing]: Getting status of oracle-9
[2024-04-09 19:05:01,210] [INFO] [Testing]: Getting status of centos-7
[2024-04-09 19:05:03,995] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_restart.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-09 19:05:03,997] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-09 19:05:03,999] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'ec2-44-204-174-234.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ec2-user', 'ansible_ssh_private_key_file': '/home/akim/Desktop/personal/Ephemeral'}}}}
[2024-04-09 19:05:03,999] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-09 19:05:10,071] [INFO] [Testing]: Stopping wazuh-manager in centos-7
[2024-04-09 19:05:16,049] [INFO] [Testing]: Getting status of oracle-9
[2024-04-09 19:05:18,206] [INFO] [Testing]: Getting status of centos-7
[2024-04-09 19:05:20,350] [INFO] [Testing]: Restarting wazuh-manager in centos-7
[2024-04-09 19:05:32,871] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test stop for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_stop.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-09 19:05:32,873] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml
[2024-04-09 19:05:32,875] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'ec2-44-204-174-234.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ec2-user', 'ansible_ssh_private_key_file': '/home/akim/Desktop/personal/Ephemeral'}}}}
[2024-04-09 19:05:32,875] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}]
[2024-04-09 19:05:39,154] [INFO] [Testing]: Getting status of oracle-9
[2024-04-09 19:05:41,375] [INFO] [Testing]: Getting status of centos-7
[2024-04-09 19:05:45,642] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-09 19:05:55,901] [INFO] [Testing]: Uninstalling Manager in oracle-9
[2024-04-09 19:06:17,311] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-09 19:06:27,429] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-09 19:06:27,429] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-09 19:06:29,676] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-09 19:06:40,134] [INFO] [Testing]: Uninstalling Manager in centos-7
[2024-04-09 19:07:05,823] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-09 19:07:16,890] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-09 19:07:16,891] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-09 19:07:21,847] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test uninstall for manager', 'command': "python3 -m pytest modules/testing/tests/test_manager/test_uninstall.py  -v --wazuh_version=4.7.3 --wazuh_revision=40714  --component=manager --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}}
[2024-04-09 19:07:21,848] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'ec2-44-204-174-234.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ec2-user', 'ansible_ssh_private_key_file': '/home/akim/Desktop/personal/Ephemeral'}}}}
[2024-04-09 19:07:21,848] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-09 19:07:34,937] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-44-204-174-234.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-44-204-174-234.compute-1.amazonaws.com': 1}, 'changed': {}}
[2024-04-09 19:07:34,939] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'ec2-44-204-174-234.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ec2-user', 'ansible_ssh_private_key_file': '/home/akim/Desktop/personal/Ephemeral'}}}}
[2024-04-09 19:07:34,939] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml
[2024-04-09 19:07:46,463] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-44-204-174-234.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-44-204-174-234.compute-1.amazonaws.com': 1}, 'changed': {}}
[2024-04-09 19:07:46,537] [INFO] [77461] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Finished task in 600.65 seconds.
[2024-04-09 19:07:46,547] [INFO] [77461] [MainThread] [workflow_engine]: Executing Reverse DAG tasks.
[2024-04-09 19:07:46,548] [INFO] [77461] [MainThread] [workflow_engine]: Executing tasks in parallel.

  1. Checking manually in amazon-linux-2023

It has already curl but it is not used for the Wazuh installation

Results
[root@ip-172-31-82-190 ec2-user]# bash wazuh-install.sh --wazuh-server wazuh-1 -i
09/04/2024 17:19:25 INFO: Starting Wazuh installation assistant. Wazuh version: 4.7.3
09/04/2024 17:19:25 INFO: Verbose logging redirected to /var/log/wazuh-install.log
09/04/2024 17:19:28 INFO: --- Dependencies ---
09/04/2024 17:19:28 INFO: Installing curl.
09/04/2024 17:19:29 ERROR: Cannot install dependency: curl.

[root@ip-172-31-82-190 ec2-user]# curl --help
Usage: curl [options...] <url>
 -d, --data <data>          HTTP POST data
 -f, --fail                 Fail fast with no output on HTTP errors
 -h, --help <category>      Get help for commands
 -i, --include              Include protocol response headers in the output
 -o, --output <file>        Write to file instead of stdout
 -O, --remote-name          Write output to a file named as the remote file
 -s, --silent               Silent mode
 -T, --upload-file <file>   Transfer local FILE to destination
 -u, --user <user:password> Server user and password
 -A, --user-agent <name>    Send User-Agent <name> to server
 -v, --verbose              Make the operation more talkative
 -V, --version              Show version number and quit

This is not the full help, this menu is stripped into categories.
Use "--help category" to get an overview of all categories.
For all options use the manual or "--help all".

Even if the provision module installs the curl, it will not work.

Edit:


Problem with same SO name nomenclature between agent/manager -> QA issue bug


Investigate if the log is not identifying the Provision module in the log messages or if we need to improve it -> QA issue provision -> level log, pid, thread pool, module name


Create bug issue to fix typos in code (YAML input)

@rauldpm
Copy link
Member

rauldpm commented Apr 9, 2024

LGTM

@wazuhci wazuhci moved this from In progress to Pending final review in Release 4.9.0 Apr 9, 2024
@wazuhci wazuhci moved this from Pending final review to In final review in Release 4.9.0 Apr 9, 2024
@fcaffieri
Copy link
Member Author

LGTM

@wazuhci wazuhci moved this from In final review to Done in Release 4.9.0 Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

4 participants