Project

General

Profile

Actions

action #69238

closed

coordination #42854: [functional][y][epic] Introduce relevant installation validation test modules

[y] Add validation for yast_self_update and yast_no_self_update

Added by riafarov over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
SUSE QA - SLE 15 SP3
Start date:
2020-08-04
Due date:
2020-09-08
% Done:

0%

Estimated time:
8.00 h

Description

riafarov_: when YaST applies the self-update it downloads the content into /download/yast_* files and mounts them to /mounts/yast_* e.g. /download/yast_000 file is mounted to /download/yast_0000 (note the different number of zeroes... :-o )
riafarov_: you can check that with simple: mount | grep "/download/yast_000 on /download/yast_0000"

See #69583 for details how to generate repo, as we need either to add binaries for other architectures to the repo we have published, or create additional 3 stub repos.

Acceptance criteria

  1. self update is validated during the installation
Actions #1

Updated by riafarov over 3 years ago

  • Subject changed from [y] Add validatoion for yast_self_update and yast_no_self_update to [y] Add validation for yast_self_update and yast_no_self_update
  • Description updated (diff)
  • Status changed from New to Workable
  • Estimated time set to 8.00 h
Actions #2

Updated by oorlov over 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to oorlov
Actions #3

Updated by oorlov over 3 years ago

  • Subject changed from [y] Add validation for yast_self_update and yast_no_self_update to [y][epic] Add validation for yast_self_update and yast_no_self_update
  • Status changed from In Progress to Workable
Actions #4

Updated by oorlov over 3 years ago

  • Subject changed from [y][epic] Add validation for yast_self_update and yast_no_self_update to [y] Add validation for yast_self_update and yast_no_self_update
Actions #5

Updated by oorlov over 3 years ago

  • Due date changed from 2020-08-11 to 2020-08-25
  • Start date changed from 2020-07-22 to 2020-08-04

due to changes in a related task: #69583

Actions #6

Updated by oorlov over 3 years ago

  • Status changed from Workable to Blocked

We can continue working on the ticket as soon as the repo will be added in the scope of https://progress.opensuse.org/issues/69583.

Simple steps for the automated test (For sure, they may be updated as soon as we'll have repo and will know more details):

Verify that installer does not download any updates if self_update is disabled:

  1. Set self_update=0 in boot parameters and select "Install";
  2. Wait until Product Selection screen will apprear;
  3. Open install-shell and check that mount | grep "/download/yast_000 on /download/yast_0000" is false.

Verify that installer downloads updates if self_update is enabled:

  1. Set self_update=http://<url to the repo from poo#69583> in boot parameters and select "Install";
  2. Wait until Product Selection screen will apprear;
  3. Open install-shell and check that mount | grep "/download/yast_000 on /download/yast_0000" is true.
Actions #7

Updated by oorlov over 3 years ago

  • Assignee changed from oorlov to riafarov
Actions #8

Updated by ybonatakis over 3 years ago

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10864 sets up the repository's url in the test and modified the welcome.pm to handle the gpg warnings
https://gitlab.suse.de/openqa/os-autoinst-needles-sles/-/merge_requests/1418.

We need to wait for https://bugzilla.suse.com/show_bug.cgi?id=1175614 which it will provide a file with the packages' version used from the update repo and which then we can use to compare with /.packages.root. Another way to do the validation is to check the logs but it will be more tricky.

Actions #9

Updated by riafarov over 3 years ago

  • Status changed from Blocked to New
  • Assignee deleted (riafarov)
Actions #10

Updated by riafarov over 3 years ago

  • Due date changed from 2020-08-25 to 2020-09-08
  • Category deleted (Enhancement to existing tests)
  • Priority changed from Normal to Low
  • % Done changed from 100 to 0
Actions #11

Updated by riafarov over 3 years ago

We have now repo for 64 bit: ftp://openqa.suse.de/SLE-15-x86_64-self_update/
vim is not noarch package, so we need another 3 repos.

Actions #12

Updated by riafarov over 3 years ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Assignee set to riafarov
Actions #13

Updated by riafarov over 3 years ago

  • Category set to Enhancement to existing tests

So with ftp://openqa.suse.de/SLE-15-SP2-Product-SLES-POOL-x86_64-Build209.2-Media1 we can validate that updates we downloaded and it doesn't have issues with self-signed certificate, so we can use it. REPO_SLE_PRODUCT_SLES contains the value with repo url.

Actions #14

Updated by riafarov over 3 years ago

  • Status changed from Workable to Feedback

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10908

Somehow my comments got lost. So PR is merged, I will retrigger tests to have new settings.

Actions #16

Updated by riafarov over 3 years ago

  • Status changed from Resolved to In Progress
Actions #17

Updated by riafarov over 3 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF