[2024-08-21 09:45:54] [DEBUG] [2908067] [MainThread] [jobflow]: Validating input file: modules/jobflow/templates/central_components/cc-test.yaml [2024-08-21 09:45:54] [DEBUG] [2908067] [MainThread] [jobflow]: Loading schema file: /home/akim/Desktop/venvs/dtt1/lib/python3.10/site-packages/jobflow/schemas/schema_v1.json [2024-08-21 09:45:54] [DEBUG] [2908067] [MainThread] [jobflow]: Loading yaml file: modules/jobflow/templates/central_components/cc-test.yaml [2024-08-21 09:45:54] [DEBUG] [2908067] [MainThread] [jobflow]: Loading workflow file: modules/jobflow/templates/central_components/cc-test.yaml [2024-08-21 09:45:54] [DEBUG] [2908067] [MainThread] [jobflow]: Process workflow. [2024-08-21 09:45:54] [INFO] [2908067] [MainThread] [jobflow]: Executing DAG tasks. [2024-08-21 09:45:54] [INFO] [2908067] [MainThread] [jobflow]: Executing tasks in parallel. [2024-08-21 09:45:54] [INFO] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-central_components-linux-ubuntu-24.04-amd64] Starting task. [2024-08-21 09:45:54] [DEBUG] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: Running task "allocate-central_components-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/central_components-linux-ubuntu-24.04-amd64/inventory.yaml', '--track-output=/tmp/dtt1-poc/central_components-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 09:46:48] [DEBUG] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: Finished task "allocate-central_components-linux-ubuntu-24.04-amd64" execution with result: [2024-08-21 09:45:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 09:45:55] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 09:45:55] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-21 09:45:56] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-21 09:45:56] [DEBUG] ALLOCATOR: Generating new key pair [2024-08-21 09:45:56] [DEBUG] ALLOCATOR: Creating base directory: /tmp/wazuh-qa/AWS-9D8021A2-DF33-4794-A3C0-8DFAEB59D525 [2024-08-21 09:46:15] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-9D8021A2-DF33-4794-A3C0-8DFAEB59D525 directory to /tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-846 [2024-08-21 09:46:15] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-068730fd04360b6b1 created. [2024-08-21 09:46:16] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-068730fd04360b6b1 started. [2024-08-21 09:46:16] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: The inventory file generated at /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml [2024-08-21 09:46:16] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: The track file generated at /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/track.yaml [2024-08-21 09:46:17] [WARNING] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 54.146.145.11 [2024-08-21 09:46:48] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: SSH connection successful. [2024-08-21 09:46:48] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-068730fd04360b6b1 created successfully.  [2024-08-21 09:46:48] [INFO] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-central_components-linux-ubuntu-24.04-amd64] Finished task in 53.98 seconds. [2024-08-21 09:46:48] [INFO] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: [run-central_components-linux-ubuntu-24.04-amd64-tests] Starting task. [2024-08-21 09:46:48] [DEBUG] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: Running task "run-central_components-linux-ubuntu-24.04-amd64-tests" with arguments: ['modules/testing/main.py', "--targets={'wazuh-1': '/tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml'}", '--tests=install,restart,stop,uninstall', '--component=central_components', '--wazuh-version=4.8.2', '--wazuh-revision=40819', '--live=False'] [2024-08-21 10:02:45] [DEBUG] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: Finished task "run-central_components-linux-ubuntu-24.04-amd64-tests" execution with result: [2024-08-21 09:46:49] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 09:46:49] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 09:46:49] [INFO] TESTER: Running tests for ec2-54-146-145-11.compute-1.amazonaws.com [2024-08-21 09:46:49] [DEBUG] TESTER: Using extra vars: {'component': 'central_components', 'wazuh_version': '4.8.2', 'wazuh_revision': '40819', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': False, 'hosts_ip': ['ec2-54-146-145-11.compute-1.amazonaws.com'], 'targets': '{wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-08-21 09:46:49] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-146-145-11.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-846/wazuh-23748-ubuntu-24.04-key-5727'}}}} [2024-08-21 09:46:49] [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-146-145-11.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-54-146-145-11.compute-1.amazonaws.com  delta: '0:00:00.013321'  end: '2024-08-21 09:46:54.918768'  item: ec2-54-146-145-11.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-21 09:46:54.905447'  stderr: Host ec2-54-146-145-11.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 09:46:55] [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 09:46:55] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-146-145-11.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-846/wazuh-23748-ubuntu-24.04-key-5727'}}}} [2024-08-21 09:46:55] [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 central_components] ************************************* changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_install.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:10:51.715697'  end: '2024-08-21 09:57:49.674314'  msg: ''  rc: 0  start: '2024-08-21 09:46:57.958617'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  % Total % Received % Xferd Average Speed Time Time Time Current  Dload Upload Total Spent Left Speed  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 72 100 72 0 0 7916 0 --:--:-- --:--:-- --:--:-- 8000  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  % Total % Received % Xferd Average Speed Time Time Time Current  Dload Upload Total Spent Left Speed  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 742 100 742 0 0 26523 0 --:--:-- --:--:-- --:--:-- 27481  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 09:46:58] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 09:46:58] [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 21 items    modules/testing/tests/test_central_components/test_install.py::test_installation [32m[2024-08-21 09:46:58] [INFO] TESTER: Checking connection to ubuntu-24.04[0m  [32m[2024-08-21 09:47:00] [INFO] TESTER: Connection established successfully in ubuntu-24.04[0m  [32m[2024-08-21 09:47:02] [INFO] TESTER: No Firewall to disable on ubuntu-24.04[0m  [32m[2024-08-21 09:47:50] [INFO] TESTER: Installing the Wazuh manager with https://packages-dev.wazuh.com/4.8/wazuh-install.sh[0m  [32m[2024-08-21 09:47:52] [INFO] TESTER: Installing Wazuh central components (AIO) in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_status [32m[2024-08-21 09:55:26] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_version PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_revision PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_installed_directory PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_status [32m[2024-08-21 09:56:19] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_version PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_nodes PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_keystore PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_status [32m[2024-08-21 09:57:01] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_clusters_status PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_indexes PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_internalUsers PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_version PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_filebeat_status [32m[2024-08-21 09:57:44] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_conexion 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  ================== 21 passed, 2 warnings in 650.99s (0:10:50) ==================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 09:57:49] [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 09:57:49] [INFO] TESTER: No config file found; using defaults [2024-08-21 09:57:49] [INFO] TESTER:  [2024-08-21 09:57:49] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 09:57:49] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 09:57:49] [INFO] TESTER:  [2024-08-21 09:57:49] [INFO] TESTER: ok: [localhost] [2024-08-21 09:57:49] [INFO] TESTER: TASK [Test install for central_components] ************************************* [2024-08-21 09:57:49] [INFO] TESTER:  [2024-08-21 09:57:49] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_install.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:10:51.715697'  end: '2024-08-21 09:57:49.674314'  msg: ''  rc: 0  start: '2024-08-21 09:46:57.958617'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  % Total % Received % Xferd Average Speed Time Time Time Current  Dload Upload Total Spent Left Speed  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 72 100 72 0 0 7916 0 --:--:-- --:--:-- --:--:-- 8000  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  % Total % Received % Xferd Average Speed Time Time Time Current  Dload Upload Total Spent Left Speed  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 742 100 742 0 0 26523 0 --:--:-- --:--:-- --:--:-- 27481  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 09:46:58] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 09:46:58] [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 21 items    modules/testing/tests/test_central_components/test_install.py::test_installation [32m[2024-08-21 09:46:58] [INFO] TESTER: Checking connection to ubuntu-24.04[0m  [32m[2024-08-21 09:47:00] [INFO] TESTER: Connection established successfully in ubuntu-24.04[0m  [32m[2024-08-21 09:47:02] [INFO] TESTER: No Firewall to disable on ubuntu-24.04[0m  [32m[2024-08-21 09:47:50] [INFO] TESTER: Installing the Wazuh manager with https://packages-dev.wazuh.com/4.8/wazuh-install.sh[0m  [32m[2024-08-21 09:47:52] [INFO] TESTER: Installing Wazuh central components (AIO) in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_status [32m[2024-08-21 09:55:26] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_version PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_revision PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_installed_directory PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_status [32m[2024-08-21 09:56:19] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_version PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_nodes PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_keystore PASSED  modules/testing/tests/test_central_components/test_install.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_status [32m[2024-08-21 09:57:01] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_clusters_status PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_indexes PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_internalUsers PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_version PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_port PASSED  modules/testing/tests/test_central_components/test_install.py::test_filebeat_status [32m[2024-08-21 09:57:44] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_install.py::test_indexer_conexion 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  ================== 21 passed, 2 warnings in 650.99s (0:10:50) ==================  stdout_lines:  [2024-08-21 09:57:49] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 09:57:49] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-146-145-11.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-846/wazuh-23748-ubuntu-24.04-key-5727'}}}} [2024-08-21 09:57:49] [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 central_components] ************************************* changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_restart.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:25.892891'  end: '2024-08-21 09:59:21.449708'  msg: ''  rc: 0  start: '2024-08-21 09:57:55.556817'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 09:57:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 09:57:55] [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 10 items    modules/testing/tests/test_central_components/test_restart.py::test_restart [32m[2024-08-21 09:57:56] [INFO] TESTER: Restarting wazuh-manager in ubuntu-24.04[0m  [32m[2024-08-21 09:58:12] [INFO] TESTER: Restarting wazuh-indexer in ubuntu-24.04[0m  [32m[2024-08-21 09:58:29] [INFO] TESTER: Restarting wazuh-dashboard in ubuntu-24.04[0m  [32m[2024-08-21 09:58:31] [INFO] TESTER: Restarting filebeat in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_status [32m[2024-08-21 09:58:34] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_dashboard_status [32m[2024-08-21 09:58:36] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_indexer_status [32m[2024-08-21 09:58:39] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_filebeat_status [32m[2024-08-21 09:58:41] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_indexer_port 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  ================== 10 passed, 2 warnings in 85.23s (0:01:25) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 09:59:21] [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 09:59:21] [INFO] TESTER: No config file found; using defaults [2024-08-21 09:59:21] [INFO] TESTER:  [2024-08-21 09:59:21] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 09:59:21] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 09:59:21] [INFO] TESTER:  [2024-08-21 09:59:21] [INFO] TESTER: ok: [localhost] [2024-08-21 09:59:21] [INFO] TESTER: TASK [Test restart for central_components] ************************************* [2024-08-21 09:59:21] [INFO] TESTER:  [2024-08-21 09:59:21] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_restart.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:25.892891'  end: '2024-08-21 09:59:21.449708'  msg: ''  rc: 0  start: '2024-08-21 09:57:55.556817'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 09:57:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 09:57:55] [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 10 items    modules/testing/tests/test_central_components/test_restart.py::test_restart [32m[2024-08-21 09:57:56] [INFO] TESTER: Restarting wazuh-manager in ubuntu-24.04[0m  [32m[2024-08-21 09:58:12] [INFO] TESTER: Restarting wazuh-indexer in ubuntu-24.04[0m  [32m[2024-08-21 09:58:29] [INFO] TESTER: Restarting wazuh-dashboard in ubuntu-24.04[0m  [32m[2024-08-21 09:58:31] [INFO] TESTER: Restarting filebeat in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_status [32m[2024-08-21 09:58:34] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_dashboard_status [32m[2024-08-21 09:58:36] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_indexer_status [32m[2024-08-21 09:58:39] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_filebeat_status [32m[2024-08-21 09:58:41] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_restart.py::test_indexer_port 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  ================== 10 passed, 2 warnings in 85.23s (0:01:25) ===================  stdout_lines:  [2024-08-21 09:59:21] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 09:59:21] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-146-145-11.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-846/wazuh-23748-ubuntu-24.04-key-5727'}}}} [2024-08-21 09:59:21] [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 central_components] **************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_stop.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:35.979991'  end: '2024-08-21 10:01:03.347321'  msg: ''  rc: 0  start: '2024-08-21 09:59:27.367330'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 09:59:27] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 09:59:27] [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 10 items    modules/testing/tests/test_central_components/test_stop.py::test_stop [32m[2024-08-21 09:59:27] [INFO] TESTER: Stopping wazuh-manager in ubuntu-24.04[0m  [32m[2024-08-21 09:59:32] [INFO] TESTER: Stopping wazuh-indexer in ubuntu-24.04[0m  [32m[2024-08-21 09:59:35] [INFO] TESTER: Stopping wazuh-dashboard in ubuntu-24.04[0m  [32m[2024-08-21 09:59:38] [INFO] TESTER: Stopping filebeat in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_status [32m[2024-08-21 09:59:40] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_dashboard_status [32m[2024-08-21 09:59:42] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_indexer_status [32m[2024-08-21 09:59:45] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_filebeat_status [32m[2024-08-21 09:59:47] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_indexer_port PASSED[32m[2024-08-21 10:00:30] [INFO] TESTER: Restoring Wazuh central components statuses[0m  [32m[2024-08-21 10:00:30] [INFO] TESTER: Restarting wazuh-manager in ubuntu-24.04[0m  [32m[2024-08-21 10:00:44] [INFO] TESTER: Restarting wazuh-indexer in ubuntu-24.04[0m  [32m[2024-08-21 10:00:58] [INFO] TESTER: Restarting wazuh-dashboard in ubuntu-24.04[0m  [32m[2024-08-21 10:01:00] [INFO] TESTER: Restarting filebeat in ubuntu-24.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  ================== 10 passed, 2 warnings in 95.31s (0:01:35) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:01:03] [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:01:03] [INFO] TESTER: No config file found; using defaults [2024-08-21 10:01:03] [INFO] TESTER:  [2024-08-21 10:01:03] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 10:01:03] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 10:01:03] [INFO] TESTER:  [2024-08-21 10:01:03] [INFO] TESTER: ok: [localhost] [2024-08-21 10:01:03] [INFO] TESTER: TASK [Test stop for central_components] **************************************** [2024-08-21 10:01:03] [INFO] TESTER:  [2024-08-21 10:01:03] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_stop.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:35.979991'  end: '2024-08-21 10:01:03.347321'  msg: ''  rc: 0  start: '2024-08-21 09:59:27.367330'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 09:59:27] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 09:59:27] [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 10 items    modules/testing/tests/test_central_components/test_stop.py::test_stop [32m[2024-08-21 09:59:27] [INFO] TESTER: Stopping wazuh-manager in ubuntu-24.04[0m  [32m[2024-08-21 09:59:32] [INFO] TESTER: Stopping wazuh-indexer in ubuntu-24.04[0m  [32m[2024-08-21 09:59:35] [INFO] TESTER: Stopping wazuh-dashboard in ubuntu-24.04[0m  [32m[2024-08-21 09:59:38] [INFO] TESTER: Stopping filebeat in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_status [32m[2024-08-21 09:59:40] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_dashboard_status [32m[2024-08-21 09:59:42] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_indexer_status [32m[2024-08-21 09:59:45] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_filebeat_status [32m[2024-08-21 09:59:47] [INFO] TESTER: Getting status of ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_stop.py::test_indexer_port PASSED[32m[2024-08-21 10:00:30] [INFO] TESTER: Restoring Wazuh central components statuses[0m  [32m[2024-08-21 10:00:30] [INFO] TESTER: Restarting wazuh-manager in ubuntu-24.04[0m  [32m[2024-08-21 10:00:44] [INFO] TESTER: Restarting wazuh-indexer in ubuntu-24.04[0m  [32m[2024-08-21 10:00:58] [INFO] TESTER: Restarting wazuh-dashboard in ubuntu-24.04[0m  [32m[2024-08-21 10:01:00] [INFO] TESTER: Restarting filebeat in ubuntu-24.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  ================== 10 passed, 2 warnings in 95.31s (0:01:35) ===================  stdout_lines:  [2024-08-21 10:01:03] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 10:01:03] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-146-145-11.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-846/wazuh-23748-ubuntu-24.04-key-5727'}}}} [2024-08-21 10:01:03] [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 central_components] *********************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_uninstall.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:19.625428'  end: '2024-08-21 10:02:28.770458'  msg: ''  rc: 0  start: '2024-08-21 10:01:09.145030'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:01:09] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:01:09] [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 7 items    modules/testing/tests/test_central_components/test_uninstall.py::test_uninstall [32m[2024-08-21 10:01:09] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:12] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:14] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:16] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:19] [INFO] TESTER: Uninstalling Wazuh central components (AIO) in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_component_uninstalled_directory PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_indexer_port 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  =================== 7 passed, 2 warnings in 78.96s (0:01:18) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:02:29] [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:02:29] [INFO] TESTER: No config file found; using defaults [2024-08-21 10:02:29] [INFO] TESTER:  [2024-08-21 10:02:29] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-21 10:02:29] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-21 10:02:29] [INFO] TESTER:  [2024-08-21 10:02:29] [INFO] TESTER: ok: [localhost] [2024-08-21 10:02:29] [INFO] TESTER: TASK [Test uninstall for central_components] *********************************** [2024-08-21 10:02:29] [INFO] TESTER:  [2024-08-21 10:02:29] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_central_components/test_uninstall.py  - -v  - --wazuh_version=4.8.2  - --wazuh_revision=40819  - --component=central_components  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:19.625428'  end: '2024-08-21 10:02:28.770458'  msg: ''  rc: 0  start: '2024-08-21 10:01:09.145030'  stderr: |-  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-54-146-145-11.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-21 10:01:09] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-21 10:01:09] [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 7 items    modules/testing/tests/test_central_components/test_uninstall.py::test_uninstall [32m[2024-08-21 10:01:09] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:12] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:14] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:16] [INFO] TESTER: Getting status of ubuntu-24.04[0m  [32m[2024-08-21 10:01:19] [INFO] TESTER: Uninstalling Wazuh central components (AIO) in ubuntu-24.04[0m  PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_component_uninstalled_directory PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_manager_api_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_manager_agent_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_manager_agent_enrollment_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_dashboard_port PASSED  modules/testing/tests/test_central_components/test_uninstall.py::test_indexer_port 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  =================== 7 passed, 2 warnings in 78.96s (0:01:18) ===================  stdout_lines:  [2024-08-21 10:02:29] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-21 10:02:29] [INFO] TESTER: Cleaning up [2024-08-21 10:02:29] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-54-146-145-11.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-23748-ubuntu-24.04-846/wazuh-23748-ubuntu-24.04-key-5727'}}}} [2024-08-21 10:02:29] [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-146-145-11.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-54-146-145-11.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-54-146-145-11.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-21 10:02:45] [DEBUG] TESTER: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-54-146-145-11.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-54-146-145-11.compute-1.amazonaws.com': 1}, 'changed': {}}  [2024-08-21 10:02:45] [INFO] [2908067] [ThreadPoolExecutor-0_0] [jobflow]: [run-central_components-linux-ubuntu-24.04-amd64-tests] Finished task in 956.44 seconds. [2024-08-21 10:02:45] [INFO] [2908067] [MainThread] [jobflow]: Executing Reverse DAG tasks. [2024-08-21 10:02:45] [INFO] [2908067] [MainThread] [jobflow]: Executing tasks in parallel. [2024-08-21 10:02:45] [INFO] [2908067] [ThreadPoolExecutor-1_0] [jobflow]: [allocate-central_components-linux-ubuntu-24.04-amd64] Starting task. [2024-08-21 10:02:45] [DEBUG] [2908067] [ThreadPoolExecutor-1_0] [jobflow]: Running task "allocate-central_components-linux-ubuntu-24.04-amd64" with arguments: ['modules/allocation/main.py', '--action=delete', '--track-output=/tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/track.yaml'] [2024-08-21 10:03:49] [DEBUG] [2908067] [ThreadPoolExecutor-1_0] [jobflow]: Finished task "allocate-central_components-linux-ubuntu-24.04-amd64" execution with result: [2024-08-21 10:02:45] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-21 10:02:45] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-21 10:02:45] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/central_components-linux-ubuntu-24.04-amd64/track.yaml [2024-08-21 10:02:46] [DEBUG] ALLOCATOR: Deleting credentials: wazuh-23748-ubuntu-24.04-key-5727 [2024-08-21 10:03:49] [INFO] ALLOCATOR [WAZUH-23748-UBUNTU-24.04]: Instance i-068730fd04360b6b1 deleted.  [2024-08-21 10:03:49] [INFO] [2908067] [ThreadPoolExecutor-1_0] [jobflow]: [allocate-central_components-linux-ubuntu-24.04-amd64] Finished task in 63.90 seconds.