Project

General

Profile

Actions

action #151168

closed

coordination #109569: [epic][qe-core] Unify PHP Testing

[qe-core] test fails in php_version - skip test if PHP dependency cannot be installed

Added by szarate about 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2023-11-20
Due date:
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: February Sprint 24 (Jan 31 - Feb 28)

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

  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

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by szarate about 1 year ago

  • Parent task set to #109569
Actions #2

Updated by szarate about 1 year ago

Adding directly to #109569 maybe this is not needed afterall

Actions #3

Updated by szarate 11 months ago

  • Sprint set to QE-Core: December Sprint 23 (Dec 13 - Jan 10)
  • Tags set to qe-core-january-sprint
  • Description updated (diff)
Actions #4

Updated by rfan1 11 months ago

  • Assignee set to rfan1
Actions #5

Updated by rfan1 11 months ago

  • Assignee deleted (rfan1)
Actions #6

Updated by szarate 11 months ago

  • Sprint changed from QE-Core: December Sprint 23 (Dec 13 - Jan 10) to QE-Core: February Sprint 24 (Jan 31 - Feb 28)
Actions #7

Updated by dvenkatachala 11 months ago

  • Assignee set to dvenkatachala
Actions #8

Updated by dvenkatachala 11 months ago

  • Status changed from Workable to In Progress
Actions

Also available in: Atom PDF