css from ubuntu_kvm_unit_tests failed on B-4.15 / F-5.4 s390x (Unaligned MB origin: Program interrupt: expected(21) == received(0))

Bug #1931960 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 s390x zVM and LPAR.

Test failed with:
 FAIL: Channel Subsystem: measurement block format1: Unaligned MB origin: Program interrupt: expected(21) == received(0)
 FAIL: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 0 set: Program interrupt: expected(21) == received(0)
 FAIL: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 1 set: Program interrupt: expected(21) == received(0)

Test log:
Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/css'
 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.2yImImtRli -smp 1 -device virtio-net-ccw # -initrd /tmp/tmp.DiudHC4BLJ
 qemu-system-s390x: warning: 'apqci' requires 'ap'.
 qemu-system-s390x: warning: 'apft' requires 'ap'.
 qemu-system-s390x: warning: nic virtio-net-ccw.0 has no peer
 INFO: Channel Subsystem: initialize CSS (chsc): General features: 6,7,45,46,47,48,51,108,
 INFO: Channel Subsystem: initialize CSS (chsc): CHSC features: 1,109,
 PASS: Channel Subsystem: initialize CSS (chsc): Store Channel Characteristics
 INFO: Channel Subsystem: enumerate (stsch): Found subchannel 00010000
 INFO: Channel Subsystem: enumerate (stsch): Tested subchannels: 1, I/O subchannels: 1, I/O devices: 1
 PASS: Channel Subsystem: enumerate (stsch): Schid of first I/O device: 0x00010000
 PASS: Channel Subsystem: enable (msch): Enable subchannel 00010000
 INFO: Channel Subsystem: sense (ssch/tsch): stsch: sch 00010000 already enabled
 INFO: Channel Subsystem: sense (ssch/tsch): reserved 0xff cu_type 0x3832 cu_model 0x01 dev_type 0x0000 dev_model 0x00
 PASS: Channel Subsystem: sense (ssch/tsch): cu_type expected 0x3832 got 0x3832
 INFO: Channel Subsystem: measurement block (schm): Extended measurement block available
 PASS: Channel Subsystem: measurement block (schm): Unaligned operand: Program interrupt: expected(21) == received(21)
 PASS: Channel Subsystem: measurement block (schm): Bad flags: Program interrupt: expected(21) == received(21)
 PASS: Channel Subsystem: measurement block (schm): Privilege: Program interrupt: expected(2) == received(2)
 PASS: Channel Subsystem: measurement block (schm): Normal operation: SCHM call without address
 PASS: Channel Subsystem: measurement block format0: Valid MB address and index 0: SSCH measured 10
 PASS: Channel Subsystem: measurement block format0: Valid MB address and index 1: SSCH measured 10
 FAIL: Channel Subsystem: measurement block format1: Unaligned MB origin: Program interrupt: expected(21) == received(0)
 PASS: Channel Subsystem: measurement block format1: Valid MB origin: SSCH measured 10
 PASS: Channel Subsystem: msch: Unaligned: 1: Program interrupt: expected(6) == received(6)
 PASS: Channel Subsystem: msch: Unaligned: 2: Program interrupt: expected(6) == received(6)
 FAIL: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 0 set: Program interrupt: expected(21) == received(0)
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 0 set: STSCH succeeded
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 0 set: Clear on STSCH
 FAIL: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 1 set: Program interrupt: expected(21) == received(0)
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 1 set: STSCH succeeded
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 1 set: Clear on STSCH
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 6 set: Program interrupt: expected(21) == received(21)
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 6 set: STSCH succeeded
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 6 set: Clear on STSCH
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 7 set: Program interrupt: expected(21) == received(21)
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 7 set: STSCH succeeded
 PASS: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 7 set: Clear on STSCH
 PASS: Channel Subsystem: stcrw: Unaligned: 1: Program interrupt: expected(6) == received(6)
 PASS: Channel Subsystem: stcrw: Unaligned: 2: Program interrupt: expected(6) == received(6)
 PASS: Channel Subsystem: stcrw: No CRW available initally: No CRW available: cc == 1
 PASS: Channel Subsystem: stcrw: No CRW available initally: No CRW available: stored zeroes in crw
 PASS: Channel Subsystem: stcrw: Generate CRW: rhcp cc != 0
 PASS: Channel Subsystem: stcrw: CRW available: cc is zero
 PASS: Channel Subsystem: stcrw: CRW available: stored crw
 PASS: Channel Subsystem: stcrw: CRW available: CRW has Channel Path RSC
 PASS: Channel Subsystem: stcrw: No more CRWs pending: No CRW available: cc == 1
 PASS: Channel Subsystem: stcrw: No more CRWs pending: No CRW available: stored zeroes in crw
 PASS: Channel Subsystem: ssch: Unaligned: 1: Program interrupt: expected(6) == received(6)
 PASS: Channel Subsystem: ssch: Unaligned: 2: Program interrupt: expected(6) == received(6)
 PASS: Channel Subsystem: ssch: Invalid ORB: Program interrupt: expected(21) == received(21)
 PASS: Channel Subsystem: stsch: Unaligned: 1: Program interrupt: expected(6) == received(6)
 PASS: Channel Subsystem: stsch: Unaligned: 2: Program interrupt: expected(6) == received(6)
 PASS: Channel Subsystem: stsch: Invalid subchannel number: Channel not operational
 PASS: Channel Subsystem: stsch: Bit 47 in SID is zero: Program interrupt: expected(21) == received(21)

 Unexpected program interrupt : 0x15 on cpu 0 at 0x120a4, ilen 4

 GPRS:
 0000000000000020 0000000000010000 0000000000001c81 0000000000000000
 000000000001208e 000000000003fd38 0000000000000000 0000000000000000
 0000000000000000 0000000000000000 0000000000000000 0000000000001881
 000000000002d0b0 0000000000000000 000000000001208e 000000000003fe20

     STACK: 16464 1109a 1208e 1208e 1b0c0 10100

 SUMMARY: 43 tests, 3 unexpected failures

 EXIT: STATUS=127
 FAIL css (43 tests, 3 unexpected failures)

