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

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

Count Diff
20 (38%)
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
8 (15%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
3 (6%)
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
1 (2%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
1 (2%)
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 /tools/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
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 /software/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
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
1 (2%)
001+ Xdebug requires Zend Engine API version 320151012.
002+ The Zend Engine API version 320160303 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
1 (2%)
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 /root/php7/php-7.1.4/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 /root/php7/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php7/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
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/centos/apache24/php-7.1.4/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/centos/apache24/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/centos/apache24/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/xhprof.so' - dlopen(/usr/local/lib/php/extensions/no-debug-zts-20160303/xhprof.so, 9): image not found 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' - dlopen(/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so, 9): image not found 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/memcache.so' - dlopen(/usr/local/lib/php/extensions/no-debug-zts-20160303/memcache.so, 9): image not found in Unknown on line 0
004+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so" in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/apcu.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/apcu.so" 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/redis.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/redis.so" in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so" in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/lzf.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/lzf.so" in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/ssh2.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/ssh2.so" in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/horde_lz4.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/horde_lz4.so" in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/igbinary.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/igbinary.so" in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/mongodb.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/mongodb.so" in Unknown on line 0
010+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
011+ PHP Warning: stream_socket_accept(): accept failed: Operation timed out in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_bz2.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_bz2.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/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.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/lib/php/extensions/no-debug-non-zts-20160303/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_gd2.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/lib/php/extensions/no-debug-non-zts-20160303/php_ldap.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_ldap.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/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll' - /usr/local/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
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_exif.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_exif.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/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.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 /home/files/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/phalcon.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/phalcon.so, 9): image not found in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/redis.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/redis.so, 9): image not found in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ssdb.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ssdb.so, 9): image not found in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ffmpeg.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ffmpeg.so, 9): image not found in Unknown on line 0
002+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
001- Written 1048575 bytes
002- DONE
003+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Undefined error: 0 in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/curl.so' - /usr/lib64/20160303/curl.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/20160303/fileinfo.so' - /usr/lib64/20160303/fileinfo.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 '/usr/lib64/20160303/json.so' - /usr/lib64/20160303/json.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/20160303/phar.so' - /usr/lib64/20160303/phar.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 '/usr/lib64/20160303/zip.so' - /usr/lib64/20160303/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/xcache.so' - /usr/lib/php5/xcache.so: undefined symbol: zval_used_for_init in Unknown on line 0
002+ PHP Warning: PHP Startup: memcache: Unable to initialize module
003+ Module compiled with module API=20131226
004+ PHP compiled with module API=20160303
005+ These options need to match
006+ in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/home/david/bin/php7.1.4/lib/php/extensions/no-debug-zts-20160303/pthreads.so' - /home/david/bin/php7.1.4/lib/php/extensions/no-debug-zts-20160303/pthreads.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (2%)
001+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0
1 (2%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20160303/ioncube_loader_lin_5.6_ts.so: /usr/local/php/lib/php/extensions/no-debug-zts-20160303/ioncube_loader_lin_5.6_ts.so: cannot open shared object file: No such file or directory
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20160303/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
1 (2%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: cannot open shared object file: No such file or directory