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

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 20 different diffs reported by users for this test.

Count Diff
54 (44%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
30 (24%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
13 (11%)
001+ ** ERROR: process timed out **
001- Written 1048575 bytes
002- DONE
9 (7%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php-7.4.1/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
2 (2%)
001+ Failed loading /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/ZendGuardLoader.so: /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/ZendGuardLoader.so: undefined symbol: _zval_ptr_dtor
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so (/alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so: undefined symbol: zval_used_for_init), /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so.so (/alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: undefined symbol: _zval_ptr_dtor
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20160303/apcu.so (/usr/local/lib/php/extensions/no-debug-non-zts-20160303/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions//usr/local/lib/php/extensions/no-debug-non-zts-20160303/apcu.so.so (/usr/local/lib/php/extensions//usr/local/lib/php/extensions/no-debug-non-zts-20160303/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated 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 /usr2/build/staging/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'xdebug' (tried: /server/php/lib/php/extensions/no-debug-non-zts-20190902/xdebug (/server/php/lib/php/extensions/no-debug-non-zts-20190902/xdebug: cannot open shared object file: No such file or directory), /server/php/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so (/server/php/lib/php/extensions/no-debug-non-zts-20190902/xdebug.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 'imagick' (tried: /server/php/lib/php/extensions/no-debug-non-zts-20190902/imagick (/server/php/lib/php/extensions/no-debug-non-zts-20190902/imagick: cannot open shared object file: No such file or directory), /server/php/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/server/php/lib/php/extensions/no-debug-non-zts-20190902/imagick.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 /package/lnmp/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/apcu (/usr/local/lib/php/extensions/no-debug-zts-20190902/apcu: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/apcu.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 'amqp' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/amqp (/usr/local/lib/php/extensions/no-debug-zts-20190902/amqp: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/amqp.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/amqp.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 'mongodb' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/mongodb (/usr/local/lib/php/extensions/no-debug-zts-20190902/mongodb: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/mongodb.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/mongodb.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 'pthreads' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pthreads (/usr/local/lib/php/extensions/no-debug-zts-20190902/pthreads: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pthreads.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pthreads.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 'redis' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/redis (/usr/local/lib/php/extensions/no-debug-zts-20190902/redis: cannot open shared object file: No such file or directory), /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)) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'trader' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/trader (/usr/local/lib/php/extensions/no-debug-zts-20190902/trader: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/trader.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/trader.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'event' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/event (/usr/local/lib/php/extensions/no-debug-zts-20190902/event: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/event.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/event.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
008+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
009+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/devel/Downloads/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/memcached.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/memcached.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/memcached.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 'pdo.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo.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 'pdo_mysql.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql: cannot open shared object file: No such file or directory), /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.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 'gnupg.so' (tried: /opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so: cannot open shared object file: No such file or directory), /opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: Module 'sodium' already loaded in Unknown on line 0
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'sodium' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/sodium (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/sodium: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/sodium.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/sodium.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/build/php/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (1%)
001+ PHP Warning: PHP Startup: rrd: Unable to initialize module
002+ Module compiled with module API=20170718
003+ PHP compiled with module API=20190902
004+ These options need to match
005+ in Unknown on line 0
1 (1%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/package/php-7.4.1/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Stack trace:
001- Written 1048575 bytes
002- DONE
003+ PHP 1. {main}() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:0
004+ PHP 2. ServerClientTestCase->runWorker() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:163
005+ PHP 3. eval() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:119
006+ PHP 4. stream_socket_accept(resource(5) of type (stream), 1) /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
008+ PHP Stack trace:
009+ PHP 1. {main}() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:0
010+ PHP 2. ServerClientTestCase->runWorker() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:163
011+ PHP 3. eval() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:119
012+ PHP 4. stream_socket_accept(resource(5) of type (stream), 1) /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
013+ PHP Warning: stream_socket_accept(): accept failed: Success in /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
014+ PHP Stack trace:
015+ PHP 1. {main}() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:0
016+ stream_socket_enable_crypto(): SSL: Connection reset by peer
017+ PHP 2. ServerClientTestCase->runWorker() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:163
018+ PHP 3. eval() /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc:119
019+ PHP 4. stream_socket_accept(resource(5) of type (stream), 1) /package/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
1 (1%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.1/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.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Success
1 (1%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10012 (Address already in use) in /usr/local/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, bool given in /usr/local/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+
004+ ** ERROR: process timed out **
1 (1%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /opt/apache/etc/ssl/openssl.cnf in /opt/php-7.4.1/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 /opt/php-7.4.1/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /opt/php-7.4.1/ext/openssl/tests/CertificateGenerator.inc on line 104
006+ fwrite(): send of 8192 bytes failed with errno=32 Broken pipe
1 (1%)
001+ Zend OPcache requires Zend Engine API version 320180731.
002+ The Zend Engine API version 320190902 which is installed, is newer.
001- Written 1048575 bytes
002- DONE
003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
004+
005+ PHP Warning: PHP Startup: apcu: Unable to initialize module
006+ Module compiled with module API=20180731
007+ PHP compiled with module API=20190902
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: imagick: Unable to initialize module
011+ Module compiled with module API=20180731
012+ PHP compiled with module API=20190902
013+ These options need to match
014+ in Unknown on line 0
015+ Written 1048575 bytes
016+ DONE
1 (1%)
001+ Zend OPcache requires Zend Engine API version 320180731.
002+ The Zend Engine API version 320190902 which is installed, is newer.
001- Written 1048575 bytes
002- DONE
003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
004+
005+ PHP Warning: PHP Startup: memcached: Unable to initialize module
006+ Module compiled with module API=20180731
007+ PHP compiled with module API=20190902
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: svn: Unable to initialize module
011+ Module compiled with module API=20180731
012+ PHP compiled with module API=20190902
013+ These options need to match
014+ in Unknown on line 0
015+ Written 1048575 bytes
016+ DONE
1 (1%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE