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

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

Count Diff
86 (44%)
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
28 (14%)
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
27 (14%)
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
10 (5%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
3 (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 /root/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
2 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/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 'geoip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/geoip.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/geoip.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/geoip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /wwws/php/php7.2.12/lib/php/extensions/no-debug-zts-20170718/mcrypt.so (/wwws/php/php7.2.12/lib/php/extensions/no-debug-zts-20170718/mcrypt.so: cannot open shared object file: No such file or directory), /wwws/php/php7.2.12/lib/php/extensions/no-debug-zts-20170718/mcrypt.so.so (/wwws/php/php7.2.12/lib/php/extensions/no-debug-zts-20170718/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli (ld.so.1: php: fatal: /usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli: open failed: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli.so (ld.so.1: php: fatal: /usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli.so: open failed: 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 Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php/7.2.11/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
2 (1%)
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 /root/php-7.2.12/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 /root/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.2.12/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 /root/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.2.12/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 /root/php-7.2.12/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/src/php-7.2.12/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.2.12/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.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ Failed loading /usr/lib/php/20160303/opcache.so: /usr/lib/php/20160303/opcache.so: undefined symbol: zend_interned_strings_snapshot
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 /usr/local/src/php-7.2.12/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 /usr/local/src/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ Failed loading /usr/lib/php/20160303/opcache.so: /usr/lib/php/20160303/opcache.so: undefined symbol: zend_interned_strings_snapshot
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/src/php-7.2.12/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/src/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ Failed loading /usr/local/opt/php/lib/php/extensions/opcache.so: /usr/local/opt/php/lib/php/extensions/opcache.so: undefined symbol: zend_opcode_handlers
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/opt/php/lib/php/extensions/apcu.so (/usr/local/opt/php/lib/php/extensions/apcu.so: undefined symbol: zend_unblock_interruptions), /usr/local/opt/php/lib/php/extensions/apcu.so.so (/usr/local/opt/php/lib/php/extensions/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
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 /install/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
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 /root/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pdo_pgsql.so' (tried: /Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pdo_pgsql.so (dlopen(/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pdo_pgsql.so, 9): Symbol not found: _compiler_globals
002+ Referenced from: /Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pdo_pgsql.so
001- Written 1048575 bytes
002- DONE
003+ Expected in: flat namespace
004+ in /Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pdo_pgsql.so), /opt/php7/lib/php/extensions/no-debug-zts-20170718//Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pdo_pgsql.so.so (dlopen(/opt/php7/lib/php/extensions/no-debug-zts-20170718//Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pdo_pgsql.so.so, in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pgsql.so' (tried: /Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pgsql.so (dlopen(/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pgsql.so, 9): Symbol not found: _compiler_globals
006+ Referenced from: /Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pgsql.so
007+ Expected in: flat namespace
008+ in /Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pgsql.so), /opt/php7/lib/php/extensions/no-debug-zts-20170718//Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pgsql.so.so (dlopen(/opt/php7/lib/php/extensions/no-debug-zts-20170718//Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20131226/pgsql.so.so, 9): image not found)) in Unknown on line 0
009+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
010+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/imagick.so (/usr/local/lib/php/extensions/imagick.so: undefined symbol: spl_ce_Countable), /usr/local/lib/php/extensions/imagick.so.so (/usr/local/lib/php/extensions/imagick.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 'imap' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/imap (/usr/local/lib/php/extensions/no-debug-zts-20170718/imap: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/imap.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/imap.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' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/mbstring (/usr/local/lib/php/extensions/no-debug-zts-20170718/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/mbstring.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/mbstring.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 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/mysqli.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 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/openssl (/usr/local/lib/php/extensions/no-debug-zts-20170718/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/openssl.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /var/tmp/builds/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /var/tmp/builds/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
008+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
009+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
010+ PHP Warning: stream_socket_accept(): accept failed: Success in /var/tmp/builds/php-7.2.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/mysqli (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/mysqli: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/mysqli.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/mysqli.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 'openssl' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/openssl (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/openssl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/openssl.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/openssl.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: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/pdo_mysql (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so (/usr/local/php/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
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/redis.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/redis.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 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/swoole.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 'phalcon.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/phalcon.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/phalcon.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/phalcon.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/phalcon.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0