cyberark / ansible-security-automation-collection

CyberArk Ansible Security Automation Collection
MIT License
60 stars 39 forks source link

Community package requirements: sanity tests and repository management #74

Open gotmax23 opened 2 months ago

gotmax23 commented 2 months ago

(Note: This issue was filed in a semi-automated fashion on behalf of the Ansible Community Steering Committee. 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. Version 1.0.27 of cyberark.pas, corresponding to the 1.0.27 tag in this repo, fails one or more of the required sanity tests.

The contents in the 1.0.27 git tag do not match cyberark-pas-1.0.27.tar.gz as uploaded to Ansible Galaxy. For future releases, please make sure that the contents uploaded to Galaxy match the sources that were tagged as that release. See the Repository management requirements for more information.

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.

Please fix the issues identified below and then create a new Galaxy release so the fixes are caught in the next round of automated testing.

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 version 2.17.3:

Note that this is only a subset of the required sanity tests. Please make sure you run them in all in your CI.

Results

💡 NOTE:

Check the [explain] links below for more information about each test and how to fix failures. See Sanity Tests: Ignores in the dev guide if, after reading the test-specific documentation, you still believe an error is a false positive.

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/cyberark_credential.py:0:0: nonexistent-parameter-documented: Argument 'path' is listed in DOCUMENTATION.options, but not accepted by the module argument_spec

File divergences

The following files differ between the 1.0.27 git tag and cyberark-pas-1.0.27.tar.gz on Ansible Galaxy:

gotmax23 commented 2 months ago

Also, please see the CI guidelines in the collection requirements. The CI configuration should be updated to test for the latest ansible-core release that's included in Ansible 10, 2.17.