minkphp / MinkZombieDriver

Zombie.js driver for Mink framework
41 stars 49 forks source link

Tests failing on ppc64le architecture for master and versions v1.4.0,v1.5.0 #202

Open vedang-wartikar opened 2 years ago

vedang-wartikar commented 2 years ago

I have built and tested MinkZombieDriver on both ppc64le and x86 architectures for RHEL-based OS. The package can be built successfully on both architectures but the tests are failing on ppc64le. I'm not able to figure it out looking at the test logs.

I am running the following commands inside a RHEL-based UBI container

yum module enable php:7.4 -y

yum install zip wget curl make gcc nodejs npm php php-json php-dom git python3 python3-devel make gcc-c++ php-mbstring php-zip php-dbg -y

git clone https://github.com/minkphp/MinkZombieDriver

cd MinkZombieDriver/

git checkout v1.5.0

cd ..

npm install zombie@^4.0

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php --install-dir=/bin --filename=composer

cd MinkZombieDriver/

composer require --no-update --dev symfony/error-handler "^4.4 || ^5.0"

composer update --no-interaction --prefer-dist

mkdir ./logs

./vendor/bin/mink-test-server &> ./logs/mink-test-server.log &

vendor/bin/phpunit -v --coverage-clover=coverage.clover

Not sure if I am missing anything, but I am running the same commands inside UBI containers for the 2 architectures

aik099 commented 2 years ago

Does the Zombie itself (see http://zombie.js.org/) work on ppc64le architecture? If it doesn't, then it's their repo where the issue should be submitted.

This repo is just a Zombie wrapped to be used with Mink.