Bug #62873 [Opn->Fbk]: run-tests.php fails to send Bug report to http://qa.php.net when $http_proxy set

[email protected]
Newsgroups php.bugs,php.qa
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=62873&edit=1

 ID:                 62873
 Updated by:         [email protected]
 Reported by:        php dot net at thermoman dot de
 Summary:            run-tests.php fails to send Bug report to
                     http://qa.php.net when $http_proxy set
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Testing related
 Operating System:   Linux 2.6.37.6
 PHP Version:        5.4.6
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

> I thing qa.php.net is not working always.

Well, like many other Websites. :)

Anyhow, is that proxy issue still a thing?


Previous Comments:
------------------------------------------------------------------------
[2014-09-27 11:06:08] 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.

------------------------------------------------------------------------
[2012-09-08 15:14:58] [email protected]

This 0.0 makes no sense, we do use: 

fwrite($fs, "POST " . $path . "?status=$status&version=$php_version HTTP/1.1\r\n");

------------------------------------------------------------------------
[2012-08-21 06:54:57] php dot net at thermoman dot de

Changed Summary

------------------------------------------------------------------------
[2012-08-20 11:40:15] 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-20 11:09:49] 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.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=62873&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.