cpuset_hotplug from controllers in ubuntu_ltp failed

Bug #1834006 reported by Po-Hsu Lin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Krzysztof Kozlowski

Bug Description

Issue found on node amaura:
<<<test_start>>>
tag=cpuset_hotplug stime=1561372131
cmdline="cpuset_hotplug_test.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
cpuset_hotplug 1 TFAIL: task's allowed list isn't expected.(Result: 0-15, Expect: 0-7)
cpuset_hotplug 3 TFAIL: task's allowed list isn't expected.(Result: 0-15, Expect: 0-7)
cpuset_hotplug 5 TPASS: Cpuset vs CPU hotplug test succeeded.
cpuset_hotplug 7 TFAIL: task's cpu allowed list isn't expected(Result: 0-15, Expect: 0-7).
cpuset_hotplug 9 TPASS: Cpuset vs CPU hotplug test succeeded.
cpuset_hotplug 11 TPASS: Cpuset vs CPU hotplug test succeeded.
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=19 cstime=81
<<<test_end>>>

Test script:
https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/cpuset_hotplug_test.sh

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-22-generic 4.18.0-22.23
ProcVersionSignature: User Name 4.18.0-22.23-generic 4.18.20
Uname: Linux 4.18.0-22-generic x86_64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jun 24 10:25 seq
 crw-rw---- 1 root audio 116, 33 Jun 24 10:25 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13.3
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:
Date: Mon Jun 24 10:30:59 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Intel Corporation S1200RP
PciMultimedia:

ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-22-generic root=UUID=b0d2ae4e-12dd-423e-acea-272ee8b2a893 ro
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-22-generic N/A
 linux-backports-modules-4.18.0-22-generic N/A
 linux-firmware 1.175.4
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/01/2015
dmi.bios.vendor: Intel Corp.
dmi.bios.version: S1200RP.86B.03.02.0003.070120151022
dmi.board.asset.tag: ....................
dmi.board.name: S1200RP
dmi.board.vendor: Intel Corporation
dmi.board.version: G62254-407
dmi.chassis.asset.tag: ....................
dmi.chassis.type: 17
dmi.chassis.vendor: ..............................
dmi.chassis.version: ..................
dmi.modalias: dmi:bvnIntelCorp.:bvrS1200RP.86B.03.02.0003.070120151022:bd07/01/2015:svnIntelCorporation:pnS1200RP:pvr....................:rvnIntelCorporation:rnS1200RP:rvrG62254-407:cvn..............................:ct17:cvr..................:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: S1200RP
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: ....................
dmi.sys.vendor: Intel Corporation

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: sru-20190603 ubuntu-ltp
summary: - cpuset_hotplug from ubuntu_ltp failed on Cosmic
+ cpuset_hotplug from controllers in ubuntu_ltp failed on Cosmic
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: cpuset_hotplug from controllers in ubuntu_ltp failed on Cosmic

Failed on ARM64 Moonshot node with Operation Not Supported:

