Skip to content

ec2_key : Fix tests - #427

Merged
ansible-zuul[bot] merged 4 commits into
ansible-collections:mainfrom
tremble:sshkey/require-ssl
Aug 12, 2021
Merged

ansible-zuul[bot] merged 4 commits into
ansible-collections:mainfrom
tremble:sshkey/require-ssl

Conversation

@tremble

@tremble tremble commented Jul 31, 2021 •

Copy link
Copy Markdown
Contributor
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

tremble commented Aug 1, 2021

Copy link
Copy Markdown
Contributor Author

@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 done
@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
Copy Markdown

@ansibullbot ansibullbot added the plugins plugin (any type) label Aug 7, 2021
@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

patchback Bot commented Apr 20, 2022 •

Copy link
Copy Markdown

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-delete-me 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
centosinfra-prod-github-app Bot pushed a commit that referenced this pull request Sep 28, 2026
Bumps the github-actions group with 1 update: dawidd6/action-download-artifact.
Updates dawidd6/action-download-artifact from 24 to 25

Release notes
Sourced from dawidd6/action-download-artifact's releases.

v25
What's Changed

build(deps): bump adm-zip from 0.6.0 to 0.6.1 by @​dependabot[bot] in dawidd6/action-download-artifact#427
fix: do not rely on API workflow run ordering by @​dawidd6 in dawidd6/action-download-artifact#429
node_modules: update by @​dawidd6 in dawidd6/action-download-artifact#430

Full Changelog: dawidd6/action-download-artifact@v24...v25



Commits

634d83b workflows: update
0b3820a node_modules: update (#430)
398d90b fix: do not rely on API workflow run ordering (#429)
b9a309f build(deps): bump adm-zip from 0.6.0 to 0.6.1 (#427)
See full diff in compare view




Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
@dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
@dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
@dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
@dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Reviewed-by: Don Naro <dnaro@redhat.com>
Reviewed-by: Bikouo Aubin
Reviewed-by: Mandar Kulkarni <mandkulk@redhat.com>
centosinfra-prod-github-app Bot pushed a commit that referenced this pull request Nov 18, 2026
Bumps the uv-deps group with 2 updates: tox-uv-bare and tox-ansible.
Updates tox-uv-bare from 1.36.0 to 1.37.7

Release notes
Sourced from tox-uv-bare's releases.

1.37.7

Bug fixes


With uv_resolution and dependency_groups both set, deps lines are now kept as written when combined with the groups, so a -r/-c file, an option or a comment no longer crashes tox with an invalid requirement error.
Environments with an older dependency cache are recreated once on upgrade (#424) by @​qodelicious and @​gaborbernat.


package = uv and package = uv-editable now install the project from package_root (setupdir) instead of the tox root (#425) by @​qodelicious and @​gaborbernat.


🐍 PyPI: tox-uv
PyPI: tox-uv-bare
📜 Full Changelog
1.37.6

Bug fixes

A package dependency that names a uv workspace member is now matched against tool.uv.sources by its normalized name, so Demo_Foo and demo-foo count as the same member instead of being sent to the index (#417) by @​qodelicious and @​gaborbernat.
Point {env_site_packages_dir} at lib/python3.13t/site-packages for free-threaded environments, instead of a lib/python3.13/site-packages directory that does not exist (#416) by @​qodelicious and @​gaborbernat.
Preserve debug and free-threaded flags when selecting Python for a tox environment. Changing either flag recreates the environment, so py313d and py313td do not reuse an interpreter with different build options (#420) by @​gaborbernat.
Recreate the environment when system_site_packages changes. uv venv --system-site-packages only applies while the environment is being created, so flipping the setting left the old pyvenv.cfg in place and the change had no effect (#418) by @​abhishekcpp007 and @​gaborbernat.

New Contributors

@​qodelicious made their first contribution in tox-dev/tox-uv#417
@​abhishekcpp007 made their first contribution in tox-dev/tox-uv#418

🐍 PyPI: tox-uv
PyPI: tox-uv-bare
📜 Full Changelog
1.37.5
🐍 PyPI: tox-uv
PyPI: tox-uv-bare
📜 Full Changelog
1.37.4

Bug fixes


... (truncated)


Changelog
Sourced from tox-uv-bare's changelog.

1.37.7 (2026-11-07)

Fixed


With uv_resolution and dependency_groups both set, deps lines are now kept as written when combined with the
groups, so a -r/-c file, an option or a comment no longer crashes tox with an invalid requirement error.
Environments with an older dependency cache are recreated once on upgrade
(#424) by @​qodelicious and
@​gaborbernat.


package = uv and package = uv-editable now install the project from package_root (setupdir) instead of the tox
root (#425) by @​qodelicious and
@​gaborbernat.



1.37.6 (2026-11-06)

Fixed

A package dependency that names a uv workspace member is now matched against tool.uv.sources by its normalized name,
so Demo_Foo and demo-foo count as the same member instead of being sent to the index
(#417) by @​qodelicious and
@​gaborbernat.
Point {env_site_packages_dir} at lib/python3.13t/site-packages for free-threaded environments, instead of a
lib/python3.13/site-packages directory that does not exist (#416) by
@​qodelicious and @​gaborbernat.
Preserve debug and free-threaded flags when selecting Python for a tox environment. Changing either flag recreates the
environment, so py313d and py313td do not reuse an interpreter with different build options
(#420) by @​gaborbernat.
Recreate the environment when system_site_packages changes. uv venv --system-site-packages only applies while the
environment is being created, so flipping the setting left the old pyvenv.cfg in place and the change had no effect
(#418) by @​abhishekcpp007 and
@​gaborbernat.


1.37.5 (2026-11-04)

1.37.4 (2026-11-03)



... (truncated)


Commits

efb3999 release 1.37.7
0af7c3b 🐛 fix(runner): preserve deps syntax with dependency groups (#424)
0d3a231 🐛 fix(package): install uv packages from package_root (#425)
d513c2f 🔧 build(lint): adopt simplint 0.7.1 (#427)
37a229e 🧹 ci: pin shared workflows to 6.7.2 (#426)
c5624d6 🧹 ci: pin shared workflows to 6.7.1 (#423)
8244581 👷 ci: run every hook under the cooldown (#422)
3c3714f release 1.37.6
f8e900d ⚡ ci: install only the changelog hook when preparing (#421)
9530aeb 🐛 fix(venv): honor debug Python variants (#420)
Additional commits viewable in compare view



Updates tox-ansible from 26.9.0 to 26.11.0

Release notes
Sourced from tox-ansible's releases.

v26.11.0
What's Changed

fix(security): update dependencies [SECURITY] by @​renovate[bot] in ansible/tox-ansible#610
fix(security): clear Dependabot uv.lock advisories and CodeQL smoke checkout by @​sudhirverma in ansible/tox-ansible#611

Full Changelog: ansible/tox-ansible@v26.10.0...v26.11.0
v26.10.0
What's Changed

feat(impact_file): add scope-file interface for content-plugin-finder ImpactReport by @​shvenkat-rh in ansible/tox-ansible#607

Full Changelog: ansible/tox-ansible@v26.9.0...v26.10.0



Commits

df46f6e fix(security): clear Dependabot uv.lock advisories and CodeQL smoke checkout ...
58fd690 fix(security): update dependencies [SECURITY] (#610)
1805ac6 feat(impact_file): add scope-file interface for content-plugin-finder ImpactR...
See full diff in compare view



Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
@dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
@dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
@dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
@dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Reviewed-by: Alina Buzachis
Reviewed-by: Rahmanim Benny <brahmani@redhat.com>
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