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

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

Count Diff
64 (63%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
001- Written 1048575 bytes
002- DONE
7 (7%)
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
5 (5%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
4 (4%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
001- Written 1048575 bytes
002- DONE
3 (3%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_mysqli.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_mysqli.so (dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_mysqli.so, 9): image not found), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_mysqli.so.so (dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_mysqli.so.so, 9): image not found)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so (dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so, 9): image not found), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so.so (dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so.so, 9): image not found)) in Unknown on line 0
2 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20151012/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot
002+ PHP Warning: PHP Startup: memcached: Unable to initialize module
001- Written 1048575 bytes
002- DONE
003+ Module compiled with module API=20151012
004+ PHP compiled with module API=20170718
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: PDFlib: Unable to initialize module
008+ Module compiled with module API=20151012
009+ PHP compiled with module API=20170718
010+ These options need to match
011+ in Unknown on line 0
012+ Written 1048575 bytes
013+ DONE
1 (1%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
1 (1%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/php7/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/src/php-7.2.10/ext/openssl/tests/bug54992.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/src/php-7.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/src/php-7.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/src/php-7.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (1%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.2.10/ext/openssl/tests/bug54992.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : 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.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Success
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: /data/software/webserver/php7/lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so (/data/software/webserver/php7/lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so: undefined symbol: _tsrm_ls_cache), /data/software/webserver/php7/lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so.so (/data/software/webserver/php7/lib/php/extensions/no-debug-zts-20170718/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 'imap.so' (tried: /opt/php72/lib/php/extensions/debug-zts-20170718/imap.so (/opt/php72/lib/php/extensions/debug-zts-20170718/imap.so: cannot open shared object file: No such file or directory), /opt/php72/lib/php/extensions/debug-zts-20170718/imap.so.so (/opt/php72/lib/php/extensions/debug-zts-20170718/imap.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 'bz2' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/bz2 (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/bz2: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/bz2.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/bz2.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 'curl' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/curl (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/curl: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/curl.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/curl.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 'gd2' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gd2 (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gd2: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gd2.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gd2.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 'mbstring' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mbstring (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mbstring: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mbstring.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 'mysqli' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mysqli (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mysqli: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mysqli.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mysqli.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 'openssl' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/openssl (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/openssl: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
008+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /opt/temp/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated 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 Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/apcu.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/apcu.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/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 'memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/memcached.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 'gearman.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/gearman.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/gearman.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/gearman.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/gearman.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 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/20170718/opcache.so (/usr/lib64/20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/opcache.so.so (/usr/lib64/20170718/opcache.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 'mbstring.so' (tried: /usr/lib64/20170718/mbstring.so (/usr/lib64/20170718/mbstring.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/mbstring.so.so (/usr/lib64/20170718/mbstring.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 'memcached.so' (tried: /usr/lib64/20170718/memcached.so (/usr/lib64/20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/memcached.so.so (/usr/lib64/20170718/memcached.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 'curl.so' (tried: /usr/lib64/20170718/curl.so (/usr/lib64/20170718/curl.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/curl.so.so (/usr/lib64/20170718/curl.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 'json.so' (tried: /usr/lib64/20170718/json.so (/usr/lib64/20170718/json.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/json.so.so (/usr/lib64/20170718/json.so.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 'apcu.so' (tried: /usr/lib64/20170718/apcu.so (/usr/lib64/20170718/apcu.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/apcu.so.so (/usr/lib64/20170718/apcu.so.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 'maxminddb.so' (tried: /usr/lib64/20170718/maxminddb.so (/usr/lib64/20170718/maxminddb.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/maxminddb.so.so (/usr/lib64/20170718/maxminddb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib64/20170718/redis.so (/usr/lib64/20170718/redis.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/redis.so.so (/usr/lib64/20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library 'igbinary.so' (tried: /usr/lib64/20170718/igbinary.so (/usr/lib64/20170718/igbinary.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/igbinary.so.so (/usr/lib64/20170718/igbinary.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /opt/php-7.1/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/opt/php-7.1/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /opt/php-7.1/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/opt/php-7.1/lib/php/extensions/no-debug-non-zts-20170718/opcache.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-zts-20160303/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: undefined symbol: zend_interned_strings_snapshot
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'phalcon.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/phalcon.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/phalcon.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/phalcon.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/phalcon.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 Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.2.10/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot