wazuh / wazuh-qa

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

DTT1 - Log imports are wrong in test module #5232

Closed pro-akim closed 2 weeks ago

pro-akim commented 2 weeks ago

Some logger imports are incorrect in the test module.

image

They must be corrected and tested

mhamra commented 2 weeks ago

UPDATE

These results were obtained after modifying the imports and running workflow files with the Vagrant provider. Both runs have succeded.

TEST with agents

workflow file ``` version: 0.1 description: This workflow is used to test agents' deployment for DDT1 PoC variables: agent-os: - linux-ubuntu-18.04-amd64 # - linux-ubuntu-20.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" - 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" on-error: "abort-all" 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" depends-on: - "provision-manager-{manager-os}" # 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 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}" ```
console log ``` (dtt-test) marcelo@marcelo-B460-AORUS-PRO-AC:~/wazuh/wazuh-qa/deployability$ python -m workflow_engine --threads 6 /home/marcelo/wazuh/wazuh-qa/deployability/modules/workflow_engine/examples/agent/vagrant/test-agent-complete-1.yaml [2024-04-17 10:25:41] [INFO] [701342] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-17 10:25:41] [INFO] [701342] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-17 10:25:41] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 10:26:26] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 44.62 seconds. [2024-04-17 10:26:26] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 10:36:43] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Finished task in 617.19 seconds. [2024-04-17 10:36:43] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task. [2024-04-17 10:37:31] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 47.94 seconds. [2024-04-17 10:37:31] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Starting task. [2024-04-17 10:39:33] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Finished task in 121.68 seconds. [2024-04-17 10:39:33] [INFO] [701342] [MainThread] [workflow_engine]: Executing Reverse DAG tasks. [2024-04-17 10:39:33] [INFO] [701342] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-17 10:39:33] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task. [2024-04-17 10:39:38] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 5.03 seconds. [2024-04-17 10:39:38] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 10:39:43] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 5.26 seconds. ```
workflow log file ``` [2024-04-17 10:25:41,702] [INFO] [701342] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-17 10:25:41,702] [INFO] [701342] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-17 10:25:41,703] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 10:25:41,937] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-17 10:25:41,937] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-17 10:25:41,937] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-17 10:25:45,347] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-17 10:25:45,347] [INFO] ALLOCATOR: Instance VAGRANT-B009420A-AC42-44B9-B67C-22114527197F created. [2024-04-17 10:26:22,022] [INFO] ALLOCATOR: Instance VAGRANT-B009420A-AC42-44B9-B67C-22114527197F started. [2024-04-17 10:26:24,145] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-17 10:26:26,267] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-17 10:26:26,325] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 44.62 seconds. [2024-04-17 10:26:26,340] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 10:26:26,591] [DEBUG] PROVISIONER: Setting dependencies: {} for wazuh-manager component. [2024-04-17 10:26:26,591] [INFO] PROVISIONER: Initiating provisionment. [2024-04-17 10:26:26,591] [DEBUG] PROVISIONER: Running action install for components: [ComponentInfo(component='wazuh-manager', type='assistant', version='4.7.3', dependencies=None, live=True)] [2024-04-17 10:26:26,591] [INFO] PROVISIONER: Provisioning "wazuh-manager"... [2024-04-17 10:26:26,592] [DEBUG] PROVISIONER: Get OS family for 192.168.57.2. [2024-04-17 10:26:26,592] [DEBUG] PROVISIONER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:26:26,592] [DEBUG] PROVISIONER: 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-17 10:26:28,244] [DEBUG] PROVISIONER: 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-17 10:26:28,245] [DEBUG] PROVISIONER: OS family: Debian. [2024-04-17 10:26:28,245] [DEBUG] PROVISIONER: Render playbook with vars: {'component': 'wazuh-manager', 'version': '4.7.3', 'live': True, 'type': 'assistant', 'dependencies': None, 'templates_path': '/home/marcelo/wazuh/wazuh-qa/deployability/modules/provision/playbooks/wazuh/assistant/install', 'templates_order': ['download.j2', 'install.j2'], 'ansible_os_family': 'Debian'}. [2024-04-17 10:26:28,245] [DEBUG] PROVISIONER: Templates found: ['download.j2', 'install.j2'] [2024-04-17 10:26:28,250] [DEBUG] PROVISIONER: Rendering template download.j2 [2024-04-17 10:26:28,251] [DEBUG] PROVISIONER: Rendering template install.j2 [2024-04-17 10:26:28,252] [DEBUG] PROVISIONER: [{'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 assistant', 'shell': 'bash ./wazuh-install.sh -a -i'}] [2024-04-17 10:26:28,252] [DEBUG] PROVISIONER: Tasks to execute: [{'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 assistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]. [2024-04-17 10:26:28,252] [INFO] PROVISIONER: Execute install for wazuh-manager. [2024-04-17 10:26:28,252] [DEBUG] PROVISIONER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:26:28,252] [DEBUG] PROVISIONER: 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 assistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]} [2024-04-17 10:36:43,496] [DEBUG] PROVISIONER: 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 assistant', '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-17 10:36:43,497] [INFO] PROVISIONER: Provision of "wazuh-manager" complete successfully. [2024-04-17 10:36:43,497] [INFO] PROVISIONER: All components provisioned successfully. [2024-04-17 10:36:43,497] [DEBUG] PROVISIONER: Provision summary: {'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-17 10:36:43,540] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Finished task in 617.19 seconds. [2024-04-17 10:36:43,546] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task. [2024-04-17 10:36:43,817] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-17 10:36:43,818] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-17 10:36:43,818] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-17 10:36:47,304] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-17 10:36:47,304] [INFO] ALLOCATOR: Instance VAGRANT-F26FCD50-7DB4-4AFC-9420-3245FCCA3E61 created. [2024-04-17 10:37:26,489] [INFO] ALLOCATOR: Instance VAGRANT-F26FCD50-7DB4-4AFC-9420-3245FCCA3E61 started. [2024-04-17 10:37:29,011] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml [2024-04-17 10:37:31,443] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml [2024-04-17 10:37:31,493] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 47.94 seconds. [2024-04-17 10:37:31,504] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Starting task. [2024-04-17 10:37:31,765] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-17 10:37:31,766] [INFO] TESTER: Running tests for 192.168.57.3 [2024-04-17 10:37:31,767] [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/marcelo/wazuh/wazuh-qa/deployability', 'current_user': 'marcelo'} [2024-04-17 10:37:31,769] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-17 10:37:31,770] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:37:31,770] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/marcelo/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.3']}]}] [2024-04-17 10:37:33,471] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/marcelo/.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-17 10:37:33,473] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 10:37:33,474] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:37:33,474] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Test install for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_install.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/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 10:37:35,244] [INFO] TESTER: Checking connection to ubuntu-18.04 [2024-04-17 10:37:35,479] [INFO] TESTER: Connection established successfully in ubuntu-18.04 [2024-04-17 10:37:36,159] [INFO] TESTER: Checking connection to ubuntu-22.04 [2024-04-17 10:37:36,409] [INFO] TESTER: Connection established successfully in ubuntu-22.04 [2024-04-17 10:37:36,849] [INFO] TESTER: No Firewall to disable on ubuntu-18.04 [2024-04-17 10:37:37,037] [INFO] TESTER: Manager is already installed in ubuntu-22.04 [2024-04-17 10:37:37,632] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-18.04 [2024-04-17 10:37:41,352] [INFO] TESTER: Installing Agent in ubuntu-18.04 [2024-04-17 10:37:51,663] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-18.04 [2024-04-17 10:37:53,992] [INFO] TESTER: Applying filters in checkfiles in ubuntu-18.04 [2024-04-17 10:37:53,993] [INFO] TESTER: Pre and post install 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-17 10:37:54,413] [INFO] TESTER: Getting status of ubuntu-18.04 [2024-04-17 10:37:55,934] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Test install for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_install.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/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 10:37:55,936] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 10:37:55,938] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:37:55,938] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Test registration for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_registration.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/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 10:37:57,740] [INFO] TESTER: Checking connection to ubuntu-18.04 [2024-04-17 10:37:58,031] [INFO] TESTER: Connection established successfully in ubuntu-18.04 [2024-04-17 10:38:07,057] [INFO] TESTER: Getting status of ubuntu-18.04 [2024-04-17 10:38:41,051] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Test registration for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_registration.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/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 10:38:41,052] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 10:38:41,054] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:38:41,054] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 10:38:42,890] [INFO] TESTER: Checking connection to ubuntu-18.04 [2024-04-17 10:38:43,173] [INFO] TESTER: Connection established successfully in ubuntu-18.04 [2024-04-17 10:38:45,161] [INFO] TESTER: Restarting wazuh-agent in ubuntu-18.04 [2024-04-17 10:38:53,824] [INFO] TESTER: Getting status of ubuntu-18.04 [2024-04-17 10:38:55,901] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 10:38:55,903] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 10:38:55,904] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:38:55,904] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 10:38:57,811] [INFO] TESTER: Checking connection to ubuntu-18.04 [2024-04-17 10:38:58,058] [INFO] TESTER: Connection established successfully in ubuntu-18.04 [2024-04-17 10:39:01,151] [INFO] TESTER: Stopping wazuh-agent in ubuntu-18.04 [2024-04-17 10:39:02,906] [INFO] TESTER: Getting status of ubuntu-18.04 [2024-04-17 10:39:03,764] [INFO] TESTER: Restarting wazuh-agent in ubuntu-18.04 [2024-04-17 10:39:11,625] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 10:39:11,626] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 10:39:11,628] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:39:11,628] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 10:39:13,457] [INFO] TESTER: Checking connection to ubuntu-18.04 [2024-04-17 10:39:13,715] [INFO] TESTER: Connection established successfully in ubuntu-18.04 [2024-04-17 10:39:17,529] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-18.04 [2024-04-17 10:39:20,844] [INFO] TESTER: Uninstalling Agent in ubuntu-18.04 [2024-04-17 10:39:24,644] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-18.04 [2024-04-17 10:39:26,914] [INFO] TESTER: Applying filters in checkfiles in ubuntu-18.04 [2024-04-17 10:39:26,914] [INFO] TESTER: 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-17 10:39:29,137] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 10:39:29,138] [INFO] TESTER: Cleaning up [2024-04-17 10:39:29,138] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:39:29,138] [DEBUG] TESTER: Running playbook: /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-17 10:39:31,242] [DEBUG] TESTER: Playbook /home/marcelo/wazuh/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-17 10:39:31,243] [INFO] TESTER: Cleaning up [2024-04-17 10:39:31,243] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-B009420A-AC42-44B9-B67C-22114527197F/instance_key'}}}} [2024-04-17 10:39:31,243] [DEBUG] TESTER: Running playbook: /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-17 10:39:33,129] [DEBUG] TESTER: Playbook /home/marcelo/wazuh/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-17 10:39:33,197] [INFO] [701342] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Finished task in 121.68 seconds. [2024-04-17 10:39:33,207] [INFO] [701342] [MainThread] [workflow_engine]: Executing Reverse DAG tasks. [2024-04-17 10:39:33,208] [INFO] [701342] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-17 10:39:33,208] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task. [2024-04-17 10:39:33,506] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml [2024-04-17 10:39:33,508] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-F26FCD50-7DB4-4AFC-9420-3245FCCA3E61 [2024-04-17 10:39:38,205] [INFO] ALLOCATOR: Instance VAGRANT-F26FCD50-7DB4-4AFC-9420-3245FCCA3E61 deleted. [2024-04-17 10:39:38,250] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 5.03 seconds. [2024-04-17 10:39:38,260] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 10:39:38,521] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-17 10:39:38,522] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-B009420A-AC42-44B9-B67C-22114527197F [2024-04-17 10:39:43,459] [INFO] ALLOCATOR: Instance VAGRANT-B009420A-AC42-44B9-B67C-22114527197F deleted. [2024-04-17 10:39:43,529] [INFO] [701342] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 5.26 seconds. ```

