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

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

Count Diff
19 (34%)
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
9 (16%)
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
4 (7%)
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
3 (5%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20170718/curl.so (Cannot open "/usr/local/lib/php/20170718/curl.so"), /usr/local/lib/php/20170718/curl.so.so (Cannot open "/usr/local/lib/php/20170718/curl.so.so")) in Unknown on line 0
2 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'shopnc.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
004+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
2 (4%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: cannot open shared object file: No such file or directory
1 (2%)
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: compiler_globals
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.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 '/usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.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 '/usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so.so: cannot open shared object file: No such file or directory)) 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 /usr/local/bin/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_opcode_handlers
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so: undefined symbol: zval_used_for_init), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
004+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/bin/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot
1 (2%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
004+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'http.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.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 'imagick.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/imagick.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/imagick.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 'oauth.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'newrelic.so' (tried: /opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.so (/opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.so: cannot open shared object file: No such file or directory), /opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.so.so (/opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.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: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/sray/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/sray/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/sray/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ 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
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 /home/tommy/Downloads/php7/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
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 /data/php/php-7.2.8/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 /data/php/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /data/php/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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.2.8/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.8/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.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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/php7.2-build/php-7.2.8/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.8/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.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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/oneinstack/src/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/oneinstack/src/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/oneinstack/src/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11