Skip to content
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

PHPUnit doesn't work with magento/magento-cloud-docker-php:8.3-fpm-1.3.7 image #366

Open
willryan-stemcell opened this issue May 25, 2024 · 3 comments

Comments

@willryan-stemcell
Copy link

willryan-stemcell commented May 25, 2024

I'm not able to run PHPUnit when using the magento/magento-cloud-docker-php:8.3-fpm-1.3.7 image

It works fine with magento/magento-cloud-docker-php:8.2-fpm-1.3.7 and magento/magento-cloud-docker-php:8.2-fpm-1.3.6

Preconditions

Generate a Magento Cloud Docker docker-compose.yml file using this command:
./vendor/bin/ece-docker 'build:compose' --host='dev.local' --mode=developer --with-xdebug --os='2.12' --db='10.6' --php='8.3' --rmq='3.12' --redis='7.2'

  1. Run docker-compose up -d

Steps to reproduce

  1. Run docker exec -it magento2_fpm_xdebug_1 bash
  2. Run php -d xdebug.mode=coverage vendor/bin/phpunit --version

Expected result

PHPUnit version returned, for example:
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.

Actual result

Segmentation fault (core dumped)

Screenshot 2024-05-24 170426

@willryan-stemcell
Copy link
Author

Related Commerce Help Center ticket: https://support.magento.com/hc/en-us/requests/754404

@spdivn
Copy link

spdivn commented Aug 21, 2024

Can you please provide an update for this ticket?
I have found that the problem is xdebug 3.3.0 that has this problem but i can't change this version on docker image.

@willryan-stemcell we can't see this ticket because we are not on "watcher" list.

@github-project-automation github-project-automation bot moved this to Ready for Grooming in Backlog Aug 26, 2024
@willryan-stemcell
Copy link
Author

@spdivn This is the response I received from Adobe. Unfortunately, it's not super helpful:

Hello Will,

Cloud Docker is a Magento Community Engineering project and it is supported by the Magento developer community only. You can check the details on how to get support for docker images on this doc: https://developer.adobe.com/commerce/cloud-tools/docker/get-support/

More Info: https://experienceleague.adobe.com/en/docs/commerce-operations/security-and-compliance/shared-responsibility#operational-responsibilities-summary

Kind Regards,

Rimom,
Customer Engineering, Adobe Commerce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Grooming
Development

No branches or pull requests

2 participants