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

ec2_key : Fix tests #427

Merged
merged 4 commits into from
Aug 12, 2021

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Jul 31, 2021

SUMMARY

The Zuul nodes don't have OpenSSL installed on them, this breaks the generation of the fingerprints

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ec2_key

ADDITIONAL INFORMATION

https://dashboard.zuul.ansible.com/t/ansible/build/d79dcec2e3024558800bba5fd6917505/log/job-output.txt

"stderr": "/bin/sh: line 1: openssl: command not found"

Depends-on: #460

@tremble tremble changed the title Ensure openssl is available to us ec2_key : Ensure openssl is available to us (tests) Jul 31, 2021
@ansibullbot ansibullbot added bug This issue/PR relates to a bug community_review integration tests/integration needs_triage tests tests labels Jul 31, 2021
@tremble tremble force-pushed the sshkey/require-ssl branch 3 times, most recently from 90d577a to e3daa79 Compare August 1, 2021 06:31
@tremble
Copy link
Contributor Author

tremble commented Aug 1, 2021

@jillr the Zuul node apparently don't have the OpenSSL CLI installed on them.

I tried working around this by using the pycrypto library, but apparently the Python 36 nodes don't have a compiler installed on them either (the 38 nodes appear to have a compiler, so I could install pycrypto)

Not sure the best way to raise an issue for the Zuul team, but we either need a compiler, or the OpenSSL CLI.

@tremble tremble mentioned this pull request Aug 2, 2021
1 task
@tremble tremble force-pushed the sshkey/require-ssl branch from e3daa79 to 2d92873 Compare August 5, 2021 09:28
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 6, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
@tremble tremble force-pushed the sshkey/require-ssl branch from 2d92873 to a542c8a Compare August 7, 2021 12:03
@ansibullbot ansibullbot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Aug 7, 2021
@tremble tremble force-pushed the sshkey/require-ssl branch from a542c8a to 7642a13 Compare August 7, 2021 12:07
@ansibullbot ansibullbot added community_review and removed needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Aug 7, 2021
@tremble tremble force-pushed the sshkey/require-ssl branch from 7642a13 to 094554c Compare August 7, 2021 12:29
@ansibullbot
Copy link

@ansibullbot ansibullbot added the plugins plugin (any type) label Aug 7, 2021
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 12, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
@ansible-zuul ansible-zuul bot merged commit 963a829 into ansible-collections:main Aug 12, 2021
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 13, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 13, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 13, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 13, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 13, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 13, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 23, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 23, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 23, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 23, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 23, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 23, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit that referenced this pull request Aug 25, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit that referenced this pull request Aug 25, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit that referenced this pull request Aug 26, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit that referenced this pull request Aug 26, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 26, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
jillr pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Aug 27, 2021
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@38be7f9
@tremble tremble deleted the sshkey/require-ssl branch November 26, 2021 12:42
@tremble tremble added the backport-1.5 PR should be backported to the stable-1.5 branch label Apr 20, 2022
@patchback
Copy link

patchback bot commented Apr 20, 2022

Backport to stable-1.5: 💔 cherry-picking failed — conflicts found

❌ Failed to cleanly apply 963a829 on top of patchback/backports/stable-1.5/963a8293c7df8e4246075b900bc3935233cb3a09/pr-427

Backporting merged PR #427 into main

  1. Ensure you have a local repo clone of your fork. Unless you cloned it
    from the upstream, this would be your origin remote.
  2. Make sure you have an upstream repo added as a remote too. In these
    instructions you'll refer to it by the name upstream. If you don't
    have it, here's how you can add it:
    $ git remote add upstream https://github.com/ansible-collections/amazon.aws.git
  3. Ensure you have the latest copy of upstream and prepare a branch
    that will hold the backported code:
    $ git fetch upstream
    $ git checkout -b patchback/backports/stable-1.5/963a8293c7df8e4246075b900bc3935233cb3a09/pr-427 upstream/stable-1.5
  4. Now, cherry-pick PR ec2_key : Fix tests #427 contents into that branch:
    $ git cherry-pick -x 963a8293c7df8e4246075b900bc3935233cb3a09
    If it'll yell at you with something like fatal: Commit 963a8293c7df8e4246075b900bc3935233cb3a09 is a merge but no -m option was given., add -m 1 as follows intead:
    $ git cherry-pick -m1 -x 963a8293c7df8e4246075b900bc3935233cb3a09
  5. At this point, you'll probably encounter some merge conflicts. You must
    resolve them in to preserve the patch from PR ec2_key : Fix tests #427 as close to the
    original as possible.
  6. Push this branch to your fork on GitHub:
    $ git push origin patchback/backports/stable-1.5/963a8293c7df8e4246075b900bc3935233cb3a09/pr-427
  7. Create a PR, ensure that the CI is green. If it's not — update it so that
    the tests and any other checks pass. This is it!
    Now relax and wait for the maintainers to process your pull request
    when they have some cycles to do reviews. Don't worry — they'll tell you if
    any improvements are necessary when the time comes!

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

tremble added a commit to tremble/amazon.aws that referenced this pull request Apr 20, 2022
ec2_key : Fix tests

SUMMARY
The Zuul nodes don't have OpenSSL installed on them, this breaks the generation of the fingerprints
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ec2_key
ADDITIONAL INFORMATION
https://dashboard.zuul.ansible.com/t/ansible/build/d79dcec2e3024558800bba5fd6917505/log/job-output.txt
"stderr": "/bin/sh: line 1: openssl: command not found"

Depends-on: ansible-collections#460

Reviewed-by: Alina Buzachis <None>
Reviewed-by: None <None>
(cherry picked from commit 963a829)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Apr 21, 2022
[PR #427 backport][stable-1.5] ec2_key : Fix tests

Depends-On: ansible/ansible-zuul-jobs#1498
This is a backport of PR #427 as merged into main (963a829).
SUMMARY
The Zuul nodes don't have OpenSSL installed on them, this breaks the generation of the fingerprints
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ec2_key
ADDITIONAL INFORMATION
https://dashboard.zuul.ansible.com/t/ansible/build/d79dcec2e3024558800bba5fd6917505/log/job-output.txt
"stderr": "/bin/sh: line 1: openssl: command not found"

Reviewed-by: Alina Buzachis <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
* attempt to add more information when failures occur
* Use pagination and add more retry wrappers
* Mark ec2_vpc_nat_gateway stable again.  Using paginator and retries seems to have fixed things
* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-1.5 PR should be backported to the stable-1.5 branch bug This issue/PR relates to a bug community_review has_issue integration tests/integration plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants