Test: /ext/openssl/tests/bug74159.phpt - Version 7.4.0-dev        

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
109 (89%)
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
4 (3%)
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 (2%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
2 (2%)
001+ failed loading cafile stream: `/home/travis/build/php/php-src/ext/openssl/tests/bug54992-ca.pem'
001- Written 1048575 bytes
002- DONE
2 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'parallel' (tried: /opt/php-zts/lib/php/extensions/debug-zts-20190529/parallel (/opt/php-zts/lib/php/extensions/debug-zts-20190529/parallel: cannot open shared object file: No such file or directory), /opt/php-zts/lib/php/extensions/debug-zts-20190529/parallel.so (/opt/php-zts/lib/php/extensions/debug-zts-20190529/parallel.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 /opt/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : 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
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /opt/lib/php/extensions/debug-non-zts-20190902/curl.so (/opt/lib/php/extensions/debug-non-zts-20190902/curl.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/debug-non-zts-20190902/curl.so.so (/opt/lib/php/extensions/debug-non-zts-20190902/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 'parallel.so' (tried: /opt/lib/php/extensions/debug-non-zts-20190902/parallel.so (/opt/lib/php/extensions/debug-non-zts-20190902/parallel.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/debug-non-zts-20190902/parallel.so.so (/opt/lib/php/extensions/debug-non-zts-20190902/parallel.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 'pcov.so' (tried: /opt/lib/php/extensions/debug-non-zts-20190902/pcov.so (/opt/lib/php/extensions/debug-non-zts-20190902/pcov.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/debug-non-zts-20190902/pcov.so.so (/opt/lib/php/extensions/debug-non-zts-20190902/pcov.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache' (tried: /usr/local/php7/lib/php/extensions/debug-non-zts-20180731/opcache (/usr/local/php7/lib/php/extensions/debug-non-zts-20180731/opcache: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-non-zts-20180731/opcache.so (/usr/local/php7/lib/php/extensions/debug-non-zts-20180731/opcache.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 'apcu.so' (tried: /usr/local/php7/lib/php/extensions/debug-non-zts-20180731/apcu.so (/usr/local/php7/lib/php/extensions/debug-non-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-non-zts-20180731/apcu.so.so (/usr/local/php7/lib/php/extensions/debug-non-zts-20180731/apcu.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)