Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1979841

Summary: php-pecl-xdebug3 build failure
Product: Red Hat Enterprise Linux 9 Reporter: Joe Orton <jorton>
Component: php-pecl-xdebug3Assignee: Remi Collet <rcollet>
Status: CLOSED CURRENTRELEASE QA Contact: icesalov
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: bnater, osci-admins+bakery
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: php-pecl-xdebug3-3.0.4-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:50:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1951115    

Description Joe Orton 2021-07-07 08:44:08 UTC
Description of problem:
php-pecl-xdebug3 is failing to build.

Version-Release number of selected component (if applicable):
php-pecl-xdebug3-3.0.4-2.el9

How reproducible:
always

Actual results:
2x test suite failures:
========DIFF========
001+ ** ERROR: process timed out **
001- Xdebug: [Step Debug] Could not connect to debugging client. Tried: doesnotexist:9002 (through xdebug.client_host/xdebug.client_port) :-(
002- 3
003- [%d] Log opened at %d-%d-%d %d:%d:%d.%d
004- [%d] [Step Debug] INFO: Connecting to configured address/port: doesnotexist:9002.
005- [%d] [Step Debug] WARN: Creating socket for 'doesnotexist:9002', getaddrinfo: %s.
006- [%d] [Step Debug] ERR: Could not connect to debugging client. Tried: doesnotexist:9002 (through xdebug.client_host/xdebug.client_port) :-(
========DONE========
FAIL Test for Xdebug's remote log (can not connect, no remote callback) [tests/debugger/remote_log1.phpt] 
TEST 362/736 [tests/debugger/remote_log2.phpt]
PASS Test for Xdebug's remote log (can not connect, with not-found remote callback) [tests/debugger/remote_log2.phpt] 
TEST 363/736 [tests/debugger/remote_log3.phpt]
PASS Test for Xdebug's remote log (with xdebug.client_discovery_header) [tests/debugger/remote_log3.phpt] 
TEST 364/736 [tests/debugger/remote_log4.phpt]
========DIFF========
001+ ** ERROR: process timed out **
001- Xdebug: [Step Debug] Could not connect to debugging client. Tried: cookiehost:9003 (from I_LIKE_COOKIES HTTP header), doesnotexist2:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
002- 3
003- [%d] Log opened at %d-%d-%d %d:%d:%d.%d
004- [%d] [Step Debug] INFO: Checking remote connect back address.
005- [%d] [Step Debug] INFO: Checking user configured header 'I_LIKE_COOKIES'.
006- [%d] [Step Debug] INFO: Client host discovered through HTTP header, connecting to cookiehost:9003.
007- [%d] [Step Debug] WARN: Creating socket for 'cookiehost:9003', getaddrinfo: %s.
008- [%d] [Step Debug] WARN: Could not connect to client host discovered through HTTP headers, connecting to configured address/port: doesnotexist2:9003. :-|
009- [%d] [Step Debug] WARN: Creating socket for 'doesnotexist2:9003', getaddrinfo: %s.
010- [%d] [Step Debug] ERR: Could not connect to debugging client. Tried: cookiehost:9003 (from I_LIKE_COOKIES HTTP header), doesnotexist2:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
========DONE========

Comment 2 Remi Collet 2021-07-08 06:09:08 UTC
Failure in the test suite is raised by timeout for DNS requests on bad addresses (expected to fail)

Fix proposal
https://gitlab.com/redhat/centos-stream/rpms/php-pecl-xdebug3/-/merge_requests/3/diffs

Which will ignore tests with erratic failure:

+ find tests -type f -exec grep -q xdebug.client_host= '{}' ';' -delete -print
tests/debugger/remote_log4.phpt
tests/debugger/remote_log3.phpt
tests/debugger/remote_log2.phpt
tests/debugger/remote_log1.phpt
tests/debugger/remote_log-win.phpt
tests/debugger/remote_log-unix.phpt
tests/debugger/remote_log-unix-2.phpt

Comment 6 Remi Collet 2021-07-08 09:13:40 UTC
*** Bug 1980265 has been marked as a duplicate of this bug. ***