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

[ansible] Update to 2.6.6, add tests #1928

Merged
merged 3 commits into from
Oct 30, 2018

Conversation

predominant
Copy link
Collaborator

Signed-off-by: Graham Weldon graham@grahamweldon.com

Testing

hab studio run ansible/tests/test.sh

Sample output

1..2
ok 1 Version matches
ok 2 Help Command

Signed-off-by: Graham Weldon <graham@grahamweldon.com>
@thesentinels
Copy link
Contributor

Thanks for the pull request! Here is what will happen next:

  1. Your PR will be reviewed by the maintainers
  2. If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!

Signed-off-by: Graham Weldon <graham@grahamweldon.com>
Signed-off-by: Graham Weldon <graham@grahamweldon.com>
@bdangit
Copy link
Contributor

bdangit commented Oct 24, 2018

ran into some errors related to pycparser

Processing dependencies for ansible==2.6.6
Searching for cryptography
Reading https://pypi.python.org/simple/cryptography/
Downloading https://files.pythonhosted.org/packages/22/21/233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4/cryptography-2.3.1.tar.gz#sha256=8d10113ca826a4c29d5b85b2c4e045ffa8bad74fb525ee0eceb1d38d4c70dfd6
Best match: cryptography 2.3.1
Processing cryptography-2.3.1.tar.gz
Writing /tmp/easy_install-yNOF6P/cryptography-2.3.1/setup.cfg
Running cryptography-2.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-yNOF6P/cryptography-2.3.1/egg-dist-tmp-GMKlGl
c/_cffi_backend.c: In function 'init_cffi_backend':
c/_cffi_backend.c:7401:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     Py_INCREF(&MiniBuffer_Type);
     ^~~~~~~~~

Installed /tmp/easy_install-yNOF6P/cryptography-2.3.1/.eggs/cffi-1.11.4-py2.7-linux-x86_64.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/12/96/91d469b9fe316ddd6ed337bc28b394327e3b18b0549b59c484f77c9e141b/pycparser-2.09.tar.gz#sha256=907a32d5af
error: sha256 validation failed for pycparser-2.09.tar.gz; possible download problem?
   ansible: Build time: 1m21s
   ansible: Exiting on error

@bdangit
Copy link
Contributor

bdangit commented Oct 24, 2018

2nd run results in successful pycparser, but pyyaml fails.

Installed /hab/pkgs/bdangit/ansible/2.6.6/20181024051706/lib/python2.7/site-packages/paramiko-2.4.2-py2.7.egg
Searching for PyYAML
Reading https://pypi.python.org/simple/PyYAML/
Downloading https://files.pythonhosted.org/packages/a8/c6/a8d1555e795dbd0375c3c93b576ca13bbf139db51ea604afa19a2c35fc03/PyYAML-4.2b4.tar.gz#sha256=3c17fb92c8ba2f525e4b5f7941d850e7a48c3a59b32d331e2502a3cdc6648e76
error: sha256 validation failed for PyYAML-4.2b4.tar.gz; possible download problem?

@predominant
Copy link
Collaborator Author

What the fun? Checking ...

@predominant
Copy link
Collaborator Author

@bdangit I think this is a download problem on your side. Can you please try again in a fresh studio? I had no problems on my side.

@bdangit
Copy link
Contributor

bdangit commented Oct 26, 2018

@predominant I have, but still no dice. Might be network issues. I'll try again this weekend.

Copy link
Contributor

@bdangit bdangit left a comment

Choose a reason for hiding this comment

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

Was finally able to build this! My studio environment was totally jacked.

@predominant
Copy link
Collaborator Author

Thanks @bdangit - I'm going to wait for at least one more approval just to ensure we're dealing with a successful build here.

Copy link
Contributor

@smacfarlane smacfarlane left a comment

Choose a reason for hiding this comment

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

Builds successfully, I didn't encounter any of the python package errors reported.

@predominant predominant merged commit 3d1c6e6 into habitat-sh:master Oct 30, 2018
@predominant predominant deleted the predominant/ansible-2.6.6 branch October 30, 2018 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants