[2024-08-21 10:24:46] [DEBUG] [2922664] [MainThread] [jobflow]: Validating input file: modules/jobflow/templates/manager/manager-test.yaml [2024-08-21 10:24:46] [DEBUG] [2922664] [MainThread] [jobflow]: Loading schema file: /home/akim/Desktop/venvs/dtt1/lib/python3.10/site-packages/jobflow/schemas/schema_v1.json [2024-08-21 10:24:46] [DEBUG] [2922664] [MainThread] [jobflow]: Loading yaml file: modules/jobflow/templates/manager/manager-test.yaml [2024-08-21 10:24:46] [DEBUG] [2922664] [MainThread] [jobflow]: Loading workflow file: modules/jobflow/templates/manager/manager-test.yaml [2024-08-21 10:24:46] [DEBUG] [2922664] [MainThread] [jobflow]: Process workflow. [2024-08-21 10:24:46] [INFO] [2922664] [MainThread] [jobflow]: Executing DAG tasks. [2024-08-21 10:24:46] [INFO] [2922664] [MainThread] [jobflow]: Executing tasks in parallel. [2024-08-21 10:24:46] [INFO] [2922664] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-08-21 10:24:46] [INFO] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: [allocate-manager-linux-ubuntu-24.04-amd64] Starting task. [2024-08-21 10:24:46] [DEBUG] [2922664] [ThreadPoolExecutor-0_0] [jobflow]: Running task "allocate-manager-linux-ubuntu-22.04-amd64" with arguments: ['modules/allocation/main.py', '--action=create', '--provider=aws', '--size=large', '--composite-name=linux-ubuntu-22.04-amd64', '--inventory-output=/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml', '--track-output=/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml', '--label-termination-date=1d', '--label-team=qa', '--label-issue=https://github.com/wazuh/wazuh/issues/23748'] [2024-08-21 10:24:46] [DEBUG] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: Running task "allocate-manager-linux-ubuntu-24.04-amd64" with arguments: ['modules/allocation/main.py', '--action=create', '--provider=aws', '--size=large', '--composite-name=linux-ubuntu-24.04-amd64', '--inventory-output=/tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml', '--track-output=/tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/track.yaml', '--label-termination-date=1d', '--label-team=qa', '--label-issue=https://github.com/wazuh/wazuh/issues/23748'] [2024-08-21 10:25:40] [DEBUG] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: Finished task "allocate-manager-linux-ubuntu-24.04-amd64" execution with result: [2024-08-21 10:24:46] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 10:24:46] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 10:24:46] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-21 10:24:47] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-21 10:24:47] [DEBUG] ALLOCATOR: Generating new key pair [2024-08-21 10:24:47] [DEBUG] ALLOCATOR: Creating base directory: /tmp/wazuh-qa/AWS-AE347DC2-7470-47DB-9816-1AF26B8EDBF1 [2024-08-21 10:25:06] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-AE347DC2-7470-47DB-9816-1AF26B8EDBF1 directory to /tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664 [2024-08-21 10:25:06] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-0ab95c76fcb589afc created. [2024-08-21 10:25:08] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-0ab95c76fcb589afc started. [2024-08-21 10:25:08] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: The inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml [2024-08-21 10:25:08] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: The track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/track.yaml [2024-08-21 10:25:09] [WARNING] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 54.90.212.145 [2024-08-21 10:25:40] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: SSH connection successful. [2024-08-21 10:25:40] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-0ab95c76fcb589afc created successfully.  [2024-08-21 10:25:40] [INFO] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: [allocate-manager-linux-ubuntu-24.04-amd64] Finished task in 54.23 seconds. [2024-08-21 10:25:45] [DEBUG] [2922664] [ThreadPoolExecutor-0_0] [jobflow]: Finished task "allocate-manager-linux-ubuntu-22.04-amd64" execution with result: [2024-08-21 10:24:46] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 10:24:46] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 10:24:46] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-21 10:24:47] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-21 10:24:47] [DEBUG] ALLOCATOR: Generating new key pair [2024-08-21 10:24:47] [DEBUG] ALLOCATOR: Creating base directory: /tmp/wazuh-qa/AWS-9FA80080-A7D2-4236-BEA3-C4938C1B64C7 [2024-08-21 10:25:06] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-9FA80080-A7D2-4236-BEA3-C4938C1B64C7 directory to /tmp/wazuh-qa/wazuh-23748-ubuntu-22.04-3560 [2024-08-21 10:25:06] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: Instance i-056e529f305771bac created. [2024-08-21 10:25:08] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: Instance i-056e529f305771bac started. [2024-08-21 10:25:08] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: The inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-08-21 10:25:08] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: The track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-08-21 10:25:08] [WARNING] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 3.95.8.66 [2024-08-21 10:25:45] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: SSH connection successful. [2024-08-21 10:25:45] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: Instance i-056e529f305771bac created successfully.  [2024-08-21 10:25:45] [INFO] [2922664] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 59.04 seconds. [2024-08-21 10:25:45] [INFO] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: [run-manager-tests] Starting task. [2024-08-21 10:25:45] [DEBUG] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: Running task "run-manager-tests" with arguments: ['modules/testing/main.py', "--targets={'wazuh-1': '/tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml'}", "--targets={'wazuh-2': '/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml'}", '--tests=install,restart,stop,uninstall', '--component=manager', '--wazuh-version=4.8.2', '--wazuh-revision=40819', '--live=False'] [2024-08-21 10:36:33] [DEBUG] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: Finished task "run-manager-tests" execution with result: [2024-08-21 10:25:45] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 10:25:45] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 10:25:46] [INFO] TESTER: Running tests for ec2-54-90-212-145.compute-1.amazonaws.com [2024-08-21 10:25:46] [INFO] TESTER: Running tests for ec2-3-95-8-66.compute-1.amazonaws.com [2024-08-21 10:25:46] [DEBUG] TESTER: Using extra vars: {'component': 'manager', 'wazuh_version': '4.8.2', 'wazuh_revision': '40819', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': False, 'hosts_ip': ['ec2-54-90-212-145.compute-1.amazonaws.com', 'ec2-3-95-8-66.compute-1.amazonaws.com'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-08-21 10:25:46] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-90-212-145.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664/wazuh-23748-ubuntu-24.04-key-1705'}}}} [2024-08-21 10:25:46] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Cleaning old key ssh-keygen registries] ********************************** changed: [localhost] => (item=ec2-54-90-212-145.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-54-90-212-145.compute-1.amazonaws.com  delta: '0:00:00.015190'  end: '2024-08-21 10:25:51.898585'  item: ec2-54-90-212-145.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-21 10:25:51.883395'  stderr: Host ec2-54-90-212-145.compute-1.amazonaws.com not found in /home/akim/.ssh/known_hosts  stderr_lines:   stdout: ''  stdout_lines:  changed: [localhost] => (item=ec2-3-95-8-66.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-3-95-8-66.compute-1.amazonaws.com  delta: '0:00:00.013133'  end: '2024-08-21 10:25:52.075268'  item: ec2-3-95-8-66.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-21 10:25:52.062135'  stderr: Host ec2-3-95-8-66.compute-1.amazonaws.com not found in /home/akim/.ssh/known_hosts  stderr_lines:   stdout: ''  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:25:52] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-08-21 10:25:52] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-90-212-145.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664/wazuh-23748-ubuntu-24.04-key-1705'}}}} [2024-08-21 10:25:52] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test install for manager] ************************************************ changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_install.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:08:20.114776'  end: '2024-08-21 10:34:15.687030'  msg: ''  rc: 0  start: '2024-08-21 10:25:55.572254'  stderr: |-  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:25:56] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:25:56] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_manager/test_install.py::test_installation [32m[2024-08-21 10:25:56] [INFO] TESTER: Checking connection to ubuntu-24.04[0m  [32m[2024-08-21 10:25:57] [INFO] TESTER: Connection established successfully in ubuntu-24.04[0m  [32m[2024-08-21 10:26:00] [INFO] TESTER: No Firewall to disable on ubuntu-24.04[0m  [32m[2024-08-21 10:26:00] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-21 10:26:01] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-21 10:26:03] [INFO] TESTER: No Firewall to disable on ubuntu-22.04[0m  [32m[2024-08-21 10:27:02] [INFO] TESTER: File permissions modified to be handled[0m  [32m[2024-08-21 10:27:09] [INFO] TESTER: File copied from ubuntu-24.04 (54.90.212.145) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar[0m  [32m[2024-08-21 10:27:12] [INFO] TESTER: Sending file from /home/ubuntu/wazuh-install-files.tar to ubuntu-22.04 (3.95.8.66)[0m  [32m[2024-08-21 10:27:17] [INFO] TESTER: File permissions were restablished[0m  [32m[2024-08-21 10:27:17] [INFO] TESTER: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers[0m  [32m[2024-08-21 10:27:19] [INFO] TESTER: Installing the Wazuh manager with https://packages-dev.wazuh.com/4.8/wazuh-install.sh[0m  [32m[2024-08-21 10:27:19] [INFO] TESTER: Installing Manager in ubuntu-24.04[0m  [32m[2024-08-21 10:29:18] [INFO] TESTER: Installing the Wazuh manager with https://packages-dev.wazuh.com/4.8/wazuh-install.sh[0m  [32m[2024-08-21 10:29:18] [INFO] TESTER: Installing Manager in ubuntu-22.04[0m  [32m[2024-08-21 10:31:30] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:31:35] [INFO] TESTER: Getting status of ubuntu-22.04[0m  [32m[2024-08-21 10:32:08] [INFO] TESTER: Cluster configured in: ubuntu-24.04[0m  [32m[2024-08-21 10:32:51] [INFO] TESTER: Cluster configured in: ubuntu-22.04[0m  PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_status [32m[2024-08-21 10:32:54] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:32:56] [INFO] TESTER: Getting status of ubuntu-22.04[0m  PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_version PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_revision PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_installed_directory PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ================== 5 passed, 2 warnings in 499.31s (0:08:19) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:34:15] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-08-21 10:34:15] [INFO] TESTER: No config file found; using defaults [2024-08-21 10:34:15] [INFO] TESTER:  [2024-08-21 10:34:15] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 10:34:15] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 10:34:15] [INFO] TESTER:  [2024-08-21 10:34:15] [INFO] TESTER: ok: [localhost] [2024-08-21 10:34:15] [INFO] TESTER: TASK [Test install for manager] ************************************************ [2024-08-21 10:34:15] [INFO] TESTER:  [2024-08-21 10:34:15] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_install.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:08:20.114776'  end: '2024-08-21 10:34:15.687030'  msg: ''  rc: 0  start: '2024-08-21 10:25:55.572254'  stderr: |-  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:25:56] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:25:56] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_manager/test_install.py::test_installation [32m[2024-08-21 10:25:56] [INFO] TESTER: Checking connection to ubuntu-24.04[0m  [32m[2024-08-21 10:25:57] [INFO] TESTER: Connection established successfully in ubuntu-24.04[0m  [32m[2024-08-21 10:26:00] [INFO] TESTER: No Firewall to disable on ubuntu-24.04[0m  [32m[2024-08-21 10:26:00] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-21 10:26:01] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-21 10:26:03] [INFO] TESTER: No Firewall to disable on ubuntu-22.04[0m  [32m[2024-08-21 10:27:02] [INFO] TESTER: File permissions modified to be handled[0m  [32m[2024-08-21 10:27:09] [INFO] TESTER: File copied from ubuntu-24.04 (54.90.212.145) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar[0m  [32m[2024-08-21 10:27:12] [INFO] TESTER: Sending file from /home/ubuntu/wazuh-install-files.tar to ubuntu-22.04 (3.95.8.66)[0m  [32m[2024-08-21 10:27:17] [INFO] TESTER: File permissions were restablished[0m  [32m[2024-08-21 10:27:17] [INFO] TESTER: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers[0m  [32m[2024-08-21 10:27:19] [INFO] TESTER: Installing the Wazuh manager with https://packages-dev.wazuh.com/4.8/wazuh-install.sh[0m  [32m[2024-08-21 10:27:19] [INFO] TESTER: Installing Manager in ubuntu-24.04[0m  [32m[2024-08-21 10:29:18] [INFO] TESTER: Installing the Wazuh manager with https://packages-dev.wazuh.com/4.8/wazuh-install.sh[0m  [32m[2024-08-21 10:29:18] [INFO] TESTER: Installing Manager in ubuntu-22.04[0m  [32m[2024-08-21 10:31:30] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:31:35] [INFO] TESTER: Getting status of ubuntu-22.04[0m  [32m[2024-08-21 10:32:08] [INFO] TESTER: Cluster configured in: ubuntu-24.04[0m  [32m[2024-08-21 10:32:51] [INFO] TESTER: Cluster configured in: ubuntu-22.04[0m  PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_status [32m[2024-08-21 10:32:54] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:32:56] [INFO] TESTER: Getting status of ubuntu-22.04[0m  PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_version PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_revision PASSED  modules/testing/tests/test_manager/test_install.py::test_manager_installed_directory PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ================== 5 passed, 2 warnings in 499.31s (0:08:19) ===================  stdout_lines:  [2024-08-21 10:34:15] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 10:34:15] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-90-212-145.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664/wazuh-23748-ubuntu-24.04-key-1705'}}}} [2024-08-21 10:34:15] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test restart for manager] ************************************************ changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_restart.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:22.923210'  end: '2024-08-21 10:34:44.680852'  msg: ''  rc: 0  start: '2024-08-21 10:34:21.757642'  stderr: |-  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:34:22] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:34:22] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 1 item    modules/testing/tests/test_manager/test_restart.py::test_restart [32m[2024-08-21 10:34:22] [INFO] TESTER: Restarting wazuh-manager in ubuntu-22.04[0m  [32m[2024-08-21 10:34:40] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:34:42] [INFO] TESTER: Getting status of ubuntu-22.04[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ======================== 1 passed, 2 warnings in 22.19s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:34:44] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-08-21 10:34:44] [INFO] TESTER: No config file found; using defaults [2024-08-21 10:34:44] [INFO] TESTER:  [2024-08-21 10:34:44] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 10:34:44] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 10:34:44] [INFO] TESTER:  [2024-08-21 10:34:44] [INFO] TESTER: ok: [localhost] [2024-08-21 10:34:44] [INFO] TESTER: TASK [Test restart for manager] ************************************************ [2024-08-21 10:34:44] [INFO] TESTER:  [2024-08-21 10:34:44] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_restart.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:22.923210'  end: '2024-08-21 10:34:44.680852'  msg: ''  rc: 0  start: '2024-08-21 10:34:21.757642'  stderr: |-  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:34:22] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:34:22] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 1 item    modules/testing/tests/test_manager/test_restart.py::test_restart [32m[2024-08-21 10:34:22] [INFO] TESTER: Restarting wazuh-manager in ubuntu-22.04[0m  [32m[2024-08-21 10:34:40] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:34:42] [INFO] TESTER: Getting status of ubuntu-22.04[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ======================== 1 passed, 2 warnings in 22.19s ========================  stdout_lines:  [2024-08-21 10:34:44] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 10:34:44] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-90-212-145.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664/wazuh-23748-ubuntu-24.04-key-1705'}}}} [2024-08-21 10:34:44] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test stop for manager] *************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_stop.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:26.161981'  end: '2024-08-21 10:35:16.677666'  msg: ''  rc: 0  start: '2024-08-21 10:34:50.515685'  stderr: |-  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:34:50] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:34:50] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 1 item    modules/testing/tests/test_manager/test_stop.py::test_stop [32m[2024-08-21 10:34:51] [INFO] TESTER: Stopping wazuh-manager in ubuntu-22.04[0m  [32m[2024-08-21 10:34:57] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:34:59] [INFO] TESTER: Getting status of ubuntu-22.04[0m  PASSED[32m[2024-08-21 10:35:01] [INFO] TESTER: Restarting wazuh-manager in ubuntu-22.04[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ======================== 1 passed, 2 warnings in 25.45s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:35:16] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-08-21 10:35:16] [INFO] TESTER: No config file found; using defaults [2024-08-21 10:35:16] [INFO] TESTER:  [2024-08-21 10:35:16] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 10:35:16] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 10:35:16] [INFO] TESTER:  [2024-08-21 10:35:16] [INFO] TESTER: ok: [localhost] [2024-08-21 10:35:16] [INFO] TESTER: TASK [Test stop for manager] *************************************************** [2024-08-21 10:35:16] [INFO] TESTER:  [2024-08-21 10:35:16] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_stop.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:26.161981'  end: '2024-08-21 10:35:16.677666'  msg: ''  rc: 0  start: '2024-08-21 10:34:50.515685'  stderr: |-  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:34:50] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:34:50] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 1 item    modules/testing/tests/test_manager/test_stop.py::test_stop [32m[2024-08-21 10:34:51] [INFO] TESTER: Stopping wazuh-manager in ubuntu-22.04[0m  [32m[2024-08-21 10:34:57] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:34:59] [INFO] TESTER: Getting status of ubuntu-22.04[0m  PASSED[32m[2024-08-21 10:35:01] [INFO] TESTER: Restarting wazuh-manager in ubuntu-22.04[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ======================== 1 passed, 2 warnings in 25.45s ========================  stdout_lines:  [2024-08-21 10:35:16] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 10:35:16] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-90-212-145.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664/wazuh-23748-ubuntu-24.04-key-1705'}}}} [2024-08-21 10:35:16] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test uninstall for manager] ********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_uninstall.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:44.338961'  end: '2024-08-21 10:36:06.928223'  msg: ''  rc: 0  start: '2024-08-21 10:35:22.589262'  stderr: |-  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  perl: warning: Setting locale failed.  perl: warning: Please check that your locale settings:  LANGUAGE = (unset),  LC_ALL = (unset),  LC_TIME = "es_ES.UTF-8",  LC_MONETARY = "es_ES.UTF-8",  LC_ADDRESS = "es_ES.UTF-8",  LC_TELEPHONE = "es_ES.UTF-8",  LC_NAME = "es_ES.UTF-8",  LC_MEASUREMENT = "es_ES.UTF-8",  LC_IDENTIFICATION = "es_ES.UTF-8",  LC_NUMERIC = "es_ES.UTF-8",  LC_PAPER = "es_ES.UTF-8",  LANG = "C.UTF-8"  are supported and installed on your system.  perl: warning: Falling back to a fallback locale ("C.UTF-8").  locale: Cannot set LC_ALL to default locale: No such file or directory  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Failed to disable unit: Unit file wazuh-manager.service does not exist.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  perl: warning: Setting locale failed.  perl: warning: Please check that your locale settings:  LANGUAGE = (unset),  LC_ALL = (unset),  LC_TIME = "es_ES.UTF-8",  LC_MONETARY = "es_ES.UTF-8",  LC_ADDRESS = "es_ES.UTF-8",  LC_TELEPHONE = "es_ES.UTF-8",  LC_NAME = "es_ES.UTF-8",  LC_MEASUREMENT = "es_ES.UTF-8",  LC_IDENTIFICATION = "es_ES.UTF-8",  LC_NUMERIC = "es_ES.UTF-8",  LC_PAPER = "es_ES.UTF-8",  LANG = "C.UTF-8"  are supported and installed on your system.  perl: warning: Falling back to a fallback locale ("C.UTF-8").  locale: Cannot set LC_ALL to default locale: No such file or directory  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Removed /etc/systemd/system/multi-user.target.wants/wazuh-manager.service.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:35:23] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:35:23] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_manager/test_uninstall.py::test_uninstall [32m[2024-08-21 10:35:23] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:35:25] [INFO] TESTER: Getting status of ubuntu-22.04[0m  [32m[2024-08-21 10:35:29] [INFO] TESTER: Uninstalling Manager in ubuntu-24.04[0m  [32m[2024-08-21 10:35:44] [INFO] TESTER: Uninstalling Manager in ubuntu-22.04[0m  PASSED  modules/testing/tests/test_manager/test_uninstall.py::test_manager_uninstalled_directory PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ======================== 2 passed, 2 warnings in 43.66s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:36:07] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-08-21 10:36:07] [INFO] TESTER: No config file found; using defaults [2024-08-21 10:36:07] [INFO] TESTER:  [2024-08-21 10:36:07] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 10:36:07] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 10:36:07] [INFO] TESTER:  [2024-08-21 10:36:07] [INFO] TESTER: ok: [localhost] [2024-08-21 10:36:07] [INFO] TESTER: TASK [Test uninstall for manager] ********************************************** [2024-08-21 10:36:07] [INFO] TESTER:  [2024-08-21 10:36:07] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_manager/test_uninstall.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=manager  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/inventory.yaml, wazuh-2: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:44.338961'  end: '2024-08-21 10:36:06.928223'  msg: ''  rc: 0  start: '2024-08-21 10:35:22.589262'  stderr: |-  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  perl: warning: Setting locale failed.  perl: warning: Please check that your locale settings:  LANGUAGE = (unset),  LC_ALL = (unset),  LC_TIME = "es_ES.UTF-8",  LC_MONETARY = "es_ES.UTF-8",  LC_ADDRESS = "es_ES.UTF-8",  LC_TELEPHONE = "es_ES.UTF-8",  LC_NAME = "es_ES.UTF-8",  LC_MEASUREMENT = "es_ES.UTF-8",  LC_IDENTIFICATION = "es_ES.UTF-8",  LC_NUMERIC = "es_ES.UTF-8",  LC_PAPER = "es_ES.UTF-8",  LANG = "C.UTF-8"  are supported and installed on your system.  perl: warning: Falling back to a fallback locale ("C.UTF-8").  locale: Cannot set LC_ALL to default locale: No such file or directory  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Failed to disable unit: Unit file wazuh-manager.service does not exist.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  perl: warning: Setting locale failed.  perl: warning: Please check that your locale settings:  LANGUAGE = (unset),  LC_ALL = (unset),  LC_TIME = "es_ES.UTF-8",  LC_MONETARY = "es_ES.UTF-8",  LC_ADDRESS = "es_ES.UTF-8",  LC_TELEPHONE = "es_ES.UTF-8",  LC_NAME = "es_ES.UTF-8",  LC_MEASUREMENT = "es_ES.UTF-8",  LC_IDENTIFICATION = "es_ES.UTF-8",  LC_NUMERIC = "es_ES.UTF-8",  LC_PAPER = "es_ES.UTF-8",  LANG = "C.UTF-8"  are supported and installed on your system.  perl: warning: Falling back to a fallback locale ("C.UTF-8").  locale: Cannot set LC_ALL to default locale: No such file or directory  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Removed /etc/systemd/system/multi-user.target.wants/wazuh-manager.service.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-90-212-145.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-95-8-66.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:35:23] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:35:23] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[0m  ============================= test session starts ==============================  platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.4.0 -- /home/akim/Desktop/venvs/dtt1/bin/python3  cachedir: .pytest_cache  rootdir: /home/akim/Desktop/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_manager/test_uninstall.py::test_uninstall [32m[2024-08-21 10:35:23] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:35:25] [INFO] TESTER: Getting status of ubuntu-22.04[0m  [32m[2024-08-21 10:35:29] [INFO] TESTER: Uninstalling Manager in ubuntu-24.04[0m  [32m[2024-08-21 10:35:44] [INFO] TESTER: Uninstalling Manager in ubuntu-22.04[0m  PASSED  modules/testing/tests/test_manager/test_uninstall.py::test_manager_uninstalled_directory PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('dependencies', pre=True)    modules/provision/models.py:64  /home/akim/Desktop/wazuh-qa/deployability/modules/provision/models.py:64: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/  @validator('install', 'uninstall', pre=True)    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html  ======================== 2 passed, 2 warnings in 43.66s ========================  stdout_lines:  [2024-08-21 10:36:07] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 10:36:07] [INFO] TESTER: Cleaning up [2024-08-21 10:36:07] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-90-212-145.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664/wazuh-23748-ubuntu-24.04-key-1705'}}}} [2024-08-21 10:36:07] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-54-90-212-145.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-54-90-212-145.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-54-90-212-145.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:36:22] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-54-90-212-145.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-54-90-212-145.compute-1.amazonaws.com': 1}, 'changed': {}} [2024-08-21 10:36:22] [INFO] TESTER: Cleaning up [2024-08-21 10:36:22] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-90-212-145.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-7664/wazuh-23748-ubuntu-24.04-key-1705'}}}} [2024-08-21 10:36:22] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-54-90-212-145.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-54-90-212-145.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-54-90-212-145.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:36:33] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-54-90-212-145.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-54-90-212-145.compute-1.amazonaws.com': 1}, 'changed': {}}  [2024-08-21 10:36:33] [INFO] [2922664] [ThreadPoolExecutor-0_1] [jobflow]: [run-manager-tests] Finished task in 648.49 seconds. [2024-08-21 10:36:33] [INFO] [2922664] [MainThread] [jobflow]: Executing Reverse DAG tasks. [2024-08-21 10:36:33] [INFO] [2922664] [MainThread] [jobflow]: Executing tasks in parallel. [2024-08-21 10:36:33] [INFO] [2922664] [ThreadPoolExecutor-1_0] [jobflow]: [allocate-manager-linux-ubuntu-24.04-amd64] Starting task. [2024-08-21 10:36:33] [INFO] [2922664] [ThreadPoolExecutor-1_1] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-08-21 10:36:33] [DEBUG] [2922664] [ThreadPoolExecutor-1_0] [jobflow]: Running task "allocate-manager-linux-ubuntu-24.04-amd64" with arguments: ['modules/allocation/main.py', '--action=delete', '--track-output=/tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/track.yaml'] [2024-08-21 10:36:33] [DEBUG] [2922664] [ThreadPoolExecutor-1_1] [jobflow]: Running task "allocate-manager-linux-ubuntu-22.04-amd64" with arguments: ['modules/allocation/main.py', '--action=delete', '--track-output=/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml'] [2024-08-21 10:37:12] [DEBUG] [2922664] [ThreadPoolExecutor-1_1] [jobflow]: Finished task "allocate-manager-linux-ubuntu-22.04-amd64" execution with result: [2024-08-21 10:36:34] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 10:36:34] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 10:36:34] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-08-21 10:36:35] [DEBUG] ALLOCATOR: Deleting credentials: wazuh-23748-ubuntu-22.04-key-2069 [2024-08-21 10:37:12] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-22.04]: Instance i-056e529f305771bac deleted.  [2024-08-21 10:37:12] [INFO] [2922664] [ThreadPoolExecutor-1_1] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 38.49 seconds. [2024-08-21 10:37:42] [DEBUG] [2922664] [ThreadPoolExecutor-1_0] [jobflow]: Finished task "allocate-manager-linux-ubuntu-24.04-amd64" execution with result: [2024-08-21 10:36:34] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 10:36:34] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 10:36:34] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-24.04-amd64/track.yaml [2024-08-21 10:36:35] [DEBUG] ALLOCATOR: Deleting credentials: wazuh-23748-ubuntu-24.04-key-1705 [2024-08-21 10:37:42] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-0ab95c76fcb589afc deleted.  [2024-08-21 10:37:42] [INFO] [2922664] [ThreadPoolExecutor-1_0] [jobflow]: [allocate-manager-linux-ubuntu-24.04-amd64] Finished task in 68.86 seconds.