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

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

Count Diff
54 (54%)
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
12 (12%)
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
6 (6%)
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
4 (4%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
2 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_imap.dll' (tried: ./php_imap.dll (./php_imap.dll: cannot open shared object file: No such file or directory), ./php_imap.dll.so (./php_imap.dll.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
2 (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
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 /home/cworrell/sources/php/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/cworrell/sources/php/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/cworrell/sources/php/php-7.2.11/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-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
002+ Xdebug requires Zend Engine API version 220131226.
001- Written 1048575 bytes
002- DONE
003+ The Zend Engine API version 320170718 which is installed, is newer.
004+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
005+
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so: undefined symbol: zend_unblock_interruptions), /usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ PHP Warning: PHP Startup: memcache: Unable to initialize module
008+ Module compiled with module API=20131226
009+ PHP compiled with module API=20170718
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so: undefined symbol: zval_used_for_init), /usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
013+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
014+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
015+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/tose-minakata-s/php-7.2.11/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_restore
002+ 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/lib/php/ext/opcache.so (/usr/lib/php/ext/opcache.so: undefined symbol: zend_opcode_handlers), /usr/lib/php/ext/opcache.so.so (/usr/lib/php/ext/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: memcache: Unable to initialize module
001- Written 1048575 bytes
002- DONE
003+ Module compiled with module API=20131226
004+ PHP compiled with module API=20170718
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'ssh2.so' (tried: /usr/lib/php/ext/ssh2.so (/usr/lib/php/ext/ssh2.so: undefined symbol: zval_used_for_init), /usr/lib/php/ext/ssh2.so.so (/usr/lib/php/ext/ssh2.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 'imagick.so' (tried: /usr/lib/php/ext/imagick.so (/usr/lib/php/ext/imagick.so: undefined symbol: spl_ce_Countable), /usr/lib/php/ext/imagick.so.so (/usr/lib/php/ext/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
009+ PHP Warning: PHP Startup: dbus: Unable to initialize module
010+ Module compiled with module API=20131226
011+ PHP compiled with module API=20170718
012+ These options need to match
013+ in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library 'phurple.so' (tried: /usr/lib/php/ext/phurple.so (/usr/lib/php/ext/phurple.so: undefined symbol: zval_used_for_init), /usr/lib/php/ext/phurple.so.so (/usr/lib/php/ext/phurple.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
015+ PHP Warning: PHP Startup: htscanner: Unable to initialize module
016+ Module compiled with module API=20131226
017+ PHP compiled with module API=20170718
018+ These options need to match
019+ in Unknown on line 0
020+ PHP Warning: PHP Startup: gnupg: Unable to initialize module
021+ Module compiled with module API=20131226
022+ PHP compiled with module API=20170718
023+ These options need to match
024+ in Unknown on line 0
025+ Written 1048575 bytes
026+ DONE
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20131226/opcache.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers), /usr/local/lib/php/extensions/no-debug-zts-20131226/opcache.so.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/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 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20131226/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/apcu.so: undefined symbol: zval_used_for_init), /usr/local/lib/php/extensions/no-debug-zts-20131226/apcu.so.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/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 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-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 'imagick.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.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.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'bcmath.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.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_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
005+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/local/etc/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/etc/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
008+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/etc/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'amqp' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/amqp (/usr/local/lib/php/extensions/no-debug-zts-20170718/amqp: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/amqp.so (libssl.so.1.0.0: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
001- Written 1048575 bytes
002- DONE
003+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
004+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /home/devel/Downloads/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/devel/Downloads/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/devel/Downloads/php-7.2.11/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' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu: cannot open shared object file: No such file or directory), /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)) 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-20170718/amqp (/usr/local/lib/php/extensions/no-debug-zts-20170718/amqp: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/amqp.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/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-20170718/mongodb (/usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/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-20170718/pthreads (/usr/local/lib/php/extensions/no-debug-zts-20170718/pthreads: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/pthreads.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/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-20170718/redis (/usr/local/lib/php/extensions/no-debug-zts-20170718/redis: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/redis.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/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-20170718/trader (/usr/local/lib/php/extensions/no-debug-zts-20170718/trader: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/trader.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/trader.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 /home/devel/Downloads/php-7.2.11/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.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd2' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/gd2 (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/gd2: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/gd2.so (/usr/local/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
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mysqli (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mysqli.so (/usr/local/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
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_mysql (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_mysql.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 'igbinary.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/igbinary.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/igbinary.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/igbinary.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/igbinary.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 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.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 'mbstring.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
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 /root/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
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 /root/sof/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/sof/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/sof/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
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 /server/download/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /server/download/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /server/download/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11