Project

General

Profile

Actions

coordination #29122

closed

Extend autoyast tests coverage

Added by riafarov about 7 years ago. Updated 11 months ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
Start date:
2017-12-08
Due date:
% Done:

0%

Estimated time:

Description

As a product owner, I would like to have better test coverage for autoyast installations.

As part of poo#20680 we have taken a look on the autoyast profiles received from our customers. Some of functionality is already covered by existing tests, whereas we have identified main spots which are currently missing.
Here is the list of bugs:
https://bugzilla.suse.com/show_bug.cgi?id=1054116 selection choices
https://bugzilla.suse.com/show_bug.cgi?id=1039851 etc/hosts
https://bugzilla.suse.com/show_bug.cgi?id=1068285 ldap, ca_mgmt
https://bugzilla.suse.com/show_bug.cgi?id=1070604 files
https://bugzilla.suse.com/show_bug.cgi?id=991689 uefi
https://bugzilla.suse.com/show_bug.cgi?id=990116 ask feature
https://bugzilla.suse.com/show_bug.cgi?id=980730 autoinst RAID + pxe boot

And following features related to the storage:

Automatic shrinking https://trello.com/c/ZQHl3ifu/

When there is not enough space, AutoYaST used to take the bigest
partition and reduced it to make the layout fix. The approach is quite
rudimentary, but I guess we should implement something similar
(reducing all partitions but in a proportional way). I am not sure how
hard it could be, but I guess that playing with partitions weights
could work. IMHO this is, by far, the hardest feature to implement.

Check partition_id conversions (https://trello.com/c/YVEwdhpN/)

While fixing bsc#1071167[1], we found out that we would need to check
again the mapping between old partition_id numbers (used by old
libstorage) and new ones. Ancor has more information about what is
wrong.

Reused crypted devices https://trello.com/c/IYlz6zcD/

I am not sure if the old AutoYaST was able to reuse encrypted devices,
but we would need to check it and, if that's the case, implement such a
feature.

Using an Existing Mount Table (fstab) https://trello.com/c/bEPh3jdU/

The old AutoYaST was able to get a fstab file and create partitioning
layout based on it. I've never seen any real profile using it.
Actually, I haven't tried it but...

Thin provisioned LVM https://trello.com/c/6yaziACm

It was not supported by libstorage-ng when we started the new
implementation. Now it is time to re-visit such a feature.

Set partition_nr https://trello.com/c/5YImIljm/

The partition_nr is used in two different use cases: reusing partitions
(already implemented) and forcing a partition number. The latter is not
supported by parted, so libstorage-ng does not support it. We agreed to
drop this feature (it does not look useful to me after all). But I
guess we should mention it on release notes.

Implement the disklabel property https://trello.com/c/jefsE2oi/

disklabel is already supported. However, when not specified, AutoYaST
retains the old behaviour and uses 'msdos'. Making AutoYaST smart
enough to decide the best option (based on partition_id) looks like a
good idea.

Acceptance criteria

  • AC1: Introduce tests covering certain features on production for SLE 15, SLE 12, openSUSE based on the list above
  • AC2: Analyze coverage and possibly add more profiles and add them as sub-tasks

Tasks

  • Create sub task for each profile
  • Adjust profiles for SLE 15 concentrating mainly on the feature which is not covered
  • Adjust profiles for SLE 12 concentrating mainly on the feature which is not covered
  • Adjust profiles for openSUSE if feature is applicable there
  • Create test suites on production to be able to execute automated installation

Related issues 1 (0 open1 closed)

Related to qe-yam - coordination #23606: Integrate classes autoyast profile test in openQAResolvedJERiveraMoya2021-07-12

Actions
Actions #1

Updated by riafarov about 7 years ago

  • Subject changed from [sle][functional][epic] Extend autoyast tests coverage to [sle][functional][autoyast][epic] Extend autoyast tests coverage
Actions #2

Updated by riafarov about 7 years ago

Actions #3

Updated by riafarov about 7 years ago

  • Description updated (diff)
Actions #4

Updated by okurz about 7 years ago

  • Target version set to Milestone 15
Actions #5

Updated by okurz almost 7 years ago

  • Subject changed from [sle][functional][autoyast][epic] Extend autoyast tests coverage to [sle][functional][y][autoyast][epic] Extend autoyast tests coverage
  • Description updated (diff)
  • Target version changed from Milestone 15 to Milestone 17

M15 and M16 seem to be too full, especially regarding new tests so I assume we can not finish this before M17 but feel free to groom subtasks.

Actions #6

Updated by okurz over 6 years ago

  • Target version changed from Milestone 17 to Milestone 21+
Actions #7

Updated by okurz over 6 years ago

  • Target version changed from Milestone 21+ to Milestone 21+
Actions #8

Updated by okurz almost 6 years ago

  • Target version changed from Milestone 21+ to Milestone 25
Actions #9

Updated by riafarov over 5 years ago

  • Target version changed from Milestone 25 to Milestone 30+

Trying to address for SLE 15 along with tests for new features.

Actions #10

Updated by mgriessmeier almost 5 years ago

  • Target version changed from Milestone 30+ to Milestone 30

bulk moved to M30 for revisiting

Actions #11

Updated by riafarov over 4 years ago

  • Target version changed from Milestone 30 to SLE 15 SP3
Actions #12

Updated by szarate about 4 years ago

  • Tracker changed from action to coordination
Actions #14

Updated by riafarov about 4 years ago

  • Project changed from openQA Tests (public) to qe-yam
  • Category deleted (New test)
  • Target version changed from SLE 15 SP3 to future
Actions #15

Updated by riafarov about 4 years ago

  • Subject changed from [sle][functional][y][autoyast][epic] Extend autoyast tests coverage to Extend autoyast tests coverage
Actions #16

Updated by okurz about 3 years ago

This ticket was set to "Normal" priority but was not updated within the SLO period for "Normal" tickets (365 days) as described on https://progress.opensuse.org/projects/openqatests/wiki/Wiki#SLOs-service-level-objectives

first reminder: Please consider picking up this ticket within the next 365 days or just set the ticket to the next lower priority of "Low" (no SLO related time period).

Actions #17

Updated by slo-gin about 2 years ago

This ticket was set to Normal priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions #18

Updated by JERiveraMoya about 1 year ago

  • Priority changed from Normal to Low
  • Target version deleted (future)
Actions #19

Updated by JERiveraMoya about 1 year ago

  • Target version set to future
Actions #20

Updated by JERiveraMoya 11 months ago

  • Status changed from New to Rejected

Backlog clean-up.

Actions

Also available in: Atom PDF