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

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

Count Diff
2 (10%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
2 (10%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (10%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/curl.so' (tried: /usr/lib64/php/modules/curl.so (/usr/lib64/php/modules/curl.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731//usr/lib64/php/modules/curl.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731//usr/lib64/php/modules/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
1 (5%)
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 (5%)
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 (5%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /opt/src/php/php-7.3.6/ext/openssl/tests/CertificateGenerator.inc on line 82
002+
001- Written 1048575 bytes
002- DONE
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /opt/src/php/php-7.3.6/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /opt/src/php/php-7.3.6/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /opt/src/php/php-7.3.6/ext/openssl/tests/CertificateGenerator.inc on line 107
008+ PHP Warning: PHP Startup: openssl: Unable to initialize module
009+ Module compiled with module API=20170718
010+ PHP compiled with module API=20180731
011+ These options need to match
012+ in Unknown on line 0
013+ PHP Warning: PHP Startup: gd: Unable to initialize module
014+ Module compiled with module API=20170718
015+ PHP compiled with module API=20180731
016+ These options need to match
017+ in Unknown on line 0
018+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (5%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.3.6/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.3.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.3.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.3.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Success
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_mbstring.dll' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/php_mbstring.dll (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/php_mbstring.dll: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/php_mbstring.dll.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/php_mbstring.dll.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 /home/hyojin/php-7.3.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/openssl (/usr/local/lib/php/extensions/no-debug-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/openssl.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring.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 'exif' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'maxminddb.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mysqli' in Unknown on line 0
1 (5%)
001+ PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
1 (5%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: undefined symbol: gc_globals
1 (5%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: cannot open shared object file: No such file or directory
1 (5%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: undefined symbol: _zval_ptr_dtor
002+ PHP Warning: PHP Startup: msgpack: Unable to initialize module
001- Written 1048575 bytes
002- DONE
003+ Module compiled with module API=20160303
004+ PHP compiled with module API=20180731
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: memcache: Unable to initialize module
008+ Module compiled with module API=20160303
009+ PHP compiled with module API=20180731
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: memcached: Unable to initialize module
013+ Module compiled with module API=20160303
014+ PHP compiled with module API=20180731
015+ These options need to match
016+ in Unknown on line 0
017+ PHP Warning: PHP Startup: igbinary: Unable to initialize module
018+ Module compiled with module API=20160303
019+ PHP compiled with module API=20180731
020+ These options need to match
021+ in Unknown on line 0
022+ Written 1048575 bytes
023+ DONE