|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78626 bug27023.phpt never finishes
Submitted: 2019-10-03 08:05 UTC Modified: 2020-10-04 04:22 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: Assigned: cmb (profile)
Status: No Feedback Package: Testing related
PHP Version: 7.4.0RC2 OS: OSX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
19 - 14 = ?
Subscribe to this entry?

 [2019-10-03 08:05 UTC]
when running make test on OSX, bug27023.phpt never ends. 

Compilation is fine, and all tests until then works (fail or success, but they end).

Compilation without curl works, and all tests work (fail or success, but they end).

Test script:
make test, after compilation

Expected result:
test runs (I'll let know if test fail or pass after by submitting the results then).

Actual result:
test hangs


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-03 10:49 UTC]
-Package: Unknown/Other Function +Package: Testing related
 [2019-10-03 10:49 UTC]
Would, say, bug48203.phpt also hang if bug27023.phpt wasn't

Tentatively categorizing as "testing related".
 [2019-10-04 06:45 UTC]
The following bugs are all hanging. 


I'll report when I'm past the bug48203.phpt or not (what is the way to run one phpt ?)
 [2019-10-04 07:43 UTC]
> what is the way to run one phpt ?

If you've built yourself, you can do

    make test TESTS=ext/curl/tests/bug48203.phpt

But I don't think that's necessary.  Given the list of stalling
tests, this looks to be a general issue with
 [2019-10-04 10:19 UTC]
bug27023 runs and passes.
The list of hanging tests is complete.  

I checked again with a new pull and build (just in case).
 [2019-10-04 10:41 UTC]
> bug27023 runs and passes.

Is this a typo, or does the test pass, if you run it as single
test?  In the latter case the used run-tests.php might not support
CONFLICT files - did you use a recent run-tests.php from the 7.4
 [2019-10-04 17:32 UTC]
Yes, my bad. Test bug48203 passes, while bug27023 (and others) still hang. 

Let me compile against the last RC for 7.4
 [2019-11-07 10:52 UTC]
Is there any useful error output if you run the test directly? I.e. via "sapi/cli/php ext/curl/tests/bug27023.phpt"?
 [2019-11-07 18:54 UTC]
Fresh build, and I get this : 

Bug #27023 (CURLOPT_POSTFIELDS does not parse content types for files)
error_reporting = E_ALL & ~E_DEPRECATED
Server is not running

On the other hand, make test TESTS=ext/curl/tests/bug27023.phpt still hangs.
 [2020-09-23 16:06 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-09-23 16:06 UTC]
Is this issue still unresolved?  If so, could you do some
debugging?  See ext/curl/tests/[1] for a start; maybe
the usleep(50000) is not long enough; maybe the server can't start
for other reasons; you could try to run the proc_open() $cmd

[1] <>
 [2020-10-04 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat May 21 23:03:34 2022 UTC