Bug #77453 [NEW]: PCNTL tests skipped/failed

From: Date: Sun, 13 Jan 2019 15:57:03 +0000
Subject: Bug #77453 [NEW]: PCNTL tests skipped/failed
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218921@lists.php.net to get a copy of this message
From: ursuleacv at gmail dot com Operating system: CentOS Linux release 7.6.1810 PHP version: 7.2.14 Package: PCNTL related Bug Type: Bug Bug description:PCNTL tests skipped/failed 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 bug report at https://bugs.php.net/bug.php?id=77453&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77453&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77453&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77453&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77453&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77453&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77453&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77453&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77453&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77453&r=support Expected behavior: https://bugs.php.net/fix.php?id=77453&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77453&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77453&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77453&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77453&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77453&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77453&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77453&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77453&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77453&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77453&r=mysqlcfg

« previous php.bugs (#218921) next »