php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62873 run-tests.php fails to send Bug report to http://qa.php.net when $http_proxy set
Submitted: 2012-08-20 11:09 UTC Modified: 2020-10-04 04:22 UTC
From: php dot net at thermoman dot de Assigned: cmb (profile)
Status: No Feedback Package: Testing related
PHP Version: 5.4.6 OS: Linux 2.6.37.6
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php dot net at thermoman dot de
New email:
PHP Version: OS:

 

 [2012-08-20 11:09 UTC] php dot net at thermoman dot de
Description:
------------
After compiling PHP 5.4.6 i was asked to run the Test-Suite.

Some tests failed and run-tests.php tried to post this result to http://qa.php.net/buildtest-process.php.

This failed with "Connection reset by peer" error

Test script:
---------------
./configure --prefix=/home/mm/php546 --disable-all
make -j5
(make test)

Expected result:
----------------
Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): [redacted]

Posting to http://qa.php.net/buildtest-process.php

Thank you for helping to make PHP better.


Actual result:
--------------
Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): [redacted]

Posting to http://qa.php.net/buildtest-process.php

Notice: fwrite(): send of 8192 bytes failed with errno=104 Connection reset by peer in /home/mm/tmp/php-5.4.6/run-tests.php on line 996

Notice: fwrite(): send of 4 bytes failed with errno=32 Broken pipe in /home/mm/tmp/php-5.4.6/run-tests.php on line 997

Thank you for helping to make PHP better.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-20 11:40 UTC] php dot net at thermoman dot de
It seems i found the problem.

The box where i compiled PHP on had proxy environment settings active:

% env | grep -i proxy
http_proxy=http:((proxy:8080
FTP_PROXY=http:((proxy:8080
ftp_proxy=http:((proxy:8080
HTTPS_PROXY=http:((proxy:8080
https_proxy=http:((proxy:8080
HTTP_PROXY=http:((proxy:8080

(( == //

Please see rant at the bottom of this comment.

grepping through the proxies access_log i found this:

192.168.0.X - - [20/Aug/2012:12:09:57 +0200] "POST qa.php.net/buildtest-process.php?status=failed&version=5.4.6 HTTP/0.0" 400 3606 "-" "-" NONE:NONE
192.168.0.X - - [20/Aug/2012:13:06:33 +0200] "POST qa.php.net/buildtest-process.php?status=failed&version=5.4.6 HTTP/0.0" 400 3606 "-" "-" NONE:NONE

HTTP/0.0 might be some versions to low ;-)

Rant:

ERROR: Please do not SPAM our bug system. <-- YEAH sure ... it's a good idea to count the 'http://' occurences and simply deny commenting if it's aboce a certain threshold. Not Funny!
 [2012-08-21 06:54 UTC] php dot net at thermoman dot de
-Summary: run-tests.php fails to send Bug report to http://qa.php.net +Summary: run-tests.php fails to send Bug report to http://qa.php.net when $http_proxy set
 [2012-08-21 06:54 UTC] php dot net at thermoman dot de
Changed Summary
 [2012-09-08 15:14 UTC] felipe@php.net
This 0.0 makes no sense, we do use: 

fwrite($fs, "POST " . $path . "?status=$status&version=$php_version HTTP/1.1\r\n");
 [2014-09-27 11:06 UTC] jose dot nobile at gmail dot com
The same using PHPNG (5.7 or PHP 7.0.0-dev)

Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): entered

Posting to http://qa.php.net/buildtest-process.php

Notice: fwrite(): send of 8192 bytes failed with errno=11 Resource temporarily unavailable in /root/php-src/run-tests.php on line 1015

Thank you for helping to make PHP better.


No proxies, a clean environment.

I thing qa.php.net is not working always.
 [2020-09-23 16:15 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-09-23 16:15 UTC] cmb@php.net
> I thing qa.php.net is not working always.

Well, like many other Websites. :)

Anyhow, is that proxy issue still a thing?
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC