Project

General

Profile

action #19510

Updated by SLindoMansilla almost 7 years ago

## Description User story 

 Create As a test that covers QA Engineer, I want to cover the installation from ISO in external drive. 
 Reason: Be able drive, to detect in the future test this kind of bugs bug [boo#1040749](https://bugzilla.opensuse.org/show_bug.cgi?id=1040749) and simulate the installation from an ISO file in USB. 


 ## What should the test do? Acceptance criteria 
 * The **AC1:** 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 **AC2:** the test boot from an existing HDD and copy the ISO to the other HDD. 
 * The **AC3:** the installation will be triggered by adding boot parameters `install=hd:/sles12-sp3.iso` (parameter sample, the filename may change for each build). 
 * At **AC4:** 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 

Back