cpuset_base_ops from controller test suite in LTP failed

Bug #1830359 reported by Po-Hsu Lin on 2019-05-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned
Bionic
Undecided
Unassigned
Disco
Undecided
Unassigned

Bug Description

Issue found on Disco with node glameow:
 startup='Fri May 24 10:23:44 2019'
 cpuset_base_ops 1 TPASS: cpuset.cpus(READONLY): Get the expected string
 cpuset_base_ops 3 TPASS: cpuset.mems(READONLY): Get the expected string
 cpuset_base_ops 5 TPASS: cpuset.memory_pressure(READONLY): Get the expected string
 cpuset_base_ops 7 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 9 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 11 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 13 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 15 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 17 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 19 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 21 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 23 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 25 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 27 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 29 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 31 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 33 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 35 TPASS: cpuset.cpus: Get the expected string
 cpuset_base_ops 37 TFAIL: cpuset.cpus: Test result - Expected string - "0"
 cpuset_base_ops 39 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 41 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 43 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 45 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 47 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 49 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 51 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 53 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 55 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 57 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 59 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 61 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 63 TPASS: cpuset.mems: Get the expected string
 cpuset_base_ops 65 TFAIL: cpuset.mems: Test result - Expected string - "0"
 cpuset_base_ops 67 TPASS: cpuset.cpu_exclusive: Get the expected string
 cpuset_base_ops 69 TPASS: cpuset.cpu_exclusive: Get the expected string
 cpuset_base_ops 71 TPASS: cpuset.cpu_exclusive: Get the expected string
 cpuset_base_ops 73 TPASS: cpuset.cpu_exclusive: Get the expected string
 cpuset_base_ops 75 TPASS: cpuset.cpu_exclusive: Get the expected string
 cpuset_base_ops 77 TPASS: cpuset.mem_exclusive: Get the expected string
 cpuset_base_ops 79 TPASS: cpuset.mem_exclusive: Get the expected string
 cpuset_base_ops 81 TPASS: cpuset.mem_exclusive: Get the expected string
 cpuset_base_ops 83 TPASS: cpuset.mem_exclusive: Get the expected string
 cpuset_base_ops 85 TPASS: cpuset.mem_exclusive: Get the expected string
 cpuset_base_ops 87 TPASS: cpuset.mem_hardwall: Get the expected string
 cpuset_base_ops 89 TPASS: cpuset.mem_hardwall: Get the expected string
 cpuset_base_ops 91 TPASS: cpuset.mem_hardwall: Get the expected string
 cpuset_base_ops 93 TPASS: cpuset.mem_hardwall: Get the expected string
 cpuset_base_ops 95 TPASS: cpuset.mem_hardwall: Get the expected string
 cpuset_base_ops 97 TPASS: cpuset.memory_migrate: Get the expected string
 cpuset_base_ops 99 TPASS: cpuset.memory_migrate: Get the expected string
 cpuset_base_ops 101 TPASS: cpuset.memory_migrate: Get the expected string
 cpuset_base_ops 103 TPASS: cpuset.memory_migrate: Get the expected string
 cpuset_base_ops 105 TPASS: cpuset.memory_migrate: Get the expected string
 cpuset_base_ops 107 TPASS: cpuset.memory_spread_page: Get the expected string
 cpuset_base_ops 109 TPASS: cpuset.memory_spread_page: Get the expected string
 cpuset_base_ops 111 TPASS: cpuset.memory_spread_page: Get the expected string
 cpuset_base_ops 113 TPASS: cpuset.memory_spread_page: Get the expected string
 cpuset_base_ops 115 TPASS: cpuset.memory_spread_page: Get the expected string
 cpuset_base_ops 117 TPASS: cpuset.memory_spread_slab: Get the expected string
 cpuset_base_ops 119 TPASS: cpuset.memory_spread_slab: Get the expected string
 cpuset_base_ops 121 TPASS: cpuset.memory_spread_slab: Get the expected string
 cpuset_base_ops 123 TPASS: cpuset.memory_spread_slab: Get the expected string
 cpuset_base_ops 125 TPASS: cpuset.memory_spread_slab: Get the expected string
 cpuset_base_ops 127 TPASS: cpuset.sched_load_balance: Get the expected string
 cpuset_base_ops 129 TPASS: cpuset.sched_load_balance: Get the expected string
 cpuset_base_ops 131 TPASS: cpuset.sched_load_balance: Get the expected string
 cpuset_base_ops 133 TPASS: cpuset.sched_load_balance: Get the expected string
 cpuset_base_ops 135 TPASS: cpuset.sched_load_balance: Get the expected string
 cpuset_base_ops 137 TPASS: cpuset.memory_pressure_enabled: Get the expected string
 cpuset_base_ops 139 TPASS: cpuset.memory_pressure_enabled: Get the expected string
 cpuset_base_ops 141 TPASS: cpuset.memory_pressure_enabled: Get the expected string
 cpuset_base_ops 143 TPASS: cpuset.memory_pressure_enabled: Get the expected string
 cpuset_base_ops 145 TPASS: cpuset.memory_pressure_enabled: Get the expected string
 cpuset_base_ops 147 TPASS: Attaching Task Test successed!!
 cpuset_base_ops 149 TPASS: Attaching Task Test successed!!
 cpuset_base_ops 151 TPASS: Attaching Task Test successed!!
 tag=cpuset_base_ops stime=1558693424 dur=1 exit=exited stat=1 core=no cu=162 cs=84

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-5.0.0-15-generic 5.0.0-15.16
ProcVersionSignature: User Name 5.0.0-15.16-generic 5.0.6
Uname: Linux 5.0.0-15-generic x86_64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 May 21 07:49 seq
 crw-rw---- 1 root audio 116, 33 May 21 07:49 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
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:

