Public bug reported:
Steps:
1. git clone https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
2. cd kvm-unit-tests
3. ./configure; make
4. sudo ./run_tests.sh -v
And you will see the detailed command it use, run the one for selftest-setup as
root:
# TESTNAME=selftest-setup TIMEOUT=90s ACCEL= ./s390x/run s390x/selftest.elf
-smp 1 -append 'test 123'
timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults
-nographic -machine s390-ccw-virtio,accel=tcg -chardev stdio,id=con0 -device
sclpconsole,chardev=con0 -kernel s390x/selftest.elf -smp 1 -append test 123 #
-initrd /tmp/tmp.gj7cBJS2hH
PASS: selftest: true
PASS: selftest: argc == 3
PASS: selftest: argv[0] == PROGNAME
PASS: selftest: argv[1] == test
PASS: selftest: argv[2] == 123
PASS: selftest: 3.0/2.0 == 1.5
PASS: selftest: Program interrupt: expected(1) == received(1)
ABORT: selftest: Unexpected program interrupt: 5 at 0x12b94, ilen 6
SUMMARY: 7 tests
EXIT: STATUS=127
Run the one for intercept as root:
# TESTNAME=intercept TIMEOUT=90s ACCEL= ./s390x/run s390x/intercept.elf -smp 1
timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults
-nographic -machine s390-ccw-virtio,accel=tcg -chardev stdio,id=con0 -device
sclpconsole,chardev=con0 -kernel s390x/intercept.elf -smp 1 # -initrd
/tmp/tmp.4QCRdccGRJ
PASS: intercept: stpx: store prefix
FAIL: intercept: stpx: Program interrupt: expected(4) == received(0)
FAIL: intercept: stpx: Program interrupt: expected(6) == received(0)
ABORT: intercept: stpx: Unexpected program interrupt: 5 at 0x109dc, ilen 4
SUMMARY: 3 tests, 2 unexpected failures
EXIT: STATUS=127
Tried QEMU 2.10 built from source, this issue still exist.
This is not a regression as we just add the test for s390x in this
cycle.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: s390x zesty
** Package changed: qemu (Ubuntu) => linux (Ubuntu)
** Description changed:
Steps:
1. git clone https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
2. cd kvm-unit-tests
3. ./configure; make
4. sudo ./run_tests.sh -v
And you will see the detailed command it use, run the one for selftest-setup
as root:
# TESTNAME=selftest-setup TIMEOUT=90s ACCEL= ./s390x/run s390x/selftest.elf
-smp 1 -append 'test 123'
timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults
-nographic -machine s390-ccw-virtio,accel=tcg -chardev stdio,id=con0 -device
sclpconsole,chardev=con0 -kernel s390x/selftest.elf -smp 1 -append test 123 #
-initrd /tmp/tmp.gj7cBJS2hH
PASS: selftest: true
PASS: selftest: argc == 3
PASS: selftest: argv[0] == PROGNAME
PASS: selftest: argv[1] == test
PASS: selftest: argv[2] == 123
PASS: selftest: 3.0/2.0 == 1.5
PASS: selftest: Program interrupt: expected(1) == received(1)
ABORT: selftest: Unexpected program interrupt: 5 at 0x12b94, ilen 6
SUMMARY: 7 tests
EXIT: STATUS=127
Run the one for intercept as root:
# TESTNAME=intercept TIMEOUT=90s ACCEL= ./s390x/run s390x/intercept.elf -smp 1
timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults
-nographic -machine s390-ccw-virtio,accel=tcg -chardev stdio,id=con0 -device
sclpconsole,chardev=con0 -kernel s390x/intercept.elf -smp 1 # -initrd
/tmp/tmp.4QCRdccGRJ
PASS: intercept: stpx: store prefix
FAIL: intercept: stpx: Program interrupt: expected(4) == received(0)
FAIL: intercept: stpx: Program interrupt: expected(6) == received(0)
ABORT: intercept: stpx: Unexpected program interrupt: 5 at 0x109dc, ilen 4
SUMMARY: 3 tests, 2 unexpected failures
EXIT: STATUS=127
+ Tried QEMU 2.10 built from source, this issue still exist.
- Tried QEMU 2.10 built from source, this issue still exist.
+ This is not a regression as we just add the test for s390x in this
+ cycle.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726225
Title:
s390x zKVM failed with selftest-setup and intercept test in kvm-unit-
tests
Status in linux package in Ubuntu:
New
Bug description:
Steps:
1. git clone https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
2. cd kvm-unit-tests
3. ./configure; make
4. sudo ./run_tests.sh -v
And you will see the detailed command it use, run the one for selftest-setup
as root:
# TESTNAME=selftest-setup TIMEOUT=90s ACCEL= ./s390x/run s390x/selftest.elf
-smp 1 -append 'test 123'
timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults
-nographic -machine s390-ccw-virtio,accel=tcg -chardev stdio,id=con0 -device
sclpconsole,chardev=con0 -kernel s390x/selftest.elf -smp 1 -append test 123 #
-initrd /tmp/tmp.gj7cBJS2hH
PASS: selftest: true
PASS: selftest: argc == 3
PASS: selftest: argv[0] == PROGNAME
PASS: selftest: argv[1] == test
PASS: selftest: argv[2] == 123
PASS: selftest: 3.0/2.0 == 1.5
PASS: selftest: Program interrupt: expected(1) == received(1)
ABORT: selftest: Unexpected program interrupt: 5 at 0x12b94, ilen 6
SUMMARY: 7 tests
EXIT: STATUS=127
Run the one for intercept as root:
# TESTNAME=intercept TIMEOUT=90s ACCEL= ./s390x/run s390x/intercept.elf -smp 1
timeout -k 1s --foreground 90s /usr/bin/qemu-system-s390x -nodefaults
-nographic -machine s390-ccw-virtio,accel=tcg -chardev stdio,id=con0 -device
sclpconsole,chardev=con0 -kernel s390x/intercept.elf -smp 1 # -initrd
/tmp/tmp.4QCRdccGRJ
PASS: intercept: stpx: store prefix
FAIL: intercept: stpx: Program interrupt: expected(4) == received(0)
FAIL: intercept: stpx: Program interrupt: expected(6) == received(0)
ABORT: intercept: stpx: Unexpected program interrupt: 5 at 0x109dc, ilen 4
SUMMARY: 3 tests, 2 unexpected failures
EXIT: STATUS=127
Tried QEMU 2.10 built from source, this issue still exist.
This is not a regression as we just add the test for s390x in this
cycle.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726225/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp