smp from ubuntu_kvm_unit_tests failed on B-4.15 s390x

Bug #1932003 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found on Bionic s390x s2lp3 / kernel02

Test aborted with:
 ABORT: smp: cpu reset: Unexpected external call interrupt (code 0x1201): on cpu 1 at 0x11944

Test log:
Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/smp'
 BUILD_HEAD=35a22051
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults -nographic -machine s390-ccw-virtio,accel=kvm -chardev stdio,id=con0 -device sclpconsole,chardev=con0 -kernel /tmp/tmp.0owG9yF64u -smp 2 # -initrd /tmp/tmp.ZPg3yOt5yC
 qemu-system-s390x: warning: 'apqci' requires 'ap'.
 qemu-system-s390x: warning: 'apft' requires 'ap'.
 qemu-system-s390x: warning: 'apqci' requires 'ap'.
 qemu-system-s390x: warning: 'apft' requires 'ap'.
 SMP: Initializing, found 2 cpus
 PASS: smp: start
 PASS: smp: invalid parameters: stop with invalid CPU address
 PASS: smp: invalid parameters: start with invalid CPU address
 PASS: smp: invalid parameters: reset with invalid CPU address
 PASS: smp: invalid parameters: conditional emcall with invalid CPU address
 PASS: smp: invalid parameters: emcall with invalid CPU address
 PASS: smp: invalid parameters: ecall with invalid CPU address
 PASS: smp: invalid parameters: invalid order code and CPU address
 PASS: smp: invalid parameters: sense with invalid CPU address
 PASS: smp: invalid parameters: stop and store status with invalid CPU address
 PASS: smp: invalid parameters: invalid order code
 PASS: smp: restart: stopped: return code
 PASS: smp: restart: stopped: cpu started
 PASS: smp: restart: stopped: test flag
 PASS: smp: restart: running: return code
 PASS: smp: restart: running: cpu started
 PASS: smp: restart: running: test flag
 PASS: smp: stop: return code
 PASS: smp: stop: cpu stopped
 PASS: smp: stop: stop stopped CPU: return code
 PASS: smp: stop: stop stopped CPU: cpu stopped
 PASS: smp: stop store status: running: cpu stopped
 PASS: smp: stop store status: running: prefix
 PASS: smp: stop store status: running: stack
 PASS: smp: stop store status: stopped: cpu stopped
 PASS: smp: stop store status: stopped: prefix
 PASS: smp: stop store status: stopped: stack
 PASS: smp: store status at address: invalid CPU address: returned with CC = 3
 PASS: smp: store status at address: running: incorrect state
 PASS: smp: store status at address: running: status not written
 PASS: smp: store status at address: stopped: status written
 PASS: smp: set prefix: running: CC = 1
 PASS: smp: set prefix: running: status = INCORRECT_STATE
 PASS: smp: set prefix: running: prefix unchanged
 PASS: smp: set prefix: invalid CPU address: CC = 3
 PASS: smp: emcall: received
 PASS: smp: cond emcall: received
 PASS: smp: ecall: received
 PASS: smp: psw wait: emcall: received
 PASS: smp: psw wait: cond emcall: received
 PASS: smp: psw wait: ecall: received
 PASS: smp: sense_running: CPU0 sense claims running
 PASS: smp: sense_running: CPU1 sense claims not running
 PASS: smp: cpu reset: cpu stopped
 ABORT: smp: cpu reset: Unexpected external call interrupt (code 0x1201): on cpu 1 at 0x11944
 SUMMARY: 44 tests

 EXIT: STATUS=127
 FAIL smp (44 tests)

This issue does not exist in newer kernels on s390x.

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

Spotted on X-4.4.0-215.247 s390x zVM

Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/smp'
 BUILD_HEAD=1593e88a
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults -nographic -machine s390-ccw-virtio,accel=kvm -chardev stdio,id=con0 -device sclpconsole,chardev=con0 -kernel /tmp/tmp.qXcnPtfnrz -smp 2 # -initrd /tmp/tmp.mQihhaxWyg
 SMP: Initializing, found 2 cpus
 PASS: smp: start
 PASS: smp: restart while running
 PASS: smp: stop
 FAIL: smp: stop store status: running: prefix
 PASS: smp: stop store status: running: stack
 PASS: smp: stop store status: running: cpu stopped
 FAIL: smp: stop store status: stopped: prefix
 PASS: smp: stop store status: stopped: stack
 PASS: smp: store status at address: running: incorrect state
 PASS: smp: store status at address: running: status not written
 qemu-system-s390x: terminating on signal 15 from pid 10996
 FAIL smp (timeout; duration=90s)

tags: added: 4.4 sru-20210906 xenial
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With kvm-unit-test repo updated to d8a4f9e5 (ci: Update the list of tests that we run in the Fedora Cirrus-CI), this test is still failing but the error message is different (test cases increases from 16 to 44), I will update the bug description.

tags: added: sru-20220919
description: updated
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.