<<<test_start>>>
tag=cpuset_hotplug stime=1562841086
cmdline="cpuset_hotplug_test.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
cpuset_hotplug 1 TINFO: /bin/echo: write error: Operation not supported
cpuset_hotplug 1 TFAIL: CPU#1 failed.
cpuset_hotplug 3 TINFO: /bin/echo: write error: Operation not supported
cpuset_hotplug 3 TFAIL: setup test environment(offline CPU#1) failed
cpuset_hotplug 5 TINFO: /bin/echo: write error: Operation not supported
cpuset_hotplug 5 TFAIL: CPU#1 failed.
cpuset_hotplug 7 TINFO: /bin/echo: write error: Operation not supported
cpuset_hotplug 7 TFAIL: CPU#1 failed.
cpuset_hotplug 9 TINFO: /bin/echo: write error: Operation not supported
cpuset_hotplug 9 TFAIL: CPU#1 failed.
cpuset_hotplug 11 TINFO: /bin/echo: write error: Operation not supported
cpuset_hotplug 11 TFAIL: setup test environment(offline CPU#1) failed
<<<execution_status>>>
initiation_status="ok"
duration=4 termination_type=exited termination_id=1 corefile=no
cutime=20 cstime=162
<<<test_end>>>

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on node "amaura" with Disco kernel.

tags: added: sru-20190701
tags: added: 4.18 5.0 disco
Po-Hsu Lin (cypressyew)
summary: - cpuset_hotplug from controllers in ubuntu_ltp failed on Cosmic
+ cpuset_hotplug from controllers in ubuntu_ltp failed on C/D
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Cosmic):
status: New → Invalid
summary: - cpuset_hotplug from controllers in ubuntu_ltp failed on C/D
+ cpuset_hotplug from controllers in ubuntu_ltp failed on D with node
+ amaura
AaronMa (mapengyu)
Changed in linux (Ubuntu Disco):
assignee: nobody → AaronMa (mapengyu)
Revision history for this message
Sean Feole (sfeole) wrote :

This bug is also found in linux-aws on Bionic,4.15.0-1057.59-aws

266. 12/05 10:33:23 DEBUG| utils:0153| [stdout] startup='Thu Dec 5 10:28:50 2019'
99267. 12/05 10:33:23 DEBUG| utils:0153| [stdout] cpuset_hotplug 1 TFAIL: task's allowed list isn't expected.(Result: 0-14, Expect: 0-1)
99268. 12/05 10:33:23 DEBUG| utils:0153| [stdout] cpuset_hotplug 3 TFAIL: task's allowed list isn't expected.(Result: 0-14, Expect: 0-1)
99269. 12/05 10:33:23 DEBUG| utils:0153| [stdout] cpuset_hotplug 5 TPASS: Cpuset vs CPU hotplug test succeeded.
99270. 12/05 10:33:23 DEBUG| utils:0153| [stdout] cpuset_hotplug 7 TFAIL: task's cpu allowed list isn't expected(Result: 0-14, Expect: 0-1).
99271. 12/05 10:33:23 DEBUG| utils:0153| [stdout] cpuset_hotplug 9 TPASS: Cpuset vs CPU hotplug test succeeded.
99272. 12/05 10:33:23 DEBUG| utils:0153| [stdout] cpuset_hotplug 11 TPASS: Cpuset vs CPU hotplug test succeeded.
99273. 12/05 10:33:23 DEBUG| utils:0153| [stdout] tag=cpuset_hotplug stime=1575541730 dur=1 exit=exited stat=1 core=no cu=17 cs=33
99274. 12/05 10:33:23 DEBUG| utils:0153| [stdout] startup='Thu Dec 5 10:28:52 2019'

summary: - cpuset_hotplug from controllers in ubuntu_ltp failed on D with node
- amaura
+ cpuset_hotplug from controllers in ubuntu_ltp failed
tags: added: bionic
tags: added: sru-20191202
tags: added: 4.15
no longer affects: linux (Ubuntu Cosmic)
no longer affects: linux-aws (Ubuntu Cosmic)
Po-Hsu Lin (cypressyew)
tags: added: sru-20200127
Sean Feole (sfeole)
tags: added: sru-20200217
Sean Feole (sfeole)
tags: added: sru-20200316
Changed in ubuntu-kernel-tests:
status: New → Triaged
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on Focal KVM 5.4.0-1016.16

tags: added: sru-20200608
tags: added: 5.4 focal
Steve Langasek (vorlon)
Changed in linux-aws (Ubuntu Disco):
status: New → Won't Fix
Changed in linux (Ubuntu Disco):
status: New → Won't Fix
Sean Feole (sfeole)
no longer affects: linux-azure (Ubuntu Disco)
no longer affects: linux-aws (Ubuntu Disco)
no longer affects: linux (Ubuntu Disco)
tags: added: sru-20200810
Po-Hsu Lin (cypressyew)
tags: added: sru-20200921
tags: added: aws
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Spotted on Focal/linux-azure 5.4.0-1029.29

tags: added: azure
tags: added: 5.8 groovy sru-20201109
tags: added: sru-20210104
tags: added: fips sru-20210125
tags: added: sru-20210222
tags: added: sru-20210315
tags: added: hwe
tags: added: ibm-gt
tags: added: sru-20210412
tags: added: hwe-5.8
tags: removed: ibm-gt
tags: added: hwe-5.4
tags: added: 5.11 hirsute sru-20210510
tags: added: sru-20210531
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Observed with focal/linux: 5.4.0-76.85.

Revision history for this message
Krzysztof Kozlowski (krzk) wrote (last edit ):

Found on focal/aws-5.8 5.8.0-1036.38~20.04.1 (AWS instances: x1e.xlarge, m3.large). Also 5.8.0-1035-37~20.04.1.

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

The x1e.xlarge and m3.large AWS instances report 0-14 as possible CPUs (/sys/devices/system/cpu/possible) even though they have 4 or 2 CPUs respectively. This should be fixed with LTP commit 14797491f1cc ("cpuset_hotplug_test.sh: Fix bug for obtaining task_cpus value in root/generic_cpu_hotplut test").

Changed in ubuntu-kernel-tests:
assignee: nobody → Krzysztof Kozlowski (krzk)
status: Triaged → In Progress
status: In Progress → Fix Released
no longer affects: linux (Ubuntu)
no longer affects: linux-aws (Ubuntu)
no longer affects: linux-azure (Ubuntu)
no longer affects: linux-azure (Ubuntu Bionic)
no longer affects: linux-aws (Ubuntu Bionic)
no longer affects: linux (Ubuntu Bionic)
no longer affects: linux (Ubuntu Focal)
no longer affects: linux-aws (Ubuntu Focal)
no longer affects: linux-azure (Ubuntu Focal)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.