Summary: | dev-libs/libuv-1.48.0: fails thread_priority test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jsmolic, tka |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=926366 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 924127 | ||
Attachments: | build.log |
Description
Sam James
![]() ![]() ![]() ![]() The test is new with https://github.com/libuv/libuv/commit/e135dfe18342c5bdb573964ecf2c5b81613a4b34. Probably to do with my PORTAGE_NICENESS="18",, PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}", or PORTAGE_SCHEDULING_POLICY="idle". The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab66de3c35d5310271b9b805543d375aea82b0d commit 7ab66de3c35d5310271b9b805543d375aea82b0d Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-18 09:48:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-18 09:49:43 +0000 dev-libs/libuv: skip part of thread_priority test Part of the (newly-introduced) thread_priority test doesn't interact well with PORTAGE_NICENESS, (maybe) PORTAGE_IONICE_COMMAND, and PORTAGE_SCHEDULING_POLICY. For example, with PORTAGE_NICENESS="18", PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}", and PORTAGE_SCHEDULING_POLICY="idle", I get: ``` not ok 354 - thread_priority exit code 134 Output from process `thread_priority`: Assertion failed in test/test-thread-priority.c on line 95: `priority == (0 - UV_THREAD_PRIORITY_LOWEST * 2)` (0 == 4) ``` Skip that one assertion accordingly. And while at it, elaborate on a bit of m4 hackery we do in the ebuild. Closes: https://bugs.gentoo.org/924653 Signed-off-by: Sam James <sam@gentoo.org> .../libuv-1.48.0-test-thread-priority-portage.patch | 21 +++++++++++++++++++++ dev-libs/libuv/libuv-1.48.0.ebuild | 11 +++++++---- dev-libs/libuv/libuv-9999.ebuild | 11 +++++++---- 3 files changed, 35 insertions(+), 8 deletions(-) |