cpuhotplug from ubuntu_ltp failed for cpuhotplug02 cpuhotplug03 cpuhotplug04 cpuhotplug06

Bug #1923191 reported by Marcelo Cerri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
In Progress
Undecided
Krzysztof Kozlowski
linux-azure (Ubuntu)
New
Undecided
Unassigned
Trusty
New
Undecided
Unassigned
Xenial
New
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
linux-azure-4.15 (Ubuntu)
New
Undecided
Unassigned
Trusty
New
Undecided
Unassigned
Xenial
New
Undecided
Unassigned
Bionic
New
Undecided
Unassigned

Bug Description

cpuhotplug02:

    Name: cpuhotplug02
    Date: Tue Mar 30 13:32:56 UTC 2021
    Desc: What happens to a process when its CPU is offlined?

    CPU is 1
    sh: echo: I/O error
    cpuhotplug02 1 TFAIL: process did not change from CPU 1
    tag=cpuhotplug02 stime=1617111176 dur=5 exit=exited stat=1 core=no cu=2 cs=2
    startup='Tue Mar 30 13:33:06 2021'

cpuhotplug03:

    Name: cpuhotplug03
    Date: Tue Mar 30 13:33:06 UTC 2021
    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 20613 0.0 0.0 4636 864 ? R 13:33 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    root 20614 0.0 0.0 4636 812 ? R 13:33 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    root 20615 0.0 0.0 4636 812 ? R 13:33 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    root 20616 0.0 0.0 4636 880 ? R 13:33 0:00 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    root 20620 0.0 0.0 14864 1092 ? S 13:33 0:00 grep cpuhotplug_do_spin_loop
    cpuhotplug03 1 TINFO: Onlining CPU 1
    1 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    1 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    0 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    0 /bin/sh /opt/ltp/testcases/bin/cpuhotplug_do_spin_loop
    cpuhotplug03 1 TPASS: 2 cpuhotplug_do_spin_loop processes found on CPU1
    tag=cpuhotplug03 stime=1617111186 dur=2 exit=exited stat=2 core=no cu=242 cs=38
    startup='Tue Mar 30 13:33:08 2021'

cpuhotplug04:

    Name: cpuhotplug04
    Date: Tue Mar 30 13:33:08 UTC 2021
    Desc: Does it prevent us from offlining the last CPU?

    sh: echo: I/O error
    cpuhotplug04 1 TFAIL: Could not offline cpu1
    tag=cpuhotplug04 stime=1617111188 dur=0 exit=exited stat=1 core=no cu=4 cs=4
    startup='Tue Mar 30 13:33:08 2021'

cpuhotplug06

    Name: cpuhotplug06
    Date: Tue Mar 30 13:33:08 UTC 2021
    Desc: Does top work properly when CPU hotplug events occur?

    CPU is 1
    sh: echo: I/O error
    cpuhotplug06 1 TBROK: CPU1 cannot be offlined
    20913 ? 00:00:00 top
    tag=cpuhotplug06 stime=1617111188 dur=1 exit=exited stat=2 core=no cu=2 cs=3
    startup='Tue Mar 30 13:33:15 2021'

http://10.246.72.46/4.15.0-1112.125-azure/bionic-linux-azure-4.15-azure-amd64-4.15.0-Basic_A2-ubuntu_ltp/ubuntu_ltp/results/ubuntu_ltp.cpuhotplug/debug/ubuntu_ltp.cpuhotplug.DEBUG.html

Revision history for this message
Marcelo Cerri (mhcerri) wrote :

Seen with linux-azure-4.15 4.15.0-1112.125 and its derivatives for cycle sru-20210315 but also for sru-20210222.

tags: added: 4.15 amd64 azure bionic kqa-blocker sru-20210222 sru-20210315 trusty ubuntu-ltp xenial
Revision history for this message
Marcelo Cerri (mhcerri) wrote :

Still happening with linux-azure 5.8.0-1027.29 for cycle sru-20210315 but also for sru-20210222.

tags: added: 5.8 groovy
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Also found with bionic/linux 4.15.0-143.147 arm64 for cycle sru-20210412.

tags: added: sru-20210412
tags: added: 5.4 sru-20210510
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Assuming this is a duplicate of lp:1836167. There are several failures like this from different causes. For Azure, CPU cannot be offlined, so let's assume lp:1836167 is about Azure and this one is a duplicate.

Changed in ubuntu-kernel-tests:
status: New → In Progress
assignee: nobody → Krzysztof Kozlowski (krzk)
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.