fortinet-ansible-dev / ansible-galaxy-fortimanager-collection

GNU General Public License v3.0
16 stars 16 forks source link

Community package requirements: sanity tests #80

Closed gotmax23 closed 9 months ago

gotmax23 commented 10 months ago

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. Version 2.3.0 of fortinet.fortimanager, corresponding to the 2.3.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 version 2.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 13015 errors:

Issue truncated. Click here to read more.

dux-fortinet commented 10 months ago

Thanks for raising this issue. FortiManager Ansible 2.3.0 has sanity-test-ignore files that ignore the parameter-invalid problems. However, its ignore files support ansible 2.9 ~ 2.15, and the test environment in this post is 2.16, which leads to the errors. The sanity-test-ignore files of FortiManager Ansible 2.3.1 support ansible 2.16.

Meanwhile, All sanity test problems will be solved in 2.4.0, which is expected to be released within 2 weeks. Thanks.

dux-fortinet commented 9 months ago

We just released fortimanager ansible 2.4.0 Sanity test problems should be fixed in this version. Thanks for raising this issue.