Project

General

Profile

Actions

action #179771

closed

[qe-core][SLE16]test fails in php_mysql & php_postgresql

Added by dzedro 2 months ago. Updated 28 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2025-04-01
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

Fatal error: Uncaught mysqli_sql_exception: Permission denied in /srv/www/htdocs/test_mysql_connector.php:7

openQA test in scenario sle-16.0-Online-x86_64-stack_tests_php@64bit fails in
php_mysql
php_postgresql

Test suite description

Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml.
PHP tests

Reproducible

Fails since (at least) Build 66.1

Expected result

Last good: 61.3 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #2

Updated by dzedro 2 months ago

  • Target version set to QE-Core: Ready
Actions #3

Updated by rfan1 2 months ago

May need to handle it in selinux mandatory permission:

type=AVC msg=audit(1743500490.974:165): avc:  denied  { connectto } for  pid=3922 comm="httpd-prefork" path="/run/mysql/mysql.sock" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0
Actions #4

Updated by Xiaojing_liu about 2 months ago

  • Assignee set to Xiaojing_liu
Actions #6

Updated by Xiaojing_liu about 2 months ago

Create a bug for php_mysql failure: https://bugzilla.suse.com/show_bug.cgi?id=1240949

Actions #7

Updated by Xiaojing_liu about 1 month ago

  • Status changed from In Progress to Feedback

The PR got merged, and the bug is in progress, php_postgresql is passed

Actions #8

Updated by Xiaojing_liu 28 days ago

  • Status changed from Feedback to Resolved

The job passed in build 85.2: https://openqa.suse.de/tests/17598314

Actions

Also available in: Atom PDF