Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906700 - dev-python/colorlog-6.7.0 fails tests (MUSL-SYSTEM)
Summary: dev-python/colorlog-6.7.0 fails tests (MUSL-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 918197
  Show dependency tree
 
Reported: 2023-05-18 17:39 UTC by Agostino Sarubbo
Modified: 2023-11-24 15:56 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,66.72 KB, text/plain)
2023-05-18 17:39 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 2023-05-18 17:39:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/colorlog-6.7.0 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-18 17:39:26 UTC
Created attachment 861915 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-18 17:39:27 UTC
Error(s) that match a know pattern:


E               AssertionError: 'DEBUG:test_reset:a debug message 1' did not validate
E               AssertionError: 'DEBUG:test_secondary_colors:a debug message 1' did not validate
E               AssertionError: 'DEBUG:test_ttycolorlog:a debug message 1' did not validate
FAILED colorlog/tests/test_colorlog.py::test_reset - AssertionError: 'DEBUG:t...
FAILED colorlog/tests/test_colorlog.py::test_secondary_colors - AssertionErro...
FAILED colorlog/tests/test_colorlog.py::test_some_secondary_colors - assert 0...
FAILED colorlog/tests/test_colorlog.py::test_ttycolorlog - AssertionError: 'D...
Comment 3 Larry the Git Cow gentoo-dev 2023-11-24 15:56:05 UTC
The bug has been closed via the following commit(s):

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

commit d9106ef568e17f248306bc6bf63471c19beb4612
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-11-24 15:54:23 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-11-24 15:56:00 +0000

    dev-python/colorlog: Fix running tests with NO_COLOR=1
    
    Closes: https://bugs.gentoo.org/906700
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/colorlog/colorlog-6.7.0.ebuild          | 11 ++++++--
 .../colorlog/files/colorlog-6.7.0-nocolor.patch    | 31 ++++++++++++++++++++++
 2 files changed, 40 insertions(+), 2 deletions(-)