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

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

Count Diff
1590 (99%)
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
11 (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
3 (0%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
1 (0%)
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/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /data/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /data/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.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 'event.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so.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 'uuid.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /usr/lib64/20180731-zts/pthreads.so (/usr/lib64/20180731-zts/pthreads.so: cannot open shared object file: No such file or directory), /usr/lib64/20180731-zts/pthreads.so.so (/usr/lib64/20180731-zts/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php/etc/extension/openssl (/usr/local/php/etc/extension/openssl: cannot open shared object file: No such file or directory), /usr/local/php/etc/extension/openssl.so (/usr/local/php/etc/extension/openssl.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
003+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: undefined symbol: spl_ce_Countable), /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (libIlmImf.so.6: cannot open shared object file: No such file or directory), /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.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 'mongodb.so' (tried: /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so (libicuuc.so.52: cannot open shared object file: No such file or directory), /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so.so (/opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.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 /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Stack trace:
006+ PHP 1. {main}() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc:0
007+ PHP 2. ServerClientTestCase->runWorker() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc:112
008+ PHP 3. eval() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc:90
009+ PHP 4. stream_socket_accept() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/src/php-7.3.1/ext/curl.so (/usr/local/src/php-7.3.1/ext/curl.so: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/curl.so.so (/usr/local/src/php-7.3.1/ext/curl.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 'php_mysql.dll' (tried: /usr/local/src/php-7.3.1/ext/php_mysql.dll (/usr/local/src/php-7.3.1/ext/php_mysql.dll: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/php_mysql.dll.so (/usr/local/src/php-7.3.1/ext/php_mysql.dll.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 'php_pdo_mysql.dll' (tried: /usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll (/usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll.so (/usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll.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 'redis.so' (tried: /usr/local/src/php-7.3.1/ext/redis.so (/usr/local/src/php-7.3.1/ext/redis.so: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/redis.so.so (/usr/local/src/php-7.3.1/ext/redis.so.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 'pdo_mysql.so' (tried: /usr/local/src/php-7.3.1/ext/pdo_mysql.so (/usr/local/src/php-7.3.1/ext/pdo_mysql.so: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/pdo_mysql.so.so (/usr/local/src/php-7.3.1/ext/pdo_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated 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.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
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: cannot open shared object file: No such file or directory
1 (0%)
001+ Failed loading /usr/lib/php/20160303/opcache.so: /usr/lib/php/20160303/opcache.so: undefined symbol: _zval_ptr_dtor