Date: Fri May 24 10:50:28 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: HP ProLiant DL360 Gen9
PciMultimedia:

ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-15-generic root=UUID=6422cfdd-2a69-4c0b-9784-6809a77ab980 ro
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-15-generic N/A
 linux-backports-modules-5.0.0-15-generic N/A
 linux-firmware 1.178.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/25/2017
dmi.bios.vendor: HP
dmi.bios.version: P89
dmi.board.name: ProLiant DL360 Gen9
dmi.board.vendor: HP
dmi.chassis.type: 23
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrP89:bd04/25/2017:svnHP:pnProLiantDL360Gen9:pvr:rvnHP:rnProLiantDL360Gen9:rvr:cvnHP:ct23:cvr:
dmi.product.family: ProLiant
dmi.product.name: ProLiant DL360 Gen9
dmi.product.sku: 780020-S01
dmi.sys.vendor: HP

Po-Hsu Lin (cypressyew) wrote :

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 1830359

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.

Changed in linux (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew) wrote :

Found on amd64 node naumann with B 4.15

Brad Figg (brad-figg) on 2019-07-24
tags: added: ubuntu-certified
Po-Hsu Lin (cypressyew) on 2019-09-05
tags: added: ubuntu-ltp
Ivan Hu (ivan.hu) wrote :

the failure,
 cpuset_base_ops 37 TFAIL: cpuset.cpus: Test result - Expected string - "0"

are from testing the
$/bin/echo "0-" > "$CPUSET/1/cpuset.cpus" and expecting "0" but got invalid parameter
on cpuset_base_ops_testset.sh

        ....
 else
  base_op_test "$CPUSET/1/cpuset.cpus" "0-" "0"
 fi

and the behavior is changed after the kernel patch "cpuset: Add new v2 cpuset.sched.partition flag"
commit#ee8dde0cd2ce78b62d16aec1c29960b64380e634

+ if (cs->partition_root_state) {
+ /* Cpumask of a partition root cannot be empty */
+ if (cpumask_empty(trialcs->cpus_allowed))
+ return -EINVAL;
+ if (update_parent_subparts_cpumask(cs, partcmd_update,
+ trialcs->cpus_allowed, &tmp) < 0)
+ return -EINVAL;
+ }

which chcek the "0-" and returned -EINVAL;

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers