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

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

Count Diff
11 (26%)
001+ stream_socket_enable_crypto(): SSL: Success 001- Written 1048575 bytes 002- DONE
4 (10%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer 001- Written 1048575 bytes 002- DONE
3 (7%)
001+ Zend OPcache requires Zend Engine API version 320180731. 002+ The Zend Engine API version 320190902 which is installed, is newer. 003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 004+
2 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql: cannot open shared object file: No such file or directory), /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+ PHP Warning: Module 'sodium' already loaded in Unknown on line 0 003+ PHP Warning: Module 'gmagick' already loaded in Unknown on line 0 004+ PHP Warning: Module 'grpc' already loaded in Unknown on line 0
1 (2%)
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 operation failed with code 1. OpenSSL Error messages: 002+ error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading 001- Written 1048575 bytes 002- DONE
1 (2%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /soft/php-7.4.3/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 /soft/php-7.4.3/ext/openssl/tests/CertificateGenerator.inc on line 100 004+ 005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /soft/php-7.4.3/ext/openssl/tests/CertificateGenerator.inc on line 104 006+ 007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /soft/php-7.4.3/ext/openssl/tests/CertificateGenerator.inc on line 107 008+ failed loading cafile stream: `/soft/php-7.4.3/ext/openssl/tests/bug74159-ca.pem.tmp'
1 (2%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /home/baptiste/mfext/build/opt/core/etc/ssl/openssl.cnf in /home/baptiste/mfextaddon_php/src/layers/layer1_php/0010_php/build/php-7.4.3/ext/openssl/tests/CertificateGenerator.inc on line 97 002+ 001- Written 1048575 bytes 002- DONE 003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /home/baptiste/mfextaddon_php/src/layers/layer1_php/0010_php/build/php-7.4.3/ext/openssl/tests/CertificateGenerator.inc on line 100 004+ 005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /home/baptiste/mfextaddon_php/src/layers/layer1_php/0010_php/build/php-7.4.3/ext/openssl/tests/CertificateGenerator.inc on line 104 006+ fwrite(): send of 8192 bytes failed with errno=32 Broken pipe
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/src/httpd/requirements/php/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/src/httpd/requirements/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/src/httpd/requirements/php/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 /usr/src/httpd/requirements/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/lsws/phpbuild/php-7.4.3/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/lsws/phpbuild/php-7.4.3/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/lsws/phpbuild/php-7.4.3/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 /usr/local/lsws/phpbuild/php-7.4.3/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.4/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.4.4/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.4.4/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.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.3/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.4.3/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.4.3/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.4.3/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.3/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.4.3/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.4.3/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.4.3/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zlib.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zlib.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zlib.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zlib.so.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 'pthreads.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20190902/pthreads.so (/etc/php7/lib/php/extensions/debug-zts-20190902/pthreads.so: cannot open shared object file: No such file or directory), /etc/php7/lib/php/extensions/debug-zts-20190902/pthreads.so.so (/etc/php7/lib/php/extensions/debug-zts-20190902/pthreads.so.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 'pgsql' (tried: /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql: cannot open shared object file: No such file or directory), /opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/pgsql.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 'gnupg.so' (tried: /opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so: cannot open shared object file: No such file or directory), /opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so.so (/opt/Apache74/lib/extensions/no-debug-zts-20190902/gnupg.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+ PHP Warning: Module 'sodium' already loaded in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php7/lib/php/extensions/no-debug-zts-20190902/mysqli (/usr/local/php7/lib/php/extensions/no-debug-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-zts-20190902/mysqli.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20190902/mysqli.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 'mbstring' (tried: /usr/lib/php/modules/mbstring (/usr/lib/php/modules/mbstring: cannot open shared object file: No such file or directory), /usr/lib/php/modules/mbstring.so (/usr/lib/php/modules/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 'pdo_sqlite' (tried: /usr/lib/php/modules/pdo_sqlite (/usr/lib/php/modules/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/lib/php/modules/pdo_sqlite.so (/usr/lib/php/modules/pdo_sqlite.so: undefined symbol: core_globals)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/lib/php/modules/mbstring (/usr/lib/php/modules/mbstring: cannot open shared object file: No such file or directory), /usr/lib/php/modules/mbstring.so (/usr/lib/php/modules/mbstring.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 'imagick.so' (tried: /opt/apache2/php/lib/php/extensions/no-debug-zts-20190902/imagick.so (/opt/apache2/php/lib/php/extensions/no-debug-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /opt/apache2/php/lib/php/extensions/no-debug-zts-20190902/imagick.so.so (/opt/apache2/php/lib/php/extensions/no-debug-zts-20190902/imagick.so.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 'gd' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd.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 Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /usr/local/php/php-7.4.3/ext/openssl/tests/ServerClientTestCase.inc on line 158