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

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

Count Diff
210 (57%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
139 (38%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
7 (2%)
001+ Warning: openssl_csr_new(): Error signing request in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 62
002+
001- Written 1048575 bytes
002- DONE
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 68
004+
005+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 82
006+
007+ Warning: openssl_csr_sign(): cannot get cert from parameter 2 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 100
008+
009+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 104
010+ failed loading cafile stream: `/usr/local/src/php-7.3.33-sdv/ext/openssl/tests/bug74159-ca.pem.tmp'
5 (1%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
1 (0%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /Users/yuyuxiu/data/download/php-7.3.33/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 /Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/CertificateGenerator.inc on line 107
008+ failed loading cafile stream: `/Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/bug74159-ca.pem.tmp'
1 (0%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.3.33/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.33/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.33/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.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Success
1 (0%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/ubuntu/php-7.3.33/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/ubuntu/php-7.3.33/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/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_sqlsrv_74_ts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_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 'php_sqlsrv_74_nts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.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 'php_pdo_sqlsrv_74_ts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.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 'php_pdo_sqlsrv_74_nts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so (libicuio.so.50: cannot open shared object file: No such file or directory), /usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so.so (/usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: failed loading cafile stream: `cacert.pem' in /home/download/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/download/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/download/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
005+ fwrite(): send of 8192 bytes failed with errno=32 Broken pipe
1 (0%)
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 '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
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.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 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.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_mysql' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
008+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (0%)
001+ Failed loading /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor
002+ PHP Warning: PHP Startup: imagick: Unable to initialize module
001- Written 1048575 bytes
002- DONE
003+ Module compiled with module API=20170718
004+ PHP compiled with module API=20180731
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: memcached: Unable to initialize module
008+ Module compiled with module API=20170718
009+ PHP compiled with module API=20180731
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so' (tried: /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so (/opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so: undefined symbol: _zval_ptr_dtor), /opt/app/php/lib/php/extensions/no-debug-non-zts-20180731//opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so.so (/opt/app/php/lib/php/extensions/no-debug-non-zts-20180731//opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
013+ PHP Warning: PHP Startup: redis: 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+ Written 1048575 bytes
019+ DONE