Closed c-bordon closed 2 weeks ago
close https://github.com/wazuh/wazuh-qa/issues/5314
cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa$ python3 deployability/modules/allocation/main.py --provider aws --size large --ssh-key ~/.ssh/allocation_test --label-team devops --label-termination-date "1d" --composite-name linux-ubuntu-22.04-amd64 [2024-04-30 06:55:09] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-30 06:55:09] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-30 06:55:09] [DEBUG] ALLOCATOR: Using provided key pair [2024-04-30 06:55:10] [DEBUG] ALLOCATOR: Creating temp directory: /tmp/wazuh-qa/AWS-D1CD2D0E-EFF7-4E15-98A6-8CB5FD7E1D45 [2024-04-30 06:55:28] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-D1CD2D0E-EFF7-4E15-98A6-8CB5FD7E1D45 directory to /tmp/wazuh-qa/i-0979133a344a78e01 [2024-04-30 06:55:28] [INFO] ALLOCATOR: Instance i-0979133a344a78e01 created. [2024-04-30 06:55:30] [INFO] ALLOCATOR: Instance i-0979133a344a78e01 started. [2024-04-30 06:55:30] [INFO] ALLOCATOR: Inventory file generated at /tmp/wazuh-qa/i-0979133a344a78e01/inventory.yml [2024-04-30 06:55:30] [WARNING] ALLOCATOR: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 44.212.0.237 [2024-04-30 06:56:01] [INFO] ALLOCATOR: SSH connection successful. [2024-04-30 06:56:01] [INFO] ALLOCATOR: Track file generated at /tmp/wazuh-qa/i-0979133a344a78e01/track.yml cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa$ python3 deployability/modules/allocation/main.py --action delete --track-output /tmp/wazuh-qa/i-0979133a344a78e01/track.yml [2024-04-30 06:56:15] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/wazuh-qa/i-0979133a344a78e01/track.yml [2024-04-30 06:57:03] [INFO] ALLOCATOR: Instance i-0979133a344a78e01 deleted.
cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa$ python3 deployability/modules/allocation/main.py --provider aws --size medium --ssh-key ~/.ssh/allocation_test --label-team devops --label-termination-date "1d" --composite-name linux-ubuntu-22.04-amd64 [2024-04-30 07:11:06] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-30 07:11:06] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-30 07:11:06] [DEBUG] ALLOCATOR: Using provided key pair [2024-04-30 07:11:07] [DEBUG] ALLOCATOR: Creating temp directory: /tmp/wazuh-qa/AWS-C59C60E8-25E7-413E-A7BE-C8FD3B5C271E [2024-04-30 07:11:25] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-C59C60E8-25E7-413E-A7BE-C8FD3B5C271E directory to /tmp/wazuh-qa/i-06d2dc21bfa754010 [2024-04-30 07:11:25] [INFO] ALLOCATOR: Instance i-06d2dc21bfa754010 created. [2024-04-30 07:11:26] [INFO] ALLOCATOR: Instance i-06d2dc21bfa754010 started. [2024-04-30 07:11:27] [INFO] ALLOCATOR: Inventory file generated at /tmp/wazuh-qa/i-06d2dc21bfa754010/inventory.yml [2024-04-30 07:11:27] [WARNING] ALLOCATOR: Error on attempt 1 of 30: [Errno None] Unable to connect to port 2200 on 3.88.0.223 [2024-04-30 07:11:58] [INFO] ALLOCATOR: SSH connection successful. [2024-04-30 07:11:58] [INFO] ALLOCATOR: Track file generated at /tmp/wazuh-qa/i-06d2dc21bfa754010/track.yml cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa$ python3 deployability/modules/allocation/main.py --action delete --track-output /tmp/wazuh-qa/i-06d2dc21bfa754010/track.yml [2024-04-30 07:12:23] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/wazuh-qa/i-06d2dc21bfa754010/track.yml [2024-04-30 07:13:42] [INFO] ALLOCATOR: Instance i-06d2dc21bfa754010 deleted.
close https://github.com/wazuh/wazuh-qa/issues/5314
Tests
Size large
Size medium