Test: /ext/openssl/tests/bug74159.phpt - Version 7.4.0        

Bug #74159 writing a large buffer to non-blocking encrypted streams fails
Submitted: 2017-02-24 00:37:30 Modified: 2017-03-14 18:26:42
From: daverandom Assigned: bukka
Status: Duplicate Package: OpenSSL related
PHP Version: Irrelevant OS: any

There are 15 different diffs reported by users for this test.

Count Diff
3 (16%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
3 (16%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
1 (5%)
001+ ** ERROR: process timed out **
001- Written 1048575 bytes
002- DONE
1 (5%)
001+ Failed loading /home/sys/phpfarm/inst/php74/lib/php/extensions/ioncube_loader_lin_7.4.so: /home/sys/phpfarm/inst/php74/lib/php/extensions/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/opcache.so (Cannot open "/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/opcache.so"), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so (Cannot open "/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so")) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/apcu.so (Cannot open "/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/apcu.so"), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/apcu.so.so (Cannot open "/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/apcu.so.so")) in Unknown on line 0
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'ast.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/ast.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/ast.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/ast.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/ast.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zmq.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zmq.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zmq.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zmq.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: Module 'bcmath' already loaded in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'igbinary.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'gmagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/gmagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/gmagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/gmagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/gmagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'msgpack.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/msgpack.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/msgpack.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/msgpack.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/msgpack.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: Module 'bcmath' already loaded in Unknown on line 0
007+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/webserver/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli (/usr/local/webserver/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/webserver/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so (/usr/local/webserver/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
003+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /root/php-7.4.0/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'parallel.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/parallel.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/parallel.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/parallel.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/parallel.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
004+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/tronglote/programs/php-src-php-7.4.0/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/rrd.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/rrd.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/rrd.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/rrd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: ncurses: Unable to initialize module
002+ Module compiled with module API=20180731
001- Written 1048575 bytes
002- DONE
003+ PHP compiled with module API=20190902
004+ These options need to match
005+ in Unknown on line 0
006+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.0/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.4.0/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.4.0/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
008+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.4.0/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
009+ stream_socket_enable_crypto(): SSL: Success
1 (5%)
001+ PHP Warning: PHP Startup: ssh2: Unable to initialize module
002+ Module compiled with module API=20180731
001- Written 1048575 bytes
002- DONE
003+ PHP compiled with module API=20190902
004+ These options need to match
005+ in Unknown on line 0
006+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
007+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/src/php/php-7.4.0/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (5%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /usr/local/etc/ssl/openssl.cnf in /root/php-7.4.0/ext/openssl/tests/CertificateGenerator.inc on line 97
002+
001- Written 1048575 bytes
002- DONE
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /root/php-7.4.0/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /root/php-7.4.0/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ ** ERROR: process timed out **
1 (5%)
001+ Xdebug requires Zend Engine API version 320180731.
002+ The Zend Engine API version 320190902 which is installed, is newer.
003+ Contact Derick Rethans at https://xdebug.org/docs/faq#api for a later version of Xdebug.
004+