Test: /ext/openssl/tests/bug74159.phpt - Version 7.4.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
2 (13%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib64/extensions/no-debug-zts-20190902/gd.so (/usr/lib64/extensions/no-debug-zts-20190902/gd.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20190902/gd.so.so (/usr/lib64/extensions/no-debug-zts-20190902/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 'mysql.so' (tried: /usr/lib64/extensions/no-debug-zts-20190902/mysql.so (/usr/lib64/extensions/no-debug-zts-20190902/mysql.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20190902/mysql.so.so (/usr/lib64/extensions/no-debug-zts-20190902/mysql.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 'wddx.so' (tried: /usr/lib64/extensions/no-debug-zts-20190902/wddx.so (/usr/lib64/extensions/no-debug-zts-20190902/wddx.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20190902/wddx.so.so (/usr/lib64/extensions/no-debug-zts-20190902/wddx.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 'zip.so' (tried: /usr/lib64/extensions/no-debug-zts-20190902/zip.so (/usr/lib64/extensions/no-debug-zts-20190902/zip.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20190902/zip.so.so (/usr/lib64/extensions/no-debug-zts-20190902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
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 (6%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused) 001- Written 1048575 bytes 002- DONE
1 (6%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /home/cwang/php-7.4.9/ext/openssl/tests/CertificateGenerator.inc on line 82 002+ 001- Written 1048575 bytes 002- DONE 003+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in /home/cwang/php-7.4.9/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /home/cwang/php-7.4.9/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /home/cwang/php-7.4.9/ext/openssl/tests/CertificateGenerator.inc on line 132 008+ 009+ Fatal error: Uncaught Exception: Failed to create certificate in /home/cwang/php-7.4.9/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/bug74159.php(107): CertificateGenerator->saveNewCertAsFileWithKey('bug74159', '/home/cwang/php...') 012+ #1 {main} 013+ thrown in /home/cwang/php-7.4.9/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php7.4.9/lib/php/extensions/no-debug-non-zts-20190902/openssl (/usr/local/php7.4.9/lib/php/extensions/no-debug-non-zts-20190902/openssl: cannot open shared object file: No such file or directory), /usr/local/php7.4.9/lib/php/extensions/no-debug-non-zts-20190902/openssl.so (/usr/local/php7.4.9/lib/php/extensions/no-debug-non-zts-20190902/openssl.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 /home/jdruguet/php-7.4.9/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli.so (/usr/local/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 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd2' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd2 (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd2: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd2.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd2.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/curl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/curl.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/curl.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/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-non-zts-20190902/fileinfo.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/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 'gd.so' (tried: /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), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/gd.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 'json.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/json.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/json.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/json.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/json.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-non-zts-20190902/phar.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/phar.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/phar.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/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-non-zts-20190902/zip.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/zip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/zip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/curl (/usr/local/lib/php/extensions/no-debug-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/curl.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/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 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli.so (/usr/local/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 (6%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mysqli.so' in Unknown on line 0
1 (6%)
001+ PHP Warning: Module 'curl' already loaded 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 /home/wauditer/gun/php-7.4.9/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (6%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated 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/appy/php-7.4.9/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (6%)
001+ Failed loading /usr/local/php-7.3.4/modules/opcache.so: /usr/local/php-7.3.4/modules/opcache.so: cannot open shared object file: No such file or directory
1 (6%)
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 002+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused) 001- Written 1048575 bytes 002- DONE
1 (6%)
001+ ** ERROR: process timed out ** 001- Written 1048575 bytes 002- DONE