sensu-go-ansible icon indicating copy to clipboard operation
sensu-go-ansible copied to clipboard

Community package requirements: sanity tests and repository management

Open gotmax23 opened this issue 6 months ago • 0 comments

(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. Version 1.14.0 of sensu.sensu_go, corresponding to the v1.14.0 tag in this repo, fails one or more of the required sanity tests.

The contents in the v1.14.0 git tag do not match sensu-sensu_go-1.14.0.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.

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.16.1:

  • 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 7 errors:

plugins/modules/bonsai_asset.py:0:0: nonexistent-parameter-documented: Argument 'annotations' is listed in DOCUMENTATION.options, but not accepted by the module argument_spec
plugins/modules/bonsai_asset.py:0:0: nonexistent-parameter-documented: Argument 'auth' is listed in DOCUMENTATION.options, but not accepted by the module argument_spec
plugins/modules/bonsai_asset.py:0:0: nonexistent-parameter-documented: Argument 'labels' is listed in DOCUMENTATION.options, but not accepted by the module argument_spec
plugins/modules/bonsai_asset.py:0:0: nonexistent-parameter-documented: Argument 'namespace' is listed in DOCUMENTATION.options, but not accepted by the module argument_spec
plugins/modules/bonsai_asset.py:0:0: nonexistent-parameter-documented: Argument 'on_remote' is listed in DOCUMENTATION.options, but not accepted by the module argument_spec
plugins/modules/bonsai_asset.py:0:0: nonexistent-parameter-documented: Argument 'rename' is listed in DOCUMENTATION.options, but not accepted by the module argument_spec
plugins/modules/datastore.py:0:0: doc-default-does-not-match-spec: Argument 'pool_size' in argument_spec defines default as (0) but documentation defines default as (None)

File divergences

The following files differ between the v1.14.0 git tag and sensu-sensu_go-1.14.0.tar.gz on Ansible Galaxy:

  • docs/source/release_notes.rst (WRONG_HASH)

gotmax23 avatar Jan 23 '24 04:01 gotmax23