powerpc test in ubuntu_kernel_selftest failed on Cosmic P8/P9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
High
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Po-Hsu Lin | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== Justification ==
Commit b2d35fa5fc80 ("selftests: add headers_install to lib.mk")
introduced a requirement that Makefiles more than one level below the
selftests directory need to define top_srcdir, but it didn't update
any of the powerpc Makefiles.
This broke building all the powerpc selftests with eg:
make[1]: Entering directory '/src/linux/
BUILD_
make[2]: Entering directory '/src/linux/
../../lib.mk:20: ../../.
make[2]: *** No rule to make target '../../
make[2]: Failed to remake makefile '../../
Makefile:38: recipe for target 'alignment' failed
== Fix ==
7e0cf1c983b5 (selftests/powerpc: Fix Makefiles for headers_install change)
It can be cherry-picked for Cosmic. And it's already landed in Disco.
== Regression Potential ==
None, this just fixes the broken build issue for the test. Nothing else will be affected.
===
This test passed with 4.18.0-12 on the last cycle [1]
But failed with the proposed 4.18.0-13 this time.
Test failed to build because of a missing include file:
50. ../../lib.mk:20: ../../.
Tried to reproduce this cycle with 4.18.0-12 first and this can be reproduced as well.
39. make: Entering directory '/home/
40. BUILD_TARGET=
41. make[1]: Entering directory '/home/
42. gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION=
43. gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION=
44. gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION=
45. gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION=
46. gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION=
47. make[1]: Leaving directory '/home/
48. make: Leaving directory '/home/
49. stderr:
50. ../../lib.mk:20: ../../.
51. make[1]: *** No rule to make target '../../
52. make[1]: Failed to remake makefile '../../
53. make: *** [Makefile:38: alignment] Error 2
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.18.0-12-generic ppc64le
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Dec 13 10:20 seq
crw-rw---- 1 root audio 116, 33 Dec 13 10:20 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: ppc64el
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:
[ 1446.852560] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1446.855825] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Date: Thu Dec 13 10:44:35 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
PciMultimedia:
ProcFB: 0 astdrmfb
ProcKernelCmdLine: root=UUID=
ProcLoadAvg: 0.48 0.57 0.47 1/1187 25045
ProcLocks:
1: POSIX ADVISORY WRITE 1528 00:17:430 0 EOF
2: FLOCK ADVISORY WRITE 3335 00:17:716 0 EOF
3: POSIX ADVISORY WRITE 3336 00:17:695 0 EOF
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -2
ProcVersion: Linux version 4.18.0-12-generic (buildd@
RelatedPackageV
linux-
linux-
linux-firmware 1.175.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 16
cpu_coreson: Number of cores online = 16
cpu_dscr: DSCR is 0
cpu_freq:
min: 3.869 GHz (cpu 127)
max: 3.869 GHz (cpu 1)
avg: 3.869 GHz
cpu_runmode:
Could not retrieve current diagnostics mode,
No kernel interface to firmware
cpu_smt: SMT=8
CVE References
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Cosmic): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
Changed in linux (Ubuntu Cosmic): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1808318
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.