Project

General

Profile

action #28893

Updated by SLindoMansilla over 6 years ago

## Story 

 As an openQA test developer, I want to adapt the test suite **toolchain_zypper** to boot from a hdd with an already installed system, so I maintain retro compatibility between SLE 12-SP3, 12-SP4 and 15 with the same test suite. 


 ## Acceptance criteria 

 - **AC1:** The test suite create_hdd_textmode works for SLE 12-SP3, 12-SP4 and 15 on _aarch64_, _ppc64le_ and _x86_64_ 
 - **AC2:** The test suite **toolchain_zypper** boots from an existing installation for SLE 12-SP3, 12-SP4 and 15. 


 ## Tasks 

 1. Clone the job for **create_hdd_textmode** from **SLE 12-SP3**, which was only done for _x86_64_, for _aarch64_ and _ppc64le_. 
 2. Make adaptions needed to **create_hdd_textmode** from **SLE 12-SP3** to work on _aarch64_, _ppc64le_ and _x86_64_ for SLE 12-SP3, 12-SP4 and 15. 
 3. Make adaptions needed to **toolchain_zypper** from **SLE 12-SP3** to work on _aarch64_, _ppc64le_ and _x86_64_ for SLE 12-SP3, 12-SP4 and 15. 


 ## Further information 

 #### Settings already on OSD for test suite **toolchain_zypper** 

 ```bash 
 BOOT_HDD_IMAGE=1 
 DESKTOP=textmode 
 HDDSIZEGB=20 
 HDD_1=sle-%VERSION%-%ARCH%-%BUILD%-textmode@%MACHINE%.qcow2 
 INSTALLONLY=1 
 MAX_JOB_TIME=14400 
 QEMUCPUS=4 
 QEMURAM=4096 
 START_AFTER_TEST=create_hdd_textmode 
 TCM=1 
 ``` 

 #### Command to trigger the test suite 

 ```bash 
 script/client jobs post ARCH=x86_64 BACKEND=qemu BOOT_HDD_IMAGE=1 BUILD=0473 BUILD_HA=0214 BUILD_HA_GEO=0163 BUILD_SDK=0263 BUILD_SLE=0473 BUILD_WE=0168 DESKTOP=textmode DISTRI=sle FLAVOR=Server-DVD HDDSIZEGB=20 HDD_1=sle-12-SP3-x86_64-0473-textmode@64bit.qcow2 INSTALLONLY=1 ISO=SLE-12-SP3-Server-DVD-x86_64-Build0473-Media1.iso ISO_MAXSIZE=4700372992 MACHINE=64bit-smp MAX_JOB_TIME=14400 NAME=01058303-sle-12-SP3-Server-DVD-x86_64-Build0473-toolchain_zypper@64bit-smp QA_HEAD_REPO=http://dist.nue.suse.com/ibs/QA:/Head/SLE-12-SP3 QA_WEB_REPO=http://dist.suse.de/install/SLP/SLE-12-Module-Web-Scripting-LATEST/x86_64/CD1/ QEMUCPU=qemu64 QEMUCPUS=4 QEMURAM=4096 REPO_0=SLE-12-SP3-Server-DVD-x86_64-Build0473-Media1 SCC_REGCODE=XXX SCC_URL=http://Server-0473.proxy.scc.suse.de SHUTDOWN_NEEDS_AUTH=1 SLENKINS_TESTSUITES_REPO=http://download.suse.de/ibs/Devel:/SLEnkins:/testsuites/SLE_12_SP3/ START_AFTER_TEST=create_hdd_textmode TCM=1 TEST=sergio_toolchain_zypper VERSION=12-SP3 WORKER_CLASS=remote_worker-x86_64 
 ```

Back