action #48401
closedcoordination #40475: [functional][y][saga] Establish YaST team split
coordination #42494: [epic][functional][y] Split/adapt scenarios to move installer related part to YaST specific job group
[functional][y] Implement test module to validate iscsi_ibft installation
0%
Description
Motivation¶
See parent ticket
https://openqa.suse.de/tests/latest?distri=sle&version=12-SP5&arch=x86_64&machine=64bit&test=iscsi_ibft&flavor=Server-DVD
https://openqa.suse.de/tests/latest?version=15-SP1&distri=sle&arch=x86_64&machine=64bit&test=iscsi_ibft&flavor=Installer-DVD
Test suite verifies installation on iscsi using ibft firmware.
These is the only difference to the default installation. So we need to validate partitioning and that there are no mount errors, which are already indirectly tested by the fact that system boots.
Acceptance criteria¶
- Only relevant checks are done for iscsi ibft installation
- Test suite is moved to the YaST job group
Suggestion¶
Play with ibft on qemu.
Download firmware from rom-o-matic.net or osd (https://gitlab.suse.de/openqa/salt-states-openqa/blob/master/openqa/ipxe.lkrn)
Use salt recipes to configures iSCSI (https://gitlab.suse.de/openqa/salt-states-openqa/tree/master/openqa https://gitlab.suse.de/openqa/salt-states-openqa/blob/master/openqa/iscsi.sls + https://gitlab.suse.de/openqa/salt-states-openqa/blob/master/openqa/iscsi-target-setup.sh)
To start qemu:
usr/bin/qemu-system-x86_64 -vga cirrus -only-migratable -chardev ringbuf,id=serial0,logfile=serial0,logappend=on -serial chardev:serial0 -soundhw ac97 -global isa-fdc.driveA= -m 1024 -cpu qemu64 -netdev user,id=qanet0 -device virtio-net,netdev=qanet0,mac=52:54:00:12:34:56 -kernel /usr/share/qemu/ipxe.lkrn -append dhcp && sanhook iscsi:10.160.0.243::3260:1:iqn.2016-02.openqa.de:for.openqa -boot once=d,menu=on,splash-time=5000 -device usb-ehci -device usb-tablet -smp 1 -enable-kvm -no-shutdown -vnc :91,share=force-shared -device virtio-serial -chardev socket,path=virtio_console,server,nowait,id=virtio_console,logfile=virtio_console.log,logappend=on -device virtconsole,chardev=virtio_console,name=org.openqa.console.virtio_console -chardev socket,path=qmp_socket,server,nowait,id=qmp_socket,logfile=qmp_socket.log,logappend=on -qmp chardev:qmp_socket -S -device virtio-scsi-pci,id=scsi0 -blockdev driver=file,node-name=hd0-file,filename=/var/lib/openqa/pool/1/raid/hd0,cache.no-flush=on -blockdev driver=qcow2,node-name=hd0,file=hd0-file,cache.no-flush=on -device virtio-blk,id=hd0-device,drive=hd0,serial=hd0 -blockdev driver=file,node-name=cd0-overlay0-file,filename=/var/lib/openqa/pool/1/raid/cd0-overlay0,cache.no-flush=on -blockdev driver=qcow2,node-name=cd0-overlay0,file=cd0-overlay0-file,cache.no-flush=on -device scsi-cd,id=cd0-device,drive=cd0-overlay0,serial=cd0
Where main difference is -kernel /usr/share/qemu/ipxe.lkrn -append dhcp && sanhook iscsi:10.160.0.243::3260:1:iqn.2016-02.openqa.de:for.openqa where we specify ipxe kernel and iscsi target, adjust as per your config.
Updated by riafarov almost 6 years ago
- Subject changed from [functional][y] Imlement test module to validate iscsi_ibft installation to [functional][y] Implement test module to validate iscsi_ibft installation
- Description updated (diff)
- Status changed from New to Workable
Updated by riafarov almost 6 years ago
- Precedes action #32143: [sle][functiona][y] create ay test which uses iSCSI added
Updated by JRivrain almost 6 years ago
ipxe.lkrn is in the package "ipxe-bootimgs" in opensuse repos, too.
Updated by mloviska almost 6 years ago
- Status changed from Workable to In Progress
- Assignee set to mloviska
Updated by mloviska almost 6 years ago
Updated by riafarov almost 6 years ago
- Due date changed from 2019-03-12 to 2019-03-26
Updated by mloviska almost 6 years ago
Updated by mloviska almost 6 years ago
- Status changed from In Progress to Feedback
Updated by JERiveraMoya almost 6 years ago
- Due date changed from 2019-03-26 to 2019-04-09
Waiting for O3/OSD verification run.
Updated by riafarov almost 6 years ago
Broke on SLE12: https://openqa.suse.de/tests/2745207/file/autoinst-log.txt
NICMAC is not set somehow, so we cannot rely on the variable being always available...
Updated by JRivrain almost 6 years ago
riafarov wrote:
Broke on SLE12: https://openqa.suse.de/tests/2745207/file/autoinst-log.txt
NICMAC is not set somehow, so we cannot rely on the variable being always available...
Same problem on sle 15 build 199.1, however it was ok in previous runs: https://openqa.suse.de/tests/2742523#next_previous
Updated by mloviska almost 6 years ago
http://eris.suse.cz/tests/12927#, seems to work when trying to fetch NICMAC from run subroutine.
Updated by mloviska almost 6 years ago
- Status changed from Feedback to Resolved