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

Sanity checks is failed for the devel and milestone branches of ansibe/ansible #788

Closed
yurnov opened this issue Nov 2, 2024 · 1 comment

Comments

@yurnov
Copy link
Contributor

yurnov commented Nov 2, 2024

SUMMARY

Starting from switch branches devel and milestone of ansible/ansible to ansible-core version 2.19 the GitHub actions for sanity checks starting to fail for any new PRs.

It happened as tests/sanity/ folder contains a some test configuration that is missed for version 2.19 of the ansible-core

ISSUE TYPE
  • Bug Report
COMPONENT NAME

GitHub action/CI

ANSIBLE VERSION
ansible [core 2.19.0.dev0]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.13/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.13.0 (main, Oct 19 2024, 01:12:32) [GCC 12.2.0] (/usr/local/bin/python)
  jinja version = 3.1.4
  libyaml = True
COLLECTION VERSION

main branch

STEPS TO REPRODUCE

Create any new PR on this repo

EXPECTED RESULTS

All tests should be successful

ACTUAL RESULTS
1m 2s
Run ansible-test sanity --requirements --color --python 3.[1](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:1)1
Running sanity test "action-plugin-docs"
Installing requirements for Python 3.11 [venv]
Running sanity test "ansible-doc"
Installing requirements for Python 3.11 [venv]
Downloading pip 24.2 bootstrap script: https://ci-files.testing.ansible.com/ansible-test/get-pip-24.2.py
Cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.2-py3-none-any.whl (1.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 74.6 MB/s eta 0:00:00
Installing collected packages: pip
Successfully installed pip-24.2
Collecting Jinja2==3.1.4 (from -r requirements/sanity.ansible-doc.txt (line 2))
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting MarkupSafe==2.1.5 (from -r requirements/sanity.ansible-doc.txt (line 3))
  Downloading MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting packaging==24.1 (from -r requirements/sanity.ansible-doc.txt (line 4))
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting PyYAML==6.0.2 (from -r requirements/sanity.ansible-doc.txt (line 5))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Using cached jinja2-3.1.4-py3-none-any.whl ([13](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:14)3 kB)
Downloading MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux20[14](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:15)_x86_64.whl (28 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Installing collected packages: PyYAML, packaging, MarkupSafe, Jinja2
Successfully installed Jinja2-3.1.4 MarkupSafe-2.1.5 PyYAML-6.0.2 packaging-24.1
Running sanity test "changelog"
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting antsibull-changelog==0.29.0 (from -r requirements/sanity.changelog.txt (line 2))
  Downloading antsibull_changelog-0.29.0-py3-none-any.whl.metadata (7.6 kB)
Collecting docutils==0.18.1 (from -r requirements/sanity.changelog.txt (line 3))
  Downloading docutils-0.18.1-py2.py3-none-any.whl.metadata (2.9 kB)
Collecting packaging==24.1 (from -r requirements/sanity.changelog.txt (line 4))
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting PyYAML==6.0.2 (from -r requirements/sanity.changelog.txt (line 5))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting rstcheck==5.0.0 (from -r requirements/sanity.changelog.txt (line 6))
  Downloading rstcheck-5.0.0-py3-none-any.whl.metadata (12 kB)
Collecting semantic-version==2.10.0 (from -r requirements/sanity.changelog.txt (line 7))
  Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting types-docutils==0.18.3 (from -r requirements/sanity.changelog.txt (line 8))
  Downloading types_docutils-0.18.3-py3-none-any.whl.metadata (1.2 kB)
Collecting typing_extensions==4.12.2 (from -r requirements/sanity.changelog.txt (line 9))
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Downloading antsibull_changelog-0.29.0-py3-none-any.whl (81 kB)
Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.0/570.0 kB 47.8 MB/s eta 0:00:00
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Downloading rstcheck-5.0.0-py3-none-any.whl (16 kB)
Downloading semantic_version-2.10.0-py2.py3-none-any.whl ([15](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:16) kB)
Downloading types_docutils-0.18.3-py3-none-any.whl ([16](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:17) kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Installing collected packages: types-docutils, typing_extensions, semantic-version, PyYAML, packaging, docutils, rstcheck, antsibull-changelog
Successfully installed PyYAML-6.0.2 antsibull-changelog-0.29.0 docutils-0.18.1 packaging-24.1 rstcheck-5.0.0 semantic-version-2.10.0 types-docutils-0.18.3 typing_extensions-4.12.2
Running sanity test "compile" on Python 3.11
Running sanity test "empty-init"
Running sanity test "ignores"
Running sanity test "import" on Python 3.11
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting PyYAML==6.0.2 (from -r requirements/sanity.import.txt (line 2))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_[17](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:18)_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Installing collected packages: PyYAML
Successfully installed PyYAML-6.0.2
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting Jinja2==3.1.4 (from -r requirements/sanity.import.plugin.txt (line 2))
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting MarkupSafe==2.1.5 (from -r requirements/sanity.import.plugin.txt (line 3))
  Using cached MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting PyYAML==6.0.2 (from -r requirements/sanity.import.plugin.txt (line 4))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Installing collected packages: PyYAML, MarkupSafe, Jinja2
Successfully installed Jinja2-3.1.4 MarkupSafe-2.1.5 PyYAML-6.0.2
ERROR: Found 3 import issue(s) on python 3.11 which need to be resolved:
ERROR: plugins/module_utils/client/discovery.py:23:0: traceback: ModuleNotFoundError: No module named 'kubernetes'
ERROR: plugins/module_utils/client/resource.py:21:0: traceback: ModuleNotFoundError: No module named 'kubernetes'
ERROR: plugins/module_utils/k8sdynamicclient.py:25:0: traceback: ModuleNotFoundError: No module named 'kubernetes'
See documentation for help: https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/import.html
Running sanity test "line-endings"
Running sanity test "no-assert"
Running sanity test "no-get-exception"
Running sanity test "no-illegal-filenames"
Running sanity test "no-smart-quotes"
Running sanity test "pep8"
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting pycodestyle==2.12.1 (from -r requirements/sanity.pep8.txt (line 2))
  Downloading pycodestyle-2.12.1-py2.py3-none-any.whl.metadata (4.5 kB)
Downloading pycodestyle-2.12.1-py2.py3-none-any.whl (31 kB)
Installing collected packages: pycodestyle
Successfully installed pycodestyle-2.12.1
Running sanity test "pslint"
Running sanity test "pylint"
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting astroid==3.2.4 (from -r requirements/sanity.pylint.txt (line 2))
  Downloading astroid-3.2.4-py3-none-any.whl.metadata (4.5 kB)
Collecting dill==0.3.8 (from -r requirements/sanity.pylint.txt (line 3))
  Downloading dill-0.3.8-py3-none-any.whl.metadata (10 kB)
Collecting isort==5.13.2 (from -r requirements/sanity.pylint.txt (line 4))
  Downloading isort-5.13.2-py3-none-any.whl.metadata (12 kB)
Collecting mccabe==0.7.0 (from -r requirements/sanity.pylint.txt (line 5))
  Downloading mccabe-0.7.0-py2.py3-none-any.whl.metadata (5.0 kB)
Collecting platformdirs==4.3.2 (from -r requirements/sanity.pylint.txt (line 6))
  Downloading platformdirs-4.3.2-py3-none-any.whl.metadata (11 kB)
Collecting pylint==3.2.7 (from -r requirements/sanity.pylint.txt (line 7))
  Downloading pylint-3.2.7-py3-none-any.whl.metadata (12 kB)
Collecting PyYAML==6.0.2 (from -r requirements/sanity.pylint.txt (line 8))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting tomlkit==0.13.2 (from -r requirements/sanity.pylint.txt (line 9))
  Using cached tomlkit-0.13.2-py3-none-any.whl.metadata (2.7 kB)
Downloading astroid-3.2.4-py3-none-any.whl (276 kB)
Downloading dill-0.3.8-py3-none-any.whl (116 kB)
Downloading isort-5.13.2-py3-none-any.whl (92 kB)
Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Downloading platformdirs-4.3.2-py3-none-any.whl ([18](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:19) kB)
Downloading pylint-3.2.7-py3-none-any.whl (519 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux[20](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:21)14_x86_64.whl (762 kB)
Using cached tomlkit-0.13.2-py3-none-any.whl (37 kB)
Installing collected packages: tomlkit, PyYAML, platformdirs, mccabe, isort, dill, astroid, pylint
Successfully installed PyYAML-6.0.2 astroid-3.2.4 dill-0.3.8 isort-5.13.2 mccabe-0.7.0 platformdirs-4.3.2 pylint-3.2.7 tomlkit-0.13.2
ERROR: Found 1 pylint issue(s) which need to be resolved:
ERROR: plugins/module_utils/version.py:18:0: unused-import: Unused LooseVersion imported from _version
See documentation for help: https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/pylint.html
Running sanity test "replace-urlopen"
Running sanity test "runtime-metadata"
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting PyYAML==6.0.2 (from -r requirements/sanity.runtime-metadata.txt (line 2))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting voluptuous==0.15.2 (from -r requirements/sanity.runtime-metadata.txt (line 3))
  Downloading voluptuous-0.15.2-py3-none-any.whl.metadata (20 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Downloading voluptuous-0.15.2-py3-none-any.whl (31 kB)
Installing collected packages: voluptuous, PyYAML
Successfully installed PyYAML-6.0.2 voluptuous-0.15.2
Running sanity test "shebang"
Running sanity test "shellcheck"
Running sanity test "symlinks"
Running sanity test "use-argspec-type-path"
Running sanity test "use-compat-six"
Running sanity test "validate-modules"
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting antsibull-docs-parser==1.0.0 (from -r requirements/sanity.validate-modules.txt (line 2))
  Downloading antsibull_docs_parser-1.0.0-py3-none-any.whl.metadata (4.7 kB)
Collecting Jinja2==3.1.4 (from -r requirements/sanity.validate-modules.txt (line 3))
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting MarkupSafe==2.1.5 (from -r requirements/sanity.validate-modules.txt (line 4))
  Using cached MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting PyYAML==6.0.2 (from -r requirements/sanity.validate-modules.txt (line 5))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting voluptuous==0.15.2 (from -r requirements/sanity.validate-modules.txt (line 6))
  Using cached voluptuous-0.15.2-py3-none-any.whl.metadata (20 kB)
Downloading antsibull_docs_parser-1.0.0-py3-none-any.whl (31 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Using cached voluptuous-0.15.2-py3-none-any.whl (31 kB)
Installing collected packages: voluptuous, PyYAML, MarkupSafe, antsibull-docs-parser, Jinja2
Successfully installed Jinja2-3.1.4 MarkupSafe-2.1.5 PyYAML-6.0.2 antsibull-docs-parser-1.0.0 voluptuous-0.15.2
ERROR: Found 16 validate-modules issue(s) which need to be resolved:
ERROR: plugins/modules/k8s.py:0:0: parameter-type-not-in-doc: Argument 'resource_definition' in argument_spec defines type as <function list_dict_str at 0x7f33f654f600> but documentation doesn't define type
ERROR: plugins/modules/k8s.py:0:0: return-syntax-error: RETURN.result.contains.error.contains: required key not provided @ data['result']['contains']['error']['contains']. Got None
ERROR: plugins/modules/k8s.py:0:0: return-syntax-error: RETURN.result.contains.metadata.contains: required key not provided @ data['result']['contains']['metadata']['contains']. Got None
ERROR: plugins/modules/k8s.py:0:0: return-syntax-error: RETURN.result.contains.spec.contains: required key not provided @ data['result']['contains']['spec']['contains']. Got None
ERROR: plugins/modules/k8s.py:0:0: return-syntax-error: RETURN.result.contains.status.contains: required key not provided @ data['result']['contains']['status']['contains']. Got None
ERROR: plugins/modules/k8s_scale.py:0:0: parameter-type-not-in-doc: Argument 'resource_definition' in argument_spec defines type as <function list_dict_str at 0x7f33f654f600> but documentation doesn't define type
ERROR: plugins/modules/k8s_scale.py:0:0: return-syntax-error: RETURN.result.contains.metadata.contains: required key not provided @ data['result']['contains']['metadata']['contains']. Got None
ERROR: plugins/modules/k8s_scale.py:0:0: return-syntax-error: RETURN.result.contains.spec.contains: required key not provided @ data['result']['contains']['spec']['contains']. Got None
ERROR: plugins/modules/k8s_scale.py:0:0: return-syntax-error: RETURN.result.contains.status.contains: required key not provided @ data['result']['contains']['status']['contains']. Got None
ERROR: plugins/modules/k8s_service.py:0:0: parameter-type-not-in-doc: Argument 'resource_definition' in argument_spec defines type as <function list_dict_str at 0x7f33f654f600> but documentation doesn't define type
ERROR: plugins/modules/k8s_service.py:0:0: return-syntax-error: RETURN.result.contains.metadata.contains: required key not provided @ data['result']['contains']['metadata']['contains']. Got None
ERROR: plugins/modules/k8s_service.py:0:0: return-syntax-error: RETURN.result.contains.spec.contains: required key not provided @ data['result']['contains']['spec']['contains']. Got None
ERROR: plugins/modules/k8s_service.py:0:0: return-syntax-error: RETURN.result.contains.status.contains: required key not provided @ data['result']['contains']['status']['contains']. Got None
ERROR: plugins/modules/k8s_taint.py:0:0: return-syntax-error: RETURN.result.contains.metadata.contains: required key not provided @ data['result']['contains']['metadata']['contains']. Got None
ERROR: plugins/modules/k8s_taint.py:0:0: return-syntax-error: RETURN.result.contains.spec.contains: required key not provided @ data['result']['contains']['spec']['contains']. Got None
ERROR: plugins/modules/k8s_taint.py:0:0: return-syntax-error: RETURN.result.contains.status.contains: required key not provided @ data['result']['contains']['status']['contains']. Got None
See documentation for help: https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/validate-modules.html
Running sanity test "yamllint"
Installing requirements for Python 3.11 [venv]
Using cached pip 24.2 bootstrap script: /home/runner/.ansible/test/cache/get_pip_24_2.py
Collecting pip==24.2
  Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Successfully installed pip-24.2
Collecting pathspec==0.12.1 (from -r requirements/sanity.yamllint.txt (line 2))
  Downloading pathspec-0.12.1-py3-none-any.whl.metadata ([21](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:22) kB)
Collecting PyYAML==6.0.2 (from -r requirements/sanity.yamllint.txt (line 3))
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting yamllint==1.35.1 (from -r requirements/sanity.yamllint.txt (line 4))
  Downloading yamllint-1.35.1-py3-none-any.whl.metadata (4.2 kB)
Downloading pathspec-0.12.1-py3-none-any.whl (31 kB)
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Downloading yamllint-1.35.1-py3-none-any.whl (66 kB)
Installing collected packages: PyYAML, pathspec, yamllint
Successfully installed PyYAML-6.0.2 pathspec-0.12.1 yamllint-1.35.1
ERROR: Found 11 yamllint issue(s) which need to be resolved:
ERROR: tests/integration/targets/helm/files/appversionless-chart-v2/templates/configmap.yaml:6:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key
ERROR: tests/integration/targets/helm/files/appversionless-chart/templates/configmap.yaml:6:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key
ERROR: tests/integration/targets/helm/files/test-chart-v2/templates/configmap.yaml:6:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key
ERROR: tests/integration/targets/helm/files/test-chart/templates/configmap.yaml:6:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key
ERROR: tests/integration/targets/helm_diff/files/test-chart-reuse-values/templates/configmap.yaml:6:21: unparsable-with-libyaml: while constructing a mapping - found unhashable key
ERROR: tests/integration/targets/helm_diff/files/test-chart/templates/configmap.yaml:6:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key
ERROR: tests/integration/targets/k8s_delete/files/deployments.yaml:1:1: multiple-yaml-documents: expected a single document in the stream
ERROR: tests/integration/targets/k8s_scale/files/deployment.yaml:1:1: multiple-yaml-documents: expected a single document in the stream
ERROR: tests/unit/module_utils/fixtures/definitions.yml:1:1: multiple-yaml-documents: expected a single document in the stream
ERROR: tests/unit/module_utils/fixtures/deployments.yml:1:1: multiple-yaml-documents: expected a single document in the stream
ERROR: tests/unit/module_utils/fixtures/pods.yml:1:1: multiple-yaml-documents: expected a single document in the stream
See documentation for help: https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/yamllint.html
FATAL: The 4 sanity test(s) listed below (out of [24](https://github.com/ansible-collections/kubernetes.core/actions/runs/11642911991/job/32423043979#step:10:25)) failed. See error output above for details.
import --python 3.11
pylint
validate-modules
yamllint
Error: Process completed with exit code 1.
yurnov added a commit to yurnov/kubernetes.core that referenced this issue Nov 2, 2024
this commit is to fix the github actions issue ansible-collections#788 and includes a changes for ansible 2.19 and 2.18 with python 3.13
softwarefactory-project-zuul bot pushed a commit that referenced this issue Nov 4, 2024
This PR includes a trivial fix for the GitHub Actions issue #788 and related to switching milestone and devel branches of ansible/ansible to version 2.19 and prepare repo to be ready to include test with Python 3.13 when ansible-network/github_actions/pull/162 is merged.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
GitHub actions/test

Reviewed-by: Andrew Klychkov <aklychko@redhat.com>
Reviewed-by: Mike Graves <mgraves@redhat.com>
@yurnov
Copy link
Contributor Author

yurnov commented Nov 4, 2024

Done with #789

@yurnov yurnov closed this as completed Nov 4, 2024
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

1 participant