Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867967 - app-admin/ansible-lint-6.5.2 fails tests
Summary: app-admin/ansible-lint-6.5.2 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrice Clement (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-02 05:47 UTC by Agostino Sarubbo
Modified: 2022-09-02 08:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,211.64 KB, text/plain)
2022-09-02 05:47 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-09-02 05:47:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/ansible-lint-6.5.2 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-02 05:47:56 UTC
Created attachment 802642 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-09-02 05:47:57 UTC
Error(s) that match a know pattern:


E       AssertionError: yaml rule is missing
FAILED test/test_examples.py::test_example - assert 15 == 17
FAILED test/test_rules_collection.py::test_rules_id_format - AssertionError: ...
FAILED test/test_skip_inside_yaml.py::test_skip_playbook - assert 7 == 8
WARNING  ansiblelint.rules:__init__.py:333 Ignore loading rule from /var/tmp/portage/app-admin/ansible-lint-6.5.2/work/ansible-lint-6.5.2-python3_8/install/usr/lib/python3.8/site-packages/ansiblelint/rules/jinja.py due to No module named 'black'
WARNING  ansiblelint.rules:__init__.py:333 Ignore loading rule from /var/tmp/portage/app-admin/ansible-lint-6.5.2/work/ansible-lint-6.5.2/src/ansiblelint/rules/jinja.py due to No module named 'black'
WARNING  Ignore loading rule from /var/tmp/portage/app-admin/ansible-lint-6.5.2/work/ansible-lint-6.5.2-python3_8/install/usr/lib/python3.8/site-packages/ansiblelint/rules/jinja.py due to No module named 'black'
WARNING  Ignore loading rule from /var/tmp/portage/app-admin/ansible-lint-6.5.2/work/ansible-lint-6.5.2/src/ansiblelint/rules/jinja.py due to No module named 'black'
internal-error: Unexpected internal error.
Comment 3 Larry the Git Cow gentoo-dev 2022-09-02 08:56:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b713c67821a25e720c5b634fcce8576dd9a319

commit d9b713c67821a25e720c5b634fcce8576dd9a319
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-09-02 08:51:53 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-09-02 08:56:37 +0000

    app-admin/ansible-lint: add dev-python/black to RDEPEND
    
    Black is now a mandatory runtime dependency rather than an optional
    test one, as it is used to process Jinja2 templates.
    
    Closes: https://bugs.gentoo.org/867967
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 app-admin/ansible-lint/ansible-lint-6.5.2.ebuild | 1 +
 1 file changed, 1 insertion(+)