-
Notifications
You must be signed in to change notification settings - Fork 7
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
Community package requirements: sanity tests #40
Comments
There looks to be an issue in the sanity test output. All modules are reporting the same errors: |
Do you have a EDIT: Or maybe there's some other difference to Automation Hub's sanity tests that I'm not aware of. I'll ask someone on the Steering Committee who's more familiar with AH than I to take a look. I know you mentioned that AH's sanity tests were passing just fine in CiscoDevNet/intersight-ansible#108. |
@dsoper2 there is no issue with the sanity test output. The validate-modules test fails for this collection with a very long list of failures, both with ansible-core devel and ansible-core 2.17. Automation Hub likely only runs a more lenient version of the sanity tests. Passing them is nice, but no indication that all sanity tests pass. Another problem with this repository is that there doesn't seem to be any CI in this repository. The inclusion requirements are pretty clear on this:
This does not seem to be the case for this repository. This is a clear violation of the inclusion requirements. |
This collection seems to have the issue that Felix mentioned in CiscoDevNet/intersight-ansible#108 where multiple modules modify a global dict in a different way. Making a copy of the dict each time should solve that. |
CI added and ansible-test sanity now passing |
Community package requirements: sanity tests
(Note: This issue was filed in a semi-automated fashion. Let me know if you see errors in this issue.)
As per the Ansible community package inclusion requirements, collections must pass
ansible-test sanity
tests. Version1.10.0
ofcisco.ucs
, corresponding to thev1.10.0
tag in this repo, fails one or more of the required sanity tests.Please see the errors below and address them. If these issues aren't addressed within a reasonable time period, the collection may be subject to removal from Ansible.
Thank you for your efforts and for being part of the Ansible package! We appreciate it.
Sanity tests
The following tests were run using
ansible-test
version2.16.1
:Note that this is only a subset of the required sanity tests. Please make sure you run them in all in your CI.
Results
The test
ansible-test sanity --test validate-modules
[explain] failed with 9502 errors:Issue truncated. Click to read more.
The text was updated successfully, but these errors were encountered: