[2024-04-08 19:52:17,801] [INFO] [223537] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-08 19:52:17,801] [INFO] [223537] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-08 19:52:17,802] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 19:52:18,123] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 19:52:18,256] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 19:52:18,256] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 19:52:22,150] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 19:52:22,151] [INFO] ALLOCATOR: Instance VAGRANT-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5 created. [2024-04-08 19:53:03,635] [INFO] ALLOCATOR: Instance VAGRANT-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5 started. [2024-04-08 19:53:07,247] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-08 19:53:10,734] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 19:53:10,791] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 52.99 seconds. [2024-04-08 19:53:10,796] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task. [2024-04-08 19:53:11,140] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 19:53:11,141] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 19:53:11,141] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 19:53:14,550] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 19:53:14,551] [INFO] ALLOCATOR: Instance VAGRANT-53C39393-A038-4C29-BE3E-6226D9D5A9D4 created. [2024-04-08 19:53:54,983] [INFO] ALLOCATOR: Instance VAGRANT-53C39393-A038-4C29-BE3E-6226D9D5A9D4 started. [2024-04-08 19:53:58,268] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml [2024-04-08 19:54:01,563] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml [2024-04-08 19:54:01,637] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 50.84 seconds. [2024-04-08 19:54:01,648] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task. [2024-04-08 19:54:02,030] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 19:54:02,030] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 19:54:02,031] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 19:54:06,082] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 19:54:06,082] [INFO] ALLOCATOR: Instance VAGRANT-59889D84-D776-4818-AC64-C7151893031B created. [2024-04-08 19:54:53,360] [INFO] ALLOCATOR: Instance VAGRANT-59889D84-D776-4818-AC64-C7151893031B started. [2024-04-08 19:54:57,141] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml [2024-04-08 19:55:01,223] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml [2024-04-08 19:55:01,353] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 59.70 seconds. [2024-04-08 19:55:01,364] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task. [2024-04-08 19:55:01,750] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 19:55:01,750] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 19:55:01,750] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 19:55:05,358] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 19:55:05,358] [INFO] ALLOCATOR: Instance VAGRANT-E3D83AA4-E872-47C3-BDEE-A1B897BCA067 created. [2024-04-08 19:55:51,126] [INFO] ALLOCATOR: Instance VAGRANT-E3D83AA4-E872-47C3-BDEE-A1B897BCA067 started. [2024-04-08 19:55:54,777] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml [2024-04-08 19:55:58,551] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml [2024-04-08 19:55:58,623] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 57.25 seconds. [2024-04-08 19:55:58,623] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task. [2024-04-08 19:55:58,978] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 19:55:58,978] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 19:55:58,979] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 19:56:02,339] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 19:56:02,339] [INFO] ALLOCATOR: Instance VAGRANT-E443C367-49CF-493C-9CC5-40E1ED613B37 created. [2024-04-08 19:56:52,136] [INFO] ALLOCATOR: Instance VAGRANT-E443C367-49CF-493C-9CC5-40E1ED613B37 started. [2024-04-08 19:56:56,036] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml [2024-04-08 19:56:59,763] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml [2024-04-08 19:56:59,833] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 61.20 seconds. [2024-04-08 19:56:59,844] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task. [2024-04-08 19:57:00,225] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 19:57:00,226] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 19:57:00,226] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 19:57:03,729] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 19:57:03,730] [INFO] ALLOCATOR: Instance VAGRANT-9F434766-7C0F-4672-B8C3-DEE8FF5C4B81 created. [2024-04-08 19:57:51,195] [INFO] ALLOCATOR: Instance VAGRANT-9F434766-7C0F-4672-B8C3-DEE8FF5C4B81 started. [2024-04-08 19:57:54,962] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/inventory.yaml [2024-04-08 19:57:58,751] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml [2024-04-08 19:57:58,808] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 58.95 seconds. [2024-04-08 19:57:58,813] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task. [2024-04-08 19:57:59,154] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 19:57:59,154] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 19:57:59,154] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 19:58:02,444] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 19:58:02,445] [INFO] ALLOCATOR: Instance VAGRANT-A4079182-7D6F-4F5D-8FB8-E10367ED4918 created. [2024-04-08 19:59:06,936] [INFO] ALLOCATOR: Instance VAGRANT-A4079182-7D6F-4F5D-8FB8-E10367ED4918 started. [2024-04-08 19:59:10,963] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml [2024-04-08 19:59:14,762] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml [2024-04-08 19:59:14,854] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 76.04 seconds. [2024-04-08 19:59:14,865] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 19:59:15,265] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 19:59:15,265] [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 19:59:18,637] [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 19:59:18,638] [DEBUG] ANSIBLE: Templates found: ['download.j2', 'install.j2'] [2024-04-08 19:59:18,643] [DEBUG] ANSIBLE: Rendering template download.j2 [2024-04-08 19:59:18,645] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 19:59:18,645] [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 19:59:18,646] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 19:59:18,646] [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 20:04:45,390] [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 20:04:45,477] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Finished task in 330.60 seconds. [2024-04-08 20:04:45,493] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-7-amd64] Starting task. [2024-04-08 20:04:45,870] [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-53C39393-A038-4C29-BE3E-6226D9D5A9D4/instance_key'}}}} [2024-04-08 20:04:45,870] [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 20:04:48,206] [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 20:04:48,208] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 20:04:48,216] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 20:04:48,220] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 20:04:48,222] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 20:04:48,225] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 20:04:48,225] [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 20:04:48,226] [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-53C39393-A038-4C29-BE3E-6226D9D5A9D4/instance_key'}}}} [2024-04-08 20:04:48,226] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.3', '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 20:07:08,828] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.3', '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.3': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.3': 1}, 'changed': {'192.168.57.3': 7}} [2024-04-08 20:07:08,906] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-7-amd64] Finished task in 143.41 seconds. [2024-04-08 20:07:08,907] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-8-amd64] Starting task. [2024-04-08 20:07:09,316] [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-59889D84-D776-4818-AC64-C7151893031B/instance_key'}}}} [2024-04-08 20:07:09,317] [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 20:07:12,353] [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 20:07:12,354] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 20:07:12,362] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 20:07:12,366] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 20:07:12,368] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 20:07:12,369] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 20:07:12,370] [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 20:07:12,370] [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-59889D84-D776-4818-AC64-C7151893031B/instance_key'}}}} [2024-04-08 20:07:12,370] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.4', '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 20:09:26,225] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.4', '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.4': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.4': 1}, 'changed': {'192.168.57.4': 7}} [2024-04-08 20:09:26,338] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-8-amd64] Finished task in 137.43 seconds. [2024-04-08 20:09:26,348] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-7-amd64] Starting task. [2024-04-08 20:09:27,219] [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-E3D83AA4-E872-47C3-BDEE-A1B897BCA067/instance_key'}}}} [2024-04-08 20:09:27,220] [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 20:09:31,498] [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 20:09:31,499] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 20:09:31,512] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 20:09:31,519] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 20:09:31,521] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 20:09:31,525] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 20:09:31,527] [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 20:09:31,528] [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-E3D83AA4-E872-47C3-BDEE-A1B897BCA067/instance_key'}}}} [2024-04-08 20:09:31,529] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.5', '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 20:10:43,332] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.5', '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.5': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.5': 1}, 'changed': {'192.168.57.5': 7}} [2024-04-08 20:10:43,443] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-7-amd64] Finished task in 77.08 seconds. [2024-04-08 20:10:43,454] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-8-amd64] Starting task. [2024-04-08 20:10:44,092] [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-E443C367-49CF-493C-9CC5-40E1ED613B37/instance_key'}}}} [2024-04-08 20:10:44,092] [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 20:10:48,158] [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 20:10:48,160] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 20:10:48,172] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 20:10:48,179] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 20:10:48,181] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 20:10:48,184] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 20:10:48,185] [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 20:10:48,185] [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-E443C367-49CF-493C-9CC5-40E1ED613B37/instance_key'}}}} [2024-04-08 20:10:48,186] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.6', '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 20:12:45,000] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.6', '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.6': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.6': 1}, 'changed': {'192.168.57.6': 7}} [2024-04-08 20:12:45,083] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-8-amd64] Finished task in 121.62 seconds. [2024-04-08 20:12:45,088] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-9-amd64] Starting task. [2024-04-08 20:12:45,489] [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-9F434766-7C0F-4672-B8C3-DEE8FF5C4B81/instance_key'}}}} [2024-04-08 20:12:45,489] [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 20:12:48,424] [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 20:12:48,425] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 20:12:48,437] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 20:12:48,444] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 20:12:48,445] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 20:12:48,447] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 20:12:48,448] [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 20:12:48,448] [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-9F434766-7C0F-4672-B8C3-DEE8FF5C4B81/instance_key'}}}} [2024-04-08 20:12:48,448] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.7', '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 20:14:02,112] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.7', '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.7': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.7': 1}, 'changed': {'192.168.57.7': 7}} [2024-04-08 20:14:02,225] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-9-amd64] Finished task in 77.13 seconds. [2024-04-08 20:14:02,235] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-amazon-2-amd64] Starting task. [2024-04-08 20:14:02,613] [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-A4079182-7D6F-4F5D-8FB8-E10367ED4918/instance_key'}}}} [2024-04-08 20:14:02,613] [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 20:14:14,583] [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 20:14:14,584] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 20:14:14,591] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 20:14:14,595] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 20:14:14,596] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 20:14:14,598] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 20:14:14,599] [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 20:14:14,599] [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-A4079182-7D6F-4F5D-8FB8-E10367ED4918/instance_key'}}}} [2024-04-08 20:14:14,599] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.8', '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 20:14:56,973] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.8', '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.8': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.8': 1}, 'changed': {'192.168.57.8': 7}} [2024-04-08 20:14:57,046] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-amazon-2-amd64] Finished task in 54.81 seconds. [2024-04-08 20:14:57,057] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-7-amd64-tests] Starting task. [2024-04-08 20:14:57,430] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 20:14:57,431] [INFO] TESTER: Running tests for 192.168.57.3 [2024-04-08 20:14:57,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.3'], '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 20:14:57,438] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 20:14:57,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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:14:57,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.3']}]}] [2024-04-08 20:15:03,576] [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 20:15:03,578] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 20:15:03,579] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:15:03,579] [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 20:15:06,807] [INFO] [Testing]: Checking connection to centos-7 [2024-04-08 20:15:07,115] [INFO] [Testing]: Connection established successfully in centos-7 [2024-04-08 20:15:09,875] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7 [2024-04-08 20:15:12,358] [INFO] [Testing]: Uninstalling Agent in centos-7 [2024-04-08 20:15:26,904] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7 [2024-04-08 20:15:28,875] [INFO] [Testing]: Applying filters in checkfiles in centos-7 [2024-04-08 20:15:28,875] [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 20:15:32,017] [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 20:15:32,019] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:15:32,019] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:15:34,775] [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 20:15:34,776] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:15:34,776] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:15:37,545] [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 20:15:37,623] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-7-amd64-tests] Finished task in 40.56 seconds. [2024-04-08 20:15:37,633] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-8-amd64-tests] Starting task. [2024-04-08 20:15:38,049] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 20:15:38,050] [INFO] TESTER: Running tests for 192.168.57.4 [2024-04-08 20:15:38,050] [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-centos-8-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 20:15:38,058] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 20:15:38,059] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:15:38,059] [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 20:15:44,733] [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 20:15:44,736] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 20:15:44,738] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:15:44,738] [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 20:15:48,476] [INFO] [Testing]: Checking connection to centos-8 [2024-04-08 20:15:48,824] [INFO] [Testing]: Connection established successfully in centos-8 [2024-04-08 20:15:50,409] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8 [2024-04-08 20:15:52,668] [INFO] [Testing]: Uninstalling Agent in centos-8 [2024-04-08 20:16:19,604] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-8 [2024-04-08 20:16:21,806] [INFO] [Testing]: Applying filters in checkfiles in centos-8 [2024-04-08 20:16:21,806] [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 20:16:24,079] [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 20:16:24,081] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:16:24,081] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:16:26,729] [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 20:16:26,732] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:16:26,732] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:16:29,367] [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 20:16:29,432] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-8-amd64-tests] Finished task in 51.79 seconds. [2024-04-08 20:16:29,438] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-7-amd64-tests] Starting task. [2024-04-08 20:16:29,818] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 20:16:29,819] [INFO] TESTER: Running tests for 192.168.57.5 [2024-04-08 20:16:29,819] [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.5'], '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 20:16:29,825] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 20:16:29,827] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:16:29,827] [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.5']}]}] [2024-04-08 20:16:37,958] [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.5']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 20:16:37,961] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 20:16:37,964] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:16:37,964] [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 20:16:41,481] [INFO] [Testing]: Checking connection to redhat-7 [2024-04-08 20:16:41,826] [INFO] [Testing]: Connection established successfully in redhat-7 [2024-04-08 20:16:45,107] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7 [2024-04-08 20:16:53,325] [INFO] [Testing]: Uninstalling Agent in redhat-7 [2024-04-08 20:17:09,624] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7 [2024-04-08 20:17:12,641] [INFO] [Testing]: Applying filters in checkfiles in redhat-7 [2024-04-08 20:17:12,642] [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 20:17:16,375] [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 20:17:16,377] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:17:16,377] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:17:19,176] [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 20:17:19,178] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:17:19,178] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:17:22,249] [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 20:17:22,336] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-7-amd64-tests] Finished task in 52.89 seconds. [2024-04-08 20:17:22,346] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-8-amd64-tests] Starting task. [2024-04-08 20:17:22,742] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 20:17:22,743] [INFO] TESTER: Running tests for 192.168.57.6 [2024-04-08 20:17:22,743] [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-redhat-8-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 20:17:22,752] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 20:17:22,754] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:17:22,754] [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 20:17:29,147] [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 20:17:29,151] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 20:17:29,153] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:17:29,154] [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 20:17:33,158] [INFO] [Testing]: Checking connection to redhat-8 [2024-04-08 20:17:33,523] [INFO] [Testing]: Connection established successfully in redhat-8 [2024-04-08 20:17:35,494] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8 [2024-04-08 20:17:38,029] [INFO] [Testing]: Uninstalling Agent in redhat-8 [2024-04-08 20:18:06,370] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8 [2024-04-08 20:18:08,799] [INFO] [Testing]: Applying filters in checkfiles in redhat-8 [2024-04-08 20:18:08,800] [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 20:18:11,340] [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 20:18:11,341] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:18:11,342] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:18:14,113] [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 20:18:14,114] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:18:14,114] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:18:17,479] [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 20:18:17,550] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-8-amd64-tests] Finished task in 55.19 seconds. [2024-04-08 20:18:17,561] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-9-amd64-tests] Starting task. [2024-04-08 20:18:17,993] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 20:18:17,994] [INFO] TESTER: Running tests for 192.168.57.7 [2024-04-08 20:18:17,994] [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-redhat-9-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 20:18:18,001] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 20:18:18,003] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:18:18,003] [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 20:18:24,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': ['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 20:18:24,264] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 20:18:24,265] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:18:24,266] [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-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 20:18:27,969] [INFO] [Testing]: Checking connection to redhat-9 [2024-04-08 20:18:28,317] [INFO] [Testing]: Connection established successfully in redhat-9 [2024-04-08 20:18:30,575] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9 [2024-04-08 20:18:33,396] [INFO] [Testing]: Uninstalling Agent in redhat-9 [2024-04-08 20:18:46,939] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9 [2024-04-08 20:18:49,357] [INFO] [Testing]: Applying filters in checkfiles in redhat-9 [2024-04-08 20:18:49,358] [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-08 20:18:52,607] [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-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 20:18:52,608] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:18:52,608] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:18:55,325] [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 20:18:55,326] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:18:55,326] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:18:58,144] [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 20:18:58,225] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-9-amd64-tests] Finished task in 40.65 seconds. [2024-04-08 20:18:58,236] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-amazon-2-amd64-tests] Starting task. [2024-04-08 20:18:58,625] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 20:18:58,626] [INFO] TESTER: Running tests for 192.168.57.8 [2024-04-08 20:18:58,626] [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-amazon-2-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 20:18:58,634] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 20:18:58,635] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:18:58,635] [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 20:19:04,930] [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 20:19:04,932] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 20:19:04,934] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:19:04,934] [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 20:19:08,793] [INFO] [Testing]: Checking connection to amazon-2 [2024-04-08 20:19:09,115] [INFO] [Testing]: Connection established successfully in amazon-2 [2024-04-08 20:19:10,182] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2 [2024-04-08 20:19:11,751] [INFO] [Testing]: Uninstalling Agent in amazon-2 [2024-04-08 20:19:13,818] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2 [2024-04-08 20:19:16,012] [INFO] [Testing]: Applying filters in checkfiles in amazon-2 [2024-04-08 20:19:16,012] [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 20:19:18,927] [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 20:19:18,930] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:19:18,930] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:19:21,962] [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 20:19:21,964] [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-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5/instance_key'}}}} [2024-04-08 20:19:21,965] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 20:19:24,729] [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 20:19:24,812] [INFO] [223537] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-amazon-2-amd64-tests] Finished task in 26.56 seconds. [2024-04-08 20:19:24,822] [INFO] [223537] [MainThread] [workflow_engine]: Executing Reverse DAG tasks. [2024-04-08 20:19:24,823] [INFO] [223537] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-08 20:19:24,823] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task. [2024-04-08 20:19:25,226] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml [2024-04-08 20:19:25,228] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-53C39393-A038-4C29-BE3E-6226D9D5A9D4 [2024-04-08 20:19:31,365] [INFO] ALLOCATOR: Instance VAGRANT-53C39393-A038-4C29-BE3E-6226D9D5A9D4 deleted. [2024-04-08 20:19:31,425] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 6.59 seconds. [2024-04-08 20:19:31,431] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task. [2024-04-08 20:19:31,815] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml [2024-04-08 20:19:31,817] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-59889D84-D776-4818-AC64-C7151893031B [2024-04-08 20:19:38,725] [INFO] ALLOCATOR: Instance VAGRANT-59889D84-D776-4818-AC64-C7151893031B deleted. [2024-04-08 20:19:38,805] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 7.36 seconds. [2024-04-08 20:19:38,816] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task. [2024-04-08 20:19:39,183] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml [2024-04-08 20:19:39,184] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-E3D83AA4-E872-47C3-BDEE-A1B897BCA067 [2024-04-08 20:19:46,059] [INFO] ALLOCATOR: Instance VAGRANT-E3D83AA4-E872-47C3-BDEE-A1B897BCA067 deleted. [2024-04-08 20:19:46,135] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 7.31 seconds. [2024-04-08 20:19:46,145] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task. [2024-04-08 20:19:46,540] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml [2024-04-08 20:19:46,542] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-E443C367-49CF-493C-9CC5-40E1ED613B37 [2024-04-08 20:19:53,711] [INFO] ALLOCATOR: Instance VAGRANT-E443C367-49CF-493C-9CC5-40E1ED613B37 deleted. [2024-04-08 20:19:53,817] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 7.66 seconds. [2024-04-08 20:19:53,827] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task. [2024-04-08 20:19:54,336] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml [2024-04-08 20:19:54,338] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-9F434766-7C0F-4672-B8C3-DEE8FF5C4B81 [2024-04-08 20:20:01,846] [INFO] ALLOCATOR: Instance VAGRANT-9F434766-7C0F-4672-B8C3-DEE8FF5C4B81 deleted. [2024-04-08 20:20:01,928] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 8.09 seconds. [2024-04-08 20:20:01,939] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task. [2024-04-08 20:20:02,323] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml [2024-04-08 20:20:02,324] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-A4079182-7D6F-4F5D-8FB8-E10367ED4918 [2024-04-08 20:20:09,227] [INFO] ALLOCATOR: Instance VAGRANT-A4079182-7D6F-4F5D-8FB8-E10367ED4918 deleted. [2024-04-08 20:20:09,304] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 7.36 seconds. [2024-04-08 20:20:09,314] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 20:20:09,712] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 20:20:09,714] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5 [2024-04-08 20:20:17,097] [INFO] ALLOCATOR: Instance VAGRANT-8607EDD0-3B00-4DDB-9E9F-5FCB6D44EDC5 deleted. [2024-04-08 20:20:17,170] [INFO] [223537] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 7.84 seconds.