Project

General

Profile

action #26022

[sle][functional] Make sure that s390x use comatible qcow2 image created by parent job

Added by riafarov almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Infrastructure
Start date:
2017-10-12
Due date:
2017-11-08
% Done:

0%

Estimated time:
Difficulty:

Description

Problem

we have many machines for s390x, and if we publish qcow image, it uses same name, hence get overwritten by latest run which may mismatch child job run which uses this image because the creation job might only use "%ARCH%" but not "%MACHINE%" but the image is incompatible because of e.g. network settings.

For example, we create image on zkvm machine, then, before child job for zkvm was triggered, we have publish hdd created by x-kvm machine, which overwrites qcow image.
After that if we execute child job on zkvm, which uses that qcow image, we have conflict and unpredictable behavior.

Acceptance criteria

  • AC1: The use of incompatible media between zkvm and s390x-kvm is prevented

Suggestions

  • Other test suites already use "%MACHINE%" within the values of PUBLISH_HDD_1. IMHO the scenarios that don't use it yet should do the same. One should be able to use dump_templates and load_templates to easily rewrite these settings (0.5-1h)
all_ts_dump.txt.bak (771 KB) all_ts_dump.txt.bak Before riafarov, 2017-10-24 15:15
all_ts_dump.txt (772 KB) all_ts_dump.txt After riafarov, 2017-10-24 15:36

Related issues

Related to openQA Tests - action #18936: [tools][sles][functional] Enable 3 stress acceptance on s390xResolved2017-05-042017-11-08

History

#1 Updated by riafarov almost 4 years ago

  • Related to action #18936: [tools][sles][functional] Enable 3 stress acceptance on s390x added

#2 Updated by okurz almost 4 years ago

  • Subject changed from [sles][functional] Make sure that s390x use comatible qcow2 image created by parent job to [sle][functional] Make sure that s390x use comatible qcow2 image created by parent job

#3 Updated by okurz almost 4 years ago

  • Description updated (diff)

#4 Updated by okurz almost 4 years ago

  • Target version set to Milestone 11

#5 Updated by riafarov almost 4 years ago

  • Assignee set to riafarov

#6 Updated by okurz almost 4 years ago

  • Due date set to 2017-11-08

#7 Updated by riafarov almost 4 years ago

Added @%MACHINE% variable to the following parent jobs and all related child jobs:
create_hdd_minimal_base+sdk
create_hdd_minimal_base+sdk_withhome
create_hdd_sled_gnome
create_hdd_textmode

Please, find backup templates file, as well as file with replacement in the attachment.
DB dump can be found in /tmp/osd_2017-10-24-16-59.pg_dump

#8 Updated by okurz almost 4 years ago

  • Due date set to 2017-11-08

#9 Updated by riafarov almost 4 years ago

  • Status changed from In Progress to Feedback

Changes applied. Approved with fs_stress on zkvm and x-kvm. Tracking other jobs to see if any issue occurs.

#10 Updated by riafarov almost 4 years ago

  • Status changed from Feedback to Resolved

No issues were found so far. Please, feel free to reopen in case some jobs are affected.

Also available in: Atom PDF