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: 2020-10-18 02:49 UTC (History)
0 users

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?