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

Community package requirements: sanity tests and repository management #74

Open
gotmax23 opened this issue Sep 10, 2024 · 1 comment
Open
Assignees

Comments

@gotmax23
Copy link

(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:

  • ansible-doc
  • compile
  • validate-modules
  • yamllint

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:

  • CHANGELOG.md (WRONG_HASH)
  • extensions/eda/plugins/event_source/syslog.py (WRONG_HASH)
@gotmax23
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants