php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70540 sapi/fpm/tests/008.phpt and 016.phpt should be skipped on some platforms
Submitted: 2015-09-21 06:18 UTC Modified: -
From: rainer dot jung at kippdata dot de Assigned:
Status: Closed Package: FPM related
PHP Version: 7.0.0RC3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 21 = ?
Subscribe to this entry?

 
 [2015-09-21 06:18 UTC] rainer dot jung at kippdata dot de
Description:
------------
sapi/fpm/tests/008.phpt and sapi/fpm/tests/016.phpt require a configuration setting, that is not supported for all platforms. The tests fail on the other platforms.

Example failing platform is Solaris:

Test 008:

[21-Sep-2015 02:52:50] ALERT: [pool poold_ondemand] ondemand process manager can ONLY be used when events.mechanisme is either epoll (Linux) or kqueue (*BSD).
[21-Sep-2015 02:52:50] ERROR: failed to post process the configuration

Warning: fsockopen(): unable to connect to 127.0.0.1:9004 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255
Dynamic error

Warning: fsockopen(): unable to connect to 127.0.0.1:9005 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255
OnDemand error

Warning: fsockopen(): unable to connect to 127.0.0.1:9006 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255

Test 016:

[21-Sep-2015 02:53:00] ALERT: [pool aaaa] ondemand process manager can ONLY be used when events.mechanisme is either epoll (Linux) or kqueue (*BSD).
[21-Sep-2015 02:53:00] ERROR: failed to post process the configuration
[21-Sep-2015 02:53:00] ERROR: FPM initialization failed

Warning: fsockopen(): unable to connect to 127.0.0.1:9004 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255
Error 1

Warning: fsockopen(): unable to connect to 127.0.0.1:9005 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255
Error 1

Warning: fsockopen(): unable to connect to 127.0.0.1:9006 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255
Error 1

Warning: fsockopen(): unable to connect to 127.0.0.1:9007 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255
Error 1

Warning: fsockopen(): unable to connect to 127.0.0.1:9008 (Connection refused) in /path/to/sapi/fpm/tests/fcgi.inc on line 255
Error 1
Done

Probably these tests should be skipped on platforms other than Linux and *BSD.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-02 08:46 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d7ff107654acb5dc682773bb0b369a7e593056d8
Log: Fixed bug #70540 (sapi/fpm/tests/008.phpt and 016.phpt should be skipped on some platforms)
 [2015-11-02 08:46 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2015-11-09 18:12 UTC] ab@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=20b773438dcbb2da326c93a9af712f65bdfb73b3
Log: Fixed bug #70540 (sapi/fpm/tests/008.phpt and 016.phpt should be skipped on some platforms)
 [2016-07-20 11:35 UTC] davey@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d7ff107654acb5dc682773bb0b369a7e593056d8
Log: Fixed bug #70540 (sapi/fpm/tests/008.phpt and 016.phpt should be skipped on some platforms)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 11:01:33 2024 UTC