Bug #77453 [Fbk->NoF]: PCNTL tests skipped/failed
| From: | php-bugs at lists dot php dot net | Date: | Sun, 27 Jan 2019 04:22:04 +0000 |
| Subject: | Bug #77453 [Fbk->NoF]: PCNTL tests skipped/failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-219227@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77453&edit=1
ID: 77453
Updated by: php-bugs@lists.php.net
Reported by: ursuleacv at gmail dot com
Summary: PCNTL tests skipped/failed
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: PCNTL related
Operating System: CentOS Linux release 7.6.1810
PHP Version: 7.2.14
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2019-01-14 09:11:01] nikic@php.net
Can you please provide the diff output for some/all of these tests? It's located in
tests/pcntl_exec.diff etc.
------------------------------------------------------------------------
[2019-01-13 15:57:03] ursuleacv at gmail dot com
Description:
------------
PHP Version => 7.2.14
System => Linux 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64
Build Date => Jan 8 2019 14:04:52
posix
Revision => $Id: 0a764bab332255746424a1e6cfbaaeebab998e4c $
pcntl
pcntl support => enabled
Test script:
---------------
# Install PHP 7.2.*
sudo yum -y install epel-release
sudo yum y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum-config-manager --enable remi-php72
sudo yum -y update
sudo yum -y install php php-fpm php-gd php-json php-mbstring php-mysqlnd php-xml php-xmlrpc
php-opcache
sudo yum -y install php-process
# Download php 7.2 from http://php.net/get/php-7.2.14.tar.xz/from/a/mirror
cd php-7.2.14/ext/pcntl/
sudo phpize
sudo ./configure --enable-pcntl
sudo make
sudo make test
# result
=====================================================================
TIME START 2019-01-13 02:05:47
=====================================================================
SKIP Test pcntl wait functionality [tests/001.phpt] reason: posix_kill() not available
SKIP pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait() [tests/002.phpt] reason:
posix extension not available
SKIP pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK [tests/003.phpt] reason: posix extension not
available
SKIP Asynchronous signal handling through VM interrupts [tests/async_signals.phpt] reason:
posix_kill() not available
FAIL Bug #47566 (return value of pcntl_wexitstatus()) [tests/bug47566.phpt]
FAIL Bug #72154 (pcntl_wait/pcntl_waitpid array internal structure overwrite) [tests/bug72154.phpt]
SKIP Bug #73783: (SIG_IGN needs to be set to prevent syscals from returning early)
[tests/bug73783.phpt] reason: posix extension not available
FAIL pcntl_alarm() [tests/pcntl_alarm.phpt]
FAIL pcntl_exec() [tests/pcntl_exec.phpt]
FAIL pcntl_exec() 2 [tests/pcntl_exec_2.phpt]
FAIL pcntl_exec() 3 [tests/pcntl_exec_3.phpt]
SKIP Test function pcntl_fork() by calling it with its expected arguments
[tests/pcntl_fork_basic.phpt] reason: posix extension not available
SKIP Test function pcntl_fork() by testing the process isolation in the forking hierarchy father
-> son -> grandson where father can not knows his grandson [tests/pcntl_fork_variation.phpt]
reason: posix extension not available
FAIL Test pcntl_get_last_error() [tests/pcntl_get_last_error.phpt]
SKIP pcntl_signal() [tests/pcntl_signal.phpt] reason: posix extension not available
SKIP pcnt_signal_dispatch() [tests/pcntl_signal_dispatch.phpt] reason: posix_kill() not available
SKIP pcntl_signal_get_handler() [tests/pcntl_signal_get_handler.phpt] reason: posix extension not
available
SKIP pcntl_wait() [tests/pcntl_wait.phpt] reason: posix extension not available
SKIP pcntl_wait() and rusage [tests/pcntl_wait_rusage1.phpt] reason: posix extension not available
SKIP pcntl_waitpid() and rusage [tests/pcntl_waitpid_rusage1.phpt] reason: posix extension not
available
SKIP Closures as a signal handler [tests/signal_closure_handler.phpt] reason: posix_kill() not
available
=====================================================================
TIME END 2019-01-13 02:05:49
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 14
---------------------------------------------------------------------
Number of tests : 21 7
Tests skipped : 14 ( 66.7%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 7 ( 33.3%) (100.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 2 seconds
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #47566 (return value of pcntl_wexitstatus()) [tests/bug47566.phpt]
Bug #72154 (pcntl_wait/pcntl_waitpid array internal structure overwrite) [tests/bug72154.phpt]
pcntl_alarm() [tests/pcntl_alarm.phpt]
pcntl_exec() [tests/pcntl_exec.phpt]
pcntl_exec() 2 [tests/pcntl_exec_2.phpt]
pcntl_exec() 3 [tests/pcntl_exec_3.phpt]
Test pcntl_get_last_error() [tests/pcntl_get_last_error.phpt]
=====================================================================
Expected result:
----------------
tests should pass
Actual result:
--------------
Number of tests : 21 7
Tests skipped : 14 ( 66.7%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 7 ( 33.3%) (100.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77453&edit=1