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

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

Count Diff
409 (93%)
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
18 (4%)
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 (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 (0%)
1 (0%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20121212/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20121212/opcache.so: undefined symbol: zend_opcode_handlers
1 (0%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20160303/ioncube_loader_lin_7.1_ts.so: /usr/local/lib/php/extensions/no-debug-zts-20160303/ioncube_loader_lin_7.1_ts.so: undefined symbol: zend_interrupt_function
002+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: undefined symbol: zend_signal_globals_id
1 (0%)
001+ PHP Warning: Module 'gd' already loaded in Unknown on line 0
002+ PHP Warning: Module 'curl' already loaded in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0
004+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line 0
005+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
006+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
007+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/dev/tool/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
002+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
004+ PHP Warning: Module 'sockets' already loaded in Unknown on line 0
005+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
006+ PHP Warning: stream_socket_accept(): accept failed: Operation timed out in /ms/php/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Stack trace:
008+ PHP 1. {main}() /ms/php/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc:0
009+ PHP 2. ServerClientTestCase->runWorker() /ms/php/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc:112
010+ PHP 3. eval() /ms/php/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc:90
011+ PHP 4. stream_socket_accept() /ms/php/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
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 /home/jack/workspace/src/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/jack/workspace/src/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/jack/workspace/src/php-7.0.27/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11