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

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

Count Diff
5 (25%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
3 (15%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'ioncube_loader_lin_7.3_ts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/ioncube_loader_lin_7.3_ts.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/ioncube_loader_lin_7.3_ts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/ioncube_loader_lin_7.3_ts.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/ioncube_loader_lin_7.3_ts.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 'sqlsrv.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/opcache.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/opcache.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 'memcached.so' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/memcached.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/memcached.so: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/memcached.so.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/memcached.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 'mongodb.so' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so.so (/opt/php-7.2/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
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/curl (/usr/local/lib/php/extensions/no-debug-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/curl.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/curl.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 'fileinfo' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/fileinfo (/usr/local/lib/php/extensions/no-debug-zts-20180731/fileinfo: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/fileinfo.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/fileinfo.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 'gd2' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/gd2 (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.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 'ldap' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/ldap (/usr/local/lib/php/extensions/no-debug-zts-20180731/ldap: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/ldap.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/ldap.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 '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
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_odbc' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_odbc (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_odbc: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_odbc.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_odbc.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 'gd.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gd.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 'igbinary.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/igbinary.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/igbinary.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/igbinary.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/igbinary.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 '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
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.5.6.lin' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/ixed.5.6.lin (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/ixed.5.6.lin: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/ixed.5.6.lin.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/ixed.5.6.lin.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: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.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 '/usr/local/lib/php/extensions/no-debug-zts-20131226/openssl.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20131226/openssl.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/openssl.so: undefined symbol: file_globals_id), /usr/local/lib/php/extensions/no-debug-non-zts-20180731//usr/local/lib/php/extensions/no-debug-zts-20131226/openssl.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731//usr/local/lib/php/extensions/no-debug-zts-20131226/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
004+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
005+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /mnt/pkg/php/lib/php/extensions/no-debug-zts-20180731/redis (/mnt/pkg/php/lib/php/extensions/no-debug-zts-20180731/redis: cannot open shared object file: No such file or directory), /mnt/pkg/php/lib/php/extensions/no-debug-zts-20180731/redis.so (/mnt/pkg/php/lib/php/extensions/no-debug-zts-20180731/redis.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/files/www/php-7.3.12/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Stack trace:
001- Written 1048575 bytes
002- DONE
003+ PHP 1. {main}() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:0
004+ PHP 2. ServerClientTestCase->runWorker() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:163
005+ PHP 3. eval() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:119
006+ PHP 4. stream_socket_accept() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
008+ PHP Stack trace:
009+ PHP 1. {main}() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:0
010+ PHP 2. ServerClientTestCase->runWorker() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:163
011+ PHP 3. eval() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:119
012+ PHP 4. stream_socket_accept() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
013+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
014+ PHP Stack trace:
015+ PHP 1. {main}() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:0
016+ PHP 2. ServerClientTestCase->runWorker() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:163
017+ PHP 3. eval() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc:119
018+ PHP 4. stream_socket_accept() /home/files/www/php-7.3.12/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
019+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (5%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/src/php-7.3.12-build/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Stack trace:
001- Written 1048575 bytes
002- DONE
003+ PHP 1. {main}() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:0
004+ PHP 2. ServerClientTestCase->runWorker() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:163
005+ PHP 3. eval() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:119
006+ PHP 4. stream_socket_accept() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
008+ PHP Stack trace:
009+ PHP 1. {main}() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:0
010+ PHP 2. ServerClientTestCase->runWorker() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:163
011+ PHP 3. eval() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:119
012+ PHP 4. stream_socket_accept() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
013+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
014+ PHP Stack trace:
015+ PHP 1. {main}() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:0
016+ PHP 2. ServerClientTestCase->runWorker() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:163
017+ PHP 3. eval() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc:119
018+ PHP 4. stream_socket_accept() /usr/local/src/php-7.3.12-build/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code:11
019+ stream_socket_enable_crypto(): SSL: Success
1 (5%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /etc/ssl/openssl.cnf in /usr/src/php-7.3.12/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 /usr/src/php-7.3.12/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /usr/src/php-7.3.12/ext/openssl/tests/CertificateGenerator.inc on line 104
006+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (5%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/php/install_data/php/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 /usr/php/install_data/php/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /usr/php/install_data/php/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /usr/php/install_data/php/ext/openssl/tests/CertificateGenerator.inc on line 107
008+ failed loading cafile stream: `/usr/php/install_data/php/ext/openssl/tests/bug74159-ca.pem.tmp'
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