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

Integration tests Connection SSM #2211

Conversation

abikouo
Copy link
Contributor

@abikouo abikouo commented Jan 21, 2025

SUMMARY

Fix issue with connection_ssm* integration tests

  • The ec2 instance was deployed into the default subnet which does not always allow the SSM plugin to reach target. We now deploy a specific infrastructure with the required network configuration for the instance to be visible by the SSM plugin
  • The latest AMI used for Amazon Linux has python3.7 leading to the error "ansible-core requires a minimum of Python version 3.8. Current version: 3.7.16 (default, Oct 30 2024, 20:44:12) [GCC 7.3.1 20180712 (Red Hat 7.3.1-17)]". The Python version has been upgraded with a compiled version on the host, this is a time-consuming operation, therefore the wait timeout has been increased for the wait_for_connection module.
  • Update installation process on the ansible controller host depending on the architecture
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

CI

Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/151af611cf3847049cd7f2dfc12dd424

ansible-galaxy-importer FAILURE in 5m 30s (non-voting)
✔️ build-ansible-collection SUCCESS in 10m 47s
✔️ ansible-test-splitter SUCCESS in 4m 01s
integration-community.aws-1 FAILURE in 17m 26s
✔️ integration-community.aws-2 SUCCESS in 12m 14s
✔️ integration-community.aws-3 SUCCESS in 13m 55s
✔️ integration-community.aws-4 SUCCESS in 13m 15s
✔️ integration-community.aws-5 SUCCESS in 12m 07s
✔️ integration-community.aws-6 SUCCESS in 12m 49s
✔️ integration-community.aws-7 SUCCESS in 14m 04s
✔️ integration-community.aws-8 SUCCESS in 12m 07s
✔️ integration-community.aws-9 SUCCESS in 12m 11s
✔️ integration-community.aws-10 SUCCESS in 5m 22s
Skipped 12 jobs

Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/561babdc40044b7b8b3bb1faa2acbb18

✔️ ansible-galaxy-importer SUCCESS in 9m 07s (non-voting)
✔️ build-ansible-collection SUCCESS in 10m 13s
✔️ ansible-test-splitter SUCCESS in 4m 03s
integration-community.aws-1 FAILURE in 21m 27s
✔️ integration-community.aws-2 SUCCESS in 11m 55s
✔️ integration-community.aws-3 SUCCESS in 13m 43s
✔️ integration-community.aws-4 SUCCESS in 12m 53s
✔️ integration-community.aws-5 SUCCESS in 13m 55s
✔️ integration-community.aws-6 SUCCESS in 13m 02s
✔️ integration-community.aws-7 SUCCESS in 13m 00s
✔️ integration-community.aws-8 SUCCESS in 11m 48s
✔️ integration-community.aws-9 SUCCESS in 11m 52s
✔️ integration-community.aws-10 SUCCESS in 5m 53s
Skipped 12 jobs

@abikouo abikouo force-pushed the fixing_ssm_tests_20250121 branch from 4ec3401 to c9139d9 Compare January 22, 2025 15:46
@abikouo abikouo force-pushed the fixing_ssm_tests_20250121 branch from 97102c6 to 4eed3a2 Compare January 22, 2025 16:13
Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/6e1f5d211c9442c29e3b32cd1513e117

✔️ ansible-galaxy-importer SUCCESS in 4m 19s (non-voting)
✔️ build-ansible-collection SUCCESS in 10m 27s
✔️ ansible-test-splitter SUCCESS in 4m 03s
integration-community.aws-1 FAILURE in 9m 09s
✔️ integration-community.aws-2 SUCCESS in 14m 20s
✔️ integration-community.aws-3 SUCCESS in 15m 32s
integration-community.aws-4 FAILURE in 8m 37s
✔️ integration-community.aws-5 SUCCESS in 14m 32s
integration-community.aws-6 FAILURE in 8m 57s
✔️ integration-community.aws-7 SUCCESS in 14m 26s
✔️ integration-community.aws-8 SUCCESS in 14m 43s
✔️ integration-community.aws-9 SUCCESS in 15m 27s
✔️ integration-community.aws-10 SUCCESS in 7m 56s
Skipped 12 jobs

@abikouo abikouo force-pushed the fixing_ssm_tests_20250121 branch from 4eed3a2 to e0e8347 Compare January 22, 2025 17:30
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/82fabfc12cfb47bb972580b6413d390f

