ubuntu_kvm_unit_tests skey fails with multiple failures on B/F s390x LPAR

Bug #1991851 reported by Luke Nowakowski-Krijger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

ubuntu_kvm_unit_tests skey fails on bionic s390x with bionic/linux kernel 4.15.0-194.205 on s2lp3 and in cycle 2022.09.19.

This test fails on kernel02 with https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1991740, however this specific testcases passes here, thus the other tests run and now fail. This is due to new test cases being added.

17:49:51 DEBUG| Running 'kvm-ok'
17:49:51 DEBUG| [stdout] INFO: /dev/kvm exists
17:49:51 DEBUG| [stdout] KVM acceleration can be used
17:49:51 DEBUG| Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/skey'
17:49:51 DEBUG| [stdout] BUILD_HEAD=35a22051
17:49:51 DEBUG| [stdout] 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.YRdqWtc3Cs -smp 1 -device virtio-net-ccw # -initrd /tmp/tmp.l2T6hUggdb
17:49:51 DEBUG| [stderr] qemu-system-s390x: warning: nic virtio-net-ccw.0 has no peer
17:49:51 DEBUG| [stdout] PASS: skey: privileged: sske: Program interrupt: expected(2) == received(2)
17:49:51 DEBUG| [stdout] PASS: skey: privileged: skey did not change on exception
17:49:51 DEBUG| [stdout] PASS: skey: privileged: iske: Program interrupt: expected(2) == received(2)
17:49:51 DEBUG| [stdout] PASS: skey: invalid address: sske: Program interrupt: expected(5) == received(5)
17:49:51 DEBUG| [stdout] PASS: skey: invalid address: iske: Program interrupt: expected(5) == received(5)
17:49:51 DEBUG| [stdout] PASS: skey: invalid address: rrbe: Program interrupt: expected(5) == received(5)
17:49:51 DEBUG| [stdout] PASS: skey: set key test
17:49:51 DEBUG| [stdout] PASS: skey: multi block
17:49:51 DEBUG| [stdout] PASS: skey: chg bit test
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: zero key: no protection
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: matching key: no protection
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: mismatching key: no fetch protection: store protection
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: mismatching key: fetch protection: fetch & store protection
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: mismatching key: fetch-protection override: disabled: fetch & store protection
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: mismatching key: fetch-protection override: enabled: store protection
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: mismatching key: fetch-protection override: invalid: fetch & store protection
17:49:51 DEBUG| [stdout] PASS: skey: TPROT: mismatching key: storage-protection override: no protection
17:49:51 DEBUG| [stdout] PASS: skey: STORE CPU ADDRESS: zero key: store occurred
17:49:51 DEBUG| [stdout] PASS: skey: STORE CPU ADDRESS: matching key: store occurred
17:49:51 DEBUG| [stdout] FAIL: skey: STORE CPU ADDRESS: mismatching key: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: STORE CPU ADDRESS: mismatching key: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: STORE CPU ADDRESS: mismatching key: no store occurred
17:49:51 DEBUG| [stdout] FAIL: skey: STORE CPU ADDRESS: storage-protection override, invalid key: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: STORE CPU ADDRESS: storage-protection override, invalid key: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: STORE CPU ADDRESS: storage-protection override, invalid key: no store occurred
17:49:51 DEBUG| [stdout] PASS: skey: STORE CPU ADDRESS: storage-protection override, override key: override occurred
17:49:51 DEBUG| [stdout] FAIL: skey: STORE CPU ADDRESS: storage-protection override disabled, override key: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: STORE CPU ADDRESS: storage-protection override disabled, override key: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: STORE CPU ADDRESS: storage-protection override disabled, override key: no store occurred
17:49:51 DEBUG| [stdout] PASS: skey: DIAG 308: no exception on fetch, response: invalid IPIB
17:49:51 DEBUG| [stdout] PASS: skey: CHANNEL SUBSYSTEM CALL: zero key: Performed store-channel-subsystem-characteristics
17:49:51 DEBUG| [stdout] PASS: skey: CHANNEL SUBSYSTEM CALL: matching key: Performed store-channel-subsystem-characteristics
17:49:51 DEBUG| [stdout] FAIL: skey: CHANNEL SUBSYSTEM CALL: mismatching key: no fetch protection: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: CHANNEL SUBSYSTEM CALL: mismatching key: no fetch protection: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: CHANNEL SUBSYSTEM CALL: mismatching key: fetch protection: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: CHANNEL SUBSYSTEM CALL: mismatching key: fetch protection: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: CHANNEL SUBSYSTEM CALL: mismatching key: storage-protection override, invalid key: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: CHANNEL SUBSYSTEM CALL: mismatching key: storage-protection override, invalid key: TEID: valid protection code
17:49:51 DEBUG| [stdout] PASS: skey: CHANNEL SUBSYSTEM CALL: mismatching key: storage-protection override, override key: Performed store-channel-subsystem-characteristics
17:49:51 DEBUG| [stdout] FAIL: skey: CHANNEL SUBSYSTEM CALL: mismatching key: storage-protection override disabled, override key: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: CHANNEL SUBSYSTEM CALL: mismatching key: storage-protection override disabled, override key: TEID: valid protection code
17:49:51 DEBUG| [stdout] PASS: skey: SET PREFIX: zero key: set prefix
17:49:51 DEBUG| [stdout] PASS: skey: SET PREFIX: matching key: set prefix
17:49:51 DEBUG| [stdout] PASS: skey: SET PREFIX: mismatching key: no fetch protection: set prefix
17:49:51 DEBUG| [stdout] FAIL: skey: SET PREFIX: mismatching key: fetch protection: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: SET PREFIX: mismatching key: fetch protection: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: SET PREFIX: mismatching key: fetch protection: did not set prefix
17:49:51 DEBUG| [stdout] FAIL: skey: SET PREFIX: mismatching key: remapped page, fetch protection: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: SET PREFIX: mismatching key: remapped page, fetch protection: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: SET PREFIX: mismatching key: remapped page, fetch protection: did not set prefix
17:49:51 DEBUG| [stdout] PASS: skey: SET PREFIX: mismatching key: fetch protection override applies: set prefix
17:49:51 DEBUG| [stdout] FAIL: skey: SET PREFIX: mismatching key: fetch protection override does not apply: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: SET PREFIX: mismatching key: fetch protection override does not apply: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: SET PREFIX: mismatching key: fetch protection override does not apply: did not set prefix
17:49:51 DEBUG| [stdout] INFO: skey: MSCH: Found subchannel 00010000
17:49:51 DEBUG| [stdout] INFO: skey: MSCH: Tested subchannels: 1, I/O subchannels: 1, I/O devices: 1
17:49:51 DEBUG| [stdout] PASS: skey: MSCH: zero key: fetched from SCHIB
17:49:51 DEBUG| [stdout] PASS: skey: MSCH: matching key: fetched from SCHIB
17:49:51 DEBUG| [stdout] PASS: skey: MSCH: mismatching key: no fetch protection: fetched from SCHIB
17:49:51 DEBUG| [stdout] FAIL: skey: MSCH: mismatching key: fetch protection: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: MSCH: mismatching key: fetch protection: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: MSCH: mismatching key: fetch protection: did not modify subchannel
17:49:51 DEBUG| [stdout] FAIL: skey: MSCH: mismatching key: remapped page, fetch protection: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: MSCH: mismatching key: remapped page, fetch protection: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: MSCH: mismatching key: remapped page, fetch protection: did not modify subchannel
17:49:51 DEBUG| [stdout] PASS: skey: MSCH: mismatching key: fetch-protection override applies: fetched from SCHIB
17:49:51 DEBUG| [stdout] FAIL: skey: MSCH: mismatching key: fetch-protection override does not apply: Program interrupt: expected(4) == received(0)
17:49:51 DEBUG| [stdout] PASS: skey: MSCH: mismatching key: fetch-protection override does not apply: TEID: valid protection code
17:49:51 DEBUG| [stdout] FAIL: skey: MSCH: mismatching key: fetch-protection override does not apply: did not modify subchannel
17:49:51 DEBUG| [stdout] SUMMARY: 67 tests, 22 unexpected failures
17:49:51 DEBUG| [stdout]
17:49:51 DEBUG| [stdout] EXIT: STATUS=3
17:49:51 DEBUG| [stdout] FAIL skey (67 tests, 22 unexpected failures)
17:49:51 ERROR| Exception escaping from test:

