[2024-08-16 02:06:18] [DEBUG] [1025619] [MainThread] [jobflow]: Validating input file: modules/jobflow/templatesTest/agent/Test-agents-complete.yaml [2024-08-16 02:06:18] [DEBUG] [1025619] [MainThread] [jobflow]: Loading schema file: /home/akim/Desktop/venvs/dtt1/lib/python3.10/site-packages/jobflow/schemas/schema_v1.json [2024-08-16 02:06:18] [DEBUG] [1025619] [MainThread] [jobflow]: Loading yaml file: modules/jobflow/templatesTest/agent/Test-agents-complete.yaml [2024-08-16 02:06:18] [DEBUG] [1025619] [MainThread] [jobflow]: Loading workflow file: modules/jobflow/templatesTest/agent/Test-agents-complete.yaml [2024-08-16 02:06:18] [DEBUG] [1025619] [MainThread] [jobflow]: Process workflow. [2024-08-16 02:06:18] [INFO] [1025619] [MainThread] [jobflow]: Executing DAG tasks. [2024-08-16 02:06:18] [INFO] [1025619] [MainThread] [jobflow]: Executing tasks in parallel. [2024-08-16 02:06:18] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-08-16 02:06:18] [DEBUG] [1025619] [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/5615'] [2024-08-16 02:07:12] [DEBUG] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: Finished task "allocate-manager-linux-ubuntu-22.04-amd64" execution with result: [2024-08-16 02:06:19] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:06:19] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:06:19] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-16 02:06:20] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-16 02:06:20] [DEBUG] ALLOCATOR: Generating new key pair [2024-08-16 02:06:20] [DEBUG] ALLOCATOR: Creating base directory: /tmp/wazuh-qa/AWS-B59C518B-D6ED-4768-9992-9E70F8180CE8 [2024-08-16 02:06:39] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-B59C518B-D6ED-4768-9992-9E70F8180CE8 directory to /tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412 [2024-08-16 02:06:39] [INFO] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: Instance i-0c575ae3812193271 created. [2024-08-16 02:06:41] [INFO] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: Instance i-0c575ae3812193271 started. [2024-08-16 02:06:41] [INFO] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: The inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-08-16 02:06:41] [INFO] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: The track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-08-16 02:06:41] [WARNING] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 3.89.150.84 [2024-08-16 02:07:12] [INFO] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: SSH connection successful. [2024-08-16 02:07:12] [INFO] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: Instance i-0c575ae3812193271 created successfully.  [2024-08-16 02:07:12] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 53.87 seconds. [2024-08-16 02:07:12] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-08-16 02:07:12] [DEBUG] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: Running task "provision-manager-linux-ubuntu-22.04-amd64" with arguments: ['modules/provision/main.py', '--inventory=/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml', "--install={'component': 'wazuh-manager', 'type': 'assistant', 'version': '4.9.0', 'live': False}"] [2024-08-16 02:15:20] [DEBUG] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: Finished task "provision-manager-linux-ubuntu-22.04-amd64" execution with result: [2024-08-16 02:07:13] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:07:13] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:07:13] [DEBUG] PROVISIONER: Setting dependencies: {} for wazuh-manager component. [2024-08-16 02:07:13] [INFO] PROVISIONER: Initiating provisionment. [2024-08-16 02:07:13] [DEBUG] PROVISIONER: Running action install for components: [ComponentInfo(component='wazuh-manager', type='assistant', version='4.9.0', dependencies=None, live=False)] [2024-08-16 02:07:13] [INFO] PROVISIONER: Provisioning "wazuh-manager"... [2024-08-16 02:07:13] [DEBUG] PROVISIONER: Get OS family for ec2-3-89-150-84.compute-1.amazonaws.com. [2024-08-16 02:07:13] [DEBUG] PROVISIONER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:07:13] [DEBUG] PROVISIONER: Running playbook: {'hosts': 'ec2-3-89-150-84.compute-1.amazonaws.com', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} No config file found; using defaults PLAY [ec2-3-89-150-84.compute-1.amazonaws.com] ********************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Capture ansible_os_family] *********************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   ansible_facts:  ansible_os_family: Debian PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Playbook {'hosts': 'ec2-3-89-150-84.compute-1.amazonaws.com', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}} [2024-08-16 02:07:22] [DEBUG] PROVISIONER: OS family: Debian. [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Render playbook with vars: {'component': 'wazuh-manager', 'version': '4.9.0', 'live': False, 'type': 'assistant', 'dependencies': None, 'templates_path': '/home/akim/Desktop/trash/wazuh-qa/deployability/modules/provision/playbooks/wazuh/assistant/install', 'templates_order': ['download.j2', 'install.j2'], 'ansible_os_family': 'Debian'}. [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Templates found: ['download.j2', 'install.j2'] [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Rendering template download.j2 [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Rendering template install.j2 [2024-08-16 02:07:22] [DEBUG] PROVISIONER: [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages-dev.wazuh.com/4.9/wazuh-install.sh'}, {'name': 'Install wazuh-manager with assistant', 'shell': 'bash ./wazuh-install.sh -a -i'}] [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Tasks to execute: [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages-dev.wazuh.com/4.9/wazuh-install.sh'}, {'name': 'Install wazuh-manager with assistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]. [2024-08-16 02:07:22] [INFO] PROVISIONER: Execute install for wazuh-manager. [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:07:22] [DEBUG] PROVISIONER: Running playbook: {'hosts': 'ec2-3-89-150-84.compute-1.amazonaws.com', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages-dev.wazuh.com/4.9/wazuh-install.sh'}, {'name': 'Install wazuh-manager with assistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]} No config file found; using defaults PLAY [ec2-3-89-150-84.compute-1.amazonaws.com] ********************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Install the required packages] ******************************************* changed: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=true   cmd: |2-    sudo apt-get update && apt-get -y install curl  delta: '0:00:17.348985'  end: '2024-08-16 00:07:49.796120'  msg: ''  rc: 0  start: '2024-08-16 00:07:32.447135'  stderr: ''  stderr_lines:   stdout: |-  Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease  Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]  Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]  Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]  Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]  Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1729 kB]  Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]  Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]  Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]  Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]  Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B]  Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1948 kB]  Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [345 kB]  Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [17.8 kB]  Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2322 kB]  Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [401 kB]  Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [604 B]  Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1111 kB]  Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [259 kB]  Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [25.9 kB]  Get:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [43.3 kB]  Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [10.8 kB]  Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [444 B]  Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [67.1 kB]  Get:25 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [11.0 kB]  Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B]  Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]  Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [28.8 kB]  Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.5 kB]  Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [672 B]  Get:31 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]  Get:32 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [287 kB]  Get:33 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [13.1 kB]  Get:34 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2247 kB]  Get:35 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [388 kB]  Get:36 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [572 B]  Get:37 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [890 kB]  Get:38 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [175 kB]  Get:39 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [19.0 kB]  Get:40 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.2 kB]  Get:41 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [7588 B]  Get:42 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [228 B]  Fetched 33.2 MB in 4s (8907 kB/s)  Reading package lists...  Reading package lists...  Building dependency tree...  Reading state information...  The following additional packages will be installed:  libcurl4  The following packages will be upgraded:  curl libcurl4  2 upgraded, 0 newly installed, 0 to remove and 205 not upgraded.  Need to get 484 kB of archives.  After this operation, 0 B of additional disk space will be used.  Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.17 [194 kB]  Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.17 [290 kB]  Fetched 484 kB in 0s (25.1 MB/s)  (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 64295 files and directories currently installed.)  Preparing to unpack .../curl_7.81.0-1ubuntu1.17_amd64.deb ...  Unpacking curl (7.81.0-1ubuntu1.17) over (7.81.0-1ubuntu1.10) ...  Preparing to unpack .../libcurl4_7.81.0-1ubuntu1.17_amd64.deb ...  Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.17) over (7.81.0-1ubuntu1.10) ...  Setting up libcurl4:amd64 (7.81.0-1ubuntu1.17) ...  Setting up curl (7.81.0-1ubuntu1.17) ...  Processing triggers for man-db (2.10.2-1) ...  Processing triggers for libc-bin (2.35-0ubuntu3.1) ...  stdout_lines:  TASK [Download the Wazuh installation assistant] ******************************* changed: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=true   cmd: curl -sO https://packages-dev.wazuh.com/4.9/wazuh-install.sh  delta: '0:00:00.591498'  end: '2024-08-16 00:07:54.073900'  msg: ''  rc: 0  start: '2024-08-16 00:07:53.482402'  stderr: ''  stderr_lines:   stdout: ''  stdout_lines:  TASK [Install wazuh-manager with assistant] ************************************ changed: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=true   cmd: bash ./wazuh-install.sh -a -i  delta: '0:07:21.204135'  end: '2024-08-16 00:15:19.806700'  msg: ''  rc: 0  start: '2024-08-16 00:07:58.602565'  stderr: ''  stderr_lines:   stdout: |-  16/08/2024 00:07:58 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0  16/08/2024 00:07:58 INFO: Verbose logging redirected to /var/log/wazuh-install.log  16/08/2024 00:08:03 WARNING: Hardware checks ignored.  16/08/2024 00:08:06 INFO: Wazuh web interface port will be 443.  16/08/2024 00:08:11 INFO: --- Dependencies ----  16/08/2024 00:08:11 INFO: Installing apt-transport-https.  16/08/2024 00:08:16 INFO: Installing debhelper.  16/08/2024 00:08:50 INFO: Wazuh development repository added.  16/08/2024 00:08:50 INFO: --- Configuration files ---  16/08/2024 00:08:50 INFO: Generating configuration files.  16/08/2024 00:08:50 INFO: Generating the root certificate.  16/08/2024 00:08:51 INFO: Generating Admin certificates.  16/08/2024 00:08:51 INFO: Generating Wazuh indexer certificates.  16/08/2024 00:08:51 INFO: Generating Filebeat certificates.  16/08/2024 00:08:51 INFO: Generating Wazuh dashboard certificates.  16/08/2024 00:08:52 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.  16/08/2024 00:08:52 INFO: --- Wazuh indexer ---  16/08/2024 00:08:52 INFO: Starting Wazuh indexer installation.  16/08/2024 00:09:40 INFO: Wazuh indexer installation finished.  16/08/2024 00:09:40 INFO: Wazuh indexer post-install configuration finished.  16/08/2024 00:09:40 INFO: Starting service wazuh-indexer.  16/08/2024 00:09:52 INFO: wazuh-indexer service started.  16/08/2024 00:09:52 INFO: Initializing Wazuh indexer cluster security settings.  16/08/2024 00:09:56 INFO: Wazuh indexer cluster security configuration initialized.  16/08/2024 00:09:56 INFO: Wazuh indexer cluster initialized.  16/08/2024 00:09:56 INFO: --- Wazuh server ---  16/08/2024 00:09:56 INFO: Starting the Wazuh manager installation.  16/08/2024 00:11:18 INFO: Wazuh manager installation finished.  16/08/2024 00:11:18 INFO: Wazuh manager vulnerability detection configuration finished.  16/08/2024 00:11:18 INFO: Starting service wazuh-manager.  16/08/2024 00:11:34 INFO: wazuh-manager service started.  16/08/2024 00:11:34 INFO: Starting Filebeat installation.  16/08/2024 00:11:48 INFO: Filebeat installation finished.  16/08/2024 00:11:49 INFO: Filebeat post-install configuration finished.  16/08/2024 00:11:49 INFO: Starting service filebeat.  16/08/2024 00:11:50 INFO: filebeat service started.  16/08/2024 00:11:50 INFO: --- Wazuh dashboard ---  16/08/2024 00:11:50 INFO: Starting Wazuh dashboard installation.  16/08/2024 00:14:40 INFO: Wazuh dashboard installation finished.  16/08/2024 00:14:40 INFO: Wazuh dashboard post-install configuration finished.  16/08/2024 00:14:40 INFO: Starting service wazuh-dashboard.  16/08/2024 00:14:41 INFO: wazuh-dashboard service started.  16/08/2024 00:14:42 INFO: Updating the internal users.  16/08/2024 00:14:45 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.  16/08/2024 00:14:52 INFO: The filebeat.yml file has been updated to use the Filebeat Keystore username and password.  16/08/2024 00:15:19 INFO: Initializing Wazuh dashboard web application.  16/08/2024 00:15:19 INFO: Wazuh dashboard web application initialized.  16/08/2024 00:15:19 INFO: --- Summary ---  16/08/2024 00:15:19 INFO: You can access the web interface https://:443  User: admin  Password: 71b.1A4?pQ9XrUqceW+btTGnwVmpiSvZ  16/08/2024 00:15:19 INFO: Installation finished.  stdout_lines:  PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=4  changed=3  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:15:20] [DEBUG] PROVISIONER: Playbook {'hosts': 'ec2-3-89-150-84.compute-1.amazonaws.com', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages-dev.wazuh.com/4.9/wazuh-install.sh'}, {'name': 'Install wazuh-manager with assistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]} finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 4}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 3}} [2024-08-16 02:15:20] [INFO] PROVISIONER: Provision of "wazuh-manager" complete successfully. [2024-08-16 02:15:20] [INFO] PROVISIONER: All components provisioned successfully. [2024-08-16 02:15:20] [DEBUG] PROVISIONER: Provision summary: {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 4}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 3}}  [2024-08-16 02:15:20] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [provision-manager-linux-ubuntu-22.04-amd64] Finished task in 487.73 seconds. [2024-08-16 02:15:20] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-agent-linux-redhat-7-amd64] Starting task. [2024-08-16 02:15:20] [INFO] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: [allocate-agent-linux-redhat-7-arm64] Starting task. [2024-08-16 02:15:20] [DEBUG] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: Running task "allocate-agent-linux-redhat-7-amd64" with arguments: ['modules/allocation/main.py', '--action=create', '--provider=aws', '--size=small', '--composite-name=linux-redhat-7-amd64', '--inventory-output=/tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml', '--track-output=/tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml', '--label-termination-date=1d', '--label-team=qa', '--label-issue=https://github.com/wazuh/wazuh/issues/5615'] [2024-08-16 02:15:20] [INFO] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: [allocate-macos-agent-macos-ventura-13-amd64] Starting task. [2024-08-16 02:15:20] [INFO] [1025619] [ThreadPoolExecutor-0_3] [jobflow]: [allocate-windows-agent-windows-desktop-10-amd64] Starting task. [2024-08-16 02:15:20] [DEBUG] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: Running task "allocate-agent-linux-redhat-7-arm64" with arguments: ['modules/allocation/main.py', '--action=create', '--provider=aws', '--size=small', '--composite-name=linux-redhat-7-arm64', '--inventory-output=/tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml', '--track-output=/tmp/dtt1-poc/agent-linux-redhat-7-arm64/track.yaml', '--label-termination-date=1d', '--label-team=qa', '--label-issue=https://github.com/wazuh/wazuh/issues/5615'] [2024-08-16 02:15:20] [DEBUG] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: Running task "allocate-macos-agent-macos-ventura-13-amd64" with arguments: ['modules/allocation/main.py', '--action=create', '--provider=vagrant', '--size=small', '--composite-name=macos-ventura-13-amd64', '--inventory-output=/tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml', '--track-output=/tmp/dtt1-poc/agent-macos-ventura-13-amd64/track.yaml', '--label-termination-date=1d', '--label-team=qa', '--label-issue=https://github.com/wazuh/wazuh/issues/5615'] [2024-08-16 02:15:20] [DEBUG] [1025619] [ThreadPoolExecutor-0_3] [jobflow]: Running task "allocate-windows-agent-windows-desktop-10-amd64" with arguments: ['modules/allocation/main.py', '--action=create', '--provider=aws', '--size=large', '--composite-name=windows-desktop-10-amd64', '--inventory-output=/tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml', '--track-output=/tmp/dtt1-poc/agent-windows-desktop-10-amd64/track.yaml', '--label-termination-date=1d', '--label-team=qa', '--label-issue=https://github.com/wazuh/wazuh/issues/5615'] [2024-08-16 02:17:17] [DEBUG] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: Finished task "allocate-macos-agent-macos-ventura-13-amd64" execution with result: [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:15:21] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-16 02:15:32] [INFO] ALLOCATOR: Using the macStadium Intel server to deploy. [2024-08-16 02:15:32] [DEBUG] ALLOCATOR: Checking if instance directory exists on remote host [2024-08-16 02:15:35] [DEBUG] ALLOCATOR: Creating instance directory on remote host [2024-08-16 02:15:38] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-16 02:15:38] [DEBUG] ALLOCATOR: Generating new key pair [2024-08-16 02:15:42] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-08-16 02:15:53] [INFO] ALLOCATOR: Instance wazuh-5615-ventura-13-8181 created. [2024-08-16 02:16:54] [INFO] ALLOCATOR: Instance wazuh-5615-ventura-13-8181 started. [2024-08-16 02:17:15] [INFO] ALLOCATOR: The inventory file generated at /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml [2024-08-16 02:17:15] [INFO] ALLOCATOR: The track file generated at /tmp/dtt1-poc/agent-macos-ventura-13-amd64/track.yaml [2024-08-16 02:17:17] [INFO] ALLOCATOR: SSH connection successful. [2024-08-16 02:17:17] [INFO] ALLOCATOR: Instance wazuh-5615-ventura-13-8181 created successfully.  [2024-08-16 02:17:17] [INFO] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: [allocate-macos-agent-macos-ventura-13-amd64] Finished task in 117.21 seconds. [2024-08-16 02:17:17] [INFO] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: [run-macos-agent-macos-ventura-13-amd64-tests] Starting task. [2024-08-16 02:17:17] [DEBUG] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: Running task "run-macos-agent-macos-ventura-13-amd64-tests" with arguments: ['modules/testing/main.py', "--targets={'wazuh-1': '/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml'}", "--targets={'agent': '/tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml'}", '--tests=install,registration,connection,basic_info,restart,stop,uninstall', '--component=agent', '--wazuh-version=4.9.0', '--wazuh-revision=40905', '--live=False'] [2024-08-16 02:17:46] [DEBUG] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: Finished task "allocate-agent-linux-redhat-7-arm64" execution with result: [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:15:21] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: Generating new key pair [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: Creating base directory: /tmp/wazuh-qa/AWS-13A63B29-DB0A-4918-B0F9-C1A95B6D551A [2024-08-16 02:15:41] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-13A63B29-DB0A-4918-B0F9-C1A95B6D551A directory to /tmp/wazuh-qa/wazuh-5615-redhat-7-8761 [2024-08-16 02:15:41] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04e604a8ee6f6f135 created. [2024-08-16 02:15:43] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04e604a8ee6f6f135 started. [2024-08-16 02:15:43] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: The inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml [2024-08-16 02:15:43] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: The track file generated at /tmp/dtt1-poc/agent-linux-redhat-7-arm64/track.yaml [2024-08-16 02:15:43] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 98.80.119.14 [2024-08-16 02:16:13] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 2 of 30: [Errno None] Unable to connect to port 2200 on 98.80.119.14 [2024-08-16 02:16:44] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 3 of 30: [Errno None] Unable to connect to port 2200 on 98.80.119.14 [2024-08-16 02:17:14] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 4 of 30: [Errno None] Unable to connect to port 2200 on 98.80.119.14 [2024-08-16 02:17:45] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: SSH connection successful. [2024-08-16 02:17:45] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04e604a8ee6f6f135 created successfully.  [2024-08-16 02:17:46] [INFO] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: [allocate-agent-linux-redhat-7-arm64] Finished task in 145.45 seconds. [2024-08-16 02:17:46] [INFO] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: [run-agent-linux-redhat-7-arm64-tests] Starting task. [2024-08-16 02:17:46] [DEBUG] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: Running task "run-agent-linux-redhat-7-arm64-tests" with arguments: ['modules/testing/main.py', "--targets={'wazuh-1': '/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml'}", "--targets={'agent': '/tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml'}", '--tests=install,registration,connection,basic_info,restart,stop,uninstall', '--component=agent', '--wazuh-version=4.9.0', '--wazuh-revision=40905', '--live=False'] [2024-08-16 02:20:57] [DEBUG] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: Finished task "allocate-agent-linux-redhat-7-amd64" execution with result: [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:15:21] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: Generating new key pair [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: Creating base directory: /tmp/wazuh-qa/AWS-358881D2-4B90-41D3-8A67-C7D9DF965C55 [2024-08-16 02:15:41] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-358881D2-4B90-41D3-8A67-C7D9DF965C55 directory to /tmp/wazuh-qa/wazuh-5615-redhat-7-2666 [2024-08-16 02:15:41] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04c9381b704f1ade9 created. [2024-08-16 02:15:42] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04c9381b704f1ade9 started. [2024-08-16 02:15:43] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: The inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml [2024-08-16 02:15:43] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: The track file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml [2024-08-16 02:15:54] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:16:24] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 2 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:16:54] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 3 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:17:24] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 4 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:17:55] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 5 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:18:25] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 6 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:18:55] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 7 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:19:25] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 8 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:19:55] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 9 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:20:26] [WARNING] ALLOCATOR [WAZUH-5615-REDHAT-7]: Error on attempt 10 of 30: [Errno None] Unable to connect to port 2200 on 3.85.113.103 [2024-08-16 02:20:57] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: SSH connection successful. [2024-08-16 02:20:57] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04c9381b704f1ade9 created successfully.  [2024-08-16 02:20:57] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [allocate-agent-linux-redhat-7-amd64] Finished task in 337.26 seconds. [2024-08-16 02:20:57] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [run-agent-linux-redhat-7-amd64-tests] Starting task. [2024-08-16 02:20:57] [DEBUG] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: Running task "run-agent-linux-redhat-7-amd64-tests" with arguments: ['modules/testing/main.py', "--targets={'wazuh-1': '/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml'}", "--targets={'agent': '/tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml'}", '--tests=install,registration,connection,basic_info,restart,stop,uninstall', '--component=agent', '--wazuh-version=4.9.0', '--wazuh-revision=40905', '--live=False'] [2024-08-16 02:24:43] [DEBUG] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: Finished task "run-macos-agent-macos-ventura-13-amd64-tests" execution with result: [2024-08-16 02:17:18] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:17:18] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:17:18] [INFO] TESTER: Running tests for ec2-3-89-150-84.compute-1.amazonaws.com [2024-08-16 02:17:18] [INFO] TESTER: Running tests for 10.10.0.249 [2024-08-16 02:17:18] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.9.0', 'wazuh_revision': '40905', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': False, 'hosts_ip': ['ec2-3-89-150-84.compute-1.amazonaws.com', '10.10.0.249'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/trash/wazuh-qa/deployability', 'current_user': 'akim'} [2024-08-16 02:17:18] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:17:18] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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-3-89-150-84.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-3-89-150-84.compute-1.amazonaws.com  delta: '0:00:00.015055'  end: '2024-08-16 02:17:23.824086'  item: ec2-3-89-150-84.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-16 02:17:23.809031'  stderr: Host ec2-3-89-150-84.compute-1.amazonaws.com not found in /home/akim/.ssh/known_hosts  stderr_lines:   stdout: ''  stdout_lines:  changed: [localhost] => (item=10.10.0.249) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - 10.10.0.249  delta: '0:00:00.013049'  end: '2024-08-16 02:17:23.996068'  item: 10.10.0.249  msg: ''  rc: 0  start: '2024-08-16 02:17:23.983019'  stderr: ''  stderr_lines:   stdout: |-  # Host 10.10.0.249 found: line 1997  # Host 10.10.0.249 found: line 1998  # Host 10.10.0.249 found: line 1999  /home/akim/.ssh/known_hosts updated.  Original contents retained as /home/akim/.ssh/known_hosts.old  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:17:24] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:17:24] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:17:24] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:33.392006'  end: '2024-08-16 02:18:00.443582'  msg: ''  rc: 0  start: '2024-08-16 02:17:27.051576'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:17:27] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:17: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:17:27] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:17:29] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:17:32] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:17:33] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:17:33] [INFO] TESTER: Firewall disabled on ventura-13[0m  [32m[2024-08-16 02:17:39] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:17:41] [INFO] TESTER: Installing Agent in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:17:57] [INFO] TESTER: Getting status of ventura-13[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 32.72s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:18:00] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:18:00] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:18:00] [INFO] TESTER:  [2024-08-16 02:18:00] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:18:00] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:18:00] [INFO] TESTER:  [2024-08-16 02:18:00] [INFO] TESTER: ok: [localhost] [2024-08-16 02:18:00] [INFO] TESTER: TASK [Test install for agent] ************************************************** [2024-08-16 02:18:00] [INFO] TESTER:  [2024-08-16 02:18:00] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:33.392006'  end: '2024-08-16 02:18:00.443582'  msg: ''  rc: 0  start: '2024-08-16 02:17:27.051576'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:17:27] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:17: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:17:27] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:17:29] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:17:32] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:17:33] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:17:33] [INFO] TESTER: Firewall disabled on ventura-13[0m  [32m[2024-08-16 02:17:39] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:17:41] [INFO] TESTER: Installing Agent in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:17:57] [INFO] TESTER: Getting status of ventura-13[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 32.72s ========================  stdout_lines:  [2024-08-16 02:18:00] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:18:00] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:18:00] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test registration for agent] ********************************************* changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:54.400556'  end: '2024-08-16 02:18:57.918996'  msg: ''  rc: 0  start: '2024-08-16 02:18:03.518440'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:18:03] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:18:03] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:18:04] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:18:06] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:18:08] [INFO] TESTER: Registering agent in ventura-13[0m  [32m[2024-08-16 02:18:25] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 4 passed, 2 warnings in 53.72s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:18:58] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:18:58] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:18:58] [INFO] TESTER:  [2024-08-16 02:18:58] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:18:58] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:18:58] [INFO] TESTER:  [2024-08-16 02:18:58] [INFO] TESTER: ok: [localhost] [2024-08-16 02:18:58] [INFO] TESTER: TASK [Test registration for agent] ********************************************* [2024-08-16 02:18:58] [INFO] TESTER:  [2024-08-16 02:18:58] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:54.400556'  end: '2024-08-16 02:18:57.918996'  msg: ''  rc: 0  start: '2024-08-16 02:18:03.518440'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:18:03] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:18:03] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:18:04] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:18:06] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:18:08] [INFO] TESTER: Registering agent in ventura-13[0m  [32m[2024-08-16 02:18:25] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 4 passed, 2 warnings in 53.72s ========================  stdout_lines:  [2024-08-16 02:18:58] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:18:58] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:18:58] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test connection for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:13.992265'  end: '2024-08-16 02:20:19.823345'  msg: ''  rc: 0  start: '2024-08-16 02:19:05.831080'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:19:06] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:19:06] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:19:06] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:19:08] [INFO] TESTER: Connection established successfully in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:19:43] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 6 passed, 2 warnings in 73.32s (0:01:13) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:20:20] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:20:20] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:20:20] [INFO] TESTER:  [2024-08-16 02:20:20] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:20:20] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:20:20] [INFO] TESTER:  [2024-08-16 02:20:20] [INFO] TESTER: ok: [localhost] [2024-08-16 02:20:20] [INFO] TESTER: TASK [Test connection for agent] *********************************************** [2024-08-16 02:20:20] [INFO] TESTER:  [2024-08-16 02:20:20] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:13.992265'  end: '2024-08-16 02:20:19.823345'  msg: ''  rc: 0  start: '2024-08-16 02:19:05.831080'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:19:06] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:19:06] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:19:06] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:19:08] [INFO] TESTER: Connection established successfully in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:19:43] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 6 passed, 2 warnings in 73.32s (0:01:13) ===================  stdout_lines:  [2024-08-16 02:20:20] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:20:20] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:20:20] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test basic_info for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:30.433954'  end: '2024-08-16 02:20:56.107616'  msg: ''  rc: 0  start: '2024-08-16 02:20:25.673662'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:20:26] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:20:26] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:20:26] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:20:28] [INFO] TESTER: Connection established successfully in ventura-13[0m  [37m[2024-08-16 02:20:50] [DEBUG] TESTER: Version obtained from agent: 13.6.6[0m  [37m[2024-08-16 02:20:50] [DEBUG] TESTER: Version obtained from Wazuh API: 13.6.6[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 29.74s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:20:56] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:20:56] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:20:56] [INFO] TESTER:  [2024-08-16 02:20:56] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:20:56] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:20:56] [INFO] TESTER:  [2024-08-16 02:20:56] [INFO] TESTER: ok: [localhost] [2024-08-16 02:20:56] [INFO] TESTER: TASK [Test basic_info for agent] *********************************************** [2024-08-16 02:20:56] [INFO] TESTER:  [2024-08-16 02:20:56] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:30.433954'  end: '2024-08-16 02:20:56.107616'  msg: ''  rc: 0  start: '2024-08-16 02:20:25.673662'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:20:26] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:20:26] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:20:26] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:20:28] [INFO] TESTER: Connection established successfully in ventura-13[0m  [37m[2024-08-16 02:20:50] [DEBUG] TESTER: Version obtained from agent: 13.6.6[0m  [37m[2024-08-16 02:20:50] [DEBUG] TESTER: Version obtained from Wazuh API: 13.6.6[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 29.74s ========================  stdout_lines:  [2024-08-16 02:20:56] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:20:56] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:20:56] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:50.151078'  end: '2024-08-16 02:21:52.190095'  msg: ''  rc: 0  start: '2024-08-16 02:21:02.039017'  stderr: 'Warning: Permanently added ''[ec2-3-89-150-84.compute-1.amazonaws.com]:2200'' (ED25519) to the list of known hosts.'  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:02] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21:02] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:21:02] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:21:04] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:21:12] [INFO] TESTER: Restarting wazuh-agent in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:21:23] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 49.44s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:21:52] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:21:52] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:21:52] [INFO] TESTER:  [2024-08-16 02:21:52] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:21:52] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:21:52] [INFO] TESTER:  [2024-08-16 02:21:52] [INFO] TESTER: ok: [localhost] [2024-08-16 02:21:52] [INFO] TESTER: TASK [Test restart for agent] ************************************************** [2024-08-16 02:21:52] [INFO] TESTER:  [2024-08-16 02:21:52] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:50.151078'  end: '2024-08-16 02:21:52.190095'  msg: ''  rc: 0  start: '2024-08-16 02:21:02.039017'  stderr: 'Warning: Permanently added ''[ec2-3-89-150-84.compute-1.amazonaws.com]:2200'' (ED25519) to the list of known hosts.'  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:02] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21:02] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:21:02] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:21:04] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:21:12] [INFO] TESTER: Restarting wazuh-agent in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:21:23] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 49.44s ========================  stdout_lines:  [2024-08-16 02:21:52] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:21:52] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:21:52] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ***************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:57.400089'  end: '2024-08-16 02:22:52.721578'  msg: ''  rc: 0  start: '2024-08-16 02:21:55.321489'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:21:55] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:21:57] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:22:11] [INFO] TESTER: Stopping wazuh-agent in ventura-13[0m  [32m[2024-08-16 02:22:14] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:22:41] [INFO] TESTER: Restarting wazuh-agent in ventura-13[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 56.73s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:22:52] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:22:52] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:22:52] [INFO] TESTER:  [2024-08-16 02:22:52] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:22:52] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:22:52] [INFO] TESTER:  [2024-08-16 02:22:52] [INFO] TESTER: ok: [localhost] [2024-08-16 02:22:52] [INFO] TESTER: TASK [Test stop for agent] ***************************************************** [2024-08-16 02:22:52] [INFO] TESTER:  [2024-08-16 02:22:52] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:57.400089'  end: '2024-08-16 02:22:52.721578'  msg: ''  rc: 0  start: '2024-08-16 02:21:55.321489'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:21:55] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:21:57] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:22:11] [INFO] TESTER: Stopping wazuh-agent in ventura-13[0m  [32m[2024-08-16 02:22:14] [INFO] TESTER: Getting status of ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:22:41] [INFO] TESTER: Restarting wazuh-agent in ventura-13[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 56.73s ========================  stdout_lines:  [2024-08-16 02:22:52] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:22:52] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:22:52] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************ changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:25.071009'  end: '2024-08-16 02:24:23.675923'  msg: ''  rc: 0  start: '2024-08-16 02:22:58.604914'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:22:59] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:22:59] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:22:59] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:23:01] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:23:25] [INFO] TESTER: Uninstalling Agent in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 84.39s (0:01:24) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:24:23] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:24:23] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:24:23] [INFO] TESTER:  [2024-08-16 02:24:23] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:24:23] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:24:23] [INFO] TESTER:  [2024-08-16 02:24:23] [INFO] TESTER: ok: [localhost] [2024-08-16 02:24:23] [INFO] TESTER: TASK [Test uninstall for agent] ************************************************ [2024-08-16 02:24:23] [INFO] TESTER:  [2024-08-16 02:24:23] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-macos-ventura-13-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:25.071009'  end: '2024-08-16 02:24:23.675923'  msg: ''  rc: 0  start: '2024-08-16 02:22:58.604914'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:22:59] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:22:59] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:22:59] [INFO] TESTER: Checking connection to ventura-13[0m  [32m[2024-08-16 02:23:01] [INFO] TESTER: Connection established successfully in ventura-13[0m  [32m[2024-08-16 02:23:25] [INFO] TESTER: Uninstalling Agent in ventura-13[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 84.39s (0:01:24) ===================  stdout_lines:  [2024-08-16 02:24:23] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:24:23] [INFO] TESTER: Cleaning up [2024-08-16 02:24:23] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:24:23] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:24:34] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}} [2024-08-16 02:24:34] [INFO] TESTER: Cleaning up [2024-08-16 02:24:34] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:24:34] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:24:43] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}}  [2024-08-16 02:24:43] [INFO] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: [run-macos-agent-macos-ventura-13-amd64-tests] Finished task in 445.21 seconds. [2024-08-16 02:25:04] [DEBUG] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: Finished task "run-agent-linux-redhat-7-arm64-tests" execution with result: [2024-08-16 02:17:46] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:17:46] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:17:46] [INFO] TESTER: Running tests for ec2-3-89-150-84.compute-1.amazonaws.com [2024-08-16 02:17:46] [INFO] TESTER: Running tests for ec2-98-80-119-14.compute-1.amazonaws.com [2024-08-16 02:17:46] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.9.0', 'wazuh_revision': '40905', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': False, 'hosts_ip': ['ec2-3-89-150-84.compute-1.amazonaws.com', 'ec2-98-80-119-14.compute-1.amazonaws.com'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/trash/wazuh-qa/deployability', 'current_user': 'akim'} [2024-08-16 02:17:46] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:17:46] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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-3-89-150-84.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-3-89-150-84.compute-1.amazonaws.com  delta: '0:00:00.015670'  end: '2024-08-16 02:17:52.211675'  item: ec2-3-89-150-84.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-16 02:17:52.196005'  stderr: Host ec2-3-89-150-84.compute-1.amazonaws.com not found in /home/akim/.ssh/known_hosts  stderr_lines:   stdout: ''  stdout_lines:  changed: [localhost] => (item=ec2-98-80-119-14.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-98-80-119-14.compute-1.amazonaws.com  delta: '0:00:00.013340'  end: '2024-08-16 02:17:52.376204'  item: ec2-98-80-119-14.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-16 02:17:52.362864'  stderr: Host ec2-98-80-119-14.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-16 02:17:52] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:17:52] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:17:52] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:44.159255'  end: '2024-08-16 02:18:39.554979'  msg: ''  rc: 0  start: '2024-08-16 02:17:55.395724'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.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 --:--:-- --:--:-- --:--:-- 0 52 10.2M 52 5519k 0 0 8051k 0 0:00:01 --:--:-- 0:00:01 8057k100 10.2M 100 10.2M 0 0 11.1M 0 --:--:-- --:--:-- --:--:-- 11.1M  warning: wazuh-agent-4.9.0-1.aarch64.rpm: Header V3 RSA/SHA256 Signature, key ID 29111145: NOKEY  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Created symlink from /etc/systemd/system/multi-user.target.wants/wazuh-agent.service to /usr/lib/systemd/system/wazuh-agent.service.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Job for wazuh-agent.service failed because the control process exited with error code. See "systemctl status wazuh-agent.service" and "journalctl -xe" for details.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:17:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:17: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:17:55] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:17:56] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:17:58] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:17:59] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:18:01] [INFO] TESTER: No Firewall to disable on redhat-7[0m  [32m[2024-08-16 02:18:03] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:18:05] [INFO] TESTER: Installing Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:18:38] [INFO] TESTER: Getting status of redhat-7[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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.49s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:18:39] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:18:39] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:18:39] [INFO] TESTER:  [2024-08-16 02:18:39] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:18:39] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:18:39] [INFO] TESTER:  [2024-08-16 02:18:39] [INFO] TESTER: ok: [localhost] [2024-08-16 02:18:39] [INFO] TESTER: TASK [Test install for agent] ************************************************** [2024-08-16 02:18:39] [INFO] TESTER:  [2024-08-16 02:18:39] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:44.159255'  end: '2024-08-16 02:18:39.554979'  msg: ''  rc: 0  start: '2024-08-16 02:17:55.395724'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.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 --:--:-- --:--:-- --:--:-- 0 52 10.2M 52 5519k 0 0 8051k 0 0:00:01 --:--:-- 0:00:01 8057k100 10.2M 100 10.2M 0 0 11.1M 0 --:--:-- --:--:-- --:--:-- 11.1M  warning: wazuh-agent-4.9.0-1.aarch64.rpm: Header V3 RSA/SHA256 Signature, key ID 29111145: NOKEY  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Created symlink from /etc/systemd/system/multi-user.target.wants/wazuh-agent.service to /usr/lib/systemd/system/wazuh-agent.service.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Job for wazuh-agent.service failed because the control process exited with error code. See "systemctl status wazuh-agent.service" and "journalctl -xe" for details.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:17:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:17: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:17:55] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:17:56] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:17:58] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:17:59] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:18:01] [INFO] TESTER: No Firewall to disable on redhat-7[0m  [32m[2024-08-16 02:18:03] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:18:05] [INFO] TESTER: Installing Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:18:38] [INFO] TESTER: Getting status of redhat-7[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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.49s ========================  stdout_lines:  [2024-08-16 02:18:39] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:18:39] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:18:39] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test registration for agent] ********************************************* changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:36.610787'  end: '2024-08-16 02:20:21.962985'  msg: ''  rc: 0  start: '2024-08-16 02:18:45.352198'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:18:45] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:18:45] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:18:45] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:18:51] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:18:59] [INFO] TESTER: Registering agent in redhat-7[0m  [32m[2024-08-16 02:19:17] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 4 passed, 2 warnings in 95.88s (0:01:35) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:20:22] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:20:22] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:20:22] [INFO] TESTER:  [2024-08-16 02:20:22] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:20:22] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:20:22] [INFO] TESTER:  [2024-08-16 02:20:22] [INFO] TESTER: ok: [localhost] [2024-08-16 02:20:22] [INFO] TESTER: TASK [Test registration for agent] ********************************************* [2024-08-16 02:20:22] [INFO] TESTER:  [2024-08-16 02:20:22] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:36.610787'  end: '2024-08-16 02:20:21.962985'  msg: ''  rc: 0  start: '2024-08-16 02:18:45.352198'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:18:45] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:18:45] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:18:45] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:18:51] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:18:59] [INFO] TESTER: Registering agent in redhat-7[0m  [32m[2024-08-16 02:19:17] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 4 passed, 2 warnings in 95.88s (0:01:35) ===================  stdout_lines:  [2024-08-16 02:20:22] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:20:22] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:20:22] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test connection for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:56.517557'  end: '2024-08-16 02:21:22.291030'  msg: ''  rc: 0  start: '2024-08-16 02:20:25.773473'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:20:26] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:20:26] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:20:26] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:20:27] [INFO] TESTER: Connection established successfully in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:21:03] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 6 passed, 2 warnings in 55.83s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:21:22] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:21:22] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:21:22] [INFO] TESTER:  [2024-08-16 02:21:22] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:21:22] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:21:22] [INFO] TESTER:  [2024-08-16 02:21:22] [INFO] TESTER: ok: [localhost] [2024-08-16 02:21:22] [INFO] TESTER: TASK [Test connection for agent] *********************************************** [2024-08-16 02:21:22] [INFO] TESTER:  [2024-08-16 02:21:22] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:56.517557'  end: '2024-08-16 02:21:22.291030'  msg: ''  rc: 0  start: '2024-08-16 02:20:25.773473'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:20:26] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:20:26] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:20:26] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:20:27] [INFO] TESTER: Connection established successfully in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:21:03] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 6 passed, 2 warnings in 55.83s ========================  stdout_lines:  [2024-08-16 02:21:22] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:21:22] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:21:22] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test basic_info for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:20.463796'  end: '2024-08-16 02:21:48.749542'  msg: ''  rc: 0  start: '2024-08-16 02:21:28.285746'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:28] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21:28] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:21:28] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:21:29] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:21:45] [INFO] TESTER: OS Version get using systemd method.[0m  [37m[2024-08-16 02:21:45] [DEBUG] TESTER: Version obtained from agent: 7.6[0m  [37m[2024-08-16 02:21:45] [DEBUG] TESTER: Version obtained from Wazuh API: 7.6[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 19.78s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:21:49] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:21:49] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:21:49] [INFO] TESTER:  [2024-08-16 02:21:49] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:21:49] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:21:49] [INFO] TESTER:  [2024-08-16 02:21:49] [INFO] TESTER: ok: [localhost] [2024-08-16 02:21:49] [INFO] TESTER: TASK [Test basic_info for agent] *********************************************** [2024-08-16 02:21:49] [INFO] TESTER:  [2024-08-16 02:21:49] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:20.463796'  end: '2024-08-16 02:21:48.749542'  msg: ''  rc: 0  start: '2024-08-16 02:21:28.285746'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:28] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21:28] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:21:28] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:21:29] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:21:45] [INFO] TESTER: OS Version get using systemd method.[0m  [37m[2024-08-16 02:21:45] [DEBUG] TESTER: Version obtained from agent: 7.6[0m  [37m[2024-08-16 02:21:45] [DEBUG] TESTER: Version obtained from Wazuh API: 7.6[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 19.78s ========================  stdout_lines:  [2024-08-16 02:21:49] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:21:49] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:21:49] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:28.777623'  end: '2024-08-16 02:22:23.502401'  msg: ''  rc: 0  start: '2024-08-16 02:21:54.724778'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:21:55] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:21:56] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:22:01] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:22:08] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 28.05s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:22:23] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:22:23] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:22:23] [INFO] TESTER:  [2024-08-16 02:22:23] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:22:23] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:22:23] [INFO] TESTER:  [2024-08-16 02:22:23] [INFO] TESTER: ok: [localhost] [2024-08-16 02:22:23] [INFO] TESTER: TASK [Test restart for agent] ************************************************** [2024-08-16 02:22:23] [INFO] TESTER:  [2024-08-16 02:22:23] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:28.777623'  end: '2024-08-16 02:22:23.502401'  msg: ''  rc: 0  start: '2024-08-16 02:21:54.724778'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:55] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:21:55] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:21:56] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:22:01] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:22:08] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 28.05s ========================  stdout_lines:  [2024-08-16 02:22:23] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:22:23] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:22:23] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ***************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:46.434577'  end: '2024-08-16 02:23:15.807545'  msg: ''  rc: 0  start: '2024-08-16 02:22:29.372968'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:22:29] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:22:29] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:22:29] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:22:30] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:22:42] [INFO] TESTER: Stopping wazuh-agent in redhat-7[0m  [32m[2024-08-16 02:22:44] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:23:08] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 45.72s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:23:16] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:23:16] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:23:16] [INFO] TESTER:  [2024-08-16 02:23:16] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:23:16] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:23:16] [INFO] TESTER:  [2024-08-16 02:23:16] [INFO] TESTER: ok: [localhost] [2024-08-16 02:23:16] [INFO] TESTER: TASK [Test stop for agent] ***************************************************** [2024-08-16 02:23:16] [INFO] TESTER:  [2024-08-16 02:23:16] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:46.434577'  end: '2024-08-16 02:23:15.807545'  msg: ''  rc: 0  start: '2024-08-16 02:22:29.372968'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:22:29] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:22:29] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:22:29] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:22:30] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:22:42] [INFO] TESTER: Stopping wazuh-agent in redhat-7[0m  [32m[2024-08-16 02:22:44] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:23:08] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 45.72s ========================  stdout_lines:  [2024-08-16 02:23:16] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:23:16] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:23:16] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************ changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:25.271897'  end: '2024-08-16 02:24:47.665381'  msg: ''  rc: 0  start: '2024-08-16 02:23:22.393484'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: RPMDB altered outside of yum.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Failed to execute operation: Access denied  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:23:22] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:23: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:23:23] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:23:24] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:23:52] [INFO] TESTER: Uninstalling Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 84.57s (0:01:24) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:24:47] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:24:47] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:24:47] [INFO] TESTER:  [2024-08-16 02:24:47] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:24:47] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:24:47] [INFO] TESTER:  [2024-08-16 02:24:47] [INFO] TESTER: ok: [localhost] [2024-08-16 02:24:47] [INFO] TESTER: TASK [Test uninstall for agent] ************************************************ [2024-08-16 02:24:47] [INFO] TESTER:  [2024-08-16 02:24:47] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-arm64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:25.271897'  end: '2024-08-16 02:24:47.665381'  msg: ''  rc: 0  start: '2024-08-16 02:23:22.393484'  stderr: |-  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: RPMDB altered outside of yum.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Failed to execute operation: Access denied  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-98-80-119-14.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:23:22] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:23: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:23:23] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:23:24] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:23:52] [INFO] TESTER: Uninstalling Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 84.57s (0:01:24) ===================  stdout_lines:  [2024-08-16 02:24:47] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:24:47] [INFO] TESTER: Cleaning up [2024-08-16 02:24:47] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:24:47] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:24:55] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}} [2024-08-16 02:24:55] [INFO] TESTER: Cleaning up [2024-08-16 02:24:55] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:24:55] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:25:03] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}}  [2024-08-16 02:25:04] [INFO] [1025619] [ThreadPoolExecutor-0_1] [jobflow]: [run-agent-linux-redhat-7-arm64-tests] Finished task in 437.91 seconds. [2024-08-16 02:28:49] [DEBUG] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: Finished task "run-agent-linux-redhat-7-amd64-tests" execution with result: [2024-08-16 02:20:58] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:20:58] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:20:58] [INFO] TESTER: Running tests for ec2-3-89-150-84.compute-1.amazonaws.com [2024-08-16 02:20:58] [INFO] TESTER: Running tests for ec2-3-85-113-103.compute-1.amazonaws.com [2024-08-16 02:20:58] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.9.0', 'wazuh_revision': '40905', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': False, 'hosts_ip': ['ec2-3-89-150-84.compute-1.amazonaws.com', 'ec2-3-85-113-103.compute-1.amazonaws.com'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/trash/wazuh-qa/deployability', 'current_user': 'akim'} [2024-08-16 02:20:58] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:20:58] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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-3-89-150-84.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-3-89-150-84.compute-1.amazonaws.com  delta: '0:00:00.013511'  end: '2024-08-16 02:21:01.944148'  item: ec2-3-89-150-84.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-16 02:21:01.930637'  stderr: Host ec2-3-89-150-84.compute-1.amazonaws.com not found in /home/akim/.ssh/known_hosts  stderr_lines:   stdout: ''  stdout_lines:  changed: [localhost] => (item=ec2-3-85-113-103.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-3-85-113-103.compute-1.amazonaws.com  delta: '0:00:00.013107'  end: '2024-08-16 02:21:02.117222'  item: ec2-3-85-113-103.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-16 02:21:02.104115'  stderr: Host ec2-3-85-113-103.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-16 02:21:02] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:21:02] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:21:02] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:51.567044'  end: '2024-08-16 02:21:56.797238'  msg: ''  rc: 0  start: '2024-08-16 02:21:05.230194'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.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 --:--:-- --:--:-- --:--:-- 0 0 10.4M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 10.4M 100 10.4M 0 0 9.7M 0 0:00:01 0:00:01 --:--:-- 9.7M  warning: wazuh-agent-4.9.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 29111145: NOKEY  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Created symlink from /etc/systemd/system/multi-user.target.wants/wazuh-agent.service to /usr/lib/systemd/system/wazuh-agent.service.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Job for wazuh-agent.service failed because the control process exited with error code. See "systemctl status wazuh-agent.service" and "journalctl -xe" for details.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:05] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21:05] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:21:05] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:21:06] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:21:08] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:21:09] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:21:11] [INFO] TESTER: No Firewall to disable on redhat-7[0m  [32m[2024-08-16 02:21:13] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:21:15] [INFO] TESTER: Installing Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:21:54] [INFO] TESTER: Getting status of redhat-7[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 50.90s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:21:57] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:21:57] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:21:57] [INFO] TESTER:  [2024-08-16 02:21:57] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:21:57] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:21:57] [INFO] TESTER:  [2024-08-16 02:21:57] [INFO] TESTER: ok: [localhost] [2024-08-16 02:21:57] [INFO] TESTER: TASK [Test install for agent] ************************************************** [2024-08-16 02:21:57] [INFO] TESTER:  [2024-08-16 02:21:57] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:51.567044'  end: '2024-08-16 02:21:56.797238'  msg: ''  rc: 0  start: '2024-08-16 02:21:05.230194'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.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 --:--:-- --:--:-- --:--:-- 0 0 10.4M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 10.4M 100 10.4M 0 0 9.7M 0 0:00:01 0:00:01 --:--:-- 9.7M  warning: wazuh-agent-4.9.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 29111145: NOKEY  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Created symlink from /etc/systemd/system/multi-user.target.wants/wazuh-agent.service to /usr/lib/systemd/system/wazuh-agent.service.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Job for wazuh-agent.service failed because the control process exited with error code. See "systemctl status wazuh-agent.service" and "journalctl -xe" for details.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:21:05] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:21:05] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:21:05] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:21:06] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:21:08] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:21:09] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:21:11] [INFO] TESTER: No Firewall to disable on redhat-7[0m  [32m[2024-08-16 02:21:13] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:21:15] [INFO] TESTER: Installing Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:21:54] [INFO] TESTER: Getting status of redhat-7[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 50.90s ========================  stdout_lines:  [2024-08-16 02:21:57] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:21:57] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:21:57] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test registration for agent] ********************************************* changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:15.990945'  end: '2024-08-16 02:23:15.849108'  msg: ''  rc: 0  start: '2024-08-16 02:21:59.858163'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:22:00] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:22:00] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:22:00] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:22:01] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:22:03] [INFO] TESTER: Registering agent in redhat-7[0m  [32m[2024-08-16 02:22:18] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 4 passed, 2 warnings in 75.22s (0:01:15) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:23:16] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:23:16] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:23:16] [INFO] TESTER:  [2024-08-16 02:23:16] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:23:16] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:23:16] [INFO] TESTER:  [2024-08-16 02:23:16] [INFO] TESTER: ok: [localhost] [2024-08-16 02:23:16] [INFO] TESTER: TASK [Test registration for agent] ********************************************* [2024-08-16 02:23:16] [INFO] TESTER:  [2024-08-16 02:23:16] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:15.990945'  end: '2024-08-16 02:23:15.849108'  msg: ''  rc: 0  start: '2024-08-16 02:21:59.858163'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:22:00] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:22:00] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:22:00] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:22:01] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:22:03] [INFO] TESTER: Registering agent in redhat-7[0m  [32m[2024-08-16 02:22:18] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 4 passed, 2 warnings in 75.22s (0:01:15) ===================  stdout_lines:  [2024-08-16 02:23:16] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:23:16] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:23:16] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test connection for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:12.309361'  end: '2024-08-16 02:24:34.702705'  msg: ''  rc: 0  start: '2024-08-16 02:23:22.393344'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:23:22] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:23: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:23:23] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:23:24] [INFO] TESTER: Connection established successfully in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:24:08] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 6 passed, 2 warnings in 71.59s (0:01:11) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:24:35] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:24:35] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:24:35] [INFO] TESTER:  [2024-08-16 02:24:35] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:24:35] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:24:35] [INFO] TESTER:  [2024-08-16 02:24:35] [INFO] TESTER: ok: [localhost] [2024-08-16 02:24:35] [INFO] TESTER: TASK [Test connection for agent] *********************************************** [2024-08-16 02:24:35] [INFO] TESTER:  [2024-08-16 02:24:35] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:12.309361'  end: '2024-08-16 02:24:34.702705'  msg: ''  rc: 0  start: '2024-08-16 02:23:22.393344'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:23:22] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:23: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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:23:23] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:23:24] [INFO] TESTER: Connection established successfully in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:24:08] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 6 passed, 2 warnings in 71.59s (0:01:11) ===================  stdout_lines:  [2024-08-16 02:24:35] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:24:35] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:24:35] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test basic_info for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:21.931327'  end: '2024-08-16 02:25:02.646760'  msg: ''  rc: 0  start: '2024-08-16 02:24:40.715433'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:24:41] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:24:41] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:24:41] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:24:42] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:24:57] [INFO] TESTER: OS Version get using systemd method.[0m  [37m[2024-08-16 02:24:58] [DEBUG] TESTER: Version obtained from agent: 7.9[0m  [37m[2024-08-16 02:24:58] [DEBUG] TESTER: Version obtained from Wazuh API: 7.9[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 21.26s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:25:02] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:25:02] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:25:02] [INFO] TESTER:  [2024-08-16 02:25:02] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:25:02] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:25:02] [INFO] TESTER:  [2024-08-16 02:25:02] [INFO] TESTER: ok: [localhost] [2024-08-16 02:25:02] [INFO] TESTER: TASK [Test basic_info for agent] *********************************************** [2024-08-16 02:25:02] [INFO] TESTER:  [2024-08-16 02:25:02] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:21.931327'  end: '2024-08-16 02:25:02.646760'  msg: ''  rc: 0  start: '2024-08-16 02:24:40.715433'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:24:41] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:24:41] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:24:41] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:24:42] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:24:57] [INFO] TESTER: OS Version get using systemd method.[0m  [37m[2024-08-16 02:24:58] [DEBUG] TESTER: Version obtained from agent: 7.9[0m  [37m[2024-08-16 02:24:58] [DEBUG] TESTER: Version obtained from Wazuh API: 7.9[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 21.26s ========================  stdout_lines:  [2024-08-16 02:25:02] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:25:02] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:25:02] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:36.424307'  end: '2024-08-16 02:25:44.937227'  msg: ''  rc: 0  start: '2024-08-16 02:25:08.512920'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:25:08] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:25:08] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:25:09] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:25:10] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:25:16] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:25:26] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 35.76s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:25:45] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:25:45] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:25:45] [INFO] TESTER:  [2024-08-16 02:25:45] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:25:45] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:25:45] [INFO] TESTER:  [2024-08-16 02:25:45] [INFO] TESTER: ok: [localhost] [2024-08-16 02:25:45] [INFO] TESTER: TASK [Test restart for agent] ************************************************** [2024-08-16 02:25:45] [INFO] TESTER:  [2024-08-16 02:25:45] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:36.424307'  end: '2024-08-16 02:25:44.937227'  msg: ''  rc: 0  start: '2024-08-16 02:25:08.512920'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:25:08] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:25:08] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:25:09] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:25:10] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:25:16] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:25:26] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 35.76s ========================  stdout_lines:  [2024-08-16 02:25:45] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:25:45] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:25:45] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ***************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:55.959018'  end: '2024-08-16 02:26:46.788183'  msg: ''  rc: 0  start: '2024-08-16 02:25:50.829165'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:25:51] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:25:51] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:25:51] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:25:52] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:26:06] [INFO] TESTER: Stopping wazuh-agent in redhat-7[0m  [32m[2024-08-16 02:26:09] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:26:36] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 55.29s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:26:47] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:26:47] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:26:47] [INFO] TESTER:  [2024-08-16 02:26:47] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:26:47] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:26:47] [INFO] TESTER:  [2024-08-16 02:26:47] [INFO] TESTER: ok: [localhost] [2024-08-16 02:26:47] [INFO] TESTER: TASK [Test stop for agent] ***************************************************** [2024-08-16 02:26:47] [INFO] TESTER:  [2024-08-16 02:26:47] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:55.959018'  end: '2024-08-16 02:26:46.788183'  msg: ''  rc: 0  start: '2024-08-16 02:25:50.829165'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:25:51] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:25:51] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:25:51] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:25:52] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:26:06] [INFO] TESTER: Stopping wazuh-agent in redhat-7[0m  [32m[2024-08-16 02:26:09] [INFO] TESTER: Getting status of redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:26:36] [INFO] TESTER: Restarting wazuh-agent in redhat-7[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 55.29s ========================  stdout_lines:  [2024-08-16 02:26:47] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:26:47] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:26:47] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************ changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:30.098212'  end: '2024-08-16 02:28:22.737887'  msg: ''  rc: 0  start: '2024-08-16 02:26:52.639675'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: RPMDB altered outside of yum.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Failed to execute operation: Access denied  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:26:53] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:26:53] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:26:53] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:26:54] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:27:16] [INFO] TESTER: Uninstalling Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 89.43s (0:01:29) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:28:23] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:28:23] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:28:23] [INFO] TESTER:  [2024-08-16 02:28:23] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:28:23] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:28:23] [INFO] TESTER:  [2024-08-16 02:28:23] [INFO] TESTER: ok: [localhost] [2024-08-16 02:28:23] [INFO] TESTER: TASK [Test uninstall for agent] ************************************************ [2024-08-16 02:28:23] [INFO] TESTER:  [2024-08-16 02:28:23] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:30.098212'  end: '2024-08-16 02:28:22.737887'  msg: ''  rc: 0  start: '2024-08-16 02:26:52.639675'  stderr: |-  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: RPMDB altered outside of yum.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Failed to execute operation: Access denied  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-85-113-103.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:26:53] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:26:53] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:26:53] [INFO] TESTER: Checking connection to redhat-7[0m  [32m[2024-08-16 02:26:54] [INFO] TESTER: Connection established successfully in redhat-7[0m  [32m[2024-08-16 02:27:16] [INFO] TESTER: Uninstalling Agent in redhat-7[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 89.43s (0:01:29) ===================  stdout_lines:  [2024-08-16 02:28:23] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:28:23] [INFO] TESTER: Cleaning up [2024-08-16 02:28:23] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:28:23] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:28:37] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}} [2024-08-16 02:28:37] [INFO] TESTER: Cleaning up [2024-08-16 02:28:37] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:28:37] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:28:49] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}}  [2024-08-16 02:28:49] [INFO] [1025619] [ThreadPoolExecutor-0_0] [jobflow]: [run-agent-linux-redhat-7-amd64-tests] Finished task in 471.66 seconds. [2024-08-16 02:31:45] [DEBUG] [1025619] [ThreadPoolExecutor-0_3] [jobflow]: Finished task "allocate-windows-agent-windows-desktop-10-amd64" execution with result: [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:15:21] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:15:21] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-08-16 02:15:22] [DEBUG] ALLOCATOR: Creating temp directory: /tmp/wazuh-qa/AWS-50D2EBE4-2EA6-4165-8AC1-923BB417753D [2024-08-16 02:15:40] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-50D2EBE4-2EA6-4165-8AC1-923BB417753D directory to /tmp/wazuh-qa/wazuh-5615-desktop-10-3664 [2024-08-16 02:15:40] [INFO] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Instance i-0c28e8eb515949e18 created. [2024-08-16 02:15:41] [INFO] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Instance i-0c28e8eb515949e18 started. [2024-08-16 02:15:41] [INFO] ALLOCATOR [WAZUH-5615-DESKTOP-10]: The inventory file generated at /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml [2024-08-16 02:15:41] [INFO] ALLOCATOR [WAZUH-5615-DESKTOP-10]: The track file generated at /tmp/dtt1-poc/agent-windows-desktop-10-amd64/track.yaml [2024-08-16 02:16:11] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 1 of 30: HTTPSConnectionPool(host='ec2-18-212-111-149.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(, 'Connection to ec2-18-212-111-149.compute-1.amazonaws.com timed out. (connect timeout=30)')) [2024-08-16 02:17:11] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 2 of 30: HTTPSConnectionPool(host='ec2-18-212-111-149.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(, 'Connection to ec2-18-212-111-149.compute-1.amazonaws.com timed out. (connect timeout=30)')) [2024-08-16 02:18:11] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 3 of 30: HTTPSConnectionPool(host='ec2-18-212-111-149.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(, 'Connection to ec2-18-212-111-149.compute-1.amazonaws.com timed out. (connect timeout=30)')) [2024-08-16 02:18:53] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 4 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:19:24] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 5 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:19:54] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 6 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:20:24] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 7 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:20:55] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 8 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:21:25] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 9 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:21:55] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 10 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:22:26] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 11 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:22:56] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 12 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:23:26] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 13 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:23:56] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 14 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:24:27] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 15 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:24:57] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 16 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:25:27] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 17 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:25:58] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 18 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:26:28] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 19 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:26:59] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 20 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:27:29] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 21 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:28:19] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 22 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:28:49] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 23 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:29:20] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 24 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:29:50] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 25 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:30:20] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 26 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) [2024-08-16 02:31:12] [WARNING] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Error on attempt 27 of 30:  [2024-08-16 02:31:45] [INFO] ALLOCATOR [WAZUH-5615-DESKTOP-10]: WinRM connection successful. [2024-08-16 02:31:45] [INFO] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Instance i-0c28e8eb515949e18 created successfully.  [2024-08-16 02:31:45] [INFO] [1025619] [ThreadPoolExecutor-0_3] [jobflow]: [allocate-windows-agent-windows-desktop-10-amd64] Finished task in 984.49 seconds. [2024-08-16 02:31:45] [INFO] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: [run-windows-agent-windows-desktop-10-amd64-tests] Starting task. [2024-08-16 02:31:45] [DEBUG] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: Running task "run-windows-agent-windows-desktop-10-amd64-tests" with arguments: ['modules/testing/main.py', "--targets={'wazuh-1': '/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml'}", "--targets={'agent': '/tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml'}", '--tests=install,registration,connection,basic_info,restart,stop,uninstall', '--component=agent', '--wazuh-version=4.9.0', '--wazuh-revision=40905', '--live=False'] [2024-08-16 02:40:29] [DEBUG] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: Finished task "run-windows-agent-windows-desktop-10-amd64-tests" execution with result: [2024-08-16 02:31:45] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:31:45] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:31:45] [INFO] TESTER: Running tests for ec2-3-89-150-84.compute-1.amazonaws.com [2024-08-16 02:31:45] [INFO] TESTER: Running tests for ec2-18-212-111-149.compute-1.amazonaws.com [2024-08-16 02:31:45] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.9.0', 'wazuh_revision': '40905', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': False, 'hosts_ip': ['ec2-3-89-150-84.compute-1.amazonaws.com', 'ec2-18-212-111-149.compute-1.amazonaws.com'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/trash/wazuh-qa/deployability', 'current_user': 'akim'} [2024-08-16 02:31:45] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:31:45] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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-3-89-150-84.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-3-89-150-84.compute-1.amazonaws.com  delta: '0:00:00.012616'  end: '2024-08-16 02:31:51.128825'  item: ec2-3-89-150-84.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-16 02:31:51.116209'  stderr: Host ec2-3-89-150-84.compute-1.amazonaws.com not found in /home/akim/.ssh/known_hosts  stderr_lines:   stdout: ''  stdout_lines:  changed: [localhost] => (item=ec2-18-212-111-149.compute-1.amazonaws.com) => changed=true   ansible_loop_var: item  cmd:  - ssh-keygen  - -f  - ~/.ssh/known_hosts  - -R  - ec2-18-212-111-149.compute-1.amazonaws.com  delta: '0:00:00.012595'  end: '2024-08-16 02:31:51.293819'  item: ec2-18-212-111-149.compute-1.amazonaws.com  msg: ''  rc: 0  start: '2024-08-16 02:31:51.281224'  stderr: Host ec2-18-212-111-149.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-16 02:31:51] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:31:51] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:31:51] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:54.074160'  end: '2024-08-16 02:32:48.362595'  msg: ''  rc: 0  start: '2024-08-16 02:31:54.288435'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:31:54] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:31:54] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:31:54] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:31:58] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:32:01] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:32:03] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:32:03] [INFO] TESTER: Firewall disabled on desktop-10[0m  [32m[2024-08-16 02:32:09] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:32:11] [INFO] TESTER: Installing Agent in desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:32:44] [INFO] TESTER: Getting status of desktop-10[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 53.40s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:32:48] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:32:48] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:32:48] [INFO] TESTER:  [2024-08-16 02:32:48] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:32:48] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:32:48] [INFO] TESTER:  [2024-08-16 02:32:48] [INFO] TESTER: ok: [localhost] [2024-08-16 02:32:48] [INFO] TESTER: TASK [Test install for agent] ************************************************** [2024-08-16 02:32:48] [INFO] TESTER:  [2024-08-16 02:32:48] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_install.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:54.074160'  end: '2024-08-16 02:32:48.362595'  msg: ''  rc: 0  start: '2024-08-16 02:31:54.288435'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:31:54] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:31:54] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 2 items    modules/testing/tests/test_agent/test_install.py::test_installation [32m[2024-08-16 02:31:54] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:31:58] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:32:01] [INFO] TESTER: Checking connection to ubuntu-22.04[0m  [32m[2024-08-16 02:32:03] [INFO] TESTER: Connection established successfully in ubuntu-22.04[0m  [32m[2024-08-16 02:32:03] [INFO] TESTER: Firewall disabled on desktop-10[0m  [32m[2024-08-16 02:32:09] [INFO] TESTER: Manager is already installed in ubuntu-22.04[0m  [32m[2024-08-16 02:32:11] [INFO] TESTER: Installing Agent in desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_install.py::test_status [32m[2024-08-16 02:32:44] [INFO] TESTER: Getting status of desktop-10[0m  PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 53.40s ========================  stdout_lines:  [2024-08-16 02:32:48] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:32:48] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:32:48] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test registration for agent] ********************************************* changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:23.820317'  end: '2024-08-16 02:34:18.001553'  msg: ''  rc: 0  start: '2024-08-16 02:32:54.181236'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:32:54] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:32:54] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:32:54] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:32:57] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:33:07] [INFO] TESTER: Registering agent in desktop-10[0m  [32m[2024-08-16 02:33:18] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 4 passed, 2 warnings in 83.10s (0:01:23) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:34:18] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:34:18] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:34:18] [INFO] TESTER:  [2024-08-16 02:34:18] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:34:18] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:34:18] [INFO] TESTER:  [2024-08-16 02:34:18] [INFO] TESTER: ok: [localhost] [2024-08-16 02:34:18] [INFO] TESTER: TASK [Test registration for agent] ********************************************* [2024-08-16 02:34:18] [INFO] TESTER:  [2024-08-16 02:34:18] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_registration.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:23.820317'  end: '2024-08-16 02:34:18.001553'  msg: ''  rc: 0  start: '2024-08-16 02:32:54.181236'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:32:54] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:32:54] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 4 items    modules/testing/tests/test_agent/test_registration.py::test_status [32m[2024-08-16 02:32:54] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:32:57] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:33:07] [INFO] TESTER: Registering agent in desktop-10[0m  [32m[2024-08-16 02:33:18] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_registration.py::test_service PASSED  modules/testing/tests/test_agent/test_registration.py::test_connection PASSED  modules/testing/tests/test_agent/test_registration.py::test_clientKeys PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 4 passed, 2 warnings in 83.10s (0:01:23) ===================  stdout_lines:  [2024-08-16 02:34:18] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:34:18] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:34:18] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test connection for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:13.938485'  end: '2024-08-16 02:35:37.826316'  msg: ''  rc: 0  start: '2024-08-16 02:34:23.887831'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:34:24] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:34:24] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:34:24] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:34:26] [INFO] TESTER: WinRM connection successful.[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:34:56] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 6 passed, 2 warnings in 73.28s (0:01:13) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:35:38] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:35:38] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:35:38] [INFO] TESTER:  [2024-08-16 02:35:38] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:35:38] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:35:38] [INFO] TESTER:  [2024-08-16 02:35:38] [INFO] TESTER: ok: [localhost] [2024-08-16 02:35:38] [INFO] TESTER: TASK [Test connection for agent] *********************************************** [2024-08-16 02:35:38] [INFO] TESTER:  [2024-08-16 02:35:38] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_connection.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:13.938485'  end: '2024-08-16 02:35:37.826316'  msg: ''  rc: 0  start: '2024-08-16 02:34:23.887831'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:34:24] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:34:24] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 6 items    modules/testing/tests/test_agent/test_connection.py::test_connection [32m[2024-08-16 02:34:24] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:34:26] [INFO] TESTER: WinRM connection successful.[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_status [32m[2024-08-16 02:34:56] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_connection.py::test_service PASSED  modules/testing/tests/test_agent/test_connection.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_connection.py::test_port PASSED  modules/testing/tests/test_agent/test_connection.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 6 passed, 2 warnings in 73.28s (0:01:13) ===================  stdout_lines:  [2024-08-16 02:35:38] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:35:38] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:35:38] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/test.yml No config file found; using defaults PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Test basic_info for agent] *********************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:38.414342'  end: '2024-08-16 02:36:22.063468'  msg: ''  rc: 0  start: '2024-08-16 02:35:43.649126'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:35:44] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:35:44] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:35:44] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:35:46] [INFO] TESTER: WinRM connection successful.[0m  [37m[2024-08-16 02:36:14] [DEBUG] TESTER: Version obtained from agent: 10.0[0m  [37m[2024-08-16 02:36:14] [DEBUG] TESTER: Version obtained from Wazuh API: 10.0.19045.2006[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 37.75s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:36:22] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:36:22] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:36:22] [INFO] TESTER:  [2024-08-16 02:36:22] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:36:22] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:36:22] [INFO] TESTER:  [2024-08-16 02:36:22] [INFO] TESTER: ok: [localhost] [2024-08-16 02:36:22] [INFO] TESTER: TASK [Test basic_info for agent] *********************************************** [2024-08-16 02:36:22] [INFO] TESTER:  [2024-08-16 02:36:22] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_basic_info.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:38.414342'  end: '2024-08-16 02:36:22.063468'  msg: ''  rc: 0  start: '2024-08-16 02:35:43.649126'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:35:44] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:35:44] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_os_version [32m[2024-08-16 02:35:44] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:35:46] [INFO] TESTER: WinRM connection successful.[0m  [37m[2024-08-16 02:36:14] [DEBUG] TESTER: Version obtained from agent: 10.0[0m  [37m[2024-08-16 02:36:14] [DEBUG] TESTER: Version obtained from Wazuh API: 10.0.19045.2006[0m  PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_version PASSED  modules/testing/tests/test_agent/test_basic_info.py::test_wazuh_revision PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  ======================== 3 passed, 2 warnings in 37.75s ========================  stdout_lines:  [2024-08-16 02:36:22] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:36:22] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:36:22] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:44.141941'  end: '2024-08-16 02:37:12.033972'  msg: ''  rc: 0  start: '2024-08-16 02:36:27.892031'  stderr: 'Warning: Permanently added ''[ec2-3-89-150-84.compute-1.amazonaws.com]:2200'' (ED25519) to the list of known hosts.'  stderr_lines:   stdout: |-  [37m[2024-08-16 02:36:28] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:36:28] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:36:28] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:36:30] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:36:40] [INFO] TESTER: Restarting wazuh-agent in desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:36:46] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 43.49s ========================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:37:12] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:37:12] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:37:12] [INFO] TESTER:  [2024-08-16 02:37:12] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:37:12] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:37:12] [INFO] TESTER:  [2024-08-16 02:37:12] [INFO] TESTER: ok: [localhost] [2024-08-16 02:37:12] [INFO] TESTER: TASK [Test restart for agent] ************************************************** [2024-08-16 02:37:12] [INFO] TESTER:  [2024-08-16 02:37:12] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_restart.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:00:44.141941'  end: '2024-08-16 02:37:12.033972'  msg: ''  rc: 0  start: '2024-08-16 02:36:27.892031'  stderr: 'Warning: Permanently added ''[ec2-3-89-150-84.compute-1.amazonaws.com]:2200'' (ED25519) to the list of known hosts.'  stderr_lines:   stdout: |-  [37m[2024-08-16 02:36:28] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:36:28] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 7 items    modules/testing/tests/test_agent/test_restart.py::test_restart [32m[2024-08-16 02:36:28] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:36:30] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:36:40] [INFO] TESTER: Restarting wazuh-agent in desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_status [32m[2024-08-16 02:36:46] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_restart.py::test_connection PASSED  modules/testing/tests/test_agent/test_restart.py::test_isActive PASSED  modules/testing/tests/test_agent/test_restart.py::test_clientKeys PASSED  modules/testing/tests/test_agent/test_restart.py::test_port PASSED  modules/testing/tests/test_agent/test_restart.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 43.49s ========================  stdout_lines:  [2024-08-16 02:37:12] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:37:12] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:37:12] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ***************************************************** changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:04.633717'  end: '2024-08-16 02:38:22.483841'  msg: ''  rc: 0  start: '2024-08-16 02:37:17.850124'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:37:18] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:37:18] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:37:18] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:37:20] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:37:39] [INFO] TESTER: Stopping wazuh-agent in desktop-10[0m  [32m[2024-08-16 02:37:43] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:38:15] [INFO] TESTER: Restarting wazuh-agent in desktop-10[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 3 passed, 2 warnings in 63.97s (0:01:03) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:38:22] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:38:22] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:38:22] [INFO] TESTER:  [2024-08-16 02:38:22] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:38:22] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:38:22] [INFO] TESTER:  [2024-08-16 02:38:22] [INFO] TESTER: ok: [localhost] [2024-08-16 02:38:22] [INFO] TESTER: TASK [Test stop for agent] ***************************************************** [2024-08-16 02:38:22] [INFO] TESTER:  [2024-08-16 02:38:22] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_stop.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:04.633717'  end: '2024-08-16 02:38:22.483841'  msg: ''  rc: 0  start: '2024-08-16 02:37:17.850124'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:37:18] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:37:18] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 3 items    modules/testing/tests/test_agent/test_stop.py::test_service [32m[2024-08-16 02:37:18] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:37:20] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:37:39] [INFO] TESTER: Stopping wazuh-agent in desktop-10[0m  [32m[2024-08-16 02:37:43] [INFO] TESTER: Getting status of desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_stop.py::test_port PASSED  modules/testing/tests/test_agent/test_stop.py::test_processes PASSED[32m[2024-08-16 02:38:15] [INFO] TESTER: Restarting wazuh-agent in desktop-10[0m      =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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  =================== 3 passed, 2 warnings in 63.97s (0:01:03) ===================  stdout_lines:  [2024-08-16 02:38:22] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:38:22] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:38:22] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/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 agent] ************************************************ changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:31.196230'  end: '2024-08-16 02:39:59.560042'  msg: ''  rc: 0  start: '2024-08-16 02:38:28.363812'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:38:28] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:38:28] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:38:28] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:38:31] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:38:52] [INFO] TESTER: Uninstalling Agent in desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 90.54s (0:01:30) ===================  stdout_lines:  PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:39:59] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/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-16 02:39:59] [INFO] TESTER: No config file found; using defaults [2024-08-16 02:39:59] [INFO] TESTER:  [2024-08-16 02:39:59] [INFO] TESTER: PLAY [localhost] *************************************************************** [2024-08-16 02:39:59] [INFO] TESTER: TASK [Gathering Facts] ********************************************************* [2024-08-16 02:39:59] [INFO] TESTER:  [2024-08-16 02:39:59] [INFO] TESTER: ok: [localhost] [2024-08-16 02:39:59] [INFO] TESTER: TASK [Test uninstall for agent] ************************************************ [2024-08-16 02:39:59] [INFO] TESTER:  [2024-08-16 02:39:59] [INFO] TESTER: changed: [localhost] => changed=true   cmd:  - python3  - -m  - pytest  - modules/testing/tests/test_agent/test_uninstall.py  - -v  - --wazuh_version=4.9.0  - --wazuh_revision=40905  - --component=agent  - --dependencies={}  - '--targets={wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-windows-desktop-10-amd64/inventory.yaml}'  - --live=False  - -s  delta: '0:01:31.196230'  end: '2024-08-16 02:39:59.560042'  msg: ''  rc: 0  start: '2024-08-16 02:38:28.363812'  stderr: |-  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  Warning: Permanently added '[ec2-3-89-150-84.compute-1.amazonaws.com]:2200' (ED25519) to the list of known hosts.  stderr_lines:   stdout: |-  [37m[2024-08-16 02:38:28] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[0m  [37m[2024-08-16 02:38:28] [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/trash/wazuh-qa/deployability/modules  plugins: tinybird-0.2.0  collecting ... collected 5 items    modules/testing/tests/test_agent/test_uninstall.py::test_uninstall [32m[2024-08-16 02:38:28] [INFO] TESTER: Checking connection to desktop-10[0m  [32m[2024-08-16 02:38:31] [INFO] TESTER: WinRM connection successful.[0m  [32m[2024-08-16 02:38:52] [INFO] TESTER: Uninstalling Agent in desktop-10[0m  PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_agent_uninstalled_directory PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_service PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_port PASSED  modules/testing/tests/test_agent/test_uninstall.py::test_processes PASSED    =============================== warnings summary ===============================  modules/provision/models.py:36  /home/akim/Desktop/trash/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/trash/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 90.54s (0:01:30) ===================  stdout_lines:  [2024-08-16 02:39:59] [INFO] TESTER: PLAY RECAP ********************************************************************* localhost : ok=2  changed=1  unreachable=0 failed=0 skipped=0 rescued=0 ignored=0  [2024-08-16 02:39:59] [INFO] TESTER: Cleaning up [2024-08-16 02:39:59] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:39:59] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:40:14] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}} [2024-08-16 02:40:14] [INFO] TESTER: Cleaning up [2024-08-16 02:40:14] [DEBUG] TESTER: Using inventory: {'all': {'hosts': {'ec2-3-89-150-84.compute-1.amazonaws.com': {'ansible_port': 2200, 'ansible_user': 'ubuntu', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/wazuh-5615-ubuntu-22.04-1412/wazuh-5615-ubuntu-22.04-key-2626'}}}} [2024-08-16 02:40:14] [DEBUG] TESTER: Running playbook: /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml No config file found; using defaults PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [ec2-3-89-150-84.compute-1.amazonaws.com] TASK [Clean test directory] **************************************************** ok: [ec2-3-89-150-84.compute-1.amazonaws.com] => changed=false   path: /tmp/tests  state: absent PLAY RECAP ********************************************************************* ec2-3-89-150-84.compute-1.amazonaws.com : ok=2  changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 [2024-08-16 02:40:29] [DEBUG] TESTER: Playbook /home/akim/Desktop/trash/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'ec2-3-89-150-84.compute-1.amazonaws.com': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'ec2-3-89-150-84.compute-1.amazonaws.com': 1}, 'changed': {}}  [2024-08-16 02:40:29] [INFO] [1025619] [ThreadPoolExecutor-0_2] [jobflow]: [run-windows-agent-windows-desktop-10-amd64-tests] Finished task in 524.10 seconds. [2024-08-16 02:40:29] [INFO] [1025619] [MainThread] [jobflow]: Executing Reverse DAG tasks. [2024-08-16 02:40:29] [INFO] [1025619] [MainThread] [jobflow]: Executing tasks in parallel. [2024-08-16 02:40:29] [INFO] [1025619] [ThreadPoolExecutor-1_0] [jobflow]: [allocate-agent-linux-redhat-7-amd64] Starting task. [2024-08-16 02:40:29] [DEBUG] [1025619] [ThreadPoolExecutor-1_0] [jobflow]: Running task "allocate-agent-linux-redhat-7-amd64" with arguments: ['modules/allocation/main.py', '--action=delete', '--track-output=/tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml'] [2024-08-16 02:40:29] [INFO] [1025619] [ThreadPoolExecutor-1_1] [jobflow]: [allocate-agent-linux-redhat-7-arm64] Starting task. [2024-08-16 02:40:29] [INFO] [1025619] [ThreadPoolExecutor-1_2] [jobflow]: [allocate-macos-agent-macos-ventura-13-amd64] Starting task. [2024-08-16 02:40:29] [INFO] [1025619] [ThreadPoolExecutor-1_3] [jobflow]: [allocate-windows-agent-windows-desktop-10-amd64] Starting task. [2024-08-16 02:40:29] [DEBUG] [1025619] [ThreadPoolExecutor-1_1] [jobflow]: Running task "allocate-agent-linux-redhat-7-arm64" with arguments: ['modules/allocation/main.py', '--action=delete', '--track-output=/tmp/dtt1-poc/agent-linux-redhat-7-arm64/track.yaml'] [2024-08-16 02:40:29] [DEBUG] [1025619] [ThreadPoolExecutor-1_2] [jobflow]: Running task "allocate-macos-agent-macos-ventura-13-amd64" with arguments: ['modules/allocation/main.py', '--action=delete', '--track-output=/tmp/dtt1-poc/agent-macos-ventura-13-amd64/track.yaml'] [2024-08-16 02:40:29] [DEBUG] [1025619] [ThreadPoolExecutor-1_3] [jobflow]: Running task "allocate-windows-agent-windows-desktop-10-amd64" with arguments: ['modules/allocation/main.py', '--action=delete', '--track-output=/tmp/dtt1-poc/agent-windows-desktop-10-amd64/track.yaml'] [2024-08-16 02:40:57] [DEBUG] [1025619] [ThreadPoolExecutor-1_2] [jobflow]: Finished task "allocate-macos-agent-macos-ventura-13-amd64" execution with result: [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:40:30] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-macos-ventura-13-amd64/track.yaml [2024-08-16 02:40:30] [DEBUG] ALLOCATOR: Destroying instance wazuh-5615-ventura-13-8181 [2024-08-16 02:40:48] [DEBUG] ALLOCATOR: Deleting remote directory /Users/jenkins/testing/wazuh-5615-ventura-13-8181 [2024-08-16 02:40:51] [DEBUG] ALLOCATOR: Killing remote process on port 43236 [2024-08-16 02:40:57] [INFO] ALLOCATOR: Instance wazuh-5615-ventura-13-8181 deleted.  [2024-08-16 02:40:57] [INFO] [1025619] [ThreadPoolExecutor-1_2] [jobflow]: [allocate-macos-agent-macos-ventura-13-amd64] Finished task in 28.10 seconds. [2024-08-16 02:41:02] [DEBUG] [1025619] [ThreadPoolExecutor-1_1] [jobflow]: Finished task "allocate-agent-linux-redhat-7-arm64" execution with result: [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:40:29] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-7-arm64/track.yaml [2024-08-16 02:40:30] [DEBUG] ALLOCATOR: Deleting credentials: wazuh-5615-redhat-7-key-1587 [2024-08-16 02:41:02] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04e604a8ee6f6f135 deleted.  [2024-08-16 02:41:02] [INFO] [1025619] [ThreadPoolExecutor-1_1] [jobflow]: [allocate-agent-linux-redhat-7-arm64] Finished task in 33.38 seconds. [2024-08-16 02:41:33] [DEBUG] [1025619] [ThreadPoolExecutor-1_0] [jobflow]: Finished task "allocate-agent-linux-redhat-7-amd64" execution with result: [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:40:29] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml [2024-08-16 02:40:30] [DEBUG] ALLOCATOR: Deleting credentials: wazuh-5615-redhat-7-key-7650 [2024-08-16 02:41:33] [INFO] ALLOCATOR [WAZUH-5615-REDHAT-7]: Instance i-04c9381b704f1ade9 deleted.  [2024-08-16 02:41:33] [INFO] [1025619] [ThreadPoolExecutor-1_0] [jobflow]: [allocate-agent-linux-redhat-7-amd64] Finished task in 64.01 seconds. [2024-08-16 02:42:03] [DEBUG] [1025619] [ThreadPoolExecutor-1_3] [jobflow]: Finished task "allocate-windows-agent-windows-desktop-10-amd64" execution with result: [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:40:29] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:40:29] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-windows-desktop-10-amd64/track.yaml [2024-08-16 02:42:02] [INFO] ALLOCATOR [WAZUH-5615-DESKTOP-10]: Instance i-0c28e8eb515949e18 deleted.  [2024-08-16 02:42:03] [INFO] [1025619] [ThreadPoolExecutor-1_3] [jobflow]: [allocate-windows-agent-windows-desktop-10-amd64] Finished task in 93.81 seconds. [2024-08-16 02:42:03] [INFO] [1025619] [ThreadPoolExecutor-1_2] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-08-16 02:42:03] [DEBUG] [1025619] [ThreadPoolExecutor-1_2] [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-16 02:43:06] [DEBUG] [1025619] [ThreadPoolExecutor-1_2] [jobflow]: Finished task "allocate-manager-linux-ubuntu-22.04-amd64" execution with result: [2024-08-16 02:42:03] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi' [2024-08-16 02:42:03] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi' [2024-08-16 02:42:03] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-08-16 02:42:04] [DEBUG] ALLOCATOR: Deleting credentials: wazuh-5615-ubuntu-22.04-key-2626 [2024-08-16 02:43:06] [INFO] ALLOCATOR [WAZUH-5615-UBUNTU-22.04]: Instance i-0c575ae3812193271 deleted.  [2024-08-16 02:43:06] [INFO] [1025619] [ThreadPoolExecutor-1_2] [jobflow]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 63.67 seconds.