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

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

Count Diff
3 (14%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /opt/php-7.3.9/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/php-7.3.9/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /opt/php-7.3.9/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /opt/php-7.3.9/ext/openssl/tests/CertificateGenerator.inc on line 107
008+ failed loading cafile stream: `/opt/php-7.3.9/ext/openssl/tests/bug74159-ca.pem.tmp'
3 (14%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
2 (10%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'xhprof.so' (tried: /usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so (/usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so: cannot open shared object file: No such file or directory), /usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so.so (/usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2 (10%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
1 (5%)
001+ /usr/src/php-7.3.9/sapi/cli/php: symbol lookup error: /usr/src/php-7.3.9/modules/openssl.so: undefined symbol: EVP_PKEY_get0_RSA
001- Written 1048575 bytes
002- DONE
1 (5%)
001+ Failed loading /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ioncube_loader_lin_5.6.so: /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ioncube_loader_lin_5.6.so: undefined symbol: zend_block_interruptions
002+ Failed loading /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ZendGuardLoader.so: /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ZendGuardLoader.so: undefined symbol: _zval_ptr_dtor
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so' (tried: /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so (/usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so: undefined symbol: zval_used_for_init), /usr/share/lib/php/extensions///usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so.so (/usr/share/lib/php/extensions///usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /opt/lib/php/extensions/no-debug-non-zts-20180731/opcache.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so (/opt/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 'redis.so' (tried: /opt/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/opt/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
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /opt/lib/php/extensions/no-debug-non-zts-20180731/apcu.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/apcu.so.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/apcu.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 'imagick.so' (tried: /opt/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/imagick.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.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/curl.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/curl.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/curl.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/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 'fileinfo.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.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 'json.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.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 'mcrypt.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.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 'phar.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.so.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 'zip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.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.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/curl.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/curl.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/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 'fileinfo.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.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 Warning: PHP Startup: Unable to load dynamic library 'json.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.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 'phar.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.so.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 'zip.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so: cannot open shared object file: No such file or directory)) 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/kk/php-7.3.9/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so (Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so"), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so.so")) in Unknown on line 0
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: stream_socket_accept(): Unable to set local cert chain file `/home/andres/Descargas/php-src/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/andres/Descargas/php-src/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 /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (5%)
001+ Xdebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.
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