php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81110 Tests use unsupported ondemand process manager
Submitted: 2021-06-05 11:05 UTC Modified: -
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: rainer dot jung at kippdata dot de Assigned:
Status: Open Package: FPM related
PHP Version: 7.4.20 OS: Solaris 10 Sparc
Private report: No CVE-ID: None
 [2021-06-05 11:05 UTC] rainer dot jung at kippdata dot de
Description:
------------
Some FPM tests use the ondemand process manager hard coded in the test recipe. But ondemand only works with kqueue or epoll, but not with Solaris event ports. So the tests fail, because the pools do ot even start.

Especially bad is bug80024-socket-reduced-inherit.phpt, because when it calls reload() it can't find a pid file and kills all PIDs with SIGUSR2 resulting in the shell running make test also getting killed.

The three tests using ondemand are:

- sapi/fpm/tests/bug68423-multi-pool-all-pms.phpt
- sapi/fpm/tests/bug80024-socket-reduced-inherit.phpt
- sapi/fpm/tests/bug68391-conf-include-order.phpt

The should either use a different pm when event ports are in use or being skipped.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-05 11:08 UTC] rainer dot jung at kippdata dot de
Maybe the skip can be implemented similar to what was added in

https://bugs.php.net/bug.php?id=70540
 [2022-11-23 11:22 UTC] ayhenswcnickolas at gmail dot com
Hi ,
I also want to add that You can create a manual test case that you later decide is a good test to automate, but you still want to be able to run that test as part of a test plan.

(https://www.my-accountaccess.com/)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC