action #151168
closedcoordination #109569: [epic][qe-core] Unify PHP Testing
[qe-core] test fails in php_version - skip test if PHP dependency cannot be installed
0%
Description
Observation¶
openQA test in scenario sle-15-SP6-Online-x86_64-extra_tests_webserver@64bit fails in
php_version
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 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¶
- Move the PHP tests to its own testsuite (stack_tests_php)
- 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
Expected result¶
Last good: (unknown) (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by szarate about 1 year ago
Adding directly to #109569 maybe this is not needed afterall
Updated by dvenkatachala 11 months ago
- Status changed from Workable to In Progress
Updated by dvenkatachala 10 months ago
- Status changed from In Progress to Resolved
PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18678 - is merged.
Latest runs on OSD:
15-SP6: https://openqa.suse.de/tests/13647383
15-SP5: https://openqa.suse.de/tests/13653292
15-SP4: https://openqa.suse.de/tests/13653442