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

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

Count Diff
91 (51%)
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
29 (16%)
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
20 (11%)
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 (2%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (1%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
2 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole.so: 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:14090086:SSL routines:ssl3_get_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 /root/php-7.3.0/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: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/swing/dev/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/swing/dev/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/swing/dev/php-7.3.0/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 /usr/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/src/php-7.3.0/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 /usr/local/src/php/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php/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 /usr/local/src/install/php/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/install/php/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/install/php/php-7.3.0/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 /usr/local/php7/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php7/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php7/php-7.3.0/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 /home/zip/php-7.3.0/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 /home/php-7.3.0/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 /data/packages/php/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ Xdebug requires Zend Engine API version 320160303.
002+ The Zend Engine API version 320180731 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.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 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.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 'geoip.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /home/usr_local_standard/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/usr_local_standard/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/usr_local_standard/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
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=20180731
004+ These options need to match
005+ in Unknown on line 0
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pcntl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pcntl.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pcntl.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pcntl.so.so: 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:14090086:SSL routines:ssl3_get_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 /usr/local/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gnupg.so' (tried: /usr/lib/php/extensions/no-debug-zts-20180731/gnupg.so (/usr/lib/php/extensions/no-debug-zts-20180731/gnupg.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20180731/gnupg.so.so (/usr/lib/php/extensions/no-debug-zts-20180731/gnupg.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 'gd2' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd2 (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd2.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd2.so: 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:14090086:SSL routines:ssl3_get_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 /php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd.so' (tried: /usr/lib64/php/modules/mysqlnd.so (/usr/lib64/php/modules/mysqlnd.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/mysqlnd.so.so (/usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/mysqlnd.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 '/usr/lib64/php/modules/mysqli.so' (tried: /usr/lib64/php/modules/mysqli.so (/usr/lib64/php/modules/mysqli.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/mysqli.so.so (/usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/mysqli.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 Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imagick.so' (tried: /usr/lib64/php/modules/imagick.so (/usr/lib64/php/modules/imagick.so: undefined symbol: spl_ce_Countable), /usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/imagick.so.so (/usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/imagick.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 '/usr/lib64/php/modules/mbstring.so' (tried: /usr/lib64/php/modules/mbstring.so (/usr/lib64/php/modules/mbstring.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/mbstring.so.so (/usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: PHP Startup: xml: Unable to initialize module
006+ Module compiled with module API=20160303
007+ PHP compiled with module API=20180731
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/dom.so' (tried: /usr/lib64/php/modules/dom.so (/usr/lib64/php/modules/dom.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/dom.so.so (/usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/dom.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/soap.so' (tried: /usr/lib64/php/modules/soap.so (/usr/lib64/php/modules/soap.so: undefined symbol: _zval_ptr_dtor), /usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/soap.so.so (/usr/lib/php/extensions/no-debug-non-zts-20180731//usr/lib64/php/modules/soap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
012+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
013+ error:14094415:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate expired in /root/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
014+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
015+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
016+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
017+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11