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 #80

Closed
gotmax23 opened this issue Jan 22, 2024 · 2 comments
Closed

Community package requirements: sanity tests #80

gotmax23 opened this issue Jan 22, 2024 · 2 comments

Comments

@gotmax23
Copy link

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:

  • 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

The test ansible-test sanity --test validate-modules [explain] failed with 13015 errors:

Issue truncated. Click here to read more.

@dux-fortinet
Copy link

dux-fortinet commented Jan 22, 2024

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
Copy link

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

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

No branches or pull requests

2 participants