View Issue Details

IDProjectCategoryView StatusLast Update
0002220XdebugUncategorizedpublic2023-12-14 17:32
Reporterremi Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.3.0 
Target Version3.3devFixed in Version3.3.1 
Summary0002220: Test failure
Description

2 Test failures on RHEL-7 without compression (zlib is outdated there)

TEST 617/793 [tests/profiler/bug02001-no-zlib-compression.phpt]
========DIFF========
002+ [3225030] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.3225030'
     [%d] [Config] WARN: Cannot create the compressed file '%s.out.gz', because support for zlib has not been compiled in. Falling back to '%s.out'
     %A
005+ creator: xdebug 3.3.0 (PHP 8.0.30)
006+ cmd: /builddir/build/BUILD/php-pecl-xdebug3-3.3.0/src/tests/profiler/bug02001-no-zlib-compression.php
007+ part: 1
008+ positions: line
009+ 
010+ events: Time_(10ns) Memory_(bytes)
========DONE========
FAIL Test for bug 0002001: no zlib, use_compression=1 [tests/profiler/bug02001-no-zlib-compression.phpt] 

TEST 743/793 [tests/tracing/start_no_zlib_compression.phpt]
========DIFF========
--
     %w%f %w%d
     TRACE END   [%d-%d-%d %d:%d:%d.%d]

010+ [3225290] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.3225290'
     [%d] [Config] WARN: Cannot create the compressed file '%s.xt.gz', because support for zlib has not been compiled in. Falling back to '%s.xt'
========DONE========
FAIL Compression: no zlib, use_compression=1 [tests/tracing/start_no_zlib_compression.phpt] 

2 Test failures on Fedora Rawhide (other versions are OK)
https://koji.fedoraproject.org/koji/taskinfo?taskID=109759478

TEST 239/791 [tests/debugger/bug01388-08.phpt]
========DIFF========
--

     -> run -i 6
     <?xml version="1.0" encoding="iso-8859-1"?>
026+ <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file://bug01388-08b.inc" lineno="9" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0002"></breakpoint></notify>
026- <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file://bug01388-08b.inc" lineno="2" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint></notify>

     <?xml version="1.0" encoding="iso-8859-1"?>
029+ <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file://bug01388-08b.inc" lineno="2" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint></notify>
029- <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file://bug01388-08b.inc" lineno="9" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0002"></breakpoint></notify>

     <?xml version="1.0" encoding="iso-8859-1"?>
     <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="6" status="break" reason="ok"><xdebug:message filename="file://bug01388-08b.inc" lineno="2"></xdebug:message></response>
--
========DONE========

TEST 291/791 [tests/debugger/bug02006-001.phpt]
========DIFF========
--

     -> breakpoint_list -i 3
     <?xml version="1.0" encoding="iso-8859-1"?>
014+ <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="3"><breakpoint type="call" function="b" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0002"></breakpoint><breakpoint type="call" function="a" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint></response>
014- <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="3"><breakpoint type="call" function="a" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint><breakpoint type="call" function="b" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0002"></breakpoint></response>

     -> breakpoint_remove -i 4 -d %d0001
     <?xml version="1.0" encoding="iso-8859-1"?>
--
========DONE========
FAIL Test for bug 0002006: Removing second call breakpoint with same function name crashes [tests/debugger/bug02006-001.phpt] 

This is quite strange, could be related to some changes in build chain.

TagsNo tags attached.
Operating System
PHP Version8.3-dev

Activities

remi

2023-12-01 07:25

reporter   ~0006690

Fedora 39 build is OK (with PHP 8.2)
https://koji.fedoraproject.org/koji/taskinfo?taskID=109760122

remi

2023-12-01 08:23

reporter   ~0006691

May be related to new libxml 2.12, as tests use simplexml extension, which introduce lot of changes :(

derick

2023-12-06 17:15

administrator   ~0006705

https://github.com/xdebug/xdebug/pull/935

I can't reproduce the XML part though, so I have not yet made any changes for that.

derick

2023-12-11 15:40

administrator   ~0006720

https://github.com/xdebug/xdebug/pull/935

Issue History

Date Modified Username Field Change
2023-12-01 07:11 remi New Issue
2023-12-01 07:25 remi Note Added: 0006690
2023-12-01 08:23 remi Note Added: 0006691
2023-12-01 12:19 derick Description Updated
2023-12-06 17:15 derick Assigned To => derick
2023-12-06 17:15 derick Status new => assigned
2023-12-06 17:15 derick Note Added: 0006705
2023-12-06 17:15 derick Target Version => 3.3dev
2023-12-06 17:15 derick Description Updated
2023-12-11 15:40 derick Status assigned => closed
2023-12-11 15:40 derick Resolution open => fixed
2023-12-11 15:40 derick Fixed in Version => 3.3dev
2023-12-11 15:40 derick Note Added: 0006720
2023-12-14 17:32 derick Fixed in Version 3.3dev => 3.3.1