cpuhotplug03 in cpuhotplug from ubuntu_ltp failed on C Moonshot ARM64

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

Bug Description

<<<test_output>>>
incrementing stop
Name: cpuhotplug03
Date: Thu Jul 11 08:31:48 UTC 2019
Desc: Do tasks get scheduled to a newly on-lined CPU?

CPU is 1
sh: echo: I/O error
cpuhotplug03 1 TBROK: CPU1 cannot be offlined
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 4642 0.0 0.0 2020 488 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4643 0.0 0.0 2020 480 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4644 0.0 0.0 2020 468 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4645 0.0 0.0 2020 488 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4646 0.0 0.0 2020 472 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4647 0.0 0.0 2020 480 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4648 0.0 0.0 2020 456 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4649 0.0 0.0 2020 508 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4650 0.0 0.0 2020 488 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4651 0.0 0.0 2020 472 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4652 0.0 0.0 2020 484 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4653 0.0 0.0 2020 496 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4654 0.0 0.0 2020 464 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4655 0.0 0.0 2020 492 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4656 0.0 0.0 2020 448 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4657 0.0 0.0 2020 472 pts/0 R 08:31 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
root 4661 0.0 0.0 7540 648 pts/0 S 08:31 0:00 grep cpuhotplug_do_spin_loop
cpuhotplug03 1 TINFO: Onlining CPU 1
  7 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  1 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  4 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  0 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  3 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  6 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  1 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  5 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  3 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  7 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  6 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  2 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  4 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  2 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  0 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
  5 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
cpuhotplug03 1 TPASS: 2 cpuhotplug_do_spin_loop processes found on CPU1
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=2 corefile=no
cutime=1060 cstime=9
<<<test_end>>>

Test passed on ThunderX ARM64, probably a test case issue.

Steps to run this test:
  git clone --depth=1 https://github.com/linux-test-project/ltp.git
  cd ltp; make autotools; ./configure; make; sudo make install
  echo "cpuhotplug03 cpuhotplug03.sh -c 1 -l 1" > /tmp/jobs
  sudo /opt/ltp/runltp -f /tmp/jobs

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-25-generic 4.18.0-25.26
ProcVersionSignature: User Name 4.18.0-25.26-generic 4.18.20
Uname: Linux 4.18.0-25-generic aarch64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jul 11 06:57 seq
 crw-rw---- 1 root audio 116, 33 Jul 11 06:57 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13.4
Architecture: arm64
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 08:22:51 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:

ProcFB:

ProcKernelCmdLine: console=ttyS0,9600n8r ro
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)

Po-Hsu Lin (cypressyew) wrote :
tags: added: sru-20190701 ubuntu-ltp

This change was made by a bot.

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

Note that on ThunderX ARM64 sometimes it will fail with:
    cpuhotplug03 1 TFAIL: No cpuhotplug_do_spin_loop processes found on CPU1

Po-Hsu Lin (cypressyew) wrote :

Same failure:
    TFAIL: No cpuhotplug_do_spin_loop processes found on CPU1

Found on amd64 node naumann with Disco kernel.

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

Other bug subscribers