TEST with manager

workflow file ``` version: 0.1 description: This workflow is used to test manager deployment for DDT1 PoC variables: 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" on-error: "abort-all" 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-ubuntu-20.04-amd64/inventory.yaml" - wazuh-2: "{working-dir}/manager-linux-ubuntu-22.04-amd64/inventory.yaml" - wazuh-3: "{working-dir}/manager-linux-oracle-9-amd64/inventory.yaml" # - wazuh-4: "{working-dir}/manager-linux-centos-7-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" depends-on: - "allocate-manager-linux-ubuntu-20.04-amd64" - "allocate-manager-linux-ubuntu-22.04-amd64" - "allocate-manager-linux-oracle-9-amd64" ```
console log ``` (dtt-test) marcelo@marcelo-B460-AORUS-PRO-AC:~/wazuh/wazuh-qa/deployability$ python -m workflow_engine /home/marcelo/wazuh/wazuh-qa/deployability/modules/workflow_engine/examples/manager/vagrant/dtt1-managers-poc-vagrant.yaml [2024-04-17 13:37:26] [INFO] [760544] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-17 13:37:26] [INFO] [760544] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-17 13:37:26] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task. [2024-04-17 13:38:14] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Finished task in 47.68 seconds. [2024-04-17 13:38:14] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 13:38:59] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 45.31 seconds. [2024-04-17 13:38:59] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Starting task. [2024-04-17 13:39:56] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Finished task in 56.72 seconds. [2024-04-17 13:39:56] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Starting task. [2024-04-17 13:52:34] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Finished task in 757.62 seconds. [2024-04-17 13:52:34] [INFO] [760544] [MainThread] [workflow_engine]: Executing Reverse DAG tasks. [2024-04-17 13:52:34] [INFO] [760544] [MainThread] [workflow_engine]: Executing tasks in parallel. ```
workflow log file ``` [2024-04-17 13:37:26,785] [INFO] [760544] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-17 13:37:26,785] [INFO] [760544] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-17 13:37:26,786] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Starting task. [2024-04-17 13:37:26,999] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-17 13:37:26,999] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-17 13:37:26,999] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-17 13:37:30,328] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-17 13:37:30,328] [INFO] ALLOCATOR: Instance VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA created. [2024-04-17 13:38:10,116] [INFO] ALLOCATOR: Instance VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA started. [2024-04-17 13:38:12,284] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-20.04-amd64/inventory.yaml [2024-04-17 13:38:14,437] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-20.04-amd64/track.yaml [2024-04-17 13:38:14,469] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-20.04-amd64] Finished task in 47.68 seconds. [2024-04-17 13:38:14,474] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-17 13:38:14,684] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-17 13:38:14,684] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-17 13:38:14,684] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-17 13:38:18,182] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-17 13:38:18,182] [INFO] ALLOCATOR: Instance VAGRANT-9DAF4EF3-58B1-4BD9-A3DA-88C0439BA778 created. [2024-04-17 13:38:55,408] [INFO] ALLOCATOR: Instance VAGRANT-9DAF4EF3-58B1-4BD9-A3DA-88C0439BA778 started. [2024-04-17 13:38:57,577] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-17 13:38:59,743] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-17 13:38:59,780] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 45.31 seconds. [2024-04-17 13:38:59,785] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Starting task. [2024-04-17 13:39:00,017] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-17 13:39:00,017] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-17 13:39:00,017] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-17 13:39:03,610] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-17 13:39:03,610] [INFO] ALLOCATOR: Instance VAGRANT-D6543F80-6B7D-49E3-A14A-BF43CE8EFBA7 created. [2024-04-17 13:39:51,906] [INFO] ALLOCATOR: Instance VAGRANT-D6543F80-6B7D-49E3-A14A-BF43CE8EFBA7 started. [2024-04-17 13:39:54,188] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml [2024-04-17 13:39:56,478] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-oracle-9-amd64/track.yaml [2024-04-17 13:39:56,515] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-oracle-9-amd64] Finished task in 56.72 seconds. [2024-04-17 13:39:56,526] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Starting task. [2024-04-17 13:39:56,783] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-17 13:39:56,783] [INFO] TESTER: Running tests for 192.168.57.3 [2024-04-17 13:39:56,784] [INFO] TESTER: Running tests for 192.168.57.4 [2024-04-17 13:39:56,784] [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': ['192.168.57.2', '192.168.57.3', '192.168.57.4'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/marcelo/wazuh/wazuh-qa/deployability', 'current_user': 'marcelo'} [2024-04-17 13:39:56,786] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-17 13:39:56,794] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:39:56,794] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/marcelo/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.3', '192.168.57.4']}]}] [2024-04-17 13:39:58,406] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/marcelo/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.3', '192.168.57.4']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 13:39:58,408] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 13:39:58,409] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:39:58,409] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 13:40:00,023] [INFO] TESTER: Checking connection to ubuntu-20.04 [2024-04-17 13:40:00,252] [INFO] TESTER: Connection established successfully in ubuntu-20.04 [2024-04-17 13:40:00,621] [INFO] TESTER: No Firewall to disable on ubuntu-20.04 [2024-04-17 13:40:00,621] [INFO] TESTER: Checking connection to ubuntu-22.04 [2024-04-17 13:40:00,864] [INFO] TESTER: Connection established successfully in ubuntu-22.04 [2024-04-17 13:40:01,254] [INFO] TESTER: No Firewall to disable on ubuntu-22.04 [2024-04-17 13:40:01,254] [INFO] TESTER: Checking connection to oracle-9 [2024-04-17 13:40:01,668] [INFO] TESTER: Connection established successfully in oracle-9 [2024-04-17 13:40:02,884] [INFO] TESTER: Firewall disabled on oracle-9 [2024-04-17 13:40:33,135] [INFO] TESTER: File permissions modified to be handled [2024-04-17 13:40:33,787] [INFO] TESTER: File copied from ubuntu-20.04 (192.168.57.2) to /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar [2024-04-17 13:40:33,985] [INFO] TESTER: Sending file from /home/vagrant/wazuh-install-files.tar to ubuntu-22.04 (192.168.57.3) [2024-04-17 13:40:34,508] [INFO] TESTER: File permissions were restablished [2024-04-17 13:40:34,509] [INFO] TESTER: The file wazuh-install-files.tar deleted in /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/tests/helpers [2024-04-17 13:40:36,423] [INFO] TESTER: File permissions modified to be handled [2024-04-17 13:40:37,087] [INFO] TESTER: File copied from ubuntu-20.04 (192.168.57.2) to /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar [2024-04-17 13:40:37,572] [INFO] TESTER: Sending file from /home/vagrant/wazuh-install-files.tar to oracle-9 (192.168.57.4) [2024-04-17 13:40:38,192] [INFO] TESTER: File permissions were restablished [2024-04-17 13:40:38,192] [INFO] TESTER: The file wazuh-install-files.tar deleted in /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/tests/helpers [2024-04-17 13:40:38,811] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-20.04 [2024-04-17 13:40:41,803] [INFO] TESTER: Installing Manager in ubuntu-20.04 [2024-04-17 13:42:56,862] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-20.04 [2024-04-17 13:42:59,038] [INFO] TESTER: Applying filters in checkfiles in ubuntu-20.04 [2024-04-17 13:42:59,038] [INFO] TESTER: 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-17 13:42:59,464] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-22.04 [2024-04-17 13:43:02,814] [INFO] TESTER: Installing Manager in ubuntu-22.04 [2024-04-17 13:45:32,257] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-22.04 [2024-04-17 13:45:34,010] [INFO] TESTER: Applying filters in checkfiles in ubuntu-22.04 [2024-04-17 13:45:34,011] [INFO] TESTER: 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-17 13:45:34,425] [INFO] TESTER: Generating Snapshot for Checkfile in oracle-9 [2024-04-17 13:45:37,530] [INFO] TESTER: Installing Manager in oracle-9 [2024-04-17 13:49:17,572] [INFO] TESTER: Generating Snapshot for Checkfile in oracle-9 [2024-04-17 13:49:19,623] [INFO] TESTER: Applying filters in checkfiles in oracle-9 [2024-04-17 13:49:19,623] [INFO] TESTER: 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-17 13:49:19,623] [INFO] TESTER: Getting status of ubuntu-20.04 [2024-04-17 13:49:20,339] [INFO] TESTER: Getting status of ubuntu-22.04 [2024-04-17 13:49:21,025] [INFO] TESTER: Getting status of oracle-9 [2024-04-17 13:49:42,276] [INFO] TESTER: Cluster configured in: ubuntu-20.04 [2024-04-17 13:50:01,504] [INFO] TESTER: Cluster configured in: ubuntu-22.04 [2024-04-17 13:50:18,399] [INFO] TESTER: Cluster configured in: oracle-9 [2024-04-17 13:50:19,074] [INFO] TESTER: Getting status of ubuntu-20.04 [2024-04-17 13:50:19,410] [INFO] TESTER: Getting status of ubuntu-22.04 [2024-04-17 13:50:19,599] [INFO] TESTER: Getting status of oracle-9 [2024-04-17 13:50:34,683] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 13:50:34,685] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 13:50:34,686] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:50:34,686] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 13:50:36,318] [INFO] TESTER: Restarting wazuh-manager in ubuntu-22.04 [2024-04-17 13:50:56,202] [INFO] TESTER: Restarting wazuh-manager in oracle-9 [2024-04-17 13:51:09,467] [INFO] TESTER: Getting status of ubuntu-20.04 [2024-04-17 13:51:09,994] [INFO] TESTER: Getting status of ubuntu-22.04 [2024-04-17 13:51:10,223] [INFO] TESTER: Getting status of oracle-9 [2024-04-17 13:51:10,703] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 13:51:10,704] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 13:51:10,706] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:51:10,706] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 13:51:12,341] [INFO] TESTER: Stopping wazuh-manager in ubuntu-22.04 [2024-04-17 13:51:15,224] [INFO] TESTER: Stopping wazuh-manager in oracle-9 [2024-04-17 13:51:19,583] [INFO] TESTER: Getting status of ubuntu-20.04 [2024-04-17 13:51:19,942] [INFO] TESTER: Getting status of oracle-9 [2024-04-17 13:51:20,210] [INFO] TESTER: Getting status of oracle-9 [2024-04-17 13:51:20,461] [INFO] TESTER: Restarting wazuh-manager in ubuntu-22.04 [2024-04-17 13:51:34,682] [INFO] TESTER: Restarting wazuh-manager in oracle-9 [2024-04-17 13:51:43,455] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 13:51:43,456] [DEBUG] TESTER: Rendering template /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-17 13:51:43,458] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:51:43,458] [DEBUG] TESTER: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] [2024-04-17 13:51:45,064] [INFO] TESTER: Getting status of ubuntu-20.04 [2024-04-17 13:51:45,447] [INFO] TESTER: Getting status of ubuntu-22.04 [2024-04-17 13:51:45,972] [INFO] TESTER: Getting status of oracle-9 [2024-04-17 13:51:46,627] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-20.04 [2024-04-17 13:51:48,797] [INFO] TESTER: Uninstalling Manager in ubuntu-20.04 [2024-04-17 13:51:55,946] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-20.04 [2024-04-17 13:51:58,036] [INFO] TESTER: Applying filters in checkfiles in ubuntu-20.04 [2024-04-17 13:51:58,037] [INFO] TESTER: 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-17 13:51:58,564] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-22.04 [2024-04-17 13:52:00,329] [INFO] TESTER: Uninstalling Manager in ubuntu-22.04 [2024-04-17 13:52:06,291] [INFO] TESTER: Generating Snapshot for Checkfile in ubuntu-22.04 [2024-04-17 13:52:07,985] [INFO] TESTER: Applying filters in checkfiles in ubuntu-22.04 [2024-04-17 13:52:07,985] [INFO] TESTER: 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-17 13:52:08,470] [INFO] TESTER: Generating Snapshot for Checkfile in oracle-9 [2024-04-17 13:52:10,320] [INFO] TESTER: Uninstalling Manager in oracle-9 [2024-04-17 13:52:23,889] [INFO] TESTER: Generating Snapshot for Checkfile in oracle-9 [2024-04-17 13:52:25,836] [INFO] TESTER: Applying filters in checkfiles in oracle-9 [2024-04-17 13:52:25,836] [INFO] TESTER: 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-17 13:52:26,887] [DEBUG] TESTER: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'marcelo', '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-ubuntu-20.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, wazuh-3: /tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/marcelo/wazuh/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-17 13:52:26,888] [INFO] TESTER: Cleaning up [2024-04-17 13:52:26,889] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:52:26,889] [DEBUG] TESTER: Running playbook: /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-17 13:52:29,911] [DEBUG] TESTER: Playbook /home/marcelo/wazuh/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-17 13:52:29,912] [INFO] TESTER: Cleaning up [2024-04-17 13:52:29,912] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:52:29,912] [DEBUG] TESTER: Running playbook: /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-17 13:52:32,104] [DEBUG] TESTER: Playbook /home/marcelo/wazuh/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-17 13:52:32,105] [INFO] TESTER: Cleaning up [2024-04-17 13:52:32,105] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-1978E770-392A-4CC1-A7F4-7972DC420DEA/instance_key'}}}} [2024-04-17 13:52:32,105] [DEBUG] TESTER: Running playbook: /home/marcelo/wazuh/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-17 13:52:34,098] [DEBUG] TESTER: Playbook /home/marcelo/wazuh/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-17 13:52:34,155] [INFO] [760544] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-manager-tests] Finished task in 757.62 seconds. [2024-04-17 13:52:34,165] [INFO] [760544] [MainThread] [workflow_engine]: Executing Reverse DAG tasks. [2024-04-17 13:52:34,166] [INFO] [760544] [MainThread] [workflow_engine]: Executing tasks in parallel. ```
davidjiglesias commented 2 weeks ago

LGTM