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

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

Count Diff
2 (22%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
1 (11%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php7/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
1 (11%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) '/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/zlib.so' 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 Warning: stream_socket_accept(): accept failed: Connection timed out in /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.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/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php/modules/curl (/usr/lib/php/modules/curl: cannot open shared object file: No such file or directory), /usr/lib/php/modules/curl.so (/usr/lib/php/modules/curl.so: undefined symbol: zend_hash_index_update)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: /usr/lib/php/modules/zip (/usr/lib/php/modules/zip: cannot open shared object file: No such file or directory), /usr/lib/php/modules/zip.so (/usr/lib/php/modules/zip.so: undefined symbol: zend_std_has_property)) in Unknown on line 0
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/usr/local/gmssl/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so)), /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so (/opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.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: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 /usr/local/src/php-7.2.32/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.2.32/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.2.32/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so: undefined symbol: zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.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 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.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 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.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 'pdo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
006+ Module compiled with module API=20190902
007+ PHP compiled with module API=20170718
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
011+ Module compiled with module API=20190902
012+ PHP compiled with module API=20170718
013+ These options need to match
014+ in Unknown on line 0
015+ Written 1048575 bytes
016+ DONE
1 (11%)
001+ stream_socket_enable_crypto(): SSL: Handshake timed out
001- Written 1048575 bytes
002- DONE