Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Windows sign AMI #5285

Conversation

c-bordon
Copy link
Member

Close #5284

Added Windows AMI for signing packages.

cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa$ python3 deployability/modules/allocation/main.py --provider aws --size micro --label-termination-date "1d" --label-team devops --composite-name windows-sign-10-amd64
[2024-04-23 10:04:24] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-04-23 10:04:24] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-04-23 10:04:24] [DEBUG] ALLOCATOR: Creating temp directory: /tmp/wazuh-qa/AWS-4C07DADD-F0D1-4F60-81DE-4406DD6257ED
[2024-04-23 10:05:13] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-4C07DADD-F0D1-4F60-81DE-4406DD6257ED directory to /tmp/wazuh-qa/i-063a231916a6cf649
[2024-04-23 10:05:13] [INFO] ALLOCATOR: Instance i-063a231916a6cf649 created.
[2024-04-23 10:05:14] [INFO] ALLOCATOR: Instance i-063a231916a6cf649 started.
[2024-04-23 10:05:15] [INFO] ALLOCATOR: Inventory file generated at /tmp/wazuh-qa/i-063a231916a6cf649/inventory.yml
[2024-04-23 10:05:45] [WARNING] ALLOCATOR: Error on attempt 1 of 30: HTTPSConnectionPool(host='ec2-54-81-206-182.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7de9c7583610>, 'Connection to ec2-54-81-206-182.compute-1.amazonaws.com timed out. (connect timeout=30)'))
[2024-04-23 10:06:45] [WARNING] ALLOCATOR: Error on attempt 2 of 30: HTTPSConnectionPool(host='ec2-54-81-206-182.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7de9c7517340>, 'Connection to ec2-54-81-206-182.compute-1.amazonaws.com timed out. (connect timeout=30)'))
[2024-04-23 10:07:45] [WARNING] ALLOCATOR: Error on attempt 3 of 30: HTTPSConnectionPool(host='ec2-54-81-206-182.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7de9c7640160>, 'Connection to ec2-54-81-206-182.compute-1.amazonaws.com timed out. (connect timeout=30)'))
[2024-04-23 10:08:24] [WARNING] ALLOCATOR: Error on attempt 4 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:08:54] [WARNING] ALLOCATOR: Error on attempt 5 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:09:25] [WARNING] ALLOCATOR: Error on attempt 6 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:09:55] [WARNING] ALLOCATOR: Error on attempt 7 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:10:25] [WARNING] ALLOCATOR: Error on attempt 8 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:10:56] [WARNING] ALLOCATOR: Error on attempt 9 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:11:26] [WARNING] ALLOCATOR: Error on attempt 10 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:11:56] [WARNING] ALLOCATOR: Error on attempt 11 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:12:27] [WARNING] ALLOCATOR: Error on attempt 12 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:12:57] [WARNING] ALLOCATOR: Error on attempt 13 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:13:28] [WARNING] ALLOCATOR: Error on attempt 14 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:13:58] [WARNING] ALLOCATOR: Error on attempt 15 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:14:28] [WARNING] ALLOCATOR: Error on attempt 16 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:14:59] [WARNING] ALLOCATOR: Error on attempt 17 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:15:29] [WARNING] ALLOCATOR: Error on attempt 18 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:15:59] [WARNING] ALLOCATOR: Error on attempt 19 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:17:00] [WARNING] ALLOCATOR: Error on attempt 20 of 30: HTTPSConnectionPool(host='ec2-54-81-206-182.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7de9c75148b0>, 'Connection to ec2-54-81-206-182.compute-1.amazonaws.com timed out. (connect timeout=30)'))
[2024-04-23 10:17:30] [WARNING] ALLOCATOR: Error on attempt 21 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:18:00] [WARNING] ALLOCATOR: Error on attempt 22 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:18:31] [WARNING] ALLOCATOR: Error on attempt 23 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:19:01] [WARNING] ALLOCATOR: Error on attempt 24 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-04-23 10:19:53] [WARNING] ALLOCATOR: Error on attempt 25 of 30: 
[2024-04-23 10:20:44] [WARNING] ALLOCATOR: Error on attempt 26 of 30: 
[2024-04-23 10:21:36] [WARNING] ALLOCATOR: Error on attempt 27 of 30: 
[2024-04-23 10:22:08] [INFO] ALLOCATOR: WinRM connection successful.
[2024-04-23 10:22:08] [INFO] ALLOCATOR: Track file generated at /tmp/wazuh-qa/i-063a231916a6cf649/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-063a231916a6cf649/track.yml
[2024-04-23 10:22:38] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/wazuh-qa/i-063a231916a6cf649/track.yml
[2024-04-23 10:23:26] [INFO] ALLOCATOR: Instance i-063a231916a6cf649 deleted.

@c-bordon c-bordon self-assigned this Apr 23, 2024
@c-bordon c-bordon requested a review from teddytpc1 April 23, 2024 13:23
@c-bordon c-bordon linked an issue Apr 23, 2024 that may be closed by this pull request
@teddytpc1 teddytpc1 merged commit e61da0c into 4495-dtt1-release Apr 23, 2024
@teddytpc1 teddytpc1 deleted the change/5284-dtt1-allocation-module-windows-sign-ami branch April 23, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DTT1 - Allocation Module - Windows sign AMI
2 participants