action #69238
closedcoordination #42854: [functional][y][epic] Introduce relevant installation validation test modules
[y] Add validation for yast_self_update and yast_no_self_update
0%
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¶
- self update is validated during the installation
Updated by riafarov about 4 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
Updated by oorlov about 4 years ago
- Status changed from Workable to In Progress
- Assignee set to oorlov
Updated by oorlov about 4 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
Updated by oorlov about 4 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
Updated by oorlov about 4 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
Updated by oorlov about 4 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:
- Set
self_update=0
in boot parameters and select "Install"; - Wait until Product Selection screen will apprear;
- 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:
- Set
self_update=http://<url to the repo from poo#69583>
in boot parameters and select "Install"; - Wait until Product Selection screen will apprear;
- Open install-shell and check that
mount | grep "/download/yast_000 on /download/yast_0000"
is true.
Updated by ybonatakis about 4 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.
Updated by riafarov about 4 years ago
- Status changed from Blocked to New
- Assignee deleted (
riafarov)
Updated by riafarov about 4 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
Updated by riafarov about 4 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.
Updated by riafarov about 4 years ago
- Description updated (diff)
- Status changed from New to Workable
- Assignee set to riafarov
Updated by riafarov about 4 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.
Updated by riafarov about 4 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.
Updated by riafarov about 4 years ago
- Status changed from Feedback to Resolved
Updated by riafarov about 4 years ago
- Status changed from Resolved to In Progress
Updated by riafarov about 4 years ago
- Status changed from In Progress to Resolved