Project

General

Profile

Actions

action #19510

closed

[sles][functional] Installation from ISO in external drive

Added by SLindoMansilla almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Start date:
2017-06-01
Due date:
% Done:

0%

Estimated time:
Difficulty:

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
Actions

Also available in: Atom PDF