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

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

Count Diff
12 (23%)
001+ stream_socket_enable_crypto(): SSL: Success 001- Written 1048575 bytes 002- DONE
9 (17%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer 001- Written 1048575 bytes 002- DONE
3 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/mysqli (/usr/lib/php/extensions/no-debug-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/mysqli.so (/usr/lib/php/extensions/no-debug-zts-20190902/mysqli.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 'msql.so' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/msql.so (/usr/lib/php/extensions/no-debug-zts-20190902/msql.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/msql.so.so (/usr/lib/php/extensions/no-debug-zts-20190902/msql.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 'ImageMagick' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick (/usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick.so (/usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
3 (6%)
001+ ** ERROR: process timed out ** 001- Written 1048575 bytes 002- DONE
2 (4%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused) 001- Written 1048575 bytes 002- DONE
1 (2%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: 002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed 001- Written 1048575 bytes 002- DONE
1 (2%)
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+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ Xdebug: [Step Debug] Could not connect to debugging client. Tried: 192.168.56.1:9001 (fallback through xdebug.client_host/xdebug.client_port) :-(
1 (2%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/local/src/php-7.4.6/ext/openssl/tests/CertificateGenerator.inc on line 82 002+ 001- Written 1048575 bytes 002- DONE 003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/src/php-7.4.6/ext/openssl/tests/CertificateGenerator.inc on line 100 004+ 005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /usr/local/src/php-7.4.6/ext/openssl/tests/CertificateGenerator.inc on line 104 006+ 007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /usr/local/src/php-7.4.6/ext/openssl/tests/CertificateGenerator.inc on line 107 008+ failed loading cafile stream: `/usr/local/src/php-7.4.6/ext/openssl/tests/bug74159-ca.pem.tmp' 009+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/src/php-7.4.6/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 010+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 011+ PHP Warning: stream_socket_accept(): accept failed: Undefined error: 0 in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/src/php/php-7.4.6/php-7.4.6/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php/php-7.4.6/php-7.4.6/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/src/php/php-7.4.6/php-7.4.6/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/src/php/php-7.4.6/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php-7.4.6/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.6/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.6/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.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.6/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.6/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.6/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.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.6/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.6/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.6/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.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/madao/php-7.4.6/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/madao/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/madao/php-7.4.6/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 /home/madao/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: 005+ error:14000126:SSL routines::unexpected eof while reading
1 (2%)
001+ PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1801 but version 1802 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_kdb.so' (tried: /opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.so (/opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.so: cannot open shared object file: No such file or directory), /opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.so.so (/opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.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_kdb.so' (tried: /opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.so (/opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.so: cannot open shared object file: No such file or directory), /opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.so.so (/opt/obss/server/php/lib/php/extensions/no-debug-zts-20190902/pdo_kdb.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 Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 004+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /root/gmssl/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc on line 107
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_firebird' (tried: /usr/local/lib/php-7.4.6/lib/php/20190902-debug/pdo_firebird (/usr/local/lib/php-7.4.6/lib/php/20190902-debug/pdo_firebird: cannot open shared object file: No such file or directory), /usr/local/lib/php-7.4.6/lib/php/20190902-debug/pdo_firebird.so (/usr/local/lib/php-7.4.6/lib/php/20190902-debug/pdo_firebird.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 /usr/local/src/php-7.4.6/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /opt/php/lib/php/extensions/no-debug-non-zts-20190902/openssl (/opt/php/lib/php/extensions/no-debug-non-zts-20190902/openssl: cannot open shared object file: No such file or directory), /opt/php/lib/php/extensions/no-debug-non-zts-20190902/openssl.so (/opt/php/lib/php/extensions/no-debug-non-zts-20190902/openssl.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_mysql' (tried: /opt/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql (/opt/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /opt/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.so (/opt/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.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 'yaf' (tried: /opt/php/lib/php/extensions/no-debug-non-zts-20190902/yaf (/opt/php/lib/php/extensions/no-debug-non-zts-20190902/yaf: cannot open shared object file: No such file or directory), /opt/php/lib/php/extensions/no-debug-non-zts-20190902/yaf.so (/opt/php/lib/php/extensions/no-debug-non-zts-20190902/yaf.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 004+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10012 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /opt/php/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8 005+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, bool given in /opt/php/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 006+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/mysqli (/usr/lib/php/extensions/no-debug-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/mysqli.so (/usr/lib/php/extensions/no-debug-zts-20190902/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.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 /home/m-ito/tmp/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd2' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/gd2 (/usr/lib/php/extensions/no-debug-zts-20190902/gd2: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/gd2.so (/usr/lib/php/extensions/no-debug-zts-20190902/gd2.so: cannot open shared object file: No such file or directory)) in Unknown on line 0