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

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

Count Diff
67 (44%)
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
40 (26%)
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
7 (5%)
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
3 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gmp.so' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so: file too short), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
3 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so (/usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so: cannot open shared object file: No such file or directory), /usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so.so (/usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
3 (2%)
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
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/php7.2-build/php-7.2.2/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/php7.2-build/php-7.2.2/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/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
2 (1%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
1 (1%)
001+ Failed loading /home/sys/php64/lib/php/extensions/no-debug-zts-20131226/opcache.so: /home/sys/php64/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (1%)
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 Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: ../lib/php/extensions/no-debug-zts-20170718/opcache.so (../lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), ../lib/php/extensions/no-debug-zts-20170718/opcache.so.so (../lib/php/extensions/no-debug-zts-20170718/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 'mysqli' (tried: ../lib/php/extensions/no-debug-zts-20170718/mysqli (../lib/php/extensions/no-debug-zts-20170718/mysqli: cannot open shared object file: No such file or directory), ../lib/php/extensions/no-debug-zts-20170718/mysqli.so (../lib/php/extensions/no-debug-zts-20170718/mysqli.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 'pdo_mysql' (tried: ../lib/php/extensions/no-debug-zts-20170718/pdo_mysql (../lib/php/extensions/no-debug-zts-20170718/pdo_mysql: cannot open shared object file: No such file or directory), ../lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so (../lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: ./opcache.so (./opcache.so: cannot open shared object file: No such file or directory), ./opcache.so.so (./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 'intl' (tried: ./intl (./intl: cannot open shared object file: No such file or directory), ./intl.so (./intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20170718/opcache.so (/etc/php7/lib/php/extensions/debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /etc/php7/lib/php/extensions/debug-zts-20170718/opcache.so.so (/etc/php7/lib/php/extensions/debug-zts-20170718/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 'pthreads.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/20170718/opcache.so (/usr/lib64/20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/opcache.so.so (/usr/lib64/20170718/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 'memcache.so' (tried: /usr/lib64/20170718/memcache.so (/usr/lib64/20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/memcache.so.so (/usr/lib64/20170718/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.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 'ds.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl.so: undefined symbol: zval_used_for_init)) in Unknown on line 0
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/openssl.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/openssl.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 'mbstring.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.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 'zip.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/zip.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/zip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/zip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.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:1416F086:SSL routines:tls_process_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/sofwat/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/sofwat/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/sofwat/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so (/home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so.so (/home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.so: cannot open shared object file: No such file or directory), /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.so.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.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 'propro.so' (tried: /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.so: cannot open shared object file: No such file or directory), /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.so.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.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 'http.so' (tried: /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so: cannot open shared object file: No such file or directory), /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
005+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
006+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/server/kern/src/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /ROOT/bin/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/ROOT/bin/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /ROOT/bin/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/ROOT/bin/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so: cannot open shared object file: No such file or directory)) 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/installpage/php-7.2.2/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/installpage/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/installpage/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0