tags: added: 4.15 bionic sru-20220919
tags: added: s390x ubuntu-kvm-unit-tests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: ubuntu_kvm_unit_tests skey fails with multiple failures on bionic s390x LPAR

Note that these 2 Bionic zVM and LPAR were tested with the same updated kvm-unit-tests. It's just that the one on LPAR didn't experience an unexpected interrupt so it can move on like Luke mentioned here.

summary: ubuntu_kvm_unit_tests skey fails with multiple failures on bionic s390x
+ LPAR
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (6.7 KiB)

This test failed with 10 sub-cases on Focal LPAR s2lp4

 PASS: skey: privileged: sske: Program interrupt: expected(2) == received(2)
 PASS: skey: privileged: skey did not change on exception
 PASS: skey: privileged: iske: Program interrupt: expected(2) == received(2)
 PASS: skey: invalid address: sske: Program interrupt: expected(5) == received(5)
 PASS: skey: invalid address: iske: Program interrupt: expected(5) == received(5)
 PASS: skey: invalid address: rrbe: Program interrupt: expected(5) == received(5)
 PASS: skey: set key test
 PASS: skey: multi block
 PASS: skey: chg bit test
 PASS: skey: TPROT: zero key: no protection
 PASS: skey: TPROT: matching key: no protection
 PASS: skey: TPROT: mismatching key: no fetch protection: store protection
 PASS: skey: TPROT: mismatching key: fetch protection: fetch & store protection
 PASS: skey: TPROT: mismatching key: fetch-protection override: disabled: fetch & store protection
 PASS: skey: TPROT: mismatching key: fetch-protection override: enabled: store protection
 PASS: skey: TPROT: mismatching key: fetch-protection override: invalid: fetch & store protection
 PASS: skey: TPROT: mismatching key: storage-protection override: no protection
 PASS: skey: STORE CPU ADDRESS: zero key: store occurred
 PASS: skey: STORE CPU ADDRESS: matching key: store occurred
 PASS: skey: STORE CPU ADDRESS: mismatching key: Program interrupt: expected(4) == received(4)
 PASS: skey: STORE CPU ADDRESS: mismatching key: TEID: valid access code
 PASS: skey: STORE CPU ADDRESS: mismatching key: TEID: valid protection code
 PASS: skey: STORE CPU ADDRESS: mismatching key: no store occurred
 PASS: skey: STORE CPU ADDRESS: storage-protection override, invalid key: Program interrupt: expected(4) == received(4)
 PASS: skey: STORE CPU ADDRESS: storage-protection override, invalid key: TEID: valid access code
 PASS: skey: STORE CPU ADDRESS: storage-protection override, invalid key: TEID: valid protection code
 PASS: skey: STORE CPU ADDRESS: storage-protection override, invalid key: no store occurred
 PASS: skey: STORE CPU ADDRESS: storage-protection override, override key: override occurred
 PASS: skey: STORE CPU ADDRESS: storage-protection override disabled, override key: Program interrupt: expected(4) == received(4)
 PASS: skey: STORE CPU ADDRESS: storage-protection override disabled, override key: TEID: valid access code
 PASS: skey: STORE CPU ADDRESS: storage-protection override disabled, override key: TEID: valid protection code
 PASS: skey: STORE CPU ADDRESS: storage-protection override disabled, override key: no store occurred
 PASS: skey: DIAG 308: no exception on fetch, response: invalid IPIB
 PASS: skey: CHANNEL SUBSYSTEM CALL: zero key: Performed store-channel-subsystem-characteristics
 PASS: skey: CHANNEL SUBSYSTEM CALL: matching key: Performed store-channel-subsystem-characteristics
 FAIL: skey: CHANNEL SUBSYSTEM CALL: mismatching key: no fetch protection: Program interrupt: expected(4) == received(0)
 PASS: skey: CHANNEL SUBSYSTEM CALL: mismatching key: no fetch protection: TEID: valid protection code
 FAIL: skey: CHANNEL SUBSYSTEM CALL: mismatching key: fetch protection: Program interrupt: expected(4) == received(0)...

Read more...

summary: - ubuntu_kvm_unit_tests skey fails with multiple failures on bionic s390x
+ ubuntu_kvm_unit_tests skey fails with multiple failures on B/F s390x
LPAR
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.