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

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

Count Diff
313 (97%)
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
4 (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
2 (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: sapi_globals_id
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.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 '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
004+ PHP Warning: PHP Startup: propro: Unable to initialize module
005+ Module compiled with build ID=API20160303,TS
006+ PHP compiled with build ID=API20160303,NTS
007+ These options need to match
008+ in Unknown on line 0
009+ PHP Warning: PHP Startup: raphf: Unable to initialize module
010+ Module compiled with build ID=API20160303,TS
011+ PHP compiled with build ID=API20160303,NTS
012+ These options need to match
013+ in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/http.so: undefined symbol: core_globals_id in Unknown on line 0
015+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
016+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
017+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
018+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
019+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
020+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
2 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.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 '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.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/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
008+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ Failed loading /etc/kernix/extensions/opcache.so: /etc/kernix/extensions/opcache.so: undefined symbol: zend_known_strings
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_firebird.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_firebird.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_oci.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_oci.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_odbc.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_odbc.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_pgsql.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_pgsql.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_sqlite.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_sqlite.dll: 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 Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ Xdebug requires Zend Engine API version 220060519.
002+ The Zend Engine API version 320160303 which is installed, is newer.
001- Written 1048575 bytes
002- DONE
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+ PHP Warning: PHP Startup: imagick: Unable to initialize module
006+ Module compiled with module API=20060613
007+ PHP compiled with module API=20160303
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: eAccelerator: Unable to initialize module
011+ Module compiled with module API=20060613
012+ PHP compiled with module API=20160303
013+ These options need to match
014+ in Unknown on line 0
015+ PHP Warning: PHP Startup: memcache: Unable to initialize module
016+ Module compiled with module API=20060613
017+ PHP compiled with module API=20160303
018+ These options need to match
019+ in Unknown on line 0
020+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)