The code:
N_NODES=${N_NODES#*-*}
N_NODES=$(($N_NODES + 1))
Take cares only the case with a range of nodes:
0-8
But not some specific nodes like in this case:
0,8
** Changed in: linux (Ubuntu Cosmic)
Status: New => Invalid
** Changed in: ubuntu-kernel-tests
Assignee: (unassigned) => Po-Hsu Lin (cypressyew)
** Changed in: ubuntu-kernel-tests
Status: New => In Progress
** Changed in: linux (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1836188
Title:
cpuset_exclusive in controllers from ubuntu_ltp failed on C P9
Status in ubuntu-kernel-tests:
In Progress
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Cosmic:
Invalid
Bug description:
This issue was only spotted on node Baltar (P9)
This is caused by the return value in:
$ cat /sys/devices/system/node/has_normal_memory
0,8
The test was trying to use do arithmetic operation with it, but didn't
expect to get a return value with a comma in it.
<<<test_start>>>
tag=cpuset_exclusive stime=1562844139
cmdline=" cpuset_exclusive_test.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
/opt/ltp/testcases/bin/cpuset_exclusive_test.sh: 36:
/opt/ltp/testcases/bin/cpuset_funcs.sh: arithmetic expression: expecting EOF:
"0,8 + 1"
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
Not sure if this is a test case issue, or if we should see a comma in
/sys/devices/system/node/has_normal_memory
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-25-generic 4.18.0-25.26
ProcVersionSignature: Ubuntu 4.18.0-25.26-generic 4.18.20
Uname: Linux 4.18.0-25-generic ppc64le
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jul 11 10:56 seq
crw-rw---- 1 root audio 116, 33 Jul 11 10:56 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13.4
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:
Date: Thu Jul 11 11:25:40 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0451:80ff Texas Instruments, Inc.
Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:
ProcFB: 0 astdrmfb
ProcKernelCmdLine: root=UUID=acd1a0d7-f6fc-4130-928c-c8b11ad6e4be ro
console=hvc0
ProcLoadAvg: 0.74 1.52 0.74 1/1338 6264
ProcLocks:
1: POSIX ADVISORY WRITE 1805 00:17:364 0 EOF
2: POSIX ADVISORY WRITE 3956 00:17:504 0 EOF
3: FLOCK ADVISORY WRITE 3915 00:17:566 0 EOF
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -2
ProcVersion: Linux version 4.18.0-25-generic (buildd@bos02-ppc64el-009) (gcc
version 8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.10.1)) #26-Ubuntu SMP Mon Jun 24
09:32:46 UTC 2019
RelatedPackageVersions:
linux-restricted-modules-4.18.0-25-generic N/A
linux-backports-modules-4.18.0-25-generic N/A
linux-firmware 1.175.6
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 = 40
cpu_coreson: Number of cores online = 39
cpu_dscr: DSCR is 16
cpu_freq:
min: 2.862 GHz (cpu 79)
max: 2.945 GHz (cpu 83)
avg: 2.903 GHz
cpu_runmode:
Could not retrieve current diagnostics mode,
No kernel interface to firmware
cpu_smt: SMT=4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1836188/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp