Project

General

Profile

action #12330

openQA Project - action #9680: libvirt backend

action #10204: zKVM Tests

Upgrades on s390

Added by mgriessmeier almost 6 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Start date:
2016-12-16
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:

Description

Implement upgrade tests on s390 (zKVM + zVM)

current state

  • zKVM: #15536
  • zVM: We added a "preparation" job which installs an older version of SLES and then a new job with START_AFTER is triggered on a special WORKER_CLASS so that the upgrade job will be triggered on the same host. As long as no other job interfers we can follow this approach. Validation run of offline migration on s390x zVM from SLES 12SP2 to SLES 12SP3: https://openqa.suse.de/tests/745154

tasks

  • need to check with ihno first
  • fix shutdown on zVM
  • zkvm: Common NFS share also mounted on s390pb r/w We don't need that, using copy instead
  • okurz: check with oholecek the status of multiple modules in tests-detailsview

old state as of 2016-12


Subtasks

action #15536: zKVM: Upgrades Resolvedmgriessmeier


Related issues

Blocks openQA Tests - action #11922: [sle][functional][s390][yast][y][hard] Add AutoYaST tests for s390Resolved2016-05-112018-04-24

Blocks openQA Tests - action #9674: [sles][functional][s390x] test an existing installationResolved2015-11-252017-11-08

History

#1 Updated by okurz almost 6 years ago

  • Description updated (diff)
  • Assignee changed from mgriessmeier to okurz

#2 Updated by okurz almost 6 years ago

  • Blocked by action #12922: hard-chained jobs running on same worker one after another added

#3 Updated by okurz almost 6 years ago

  • Blocks action #11922: [sle][functional][s390][yast][y][hard] Add AutoYaST tests for s390 added

#4 Updated by okurz almost 6 years ago

  • Blocks action #9674: [sles][functional][s390x] test an existing installation added

#5 Updated by okurz almost 6 years ago

http://lord.arch/tests/2616 is a first successful run of "install previous and upgrade". The screenshots are incomplete after the last step when doing the upgrade but the video is complete: http://lord.arch/tests/2616/file/video.ogv Enjoy a full installation of SLES 12 SP1 with following upgrade to SLES 12 SP2 :-)

#7 Updated by mgriessmeier over 5 years ago

  • Description updated (diff)

#8 Updated by okurz over 5 years ago

  • Category set to New test

#9 Updated by okurz over 5 years ago

  • Blocked by action #13156: os-autoinst: Add support to easily switch VERSION during a test run added

#10 Updated by mgriessmeier over 5 years ago

  • Description updated (diff)

Update for zkvm:

opened PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2196

started to create some images and added migration jobs to Test-Development to see if it's working when PR got merged

#11 Updated by okurz over 5 years ago

  • Target version set to Milestone 5

#12 Updated by okurz over 5 years ago

  • Assignee deleted (okurz)

Not currently working on this one, blocked by #12922 which should be done first, probably also by me, but not in this year ;-)

#13 Updated by okurz over 5 years ago

mgriessmeier: I did not yet review or fully understand the scheduling part of openQA but I think we never tried this: Can you just try to schedule two consecutive jobs: One SLE12SP2 installation job and one upgrade job with START_AFTER=?

#14 Updated by mgriessmeier over 5 years ago

you mean that START_AFTER will automatically pick the same worker? - Should be worth a try, yeah

#15 Updated by okurz over 5 years ago

  • Blocked by deleted (action #12922: hard-chained jobs running on same worker one after another)

#16 Updated by okurz over 5 years ago

  • Blocked by deleted (action #13156: os-autoinst: Add support to easily switch VERSION during a test run)

#17 Updated by okurz over 5 years ago

  • Description updated (diff)
  • Assignee set to okurz

Our approach following this seems to have worked.

special worker class "s390x-zVM-Upgrade" was added to worker config

mgriessmeier moved the corresponding migration jobs already to the Migration: Server job group.

For now we only have this one offline migration scenario. Adding more should be possible considering the capacity of s390x workers but is of course limited. If necessary, work can be parallelized more by adding more special worker classes, e.g. one for SP1->SP3 upgrade, one for SP2->SP3 upgrade and such.

Ticket is now blocked by subtask #15536 only.

#18 Updated by okurz over 5 years ago

mgriessmeier: zVM SP2->SP3 works. Add explicit base version variable in main.pm to load proper needles for preparation job

#19 Updated by mgriessmeier over 5 years ago

SP1->SP3 also works without code changes
there was only one needle which was outdated and needed to be modified for the preparation job

see passed test here: https://openqa.suse.de/tests/780474

I've already moved them to the migration group

#20 Updated by okurz@suse.de over 5 years ago

cool, so are we done here? if only the subticket about zkvm could be resolved…

#21 Updated by okurz about 5 years ago

  • Target version changed from Milestone 5 to Milestone 6

#22 Updated by mgriessmeier about 5 years ago

  • Status changed from In Progress to Resolved

subticket for zkvm (https://progress.opensuse.org/issues/15536) is resolved
so everything should be done here -> closing

Also available in: Atom PDF