action #19510
Updated by SLindoMansilla almost 8 years ago
## User story As a QA Engineer, I want to cover the installation from ISO in external drive, to test this bug [boo#1040749](https://bugzilla.opensuse.org/show_bug.cgi?id=1040749) and simulate the installation from an ISO file in USB. ## Acceptance criteria * **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. * **AC2:** the test boot from an existing HDD and copy the ISO to the other HDD. * **AC3:** the installation will be triggered by adding boot parameters `install=hd:/sles12-sp3.iso` (parameter sample, the filename may change for each build). * **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` `gnome_from_external_media` * BOOTFROM=d * DESKTOP=gnome * HDD_1=sle-12-SP1-Server-DVD-x86_64-gnome.qcow2 * ISO_IN_EXTERNAL_DRIVE=1 * NUMDISKS=2