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

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

Count Diff
57 (48%)
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
23 (19%)
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
9 (8%)
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
2 (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.13/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.13/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.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
2 (2%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed
001- Written 1048575 bytes
002- DONE
2 (2%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (2%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10012 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /var/cache/acbs/build/acbs.6l0mfwzu/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 8
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /var/cache/acbs/build/acbs.6l0mfwzu/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
2 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.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 /var/www/Blake/php-7.2.13/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 /var/www/Blake/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /var/www/Blake/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
1 (1%)
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 /home/lisaldo/Downloads/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Stack trace:
006+ PHP 1. {main}() /home/lisaldo/Downloads/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:0
007+ PHP 2. ServerClientTestCase->runWorker() /home/lisaldo/Downloads/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:112
008+ PHP 3. eval() /home/lisaldo/Downloads/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:90
009+ PHP 4. stream_socket_accept() /home/lisaldo/Downloads/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
1 (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 /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Stack trace:
006+ PHP 1. {main}() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:0
007+ PHP 2. ServerClientTestCase->runWorker() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:112
008+ PHP 3. eval() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:90
009+ PHP 4. stream_socket_accept() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
010+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
011+ PHP Stack trace:
012+ PHP 1. {main}() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:0
013+ PHP 2. ServerClientTestCase->runWorker() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:112
014+ PHP 3. eval() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:90
015+ PHP 4. stream_socket_accept() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
016+ PHP Warning: stream_socket_accept(): accept failed: Undefined error: 0 in /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
017+ PHP Stack trace:
018+ PHP 1. {main}() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:0
019+ PHP 2. ServerClientTestCase->runWorker() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:112
020+ PHP 3. eval() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc:90
021+ PHP 4. stream_socket_accept() /work/Unpacking_package/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
1 (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 /opt/lampp/php/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /opt/lampp/php/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /opt/lampp/php/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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 /home/s-yama/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/s-yama/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/s-yama/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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/php7.2-build/php-7.2.13/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.13/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.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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 /home/.web/.php/php.7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/.web/.php/php.7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/.web/.php/php.7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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 /usr/pkgsrc/lang/php72/work/php-7.2.13/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 /usr/pkgsrc/lang/php72/work/php-7.2.13/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(): accept failed: Undefined error: 0 in /usr/pkgsrc/lang/php72/work/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (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/InstalledPackages/php-7.2.13/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 /root/InstalledPackages/php-7.2.13/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:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/InstalledPackages/php-7.2.13/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/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/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 /var/www/Blake/php-7.2.13/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 /var/www/Blake/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): accept failed: Success in /var/www/Blake/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: /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), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/pdo_mysql.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 'memcached.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/memcached.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/memcached.so.so (/usr/local/php/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
001- Written 1048575 bytes
002- DONE
003+ 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
004+ 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
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /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), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/mysqli.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/mysqli.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 'inotify.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/inotify.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/inotify.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/inotify.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/inotify.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
008+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
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: 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 /usr/local/src/php7.2-build/php-7.2.13/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/php7.2-build/php-7.2.13/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/php7.2-build/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: undefined symbol: spl_ce_Countable), /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so (/usr/local/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
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.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_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(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /home/akaal/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/akaal/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
008+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/akaal/php-7.2.13/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11