Test: /ext/openssl/tests/bug74159.phpt - Version 7.0.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 31 different diffs reported by users for this test.

Count Diff
101 (47%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
001- Written 1048575 bytes
002- DONE
50 (23%)
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
21 (10%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
001- Written 1048575 bytes
002- DONE
8 (4%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
7 (3%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
4 (2%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
2 (1%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ 2.4+ kernel w/o ELF notes? -- report this
1 (0%)
001+ Failed loading /directreader/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /directreader/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
002+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
001- Written 1048575 bytes
002- DONE
003+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
1 (0%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.6.so: /usr/local/ioncube/ioncube_loader_lin_5.6.so: undefined symbol: zval_update_constant_inline_change
002+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
001- Written 1048575 bytes
002- DONE
003+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
004+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_7.3.so: /usr/local/ioncube/ioncube_loader_lin_7.3.so: undefined symbol: zend_ce_countable
002+ Failed loading /usr/local/sourceguardian/ixed.7.3.lin: /usr/local/sourceguardian/ixed.7.3.lin: undefined symbol: zval_ptr_dtor
001- Written 1048575 bytes
002- DONE
003+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: cannot open shared object file: No such file or directory
004+ PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
005+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
007+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
008+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
009+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
010+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ Failed loading /usr/local/php/lib/php/extensions/opcache.so: /usr/local/php/lib/php/extensions/opcache.so: undefined symbol: compiler_globals
002+ PHP Warning: PHP Startup: CPClient: Unable to initialize module
001- Written 1048575 bytes
002- DONE
003+ Module compiled with build ID=API20151012,NTS
004+ PHP compiled with build ID=API20151012,TS
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: IPINClient: Unable to initialize module
008+ Module compiled with build ID=API20151012,NTS
009+ PHP compiled with build ID=API20151012,TS
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/php_screw_plus.so' - /usr/local/php/lib/php/extensions/php_screw_plus.so: undefined symbol: compiler_globals in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/imagick.so' - libMagickWand.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/whatap.so' - /usr/local/php/lib/php/extensions/whatap.so: undefined symbol: sapi_globals in Unknown on line 0
015+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
016+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
017+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
018+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
019+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
020+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ Failed loading /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xdebug.so: /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xdebug.so: cannot open shared object file: No such file or directory
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yaf.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yaf.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/sockets.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/sockets.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/event.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/event.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xhprof.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xhprof.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/oci8.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/jsond.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/jsond.so: cannot open shared object file: No such file or directory in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/msgpack.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/msgpack.so: cannot open shared object file: No such file or directory in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yar.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yar.so: cannot open shared object file: No such file or directory in Unknown on line 0
010+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
011+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
012+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
013+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: Module 'ftp' already loaded in Unknown on line 0
002+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
001- Written 1048575 bytes
002- DONE
003+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/imagick.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-non-zts-20151012/uploadprogress.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/uploadprogress.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: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
008+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7-0/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20131226/ssh2.so' - /usr/local/lib/php/extensions/no-debug-zts-20131226/ssh2.so: undefined symbol: zval_used_for_init 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 Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/7.0/lib/php/extensions/no-debug-non-zts-20151012/redis.so' - /usr/local/php/7.0/lib/php/extensions/no-debug-non-zts-20151012/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
002+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
001- Written 1048575 bytes
002- DONE
003+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
004+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /home/vagrant/download/php-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/vagrant/download/php-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/vagrant/download/php-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14094415:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate expired in /home/admin/php7/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/admin/php7/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
004+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/admin/php7/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
1 (0%)
001+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14094415:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate expired in /home/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /home/ec2-user/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/ec2-user/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/ec2-user/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (0%)
001+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /srv/home/ruut/software/php/extract/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /srv/home/ruut/software/php/extract/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
004+ PHP Warning: stream_socket_accept(): accept failed: Success in /srv/home/ruut/software/php/extract/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed