Project

General

Profile

Actions

action #81146

closed

Fix validate_zfcp to not depend on fixed WWPN

Added by JERiveraMoya over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
SUSE QA - SLE 15 SP3
Start date:
2020-12-17
Due date:
% Done:

0%

Estimated time:

Description

Observation

openQA test in scenario sle-15-SP3-Online-s390x-zfcp@s390x-zfcp fails in
validate_zfcp

Comparing https://openqa.suse.de/tests/5188617#step/disk_activation/7 with https://openqa.suse.de/tests/5162986#step/disk_activation/6 we can see that WWPN is swap, which didn't happen during development of the module and for many builds after that.
Now is different every run, some time WWPN is related with /dev/sda and sometimes with /dev/sdb. We need to remove from test data this and keep similar functionality in the test. See https://openqa.suse.de/tests/5337796# vs https://openqa.suse.de/tests/5315094#step/disk_activation/7

So we can either soften wwpn check and use regex, or do not validate exact mapping of luns to /dev/sd[ab], but still validating that we got 2 devices and both of them were mapped properly.

Test suite description

Maintainer: mgriessmeier, okurz

Installation-only test configuring an s390x ZFCP storage.

Reproducible

Fails since (at least) Build 108.1

Expected result

Last good: 102.1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF