coordination #51665
closed[functional][y][s390][epic] Create new test suite for s390 specific yast modules
100%
Description
Motivation¶
There are several Yast modules that are specific to s390, not tested in Openqa, and barely tested in general. Those modules are part of the yast2-s390 package:
- dasd
- zfcp
- dump
- iucvterminal
- iucvterminal-server
- onpanic
- xpram
Acceptance criteria¶
- A new test suite is created for yast2-s390 modules
- At least a smoke test for each of those modules exists
Suggestions¶
For each module:
- Learn what module is for.
- Understand what the underlying command-line tools are doing. Those are very specific, and may require some study.
- Test manually on zVM and zKVM.
- Develop automated test scenario to verify functionality of the YaST module.
Note: some manual testing was already done for the dump module, see related ticket.
Updated by JRivrain over 5 years ago
- Copied from action #39344: [functional][y][s390] create new test suite for yast dump module added
Updated by JRivrain over 5 years ago
Yast2 dump module test proposal:¶
That module is a front-end for mkdump. It does this:
mkdump --list-dasd
mkdump --list-zfcp
mkdump [--force] /dev/[device]
The mkdump script automatically lists DASD or ZFCP device that can be used as dump device. Such device should be of ECKD type (mkdump does not work with FBA, nor with multipathed zfcp devices, those issues should be subject to some soft failures) it must have exclusive access and have VM's RAM+ 10MB of free space.
The test could be as follows:
1 - Activate some DASD and/or ZFCP device:
This can be done in various ways:
- During installation,
- Later by command line as in bootloader (command: "dasd_configure 0.0.200 1". That disk should be free and "dumpable".)
- By putting this test module after the ones for dasd and/or zfcp, which also allow to enable disks. See also: the SUT for ZFCP, s390x-zfcp.
2 - Start yast2 dump, initialize some disk for dumping.
Don't forget to signal https://bugzilla.suse.com/show_bug.cgi?id=1135241 as soft-failure if an incompatible disk is shown here, and https://bugzilla.suse.com/show_bug.cgi?id=1136864 if you cannot use a multipathed zfcp device.
3 - check if disk is marked as dump disk, either in the module itself or with mkdump --list-dump
Documentation:
About dump devices : https://public.dhe.ibm.com/software/dw/linux390/docu/ljs0dt00.pdf
ZFCP and multipath tutorial (very good): https://share.confex.com/share/117/webprogram/Handout/Session9478/SHARE%20Boston%209222%20-%20SCSI.pdf
Updated by JRivrain over 5 years ago
Onpanic test proposal¶
The onpanic module uses mkdump and dumpconf. It does not work with multipath zfcp devices, see this bug.
- Put that module after yast2 dump, so a dump device was already initialized, or do it manually as specified in the IBM doc
- Disable kdump, otherwise the dump will be done using kdump instead of dumpconf. A reboot is required after disabling kdump...
- In yast module, enable dumpconf, set delay to 1 and action to dump_reipl.
- Simulate a kernel crash with the following command: "echo c > /proc/sysrq-trigger"
- After reboot, check that the dump worked by typing "zgetdump -i /dev/something" and/or "zgetdump /dev/something > dump.elf"
That one may be tricky, because it requires two reboots to be tested properly, it may add some difficulty since we are on s390.
Updated by riafarov over 5 years ago
- Target version changed from Milestone 25 to Milestone 30+
- Estimated time deleted (
8.00 h)
That's quite a big task, so let's approach step by step.
Updated by riafarov over 5 years ago
- Copied from deleted (action #39344: [functional][y][s390] create new test suite for yast dump module)
Updated by riafarov over 5 years ago
- Due date changed from 2019-07-23 to 2019-07-30
due to changes in a related task
Updated by riafarov over 5 years ago
- Due date changed from 2019-07-30 to 2019-05-29
due to changes in a related task
Updated by mgriessmeier almost 5 years ago
- Target version changed from Milestone 30+ to Milestone 30
bulk moved to M30 for revisiting
Updated by riafarov almost 5 years ago
- Due date changed from 2020-02-04 to 2020-04-07
due to changes in a related task
Updated by riafarov over 4 years ago
- Due date changed from 2020-04-07 to 2021-01-12
due to changes in a related task
Updated by SLindoMansilla over 4 years ago
- Due date changed from 2021-01-12 to 2019-05-29
due to changes in a related task: #52286
Updated by SLindoMansilla over 4 years ago
- Due date set to 2021-01-12
due to changes in a related task: #52286
Updated by riafarov over 4 years ago
- Target version changed from Milestone 30 to future
Updated by szarate about 4 years ago
- Tracker changed from action to coordination
Updated by szarate about 4 years ago
See for the reason of tracker change: http://mailman.suse.de/mailman/private/qa-sle/2020-October/002722.html
Updated by riafarov about 4 years ago
- Assignee set to riafarov
- Parent task deleted (
#33862)
Updated by riafarov about 4 years ago
- Project changed from openQA Tests (public) to qe-yam
- Category deleted (
New test)
Updated by oorlov almost 3 years ago
- Assignee changed from oorlov to JERiveraMoya
Updated by JERiveraMoya 11 months ago
- Status changed from New to Rejected
- Assignee deleted (
JERiveraMoya)