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"
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
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: ---


Attachments
build.log.xz (build.log.xz,74.27 KB, application/x-xz)
2020-09-21 11:23 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 2020-09-21 11:23:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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.xz

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 https://github.com/xbmc/xbmc/issues/18000#issuecomment-639534138 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):

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

commit 342410dfcde07669b414ebabfe1ee093cad72400
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-25 00:14:58 +0000
Commit:     Sam James <sam@gentoo.org>
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.
    
    Bug: https://bugs.gentoo.org/743938
    Signed-off-by: Sam James <sam@gentoo.org>

 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(+)