[2024-04-08 15:39:14,409] [INFO] [8831] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-08 15:39:14,410] [INFO] [8831] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-08 15:39:14,415] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 15:39:14,827] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:39:14,827] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:39:14,828] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:39:18,637] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:39:18,637] [INFO] ALLOCATOR: Instance VAGRANT-E6BE6F7B-E720-466F-9670-CBB45546127B created. [2024-04-08 15:39:59,604] [INFO] ALLOCATOR: Instance VAGRANT-E6BE6F7B-E720-466F-9670-CBB45546127B started. [2024-04-08 15:40:02,835] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-08 15:40:05,952] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 15:40:06,008] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 51.59 seconds. [2024-04-08 15:40:06,009] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task. [2024-04-08 15:40:06,352] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:40:06,353] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:40:06,353] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:40:10,099] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:40:10,100] [INFO] ALLOCATOR: Instance VAGRANT-9D5409C4-3425-45D3-91FA-FA9066B7357C created. [2024-04-08 15:40:51,167] [INFO] ALLOCATOR: Instance VAGRANT-9D5409C4-3425-45D3-91FA-FA9066B7357C started. [2024-04-08 15:40:54,392] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml [2024-04-08 15:40:57,584] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml [2024-04-08 15:40:57,647] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 51.63 seconds. [2024-04-08 15:40:57,653] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task. [2024-04-08 15:40:57,996] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:40:57,996] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:40:57,997] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:41:01,802] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:41:01,802] [INFO] ALLOCATOR: Instance VAGRANT-3AB6FC64-9905-4698-B0FE-E163A41B8ABF created. [2024-04-08 15:41:45,818] [INFO] ALLOCATOR: Instance VAGRANT-3AB6FC64-9905-4698-B0FE-E163A41B8ABF started. [2024-04-08 15:41:49,057] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml [2024-04-08 15:41:52,277] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/track.yaml [2024-04-08 15:41:52,344] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 54.69 seconds. [2024-04-08 15:41:52,355] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 15:41:52,701] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:41:52,701] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:41:52,701] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:41:56,319] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:41:56,319] [INFO] ALLOCATOR: Instance VAGRANT-290FF5D6-3D87-4834-A43C-AADB3F89FC77 created. [2024-04-08 15:42:36,930] [INFO] ALLOCATOR: Instance VAGRANT-290FF5D6-3D87-4834-A43C-AADB3F89FC77 started. [2024-04-08 15:42:40,121] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-08 15:42:43,287] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 15:42:43,342] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 50.98 seconds. [2024-04-08 15:42:43,348] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task. [2024-04-08 15:42:43,665] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:42:43,665] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:42:43,665] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:42:47,512] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:42:47,512] [INFO] ALLOCATOR: Instance VAGRANT-AE179697-2E3D-4059-940F-1E3F5A3FC9F2 created. [2024-04-08 15:43:36,048] [INFO] ALLOCATOR: Instance VAGRANT-AE179697-2E3D-4059-940F-1E3F5A3FC9F2 started. [2024-04-08 15:43:39,807] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml [2024-04-08 15:43:43,504] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/track.yaml [2024-04-08 15:43:43,577] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 60.23 seconds. [2024-04-08 15:43:43,582] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task. [2024-04-08 15:43:43,947] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:43:43,947] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:43:43,948] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:43:47,884] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:43:47,885] [INFO] ALLOCATOR: Instance VAGRANT-2FBF10E3-A98A-4D35-ADBC-86D106D325BF created. [2024-04-08 15:44:24,981] [INFO] ALLOCATOR: Instance VAGRANT-2FBF10E3-A98A-4D35-ADBC-86D106D325BF started. [2024-04-08 15:44:28,231] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml [2024-04-08 15:44:31,399] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/track.yaml [2024-04-08 15:44:31,458] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 47.86 seconds. [2024-04-08 15:44:31,463] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task. [2024-04-08 15:44:31,839] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:44:31,839] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:44:31,839] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:44:35,617] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:44:35,617] [INFO] ALLOCATOR: Instance VAGRANT-1118E562-75AB-443A-930F-4638349B6580 created. [2024-04-08 15:45:12,649] [INFO] ALLOCATOR: Instance VAGRANT-1118E562-75AB-443A-930F-4638349B6580 started. [2024-04-08 15:45:15,926] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml [2024-04-08 15:45:19,480] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/track.yaml [2024-04-08 15:45:19,537] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 48.07 seconds. [2024-04-08 15:45:19,543] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task. [2024-04-08 15:45:19,914] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:45:19,915] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:45:19,915] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:45:23,321] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:45:23,321] [INFO] ALLOCATOR: Instance VAGRANT-C348653A-CDAB-4524-8B5E-5F02F76190C6 created. [2024-04-08 15:46:09,727] [INFO] ALLOCATOR: Instance VAGRANT-C348653A-CDAB-4524-8B5E-5F02F76190C6 started. [2024-04-08 15:46:13,158] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml [2024-04-08 15:46:16,595] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/track.yaml [2024-04-08 15:46:16,652] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 57.10 seconds. [2024-04-08 15:46:16,657] [INFO] [8831] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 15:46:16,991] [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-E6BE6F7B-E720-466F-9670-CBB45546127B/instance_key'}}}} [2024-04-08 15:46:16,991] [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 15:46:19,899] [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 15:46:19,899] [DEBUG] ANSIBLE: Templates found: ['download.j2', 'install.j2'] [2024-04-08 15:46:19,905] [DEBUG] ANSIBLE: Rendering template download.j2 [2024-04-08 15:46:19,907] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 15:46:19,907] [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 15:46:19,907] [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-E6BE6F7B-E720-466F-9670-CBB45546127B/instance_key'}}}} [2024-04-08 15:46:19,907] [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 15:50:11,059] [INFO] [25563] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-08 15:50:11,060] [INFO] [25563] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-08 15:50:11,060] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 15:50:11,369] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:50:11,370] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:50:11,370] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:50:15,550] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:50:15,550] [INFO] ALLOCATOR: Instance VAGRANT-6EE43F56-6296-4E87-A343-DBCB2CE591E0 created. [2024-04-08 15:50:53,671] [INFO] ALLOCATOR: Instance VAGRANT-6EE43F56-6296-4E87-A343-DBCB2CE591E0 started. [2024-04-08 15:50:57,227] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-08 15:51:01,051] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 15:51:01,139] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 50.08 seconds. [2024-04-08 15:51:01,150] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task. [2024-04-08 15:51:01,538] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:51:01,539] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:51:01,539] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:51:05,460] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:51:05,460] [INFO] ALLOCATOR: Instance VAGRANT-0BBF6466-CD97-4E63-8E99-5F1C5B784855 created. [2024-04-08 15:51:48,240] [INFO] ALLOCATOR: Instance VAGRANT-0BBF6466-CD97-4E63-8E99-5F1C5B784855 started. [2024-04-08 15:51:51,474] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml [2024-04-08 15:51:54,668] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml [2024-04-08 15:51:54,724] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 53.57 seconds. [2024-04-08 15:51:54,730] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task. [2024-04-08 15:51:55,065] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:51:55,065] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:51:55,065] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:51:58,926] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:51:58,927] [INFO] ALLOCATOR: Instance VAGRANT-C64439D8-D21C-4E27-8586-F691BE97C023 created. [2024-04-08 15:52:41,099] [INFO] ALLOCATOR: Instance VAGRANT-C64439D8-D21C-4E27-8586-F691BE97C023 started. [2024-04-08 15:52:44,505] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml [2024-04-08 15:52:47,824] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/track.yaml [2024-04-08 15:52:47,901] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 53.17 seconds. [2024-04-08 15:52:47,912] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 15:52:48,258] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:52:48,259] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:52:48,259] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:52:52,556] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:52:52,556] [INFO] ALLOCATOR: Instance VAGRANT-13FFE565-A728-4867-8D11-AB0038EFB3E1 created. [2024-04-08 15:53:33,067] [INFO] ALLOCATOR: Instance VAGRANT-13FFE565-A728-4867-8D11-AB0038EFB3E1 started. [2024-04-08 15:53:36,289] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-08 15:53:39,529] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 15:53:39,611] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 51.69 seconds. [2024-04-08 15:53:39,622] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task. [2024-04-08 15:53:40,019] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:53:40,020] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:53:40,020] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:53:43,285] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:53:43,285] [INFO] ALLOCATOR: Instance VAGRANT-A7774117-1853-4EEF-BA8B-678DBA2E43DD created. [2024-04-08 15:54:31,062] [INFO] ALLOCATOR: Instance VAGRANT-A7774117-1853-4EEF-BA8B-678DBA2E43DD started. [2024-04-08 15:54:34,933] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml [2024-04-08 15:54:38,731] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-10-amd64/track.yaml [2024-04-08 15:54:38,805] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 59.17 seconds. [2024-04-08 15:54:38,810] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task. [2024-04-08 15:54:39,186] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:54:39,187] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:54:39,187] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:54:43,227] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:54:43,227] [INFO] ALLOCATOR: Instance VAGRANT-0285EC55-6D86-4C64-B389-2C9CD860F5F6 created. [2024-04-08 15:55:17,104] [INFO] ALLOCATOR: Instance VAGRANT-0285EC55-6D86-4C64-B389-2C9CD860F5F6 started. [2024-04-08 15:55:20,259] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml [2024-04-08 15:55:23,481] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-11-amd64/track.yaml [2024-04-08 15:55:23,553] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 44.74 seconds. [2024-04-08 15:55:23,564] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task. [2024-04-08 15:55:23,916] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:55:23,917] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:55:23,917] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:55:27,784] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:55:27,784] [INFO] ALLOCATOR: Instance VAGRANT-87120549-933E-42B8-B4EE-0E5A8BFCC906 created. [2024-04-08 15:56:01,217] [INFO] ALLOCATOR: Instance VAGRANT-87120549-933E-42B8-B4EE-0E5A8BFCC906 started. [2024-04-08 15:56:04,382] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml [2024-04-08 15:56:07,540] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-debian-12-amd64/track.yaml [2024-04-08 15:56:07,598] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 44.02 seconds. [2024-04-08 15:56:07,603] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task. [2024-04-08 15:56:07,922] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 15:56:07,922] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 15:56:07,922] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 15:56:11,998] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 15:56:11,998] [INFO] ALLOCATOR: Instance VAGRANT-8802590D-F753-4503-A184-A0804318C64B created. [2024-04-08 15:56:55,224] [INFO] ALLOCATOR: Instance VAGRANT-8802590D-F753-4503-A184-A0804318C64B started. [2024-04-08 15:56:58,905] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml [2024-04-08 15:57:02,473] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-oracle-9-amd64/track.yaml [2024-04-08 15:57:02,583] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 54.98 seconds. [2024-04-08 15:57:02,593] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 15:57:03,026] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 15:57:03,027] [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 15:57:05,713] [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 15:57:05,713] [DEBUG] ANSIBLE: Templates found: ['download.j2', 'install.j2'] [2024-04-08 15:57:05,719] [DEBUG] ANSIBLE: Rendering template download.j2 [2024-04-08 15:57:05,720] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 15:57:05,721] [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 15:57:05,721] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 15:57:05,721] [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 16:02:44,333] [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 16:02:44,404] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Finished task in 341.80 seconds. [2024-04-08 16:02:44,414] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-18.04-amd64] Starting task. [2024-04-08 16:02:44,766] [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-0BBF6466-CD97-4E63-8E99-5F1C5B784855/instance_key'}}}} [2024-04-08 16:02:44,766] [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 16:02:47,225] [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 16:02:47,226] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 16:02:47,234] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 16:02:47,239] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 16:02:47,241] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 16:02:47,243] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 16:02:47,244] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 16:02:47,244] [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-0BBF6466-CD97-4E63-8E99-5F1C5B784855/instance_key'}}}} [2024-04-08 16:02:47,244] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 16:03:23,942] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.3': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.3': 1}, 'changed': {'192.168.57.3': 9}} [2024-04-08 16:03:24,001] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-18.04-amd64] Finished task in 39.58 seconds. [2024-04-08 16:03:24,011] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-20.04-amd64] Starting task. [2024-04-08 16:03:24,361] [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-C64439D8-D21C-4E27-8586-F691BE97C023/instance_key'}}}} [2024-04-08 16:03:24,361] [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 16:03:27,183] [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 16:03:27,184] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 16:03:27,191] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 16:03:27,195] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 16:03:27,196] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 16:03:27,198] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 16:03:27,199] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 16:03:27,199] [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-C64439D8-D21C-4E27-8586-F691BE97C023/instance_key'}}}} [2024-04-08 16:03:27,199] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 16:04:06,978] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.4': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.4': 1}, 'changed': {'192.168.57.4': 9}} [2024-04-08 16:04:07,062] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-20.04-amd64] Finished task in 43.05 seconds. [2024-04-08 16:04:07,068] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 16:04:07,473] [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-13FFE565-A728-4867-8D11-AB0038EFB3E1/instance_key'}}}} [2024-04-08 16:04:07,473] [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 16:04:10,186] [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 16:04:10,187] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 16:04:10,197] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 16:04:10,202] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 16:04:10,204] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 16:04:10,205] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 16:04:10,206] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 16:04:10,206] [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-13FFE565-A728-4867-8D11-AB0038EFB3E1/instance_key'}}}} [2024-04-08 16:04:10,207] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 16:05:02,439] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.5': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.5': 1}, 'changed': {'192.168.57.5': 9}} [2024-04-08 16:05:02,531] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-ubuntu-22.04-amd64] Finished task in 55.45 seconds. [2024-04-08 16:05:02,541] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-10-amd64] Starting task. [2024-04-08 16:05:02,921] [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-A7774117-1853-4EEF-BA8B-678DBA2E43DD/instance_key'}}}} [2024-04-08 16:05:02,921] [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 16:05:05,142] [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 16:05:05,143] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 16:05:05,150] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 16:05:05,155] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 16:05:05,157] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 16:05:05,159] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 16:05:05,160] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 16:05:05,160] [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-A7774117-1853-4EEF-BA8B-678DBA2E43DD/instance_key'}}}} [2024-04-08 16:05:05,161] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 16:05:34,096] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.6': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.6': 1}, 'changed': {'192.168.57.6': 9}} [2024-04-08 16:05:34,178] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-10-amd64] Finished task in 31.64 seconds. [2024-04-08 16:05:34,188] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-11-amd64] Starting task. [2024-04-08 16:05:34,580] [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-0285EC55-6D86-4C64-B389-2C9CD860F5F6/instance_key'}}}} [2024-04-08 16:05:34,580] [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 16:05:36,811] [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 16:05:36,812] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 16:05:36,820] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 16:05:36,827] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 16:05:36,829] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 16:05:36,831] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 16:05:36,832] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 16:05:36,832] [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-0285EC55-6D86-4C64-B389-2C9CD860F5F6/instance_key'}}}} [2024-04-08 16:05:36,832] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 16:06:10,113] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.7': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.7': 1}, 'changed': {'192.168.57.7': 9}} [2024-04-08 16:06:10,176] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-11-amd64] Finished task in 35.98 seconds. [2024-04-08 16:06:10,181] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-12-amd64] Starting task. [2024-04-08 16:06:10,580] [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-87120549-933E-42B8-B4EE-0E5A8BFCC906/instance_key'}}}} [2024-04-08 16:06:10,580] [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 16:06:12,798] [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 16:06:12,799] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 16:06:12,811] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 16:06:12,819] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 16:06:12,825] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 16:06:12,828] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 16:06:12,829] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 16:06:12,829] [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-87120549-933E-42B8-B4EE-0E5A8BFCC906/instance_key'}}}} [2024-04-08 16:06:12,829] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 16:06:40,382] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'apt-get update -y'}, {'name': 'Install packages', 'command': 'apt-get -y install curl gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.8': 10}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.8': 1}, 'changed': {'192.168.57.8': 9}} [2024-04-08 16:06:40,440] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-debian-12-amd64] Finished task in 30.25 seconds. [2024-04-08 16:06:40,445] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-oracle-9-amd64] Starting task. [2024-04-08 16:06:40,818] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.9': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-8802590D-F753-4503-A184-A0804318C64B/instance_key'}}}} [2024-04-08 16:06:40,818] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 16:06:43,837] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.9': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.9': 1}, 'changed': {}} [2024-04-08 16:06:43,838] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 16:06:43,846] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 16:06:43,850] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 16:06:43,851] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 16:06:43,853] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 16:06:43,854] [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 16:06:43,854] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.9': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-8802590D-F753-4503-A184-A0804318C64B/instance_key'}}}} [2024-04-08 16:06:43,854] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 16:08:25,357] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.9', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.9': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.9': 1}, 'changed': {'192.168.57.9': 7}} [2024-04-08 16:08:25,469] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-oracle-9-amd64] Finished task in 105.02 seconds. [2024-04-08 16:08:25,475] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Starting task. [2024-04-08 16:08:25,964] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 16:08:25,966] [INFO] TESTER: Running tests for 192.168.57.3 [2024-04-08 16:08:25,966] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.3'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 16:08:25,973] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 16:08:25,975] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:08:25,975] [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 16:08:32,829] [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 16:08:32,832] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 16:08:32,833] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:08:32,833] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 16:08:36,296] [INFO] [Testing]: Checking connection to ubuntu-18.04 [2024-04-08 16:08:36,633] [INFO] [Testing]: Connection established successfully in ubuntu-18.04 [2024-04-08 16:08:39,350] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-18.04 [2024-04-08 16:08:47,879] [INFO] [Testing]: Getting status of ubuntu-18.04 [2024-04-08 16:08:50,794] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 16:08:50,796] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:08:50,796] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:08:54,265] [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 16:08:54,267] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:08:54,267] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:08:57,540] [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 16:08:57,740] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-18.04-amd64-tests] Finished task in 32.26 seconds. [2024-04-08 16:08:57,750] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-20.04-amd64-tests] Starting task. [2024-04-08 16:08:58,255] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 16:08:58,256] [INFO] TESTER: Running tests for 192.168.57.4 [2024-04-08 16:08:58,256] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.4'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 16:08:58,264] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 16:08:58,266] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:08:58,266] [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 16:09:04,808] [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 16:09:04,811] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 16:09:04,815] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:04,815] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 16:09:09,196] [INFO] [Testing]: Checking connection to ubuntu-20.04 [2024-04-08 16:09:09,503] [INFO] [Testing]: Connection established successfully in ubuntu-20.04 [2024-04-08 16:09:12,350] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-20.04 [2024-04-08 16:09:21,375] [INFO] [Testing]: Getting status of ubuntu-20.04 [2024-04-08 16:09:23,990] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 16:09:23,992] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:23,992] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:09:26,693] [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 16:09:26,695] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:26,695] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:09:29,224] [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 16:09:29,318] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-20.04-amd64-tests] Finished task in 31.57 seconds. [2024-04-08 16:09:29,328] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-22.04-amd64-tests] Starting task. [2024-04-08 16:09:29,706] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 16:09:29,707] [INFO] TESTER: Running tests for 192.168.57.5 [2024-04-08 16:09:29,708] [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-ubuntu-22.04-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 16:09:29,714] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 16:09:29,716] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:29,716] [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 16:09:36,012] [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 16:09:36,014] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 16:09:36,016] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:36,016] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 16:09:39,746] [INFO] [Testing]: Checking connection to ubuntu-22.04 [2024-04-08 16:09:40,066] [INFO] [Testing]: Connection established successfully in ubuntu-22.04 [2024-04-08 16:09:41,240] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04 [2024-04-08 16:09:52,041] [INFO] [Testing]: Getting status of ubuntu-22.04 [2024-04-08 16:09:52,863] [ERROR] [Testing]: agent-linux-ubuntu-2204-amd64 is not present in agent_control information [2024-04-08 16:09:53,652] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 1}, 'dark': {}, 'failures': {'localhost': 1}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {}} [2024-04-08 16:09:53,653] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:53,653] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:09:56,445] [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 16:09:56,447] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:56,447] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:09:59,238] [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 16:09:59,325] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-ubuntu-22.04-amd64-tests] Finished task in 29.99 seconds. [2024-04-08 16:09:59,336] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-10-amd64-tests] Starting task. [2024-04-08 16:09:59,745] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 16:09:59,746] [INFO] TESTER: Running tests for 192.168.57.6 [2024-04-08 16:09:59,747] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.6'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 16:09:59,754] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 16:09:59,756] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:09:59,756] [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 16:10:06,101] [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 16:10:06,105] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 16:10:06,108] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:06,108] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 16:10:10,030] [INFO] [Testing]: Checking connection to debian-10 [2024-04-08 16:10:10,349] [INFO] [Testing]: Connection established successfully in debian-10 [2024-04-08 16:10:11,017] [INFO] [Testing]: Restarting wazuh-agent in debian-10 [2024-04-08 16:10:19,609] [INFO] [Testing]: Getting status of debian-10 [2024-04-08 16:10:20,761] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-10-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 16:10:20,763] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:20,764] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:10:23,361] [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 16:10:23,362] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:23,363] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:10:26,063] [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 16:10:26,145] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-10-amd64-tests] Finished task in 26.80 seconds. [2024-04-08 16:10:26,156] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-11-amd64-tests] Starting task. [2024-04-08 16:10:26,526] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 16:10:26,527] [INFO] TESTER: Running tests for 192.168.57.7 [2024-04-08 16:10:26,528] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.7'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 16:10:26,535] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 16:10:26,536] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:26,536] [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 16:10:32,826] [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 16:10:32,828] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 16:10:32,829] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:32,830] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 16:10:36,372] [INFO] [Testing]: Checking connection to debian-11 [2024-04-08 16:10:36,685] [INFO] [Testing]: Connection established successfully in debian-11 [2024-04-08 16:10:37,412] [INFO] [Testing]: Restarting wazuh-agent in debian-11 [2024-04-08 16:10:45,564] [INFO] [Testing]: Getting status of debian-11 [2024-04-08 16:10:46,769] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-11-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 16:10:46,771] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:46,771] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:10:49,392] [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 16:10:49,394] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:49,394] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:10:51,949] [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 16:10:52,019] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-11-amd64-tests] Finished task in 25.86 seconds. [2024-04-08 16:10:52,025] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-12-amd64-tests] Starting task. [2024-04-08 16:10:52,430] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 16:10:52,431] [INFO] TESTER: Running tests for 192.168.57.8 [2024-04-08 16:10:52,432] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.8'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 16:10:52,439] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 16:10:52,440] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:52,440] [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 16:10:57,258] [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 16:10:57,261] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 16:10:57,262] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:10:57,263] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 16:11:00,741] [INFO] [Testing]: Checking connection to debian-12 [2024-04-08 16:11:01,070] [INFO] [Testing]: Connection established successfully in debian-12 [2024-04-08 16:11:01,836] [INFO] [Testing]: Restarting wazuh-agent in debian-12 [2024-04-08 16:11:09,974] [INFO] [Testing]: Getting status of debian-12 [2024-04-08 16:11:11,554] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-debian-12-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 16:11:11,556] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:11:11,556] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:11:14,086] [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 16:11:14,088] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:11:14,088] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:11:16,852] [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 16:11:16,947] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-debian-12-amd64-tests] Finished task in 24.92 seconds. [2024-04-08 16:11:16,958] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-oracle-9-amd64-tests] Starting task. [2024-04-08 16:11:17,347] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 16:11:17,348] [INFO] TESTER: Running tests for 192.168.57.9 [2024-04-08 16:11:17,348] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.9'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 16:11:17,356] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 16:11:17,358] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:11:17,358] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.9']}]}] [2024-04-08 16:11:23,542] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.9']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 16:11:23,544] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 16:11:23,546] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:11:23,546] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 16:11:27,079] [INFO] [Testing]: Checking connection to oracle-9 [2024-04-08 16:11:27,464] [INFO] [Testing]: Connection established successfully in oracle-9 [2024-04-08 16:11:28,832] [INFO] [Testing]: Restarting wazuh-agent in oracle-9 [2024-04-08 16:11:36,816] [INFO] [Testing]: Getting status of oracle-9 [2024-04-08 16:11:39,418] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-oracle-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 16:11:39,419] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:11:39,419] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:11:42,301] [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 16:11:42,303] [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-6EE43F56-6296-4E87-A343-DBCB2CE591E0/instance_key'}}}} [2024-04-08 16:11:42,303] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 16:11:44,937] [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 16:11:45,021] [INFO] [25563] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-oracle-9-amd64-tests] Finished task in 28.06 seconds. [2024-04-08 16:11:45,027] [INFO] [25563] [MainThread] [workflow_engine]: Executing Reverse DAG tasks. [2024-04-08 16:11:45,027] [INFO] [25563] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-08 16:11:45,028] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Starting task. [2024-04-08 16:11:45,406] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-18.04-amd64/track.yaml [2024-04-08 16:11:45,408] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-0BBF6466-CD97-4E63-8E99-5F1C5B784855 [2024-04-08 16:11:52,176] [INFO] ALLOCATOR: Instance VAGRANT-0BBF6466-CD97-4E63-8E99-5F1C5B784855 deleted. [2024-04-08 16:11:52,266] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-18.04-amd64] Finished task in 7.23 seconds. [2024-04-08 16:11:52,272] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Starting task. [2024-04-08 16:11:52,730] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-20.04-amd64/track.yaml [2024-04-08 16:11:52,732] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-C64439D8-D21C-4E27-8586-F691BE97C023 [2024-04-08 16:11:59,236] [INFO] ALLOCATOR: Instance VAGRANT-C64439D8-D21C-4E27-8586-F691BE97C023 deleted. [2024-04-08 16:11:59,303] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-20.04-amd64] Finished task in 7.03 seconds. [2024-04-08 16:11:59,313] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 16:11:59,674] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 16:11:59,676] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-13FFE565-A728-4867-8D11-AB0038EFB3E1 [2024-04-08 16:12:06,145] [INFO] ALLOCATOR: Instance VAGRANT-13FFE565-A728-4867-8D11-AB0038EFB3E1 deleted. [2024-04-08 16:12:06,209] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-ubuntu-22.04-amd64] Finished task in 6.89 seconds. [2024-04-08 16:12:06,214] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Starting task. [2024-04-08 16:12:06,573] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-10-amd64/track.yaml [2024-04-08 16:12:06,575] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-A7774117-1853-4EEF-BA8B-678DBA2E43DD [2024-04-08 16:12:13,356] [INFO] ALLOCATOR: Instance VAGRANT-A7774117-1853-4EEF-BA8B-678DBA2E43DD deleted. [2024-04-08 16:12:13,427] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-10-amd64] Finished task in 7.21 seconds. [2024-04-08 16:12:13,433] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Starting task. [2024-04-08 16:12:13,797] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-11-amd64/track.yaml [2024-04-08 16:12:13,799] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-0285EC55-6D86-4C64-B389-2C9CD860F5F6 [2024-04-08 16:12:19,755] [INFO] ALLOCATOR: Instance VAGRANT-0285EC55-6D86-4C64-B389-2C9CD860F5F6 deleted. [2024-04-08 16:12:19,840] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-11-amd64] Finished task in 6.41 seconds. [2024-04-08 16:12:19,850] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Starting task. [2024-04-08 16:12:20,230] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-debian-12-amd64/track.yaml [2024-04-08 16:12:20,231] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-87120549-933E-42B8-B4EE-0E5A8BFCC906 [2024-04-08 16:12:26,121] [INFO] ALLOCATOR: Instance VAGRANT-87120549-933E-42B8-B4EE-0E5A8BFCC906 deleted. [2024-04-08 16:12:26,190] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-debian-12-amd64] Finished task in 6.33 seconds. [2024-04-08 16:12:26,201] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Starting task. [2024-04-08 16:12:26,597] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-oracle-9-amd64/track.yaml [2024-04-08 16:12:26,599] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-8802590D-F753-4503-A184-A0804318C64B [2024-04-08 16:12:33,356] [INFO] ALLOCATOR: Instance VAGRANT-8802590D-F753-4503-A184-A0804318C64B deleted. [2024-04-08 16:12:33,414] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-oracle-9-amd64] Finished task in 7.20 seconds. [2024-04-08 16:12:33,420] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 16:12:33,758] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 16:12:33,760] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-6EE43F56-6296-4E87-A343-DBCB2CE591E0 [2024-04-08 16:12:40,170] [INFO] ALLOCATOR: Instance VAGRANT-6EE43F56-6296-4E87-A343-DBCB2CE591E0 deleted. [2024-04-08 16:12:40,241] [INFO] [25563] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 6.82 seconds.