cpuhotplug_04 fails to run with taskset 2.24

Bug #1328066 reported by Milosz Wasilewski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro PMWG QA
Fix Released
High
Daniel Lezcano

Bug Description

when running cpuhotplug_04.sh with taskset 2.24, setting CPU affinity fails because of taskset:

taskset -c 0x2 ../utils/cpuburn cpu1
taskset: failed to parse CPU list: 0x2

Removing -c option fixes the problem on taskset 2.20 and 2.24. Full log of cpuhotplug_04 below:

linaro-test [rc=0]# ./cpuhotplug_04.sh
taskset: failed to parse CPU list: 0x2
taskset: failed to get pid 3867's affinity: No such process
./cpuhotplug_04.sh: line 52: printf: 0x: invalid hex number
cpuhotplug_04.0/cpu1: checking affinity is set... Err
cpuhotplug_04.1/cpu1: checking offlining a cpu with affinity succeed... Ok
taskset: failed to get pid 3867's affinity: No such process
./cpuhotplug_04.sh: line 63: printf: 0x: invalid hex number
cpuhotplug_04.2/cpu1: checking affinity changed... Ok
./cpuhotplug_04.sh: line 66: kill: (3867) - No such process
taskset: failed to parse CPU list: 0x4
taskset: failed to get pid 3880's affinity: No such process
./cpuhotplug_04.sh: line 52: printf: 0x: invalid hex number
cpuhotplug_04.0/cpu2: checking affinity is set... Err
cpuhotplug_04.1/cpu2: checking offlining a cpu with affinity succeed... Ok
taskset: failed to get pid 3880's affinity: No such process
./cpuhotplug_04.sh: line 63: printf: 0x: invalid hex number
cpuhotplug_04.2/cpu2: checking affinity changed... Ok
./cpuhotplug_04.sh: line 66: kill: (3880) - No such process
taskset: failed to parse CPU list: 0x8
taskset: failed to get pid 3894's affinity: No such process
./cpuhotplug_04.sh: line 52: printf: 0x: invalid hex number
cpuhotplug_04.0/cpu3: checking affinity is set... Err
cpuhotplug_04.1/cpu3: checking offlining a cpu with affinity succeed... Ok
taskset: failed to get pid 3894's affinity: No such process
./cpuhotplug_04.sh: line 63: printf: 0x: invalid hex number
cpuhotplug_04.2/cpu3: checking affinity changed... Ok
./cpuhotplug_04.sh: line 66: kill: (3894) - No such process
taskset: failed to parse CPU list: 0x16
taskset: failed to get pid 3907's affinity: No such process
./cpuhotplug_04.sh: line 52: printf: 0x: invalid hex number
cpuhotplug_04.0/cpu4: checking affinity is set... Err
cpuhotplug_04.1/cpu4: checking offlining a cpu with affinity succeed... Ok
taskset: failed to get pid 3907's affinity: No such process
./cpuhotplug_04.sh: line 63: printf: 0x: invalid hex number
cpuhotplug_04.2/cpu4: checking affinity changed... Ok
./cpuhotplug_04.sh: line 66: kill: (3907) - No such process
taskset: failed to parse CPU list: 0x32
taskset: failed to get pid 3921's affinity: No such process
./cpuhotplug_04.sh: line 52: printf: 0x: invalid hex number
cpuhotplug_04.0/cpu5: checking affinity is set... Err
cpuhotplug_04.1/cpu5: checking offlining a cpu with affinity succeed... Ok
taskset: failed to get pid 3921's affinity: No such process
./cpuhotplug_04.sh: line 63: printf: 0x: invalid hex number
cpuhotplug_04.2/cpu5: checking affinity changed... Ok
./cpuhotplug_04.sh: line 66: kill: (3921) - No such process
-------- total = 15
-------- pass = 10
-------- fail = 5

Changed in linaro-power-qa:
status: New → Confirmed
Amit Kucheria (amitk)
Changed in linaro-power-qa:
assignee: nobody → Daniel Lezcano (daniel-lezcano)
importance: Undecided → High
Revision history for this message
Daniel Lezcano (daniel-lezcano) wrote :
Changed in linaro-power-qa:
status: Confirmed → Fix Committed
Changed in linaro-power-qa:
status: Fix Committed → Fix Released
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.