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

[WIP] Allow to specify module/plugin requirements in a machine-readable way #7720

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Fix templating in examples.

2262962
Select commit
Loading
Failed to load commit list.
Draft

[WIP] Allow to specify module/plugin requirements in a machine-readable way #7720

Fix templating in examples.
2262962
Select commit
Loading
Failed to load commit list.
Azure Pipelines / CI failed Dec 21, 2023 in 20m 20s

Build #20231221.7 had test failures

Details

Tests

  • Failed: 23 (0.02%)
  • Passed: 109,427 (82.16%)
  • Other: 23,737 (17.82%)
  • Total: 133,187

Annotations

Check failure on line 381 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

Build log #L381

Bash exited with code '1'.

Check failure on line 284 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

Build log #L284

Bash exited with code '1'.

Check failure on line 288 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

Build log #L288

Bash exited with code '1'.

Check failure on line 424 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

Build log #L424

Bash exited with code '255'.

Check failure on line 1 in ansible-doc

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

ansible-doc

The test `ansible-test sanity --test ansible-doc` failed with the error:
Raw output
Command "ansible-doc -t module community.general.aerospike_migrations community.general.airbrake_deployment community.general.aix_devices community.general.aix_filesystem community.general.aix_inittab community.general.aix_lvg community.general.aix_lvol community.general.alerta_customer community.general.ali_instance community.general.ali_instance_info community.general.alternatives community.general.ansible_galaxy_install community.general.apache2_mod_proxy community.general.apache2_module community.general.apk community.general.apt_repo community.general.apt_rpm community.general.archive community.general.atomic_container community.general.atomic_host community.general.atomic_image community.general.awall community.general.beadm community.general.bearychat community.general.bigpanda community.general.bitbucket_access_key community.general.bitbucket_pipeline_key_pair community.general.bitbucket_pipeline_known_host community.general.bitbucket_pipeline_variable community.general.bower community.general.btrfs_info community.general.btrfs_subvolume community.general.bundler community.general.bzr community.general.campfire community.general.capabilities community.general.cargo community.general.catapult community.general.circonus_annotation community.general.cisco_webex community.general.clc_aa_policy community.general.clc_alert_policy community.general.clc_blueprint_package community.general.clc_firewall_policy community.general.clc_group community.general.clc_loadbalancer community.general.clc_modify_server community.general.clc_publicip community.general.clc_server community.general.clc_server_snapshot community.general.cloud_init_data_facts community.general.cloudflare_dns community.general.cobbler_sync community.general.cobbler_system community.general.composer community.general.consul community.general.consul_acl community.general.consul_kv community.general.consul_policy community.general.consul_role community.general.consul_session community.general.copr community.general.cpanm community.general.cronvar community.general.crypttab community.general.datadog_downtime community.general.datadog_event community.general.datadog_monitor community.general.dconf community.general.deploy_helper community.general.dimensiondata_network community.general.dimensiondata_vlan community.general.discord community.general.django_manage community.general.dnf_versionlock community.general.dnsimple community.general.dnsimple_info community.general.dnsmadeeasy community.general.dpkg_divert community.general.easy_install community.general.ejabberd_user community.general.elasticsearch_plugin community.general.emc_vnx_sg_member community.general.etcd3 community.general.facter community.general.facter_facts community.general.filesize community.general.filesystem community.general.flatpak community.general.flatpak_remote community.general.flowdock community.general.gandi_livedns community.general.gconftool2 community.general.gconftool2_info community.general.gem community.general.gio_mime community.general.git_config community.general.git_config_info community.general.github_deploy_key community.general.github_issue community.general.github_key community.general.github_release community.general.github_repo community.general.github_webhook community.general.github_webhook_info community.general.gitlab_branch community.general.gitlab_deploy_key community.general.gitlab_group community.general.gitlab_group_members community.general.gitlab_group_variable community.general.gitlab_hook community.general.gitlab_instance_variable community.general.gitlab_issue community.general.gitlab_merge_request community.general.gitlab_project community.general.gitlab_project_badge community.general.gitlab_project_members community.general.gitlab_project_variable community.general.gitlab_protected_branch community.general.gitlab_runner community.general.gitlab_user community.general.grove community.general.gunicorn community.general.haproxy community.general.heroku_collab

Check failure on line 1 in validate-modules

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

validate-modules

The test `ansible-test sanity --test validate-modules` failed with 3 errors:
Raw output
plugins/modules/java_cert.py:0:0: invalid-documentation: DOCUMENTATION.installable_requirements: extra keys not allowed @ data['installable_requirements']. Got [{'name': 'Java keytool', 'blocks': [{'system': ['openjdk11-jre-headless'], 'when': "ansible_facts.os_family == 'Alpine'"}, {'system': ['java-11-openjdk-headless'], 'when': "ansible_facts.os_family in ['RedHat', 'Suse']"}, {'system': ['jre11-openjdk-headless'], 'when': "ansible_facts.os_family == 'Archlinux'"}, {'system': ['ca-certificates-java'], 'when': "ansible_facts.distribution == 'Debian' and ansible_facts.distribution_major_version | int < 12"}, {'system': ['ca-certificates-java', 'ope...
plugins/modules/plugin_requirements_info.py:0:0: invalid-documentation: DOCUMENTATION.installable_requirements: extra keys not allowed @ data['installable_requirements']. Got []
plugins/modules/ufw.py:0:0: invalid-documentation: DOCUMENTATION.installable_requirements: extra keys not allowed @ data['installable_requirements']. Got [{'name': 'ufw firewall', 'blocks': [{'system': ['ufw']}]}]

Check failure on line 1 in botmeta

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

botmeta

The test `botmeta` failed with 4 errors:
Raw output
.github/BOTMETA.yml:0:0: No (active or inactive) maintainer mentioned for plugins/plugin_utils/_dependencies.py
.github/BOTMETA.yml:0:0: Author felixfontein not mentioned as active or inactive maintainer for plugins/modules/plugin_requirements_info.py (mentioned are: )
.github/BOTMETA.yml:0:0: No (active or inactive) maintainer mentioned for plugins/modules/plugin_requirements_info.py
.github/BOTMETA.yml:0:0: No (active or inactive) maintainer mentioned for plugins/action/plugin_requirements_info.py

Check failure on line 1 in extra-docs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

extra-docs

The test `extra-docs` failed with 13 errors:
Raw output
plugins/modules/java_cert.py:0:0: 1 validation error for ModuleDocSchema
                                  doc -> installable_requirements:0:0:
                                    extra fields not permitted (type=value_error.extra):0:0:
plugins/modules/java_cert.py:0:0: Did not return correct DOCUMENTATION
plugins/modules/java_keystore.py:0:0: DOCUMENTATION -> seealso[2]: there is no module community.general.java_cert
plugins/modules/plugin_requirements_info.py:0:0: 1 validation error for ModuleDocSchema
                                                 doc -> installable_requirements:0:0:
                                                   extra fields not permitted (type=value_error.extra):0:0:
plugins/modules/plugin_requirements_info.py:0:0: Did not return correct DOCUMENTATION
plugins/modules/ufw.py:0:0: 1 validation error for ModuleDocSchema
                            doc -> installable_requirements:0:0:
                              extra fields not permitted (type=value_error.extra):0:0:
plugins/modules/ufw.py:0:0: Did not return correct DOCUMENTATION