Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835745 - dev-util/yamllint-1.27.1 fails tests on MUSL
Summary: dev-util/yamllint-1.27.1 fails tests on MUSL
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 16:16 UTC by Agostino Sarubbo
Modified: 2023-03-23 07:47 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,100.80 KB, text/plain)
2022-03-21 16:16 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-03-21 16:16:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/yamllint-1.26.3-r1 fails tests on MUSL.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-21 16:16:35 UTC
Created attachment 767519 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-21 16:16:35 UTC
Error(s) that match a know pattern:


        except locale.Error:
E       AssertionError: 1 != 0
E   AssertionError: Lists differ: [3:1: wrong ordering of key "T-shirt" in m[82 chars]ing)] != []
E   AssertionError: Lists differ: [4:1: wrong ordering of key "hais" in mapping (key-ordering)] != []
FAILED tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents
FAILED tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case
FAILED tests/test_cli.py::CommandLineTestCase::test_run_with_locale - Asserti...
Comment 3 Agostino Sarubbo gentoo-dev 2022-09-03 08:46:06 UTC
tinderbox_musl has reproduced this issue with version 1.27.1 - Updating summary.
Comment 4 Marek Szuba archtester gentoo-dev 2023-03-22 22:32:37 UTC
Judging from the lack of further updates by CI, it seems upstream fixed this in 1.28.0.
Comment 5 Agostino Sarubbo gentoo-dev 2023-03-23 07:47:06 UTC
(In reply to Marek Szuba from comment #4)
> Judging from the lack of further updates by CI, it seems upstream fixed this
> in 1.28.0.

to avoid waste of resources, CI does not run tests in case of open bugs regarding tests, see https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ point 20