action #19510
closed
[sles][functional] Installation from ISO in external drive
Added by SLindoMansilla almost 8 years ago.
Updated over 7 years ago.
Description
Description¶
Create a test that covers the installation from ISO in external drive.
Reason: Be able to detect in the future this kind of bugs boo#1040749
What should the test do?¶
- The test should have two drives. One from which the ISO will be used to install. The other one to install the OS into it.
- The test boot from an existing HDD and copy the ISO to the other HDD.
- The installation will be triggered by adding boot parameters
install=hd:/sles12-sp3.iso
(parameter sample, the filename may change for each build).
- At the end there is a proper installed OS.
Tasks¶
1. Prepared an isolated environment in local openQA instance¶
- Clone job with test
gnome+import_ssh_keys
with extra parameters ISO_IN_USB=1 NUMDISKS=2 SSH_KEY_IMPORT=0
- Add new test module `console/copy_iso_to_external_drive``
- Load only these test modules when
ISO_IN_EXTERNAL_DRIVE
loadtest "boot/boot_to_desktop";
loadtest 'console/copy_iso_to_external_drive';
load_inst_tests();
load_reboot_tests();
2. Prepare new test for OSD.¶
- Create new test suite in local OSD
gnome_iso_from_external_drive
- BOOTFROM=d
- DESKTOP=gnome
- HDD_1=sle-12-SP1-Server-DVD-x86_64-gnome.qcow2
- ISO_IN_EXTERNAL_DRIVE=1
- NUMDISKS=2
- Description updated (diff)
- Description updated (diff)
Finished the code to copy the iso to a second hdd yesterday
- Status changed from New to In Progress
Main.pm has been adapted, still having some weird issues with rebooting the installation and also with finding the second HDD from within the installation
Issues can be seen on pinky.arch.suse.de
Tests theoretically working, fails random on TW due to non zero return value of 'parted mklabel gpt' missing question mark when assert_script_run
Issue fixed with a new version of qemu (2.9.0-381)
- Target version set to Milestone 10
- Subject changed from [sles][functional] Instalation from ISO in external drive to [sles][functional] Installation from ISO in external drive
Thanks for adding and updating the test suite, please replace IMPORT_SSH_KEYS with SSH_KEY_IMPORT, I have got this wrong in the initial commit
- Status changed from In Progress to Resolved
Tests suceeded, Test Suite has been created and added to job groups.
- Status changed from Resolved to In Progress
aaalmost there :-)
okurz wrote in #19510#note-11:
[…] When it's stable (e.g. 3 times) make sure the scenario is added to default job group https://openqa.opensuse.org/admin/job_templates/1
The same is true for OSD. So you showed that the test is running fine on production but did not ensure yet that every new build will trigger an according test in a validation job group for both o3 and osd.
Adding has been requested for O3 and was done for SLE15
- Status changed from In Progress to Resolved
- Status changed from Resolved to In Progress
Please add <START_AFTER_TEST=create_hdd_gnome> to the test suite on O3
Requested adding "START_AFTER_TEST=create_hdd_gnome" to the external_iso test suite on O3.
Parameter was already added on OSD.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF