View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002391 | Xdebug | Code Coverage | public | 2025-12-01 22:26 | 2026-01-14 11:06 |
| Reporter | laurin1 | Assigned To | derick | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | feedback | Resolution | open | ||
| Product Version | 3.5.0alpha3 | ||||
| Summary | 0002391: Code Coverage times out on random tests | ||||
| Description | We accidentally installed 3.50-dev and then our code coverage started failing. I listed as always reproducible because if we run our entire test suite, it happens every time. However, the particular test that times out varies. Step 3/3: PHPUnit (Command Line) | ||||
| Steps To Reproduce | Not sure how to this can be done outside of our environment. | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows Server 2016 | ||||
| PHP Version | 8.4.10-8.4.19 | ||||
|
|
Your tests clearly just take longer than 120 seconds of CPU time. Just... Increase the limit. Without a reproducible case showing differences between versions, I also can't do any research about this. |
|
|
I realize you can't research it without more info, but no, these test do not take more than 120 seconds. I switched back to the 3.4 version of Xdebug and the tests pass just fine - it's only with this specific version of Xdebug do they timeout. |
|
|
I'll try to create a reproducible version, but as this only occurs when the entire suite is run, and all of our code is proprietary (as is the environment), that will be very difficult to do. |
|
|
Keith (@laurin1) added by email while the issue tracker was unavailable:
|
|
|
I still don't know what to do about this. On Linux I would suggest to run strace with timing enabled, to list all system calls and when they were called (and hence, how long they took). I am not sure if there still is something for Windows for this. I think it was https://learn.microsoft.com/en-gb/sysinternals/downloads/procmon that I had used before (decades ago, when I still did Windows). Might be worth giving that a go? |
|
|
I was confused when I reported my last comments. Yes, this issue is reproducible, however, the issue is not with Xdebug 3.50-dev, as it's happening with 3.4.7.
|
|
|
Could you try setting |
|
|
Could you try setting |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-12-01 22:26 | laurin1 | New Issue | |
| 2025-12-01 23:24 | derick | Assigned To | => derick |
| 2025-12-01 23:24 | derick | Status | new => feedback |
| 2025-12-01 23:24 | derick | Note Added: 0007419 | |
| 2025-12-01 23:26 | laurin1 | Note Added: 0007420 | |
| 2025-12-01 23:26 | laurin1 | Status | feedback => assigned |
| 2025-12-01 23:27 | laurin1 | Note Added: 0007421 | |
| 2025-12-31 12:59 | derick | Note Added: 0007433 | |
| 2025-12-31 13:02 | derick | Note Added: 0007434 | |
| 2025-12-31 13:02 | derick | Status | assigned => feedback |
| 2026-01-06 23:57 | laurin1 | Note Added: 0007435 | |
| 2026-01-06 23:57 | laurin1 | Status | feedback => assigned |
| 2026-01-14 11:06 | derick | Note Added: 0007442 | |
| 2026-01-14 11:06 | derick | Status | assigned => feedback |
| 2026-01-14 11:06 | derick | Note Added: 0007443 |