Skip to content

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

Open
@willryan-stemcell

Description

@willryan-stemcell

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Ready for Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions