Project

General

Profile

action #123460

Updated by JERiveraMoya about 1 year ago

#### Motivation 
 iscsi MU tests for 15 SP3 are [failing due to wrong return code](https://openqa.suse.de/tests/10349912#step/iscsi_client/68) ([bsc#1207157](https://bugzilla.suse.com/show_bug.cgi?id=1207157)) 
 We should apply the workaround suggested [here](https://bugzilla.suse.com/show_bug.cgi?id=1206132#c12) and softfail the tests until a fix is available. 

 ### Scope 
 For 15 SP3 MU on Yast job group, tests 
 * mru-iscsi_{server..client}_normal_auth_backstore_fileio 
 * mru-iscsi_{server..client}_normal_auth_backstore_hdd 
 * mru-iscsi_{server..client}_normal_auth_backstore_lvm 

 arch x86_64 

 #### Acceptance criteria 
 **AC1**: Apply simple soft-failure of skip on the point of failure until ticket is complete 
 **AC2**: Apply workaround to [iscsi_client](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/iscsi/iscsi_client.pm) 
 **AC1**: **AC2**: Softfail the iscsi tests by pointing to [bsc#1207157](https://bugzilla.suse.com/show_bug.cgi?id=1207157) 

 #### Additional information 
 The workaround is simple enough. 
 After [open-iscsi has been installed](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/iscsi/iscsi_client.pm#L108) we need to edit the file `/usr/lib/systemd/system/iscsid.service`. 
 At the end of the `[Unit]` section add 
 ``` 
 Requires=iscsid.socket 
 After=iscsid.socket 
 ``` 
 Leave the rest of the file as is. 
 After editing the service file you will need to run `systemctl daemon-reload`.

Back