Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743938 - media-tv/kodi-19.0_alpha1_p20200920 fails test "TestCPUInfo.GetCPUFrequency"
Summary: media-tv/kodi-19.0_alpha1_p20200920 fails test "TestCPUInfo.GetCPUFrequency"
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
Depends on:
Reported: 2020-09-21 11:23 UTC by Agostino Sarubbo
Modified: 2021-11-25 00:16 UTC (History)
1 user (show)

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

build.log.xz (build.log.xz,74.27 KB, application/x-xz)
2020-09-21 11:23 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-21 11:23:46 UTC

Issue: media-tv/kodi-19.0_alpha1_p20200920 fails tests.
Discovered on: amd64 (internal ref: ci)

This machine uses GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-21 11:23:49 UTC
Created attachment 661762 [details]

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Craig Andrews gentoo-dev 2020-09-21 17:30:47 UTC
The only test that fails is "TestCPUInfo.GetCPUFrequency"

I suspect TestCPUInfo.GetCPUFrequency is failing because /sys/bus/cpu/devices/cpu0 isn't available. The test failed in Debian because pbuilder's chroot doesn't expose that path, I bet this CI system behaves the same way. See Can you please check?
Comment 3 Agostino Sarubbo gentoo-dev 2020-09-22 06:57:24 UTC
$ ls -la /sys/bus/cpu/devices/cpu0
lrwxrwxrwx 1 root root 0 Sep 13 21:13 /sys/bus/cpu/devices/cpu0 -> ../../../devices/system/cpu/cpu0
Comment 4 Craig Andrews gentoo-dev 2020-10-18 02:49:57 UTC
(In reply to Agostino Sarubbo from comment #3)
> $ ls -la /sys/bus/cpu/devices/cpu0
> lrwxrwxrwx 1 root root 0 Sep 13 21:13 /sys/bus/cpu/devices/cpu0 ->
> ../../../devices/system/cpu/cpu0

What about /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ? Does that exist and is it readable by the test?
Comment 6 Larry the Git Cow gentoo-dev 2021-11-25 00:15:31 UTC
The bug has been referenced in the following commit(s):

commit 342410dfcde07669b414ebabfe1ee093cad72400
Author:     Sam James <>
AuthorDate: 2021-11-25 00:14:58 +0000
Commit:     Sam James <>
CommitDate: 2021-11-25 00:15:07 +0000

    media-tv/kodi: disable known-failing test
    Consistently failed for as long as I can remember so not
    relevant to stablereqs.
    Signed-off-by: Sam James <>

 media-tv/kodi/kodi-19.0-r2.ebuild | 6 ++++++
 media-tv/kodi/kodi-19.1-r2.ebuild | 6 ++++++
 media-tv/kodi/kodi-19.2-r1.ebuild | 6 ++++++
 media-tv/kodi/kodi-19.3-r1.ebuild | 6 ++++++
 media-tv/kodi/kodi-19.9999.ebuild | 6 ++++++
 media-tv/kodi/kodi-9999.ebuild    | 6 ++++++
 6 files changed, 36 insertions(+)