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

Fix broken ec2_vpc_vgw tests #1579

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Nov 2, 2022

SUMMARY

The APIs are no longer consistently returning deleted attachments. Accept both the attachment being listed but marked 'deleted', and not being listed.

Amazon's APIs used to be very slow to update this, making waiting for it a bad idea.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ec2_vpc_vgw

ADDITIONAL INFORMATION

@tremble tremble marked this pull request as ready for review November 2, 2022 08:52
@markuman markuman added backport-4 PR should be backported to the stable-4 branch backport-5 PR should be backported to the stable-5 branch labels Nov 2, 2022
@ansibullbot
Copy link

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 3m 59s
✔️ build-ansible-collection SUCCESS in 5m 01s
ansible-test-sanity-docker-devel FAILURE in 9m 33s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 56s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 02s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 13s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 15m 06s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 5m 46s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 56s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 01s
✔️ ansible-test-splitter SUCCESS in 2m 38s
✔️ integration-community.aws-1 SUCCESS in 9m 02s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
⚠️ integration-community.aws-19 SKIPPED
⚠️ integration-community.aws-20 SKIPPED
⚠️ integration-community.aws-21 SKIPPED
⚠️ integration-community.aws-22 SKIPPED
✔️ ansible-test-changelog SUCCESS in 2m 37s

@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Nov 2, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 4m 38s
✔️ build-ansible-collection SUCCESS in 5m 17s
ansible-test-sanity-docker-devel FAILURE in 8m 50s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 53s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 53s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 35s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 28s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 5m 59s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 55s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 20s
✔️ ansible-test-splitter SUCCESS in 2m 30s
✔️ integration-community.aws-1 SUCCESS in 8m 17s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
⚠️ integration-community.aws-19 SKIPPED
⚠️ integration-community.aws-20 SKIPPED
⚠️ integration-community.aws-21 SKIPPED
⚠️ integration-community.aws-22 SKIPPED
✔️ ansible-test-changelog SUCCESS in 2m 30s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit cea2ab5 into ansible-collections:main Nov 2, 2022
@patchback
Copy link

patchback bot commented Nov 2, 2022

Backport to stable-4: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4/cea2ab5cf7a8f778fe2fdf2bfa55fd3e0fba68de/pr-1579

Backported as #1580

🤖 @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 Nov 2, 2022
Fix broken ec2_vpc_vgw tests

SUMMARY
The APIs are no longer consistently returning deleted attachments.  Accept both the attachment being listed but marked 'deleted', and not being listed.
Amazon's APIs used to be very slow to update this, making waiting for it a bad idea.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ec2_vpc_vgw
ADDITIONAL INFORMATION

Reviewed-by: Markus Bergholz <[email protected]>
(cherry picked from commit cea2ab5)
@patchback
Copy link

patchback bot commented Nov 2, 2022

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/cea2ab5cf7a8f778fe2fdf2bfa55fd3e0fba68de/pr-1579

Backported as #1581

🤖 @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 Nov 2, 2022
Fix broken ec2_vpc_vgw tests

SUMMARY
The APIs are no longer consistently returning deleted attachments.  Accept both the attachment being listed but marked 'deleted', and not being listed.
Amazon's APIs used to be very slow to update this, making waiting for it a bad idea.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ec2_vpc_vgw
ADDITIONAL INFORMATION

Reviewed-by: Markus Bergholz <[email protected]>
(cherry picked from commit cea2ab5)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Nov 2, 2022
Fix non-matching defaults in docs

Depends-On: #1579
SUMMARY
Fix various non-matching default values exposed by ansible/ansible#79267.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
various

Reviewed-by: Markus Bergholz <[email protected]>
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Nov 2, 2022
[PR #1579/cea2ab5c backport][stable-4] Fix broken ec2_vpc_vgw tests

This is a backport of PR #1579 as merged into main (cea2ab5).
SUMMARY
The APIs are no longer consistently returning deleted attachments.  Accept both the attachment being listed but marked 'deleted', and not being listed.
Amazon's APIs used to be very slow to update this, making waiting for it a bad idea.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ec2_vpc_vgw
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell <None>
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Nov 2, 2022
[PR #1579/cea2ab5c backport][stable-5] Fix broken ec2_vpc_vgw tests

This is a backport of PR #1579 as merged into main (cea2ab5).
SUMMARY
The APIs are no longer consistently returning deleted attachments.  Accept both the attachment being listed but marked 'deleted', and not being listed.
Amazon's APIs used to be very slow to update this, making waiting for it a bad idea.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ec2_vpc_vgw
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell <None>
patchback bot pushed a commit that referenced this pull request Nov 2, 2022
Fix non-matching defaults in docs

Depends-On: #1579
SUMMARY
Fix various non-matching default values exposed by ansible/ansible#79267.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
various

Reviewed-by: Markus Bergholz <[email protected]>
(cherry picked from commit 15568f0)
patchback bot pushed a commit that referenced this pull request Nov 2, 2022
Fix non-matching defaults in docs

Depends-On: #1579
SUMMARY
Fix various non-matching default values exposed by ansible/ansible#79267.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
various

Reviewed-by: Markus Bergholz <[email protected]>
(cherry picked from commit 15568f0)
softwarefactory-project-zuul bot pushed a commit to ansible-collections/amazon.aws that referenced this pull request Nov 2, 2022
Move RetryingBotoClientWrapper into module_utils.retries

Depends-On: ansible-collections/community.aws#1579
SUMMARY
Move RetryingBotoClientWrapper into module_utils.retries
This means we can use it later with non-module plugins
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
plugins/module_utils/modules.py
plugins/module_utils/retries.py
plugins/module_utils/waiters.py
ADDITIONAL INFORMATION

Reviewed-by: Gonéri Le Bouder <[email protected]>
Reviewed-by: Alina Buzachis <None>
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Nov 15, 2022
[PR #1576/15568f01 backport][stable-5] Fix non-matching defaults in docs

This is a backport of PR #1576 as merged into main (15568f0).
Depends-On: #1579
SUMMARY
Fix various non-matching default values exposed by ansible/ansible#79267.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
various

Reviewed-by: Markus Bergholz <[email protected]>
tremble pushed a commit that referenced this pull request Feb 1, 2023
Fix non-matching defaults in docs

Depends-On: #1579
SUMMARY
Fix various non-matching default values exposed by ansible/ansible#79267.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
various

Reviewed-by: Markus Bergholz
(cherry picked from commit 15568f0)

Co-authored-by: Felix Fontein
@tremble tremble deleted the tests/ec2_vpc_vgw branch February 15, 2023 09:25
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
Fix non-matching defaults in docs

Depends-On: ansible-collections#1579
SUMMARY
Fix various non-matching default values exposed by ansible/ansible#79267.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
various

Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@15568f0
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
Fix non-matching defaults in docs

Depends-On: ansible-collections#1579
SUMMARY
Fix various non-matching default values exposed by ansible/ansible#79267.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
various

Reviewed-by: Markus Bergholz <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@15568f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4 PR should be backported to the stable-4 branch backport-5 PR should be backported to the stable-5 branch bug This issue/PR relates to a bug community_review integration tests/integration mergeit Merge the PR (SoftwareFactory) plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants