Bug #78090 [Com]: test 3408/14609 of make test takes forever to finish
| From: | luciano at mannucci dot org | Date: | Mon, 03 Feb 2020 09:58:11 +0000 |
| Subject: | Bug #78090 [Com]: test 3408/14609 of make test takes forever to finish | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-225326@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78090&edit=1
ID: 78090
Comment by: luciano at mannucci dot org
Reported by: luciano at mannucci dot org
Summary: test 3408/14609 of make test takes forever to finish
Status: Feedback
Type: Bug
Package: Testing related
Operating System: freebsd 11.2-RELEASE-p10
PHP Version: 7.2.19
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2020-02-02 22:52:56] cmb@php.net
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