php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78552 Openssl extra warnings
Submitted: 2019-09-16 19:27 UTC Modified: 2019-11-11 23:07 UTC
From: v-altruo at microsoft dot com Assigned: cmb (profile)
Status: Assigned Package: Testing related
PHP Version: 7.4.0RC1 OS: Windows Server 2012 R2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-09-16 19:27 UTC] v-altruo at microsoft dot com
Description:
------------
Test fails for both x64/x86 and TS/NTS builds regardless of opcache on/off.
These also fail for 7.2.23RC1. 

There are also other tests that have a similar test failure where there is an extra line of output that seems to make the tests fail. 

Failed test locations: 
ext\openssl\tests\bug68265.phpt
ext\openssl\tests\bug68879.phpt
ext\openssl\tests\bug68920.phpt
ext\openssl\tests\bug69215.phpt

Expected result:
----------------
resource(%d) of type (stream)

Actual result:
--------------
resource(9) of type (stream)
PHP Warning:  stream_socket_accept(): SSL: An established connection was aborted by the software in your host machine.
 in .\ext\openssl\tests\ServerClientTestCase.inc(119) : eval()'d code on line 11

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-17 07:51 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2019-09-17 07:51 UTC] cmb@php.net
For me, these four tests are passing.  Did you run them in
parallel (they're not supposed to)?
 [2019-09-17 18:04 UTC] v-altruo at microsoft dot com
-Status: Feedback +Status: Assigned
 [2019-09-17 18:04 UTC] v-altruo at microsoft dot com
Just got a new test pack and tried again for 7.2.23RC1 one by one to be sure and none of them passed. 

I initially thought it might have been some setup error on my part with openssl, but for 7.3.10RC1 all these tests pass.
 [2019-11-11 23:07 UTC] v-altruo at microsoft dot com
I recently tested this on 7.2.25RC1 and the test still fails. I tried re-downloading the test pack and then running the test individually to make sure, and it fails. However, sometimes I had to run the test more than once test before it was marked as "FAIL". However, every time after the first time it was marked "FAIL", it would always fail.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 19 21:01:35 2019 UTC