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

Count Diff
67 (42%)
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
48 (30%)
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 (4%)
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+ 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
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+ 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
2 (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 /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Stack trace:
006+ PHP 1. {main}() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:0
007+ PHP 2. ServerClientTestCase->runWorker() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:112
008+ PHP 3. eval() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:90
009+ PHP 4. stream_socket_accept() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
010+ 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
011+ PHP Stack trace:
012+ PHP 1. {main}() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:0
013+ PHP 2. ServerClientTestCase->runWorker() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:112
014+ PHP 3. eval() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:90
015+ PHP 4. stream_socket_accept() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:11
016+ 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
017+ PHP Stack trace:
018+ PHP 1. {main}() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:0
019+ PHP 2. ServerClientTestCase->runWorker() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:112
020+ PHP 3. eval() /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc:90
021+ PHP 4. stream_socket_accept() /usr/local/src/php7.2-build/php-7.2.2/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: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 /root/php-src/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-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-src/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: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/tito/php-src-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 /home/tito/php-src-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 /home/tito/php-src-php-7.2.2/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: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/pi/php-src-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 /home/pi/php-src-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 /home/pi/php-src-php-7.2.2/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: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/lynx/dev/php-src-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 /home/lynx/dev/php-src-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 /home/lynx/dev/php-src-php-7.2.2/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: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/carsonlius/php-src-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 /home/carsonlius/php-src-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 /home/carsonlius/php-src-php-7.2.2/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/php/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/php/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/php/php-7.2.2/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 /root/rpmbuild/SOURCES/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 /root/rpmbuild/SOURCES/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 /root/rpmbuild/SOURCES/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (1%)
001+ Xdebug requires Zend Engine API version 320160303.
002+ The Zend Engine API version 320170718 which is installed, is newer.
001- Written 1048575 bytes
002- DONE
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so: undefined symbol: spl_ce_Countable), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: PHP Startup: redis: Unable to initialize module
007+ Module compiled with module API=20160303
008+ PHP compiled with module API=20170718
009+ These options need to match
010+ in Unknown on line 0
011+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
012+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
013+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/w01/Загрузки/2018/02/php-7.2.2/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/installpage/php-7.2.2/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/installpage/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 /root/installpage/php-7.2.2/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 /home/ubuntu/php-src-php-7.2.2/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:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/ubuntu/php-src-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 /home/ubuntu/php-src-php-7.2.2/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 /home/ubuntu/php-src-php-7.2.2/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/ubuntu/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
004+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/ubuntu/php-src-php-7.2.2/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:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
1 (1%)
001+ PHP Warning: PHP Startup: gd: Unable to initialize module
002+ Module compiled with module API=20160303
001- Written 1048575 bytes
002- DONE
003+ PHP compiled with module API=20170718
004+ These options need to match
005+ in Unknown on line 0
006+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
007+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
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