Project

General

Profile

Actions

coordination #51665

closed

[functional][y][s390][epic] Create new test suite for s390 specific yast modules

Added by JRivrain almost 5 years ago. Updated 3 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
Start date:
2019-05-29
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

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

  1. A new test suite is created for yast2-s390 modules
  2. At least a smoke test for each of those modules exists

Suggestions

For each module:

  1. Learn what module is for.
  2. Understand what the underlying command-line tools are doing. Those are very specific, and may require some study.
  3. Test manually on zVM and zKVM.
  4. 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.


Subtasks 1 (0 open1 closed)

action #52286: Automate scenario for yast2 dump YaST module on s390x Rejected2019-05-29

Actions
Actions #1

Updated by JRivrain almost 5 years ago

  • Copied from action #39344: [functional][y][s390] create new test suite for yast dump module added
Actions #2

Updated by JRivrain almost 5 years ago

  • Assignee deleted (JRivrain)
Actions #3

Updated by JRivrain almost 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

Actions #4

Updated by JRivrain almost 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.

Actions #5

Updated by riafarov almost 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.

Actions #6

Updated by riafarov almost 5 years ago

  • Copied from deleted (action #39344: [functional][y][s390] create new test suite for yast dump module)
Actions #7

Updated by riafarov almost 5 years ago

  • Parent task set to #33862
Actions #8

Updated by riafarov almost 5 years ago

  • Due date changed from 2019-07-23 to 2019-07-30

due to changes in a related task

Actions #9

Updated by riafarov almost 5 years ago

  • Due date changed from 2019-07-30 to 2019-05-29

due to changes in a related task

Actions #11

Updated by riafarov over 4 years ago

  • Due date set to 2020-02-04

due to changes in a related task

Actions #12

Updated by mgriessmeier over 4 years ago

  • Target version changed from Milestone 30+ to Milestone 30

bulk moved to M30 for revisiting

Actions #13

Updated by riafarov about 4 years ago

  • Due date changed from 2020-02-04 to 2020-04-07

due to changes in a related task

Actions #14

Updated by riafarov about 4 years ago

  • Due date changed from 2020-04-07 to 2021-01-12

due to changes in a related task

Actions #15

Updated by SLindoMansilla almost 4 years ago

  • Due date changed from 2021-01-12 to 2019-05-29

due to changes in a related task: #52286

Actions #16

Updated by SLindoMansilla almost 4 years ago

  • Due date set to 2021-01-12

due to changes in a related task: #52286

Actions #17

Updated by riafarov almost 4 years ago

  • Target version changed from Milestone 30 to future
Actions #18

Updated by szarate over 3 years ago

  • Tracker changed from action to coordination
Actions #20

Updated by riafarov over 3 years ago

  • Assignee set to riafarov
  • Parent task deleted (#33862)
Actions #21

Updated by riafarov over 3 years ago

  • Project changed from openQA Tests to qe-yam
  • Category deleted (New test)
Actions #22

Updated by riafarov almost 3 years ago

  • Assignee changed from riafarov to oorlov
Actions #23

Updated by oorlov about 2 years ago

  • Assignee changed from oorlov to JERiveraMoya
Actions #24

Updated by JERiveraMoya 3 months ago

  • Status changed from New to Rejected
  • Assignee deleted (JERiveraMoya)
Actions

Also available in: Atom PDF