Project

General

Profile

action #151168

Updated by szarate 4 months ago

## Observation 

 openQA test in scenario sle-15-SP6-Online-x86_64-extra_tests_webserver@64bit fails in 
 [php_version](https://openqa.suse.de/tests/12837905/modules/php_version/steps/22) 

 While creating https://bugzilla.suse.com/show_bug.cgi?id=1217334 I noticed that we could have a similar approach to how packagehub tests are dependant on whether there is or not package hub. 

 All in all, what we need to do is check if the return code of [apachetest.pm#L69](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/300d653c6b909d6b1c38a8498cfa6b5d466a8fd5/lib/apachetest.pm#L69) is not 104 (`ZYPPER_EXIT_INF_CAP_NOT_FOUND`) otherwise, die listing the name of packages. 

 ## Test suite description 
 Maintainer: QE-Core 

  Now job dependency has changed to `START_AFTER_TEST=create_hdd_textmode_autoyast`, see poo#128339 

 ### AC 

 1. Move the PHP tests to its own testsuite (stack_tests_php) 
 2. If PHP is not available, none of the upcoming test modules executed 

 ### Suggestions 

 - Use the fatal flag in the test module, so if it fails, the testsuite's execution is cancelled. 


 ## Reproducible 

 Fails since (at least) Build [26.14](https://openqa.suse.de/tests/12505841) 


 ## Expected result 

 Last good: (unknown) (or more recent) 


 ## Further details 

 Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=extra_tests_webserver&version=15-SP6) 

Back