Po-Hsu Lin (cypressyew)
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Can be found on Groovy 5.8.0-56.63-generic s390x s2lp4 / kernel03

tags: added: 5.8
tags: added: groovy
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: css from ubuntu_kvm_unit_tests failed on F-5.4 / G-5.8 / H-5.11 s390x (Unaligned MB origin: Program interrupt: expected(21) == received(0))

Can be found on Focal 5.4.0-75.84-generic s390x s2lp4 / kenrel04

summary: - css from ubuntu_kvm_unit_tests failed on H-5.11 s390x (Unaligned MB
- origin: Program interrupt: expected(21) == received(0))
+ css from ubuntu_kvm_unit_tests failed on F-5.4 / G-5.8 / H-5.11 s390x
+ (Unaligned MB origin: Program interrupt: expected(21) == received(0))
tags: added: 5.4 focal
summary: - css from ubuntu_kvm_unit_tests failed on F-5.4 / G-5.8 / H-5.11 s390x
- (Unaligned MB origin: Program interrupt: expected(21) == received(0))
+ css from ubuntu_kvm_unit_tests failed on B-4.15 /F-5.4 / G-5.8 / H-5.11
+ s390x (Unaligned MB origin: Program interrupt: expected(21) ==
+ received(0))
summary: - css from ubuntu_kvm_unit_tests failed on B-4.15 /F-5.4 / G-5.8 / H-5.11
+ css from ubuntu_kvm_unit_tests failed on B-4.15 / F-5.4 / G-5.8 / H-5.11
s390x (Unaligned MB origin: Program interrupt: expected(21) ==
received(0))
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: css from ubuntu_kvm_unit_tests failed on B-4.15 / F-5.4 / G-5.8 / H-5.11 s390x (Unaligned MB origin: Program interrupt: expected(21) == received(0))

Can be found on Bionic 4.15.0-145.149-generic s390x s2lp3 / kernel02

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

Observed with focal/linux: 5.4.0-76.85.

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

Found on hirsute 5.11.0-24.25-generic

Po-Hsu Lin (cypressyew)
tags: added: hinted
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, I will update the bug description.

description: updated
tags: added: sru-20220919
summary: - css from ubuntu_kvm_unit_tests failed on B-4.15 / F-5.4 / G-5.8 / H-5.11
- s390x (Unaligned MB origin: Program interrupt: expected(21) ==
- received(0))
+ css from ubuntu_kvm_unit_tests failed on B-4.15 / F-5.4 s390x (Unaligned
+ MB origin: Program interrupt: expected(21) == received(0))
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

On Jammy 5.15 s390x, this test is just failing with these 2 failures on both of our s390x instances:

  FAIL: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 0 set: Program interrupt: expected(21) == received(0)
  FAIL: Channel Subsystem: msch: Invalid SCHIB: PMCW flag bit 1 set: Program interrupt: expected(21) == received(0)

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.