-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xdebug configuration change - breaks coverage reports #105
Comments
If it helps any, I cleared out our runner docker image cache around 2 weeks ago to get room on the runner and to clear out unused image. So it would of have to pulled the latest image and re-ran the docker scripts after that. |
A possible solution would be to add some configs as is done for OpCache
|
I just encountered a similar issue. Tests on Gitlab CI were running fine last week (using XDebug v2.9.8) and started failing today (using Xdebug v3.0.0beta1). Code hasn't changed much. The most likely cause seems to be the XDebug upgrade, or another change in the docker image. My error message is different, though. I get a Here a the relevant logs:
|
Experiencing the same issue ( Edit: |
Same for me
Using |
Same issue for
|
I change xdebug back to 2.9.8 until PHP 8 release, i believe that everything should work now |
@edbizarro we're seeing segfaults in CI (using 7.3 image) -- I see xdebug 3.0.2 instead of 2.x again. did you change your mind on keeping xdebug frozen at 2.x until php 8? based on the commit referenced above I'm guessing maybe this was an upstream change? thoughts? Our latest failing CI:
Our latest passing CI:
|
This works for now:
|
hi @rocksfrow with the release of PHP 8 I think we can move forward to support only xdebug 3 as the default one |
That would break all projects running older versions of PHPUnit (including still supported Laravel versions such as 7.x) |
I guess I will stick w/ my before_script usage to avoid the seg faults until we can figure out what in the hell incompatible extension is causing these seg faults then. thanks for the feedback. |
Magento 2 also breaks with XDebug as it throws:
|
We use this image for running PHPUnit test in as part of our GitLab CI process for projects. Today I have noticed that running PHP Unit configurations with clover reports for coverage no longer creates these reports.
In order to verify if it was something within the docker environment,I have gone to other another project that uses the same image and push a small text file to trigger the CI and confirmed the coverage report is not being created. Looking at past CI pipelines, my last successful run was 1 month ago
The next job - ran a week or so after that is when I first see this issue pop up:
Using the latest PHPUnit produces the following:
When I grep XDebug settings as a pre-script action, I see the following:
Here is the GitLab CI file for the project
To me this looks like a dependency changed it's setup or configuration that the docker image uses, thus changing the environment by accident.
The text was updated successfully, but these errors were encountered: