On 23. juli 2017 17:31, Nick Kakouros wrote:
I have created a pull request for a module for google cloud (PR 27194
<https://github.com/ansible/ansible/pull/27194>). There are 4 tests that
fail, basically all the same:
ansible-test sanity --test import --python xxx
I have no idea how to fix this. The module needs libcloud to work, but
perhaps I need to tell the tests where to find libcloud? Can someone give
me some hints?
Have you scrolled to the bottom and pressed details on shippable?
( https://app.shippable.com/github/ansible/ansible/runs/29986/1/console )
If you do you will see the following error message for Python 2.6, 2.7,
3.5 and 3.6.
2017-07-23 14:40:26 Run command: importer.py
lib/ansible/modules/cloud/google/gce_firewall.py
lib/ansible/modules/cloud/google/gce_net.py
2017-07-23 14:40:26 ERROR: Found 2 import issue(s) on python 2.6 which
need to be resolved:
2017-07-23 14:40:26 ERROR:
lib/ansible/modules/cloud/google/gce_firewall.py:181:0: NameError: name
'Provider' is not defined (100%)
2017-07-23 14:40:26 ERROR:
lib/ansible/modules/cloud/google/gce_net.py:226:0: NameError: name
'Provider' is not defined (100%)
2017-07-23 14:40:26 ERROR: The 1 sanity test(s) listed below (out of 2)
failed. See error output above for details.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/c7d25db6-39e0-d594-af6e-de0263475446%40olstad.com.
For more options, visit https://groups.google.com/d/optout.