ansible-galaxy-importer FAILURE in 5m 33s (non-voting)
✔️ build-ansible-collection SUCCESS in 10m 21s
✔️ ansible-test-splitter SUCCESS in 3m 56s
✔️ integration-community.aws-1 SUCCESS in 25m 57s
✔️ integration-community.aws-2 SUCCESS in 15m 08s
✔️ integration-community.aws-3 SUCCESS in 16m 51s
✔️ integration-community.aws-4 SUCCESS in 15m 40s
✔️ integration-community.aws-5 SUCCESS in 15m 32s
✔️ integration-community.aws-6 SUCCESS in 15m 33s
✔️ integration-community.aws-7 SUCCESS in 15m 21s
✔️ integration-community.aws-8 SUCCESS in 14m 45s
✔️ integration-community.aws-9 SUCCESS in 16m 01s
✔️ integration-community.aws-10 SUCCESS in 6m 40s
Skipped 12 jobs

@GomathiselviS
Copy link
Contributor

Why not include a bug_fix changelog?

@abikouo
Copy link
Contributor Author

abikouo commented Jan 24, 2025

Why not include a bug_fix changelog?

Because this is not a bug fix, bug fixes are related to code.

@tremble tremble added mergeit Merge the PR (SoftwareFactory) backport-9 labels Jan 24, 2025
Copy link
Contributor

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/3a19fd10f3ef4e64878f0cd2d2ac0472

ansible-galaxy-importer FAILURE in 4m 56s (non-voting)
✔️ build-ansible-collection SUCCESS in 10m 05s
✔️ ansible-test-splitter SUCCESS in 4m 06s
✔️ integration-community.aws-1 SUCCESS in 20m 53s
✔️ integration-community.aws-2 SUCCESS in 16m 42s
✔️ integration-community.aws-3 SUCCESS in 17m 46s
✔️ integration-community.aws-4 SUCCESS in 16m 51s
✔️ integration-community.aws-5 SUCCESS in 14m 05s
✔️ integration-community.aws-6 SUCCESS in 18m 24s
✔️ integration-community.aws-7 SUCCESS in 14m 46s
✔️ integration-community.aws-8 SUCCESS in 14m 47s
✔️ integration-community.aws-9 SUCCESS in 17m 35s
✔️ integration-community.aws-10 SUCCESS in 4m 59s
Skipped 12 jobs

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 01d1598 into ansible-collections:main Jan 24, 2025
82 of 83 checks passed
Copy link

patchback bot commented Jan 24, 2025

Backport to stable-9: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-9/01d1598aff380d4317b4fae538492b47b8b1301f/pr-2211

Backported as #2214

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jan 24, 2025
SUMMARY

Fix issue with connection_ssm* integration tests

The ec2 instance was deployed into the default subnet which does not always allow the SSM plugin to reach target. We now deploy a specific infrastructure with the required network configuration for the instance to be visible by the SSM plugin
The latest AMI used for Amazon Linux has python3.7 leading to the error "ansible-core requires a minimum of Python version 3.8. Current version: 3.7.16 (default, Oct 30 2024, 20:44:12) [GCC 7.3.1 20180712 (Red Hat 7.3.1-17)]". The Python version has been upgraded with a compiled version on the host, this is a time-consuming operation, therefore the wait timeout has been increased for the wait_for_connection module.
Update installation process on the ansible controller host depending on the architecture

ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME

CI

Reviewed-by: Alina Buzachis
Reviewed-by: Mark Chappell
(cherry picked from commit 01d1598)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jan 26, 2025
This is a backport of PR #2211 as merged into main (01d1598).
SUMMARY

Fix issue with connection_ssm* integration tests


The ec2 instance was deployed into the default subnet which does not always allow the SSM plugin to reach target. We now deploy a specific infrastructure with the required network configuration for the instance to be visible by the SSM plugin
The latest AMI used for Amazon Linux has python3.7 leading to the error "ansible-core requires a minimum of Python version 3.8. Current version: 3.7.16 (default, Oct 30 2024, 20:44:12) [GCC 7.3.1 20180712 (Red Hat 7.3.1-17)]". The Python version has been upgraded with a compiled version on the host, this is a time-consuming operation, therefore the wait timeout has been increased for the wait_for_connection module.
Update installation process on the ansible controller host depending on the architecture

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

CI

Reviewed-by: Mark Chappell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-9 mergeit Merge the PR (SoftwareFactory) skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants