| Newsgroups |
gmane.comp.php.quality-assurance |
| Message-ID |
<[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=78090&edit=1
ID: 78090
Patch added by: [email protected]
Reported by: luciano at mannucci dot org
Summary: test 3408/14609 of make test takes forever to finish
Status: Verified
Type: Bug
Package: Testing related
Operating System: freebsd 11.2-RELEASE-p10
PHP Version: 7.3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The following pull request has been associated:
Patch Name: Fix #78090: test 3408/14609 of make test takes forever to finish
On GitHub: https://github.com/php/php-src/pull/5146
Patch: https://github.com/php/php-src/pull/5146.patch
Previous Comments:
------------------------------------------------------------------------
[2020-02-03 10:50:50] [email protected]
Thanks for the fast reply!
While active support for PHP 7.2 has ended a while ago[1], this
doesn't appear related to the PHP version at all, but rather to
Failed to connect to 127.0.0.1 port 9: Operation timed out
Apparently, your system does not support the discard protocol[2],
so the test should be skipped.
[1] <https://www.php.net/supported-versions.php>
[2] <https://tools.ietf.org/html/rfc863>
------------------------------------------------------------------------
[2020-02-03 09:58:11] luciano at mannucci dot org
This is what I get:
root@Saguaro:/tmp # /opt/php72/bin/php
php* php-cgi* php-config* phpdbg* phpize*
root@Saguaro:/tmp # /opt/php72/bin/php !$
/opt/php72/bin/php test_script.php
* STATE: INIT => CONNECT handle 0x53113000; line 1605 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:9...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x53113000; line 1661 (connection #0)
* connect to 127.0.0.1 port 9 failed: Operation timed out
* Failed to connect to 127.0.0.1 port 9: Operation timed out
* multi_done
* Closing connection 0
* The cache now contains 0 members
* STATE: INIT => CONNECT handle 0x53113000; line 1605 (connection #-5000)
* Added connection 1. The cache now contains 1 members
* Hostname 127.0.0.1 was found in DNS cache
* Trying 127.0.0.1:9...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x53113000; line 1661 (connection #1)
* connect to 127.0.0.1 port 9 failed: Operation timed out
* Failed to connect to 127.0.0.1 port 9: Operation timed out
* multi_done
* Closing connection 1
* The cache now contains 0 members
* STATE: INIT => CONNECT handle 0x53113000; line 1605 (connection #-5000)
* Added connection 2. The cache now contains 1 members
* Trying 127.0.0.1:9...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x53113000; line 1661 (connection #2)
* connect to 127.0.0.1 port 9 failed: Operation timed out
* Failed to connect to 127.0.0.1 port 9: Operation timed out
* multi_done
* Closing connection 2
* The cache now contains 0 members
root@Saguaro:/tmp #
My php is now:
root@Saguaro:/tmp # /opt/php72/bin/php --version
PHP 7.2.27 (cli) (built: Jan 23 2020 19:30:35) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Which shows the very same behaviour of its predecessor.
------------------------------------------------------------------------
[2020-02-02 22:52:56] [email protected]
What happens if you run the following script? Are there any error
messages? Does the script finish after some time?
<?php
$ch = curl_init();
$fp = fopen('/dev/null', 'w');
for($i = 0; $i < 3; $i++) {
curl_setopt($ch, CURLOPT_URL, 'http://127.0.0.1:9/');
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_exec($ch);
}
?>
------------------------------------------------------------------------
[2019-05-31 11:11:40] luciano at mannucci dot org
Description:
------------
Might be a duplicate of bug #69327
This is 'make test' output:
=====================================================================
PHP : /usr/local/src/php/php-7.2.19/sapi/cli/php
PHP_SAPI : cli
PHP_VERSION : 7.2.19
ZEND_VERSION: 3.2.0
PHP_OS : FreeBSD - FreeBSD Saguaro 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #1 r348168: Fri May 24 11:58:27 CEST 2019 root@Saguaro:/usr/obj/usr/src/sys/GENERIC64 powerpc
INI actual : /usr/local/src/php/php-7.2.19/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
PHP : /usr/local/src/php/php-7.2.19/sapi/phpdbg/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 7.2.19
ZEND_VERSION: 3.2.0
PHP_OS : FreeBSD - FreeBSD Saguaro 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #1 r348168: Fri May 24 11:58:27 CEST 2019 root@Saguaro:/usr/obj/usr/src/sys/GENERIC64 powerpc
INI actual : /usr/local/src/php/php-7.2.19/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
CWD : /usr/local/src/php/php-7.2.19
Extra dirs :
VALGRIND : Not used
=====================================================================
[Passed omitted]
TEST 3408/14609 [ext/curl/tests/bug45161.phpt]
and stops there.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78090&edit=1