Bug #76937 [NEW]: Drupal tests fail with opcache on

From: Date: Wed, 26 Sep 2018 11:55:30 +0000
Subject: Bug #76937 [NEW]: Drupal tests fail with opcache on
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217249@lists.php.net to get a copy of this message
From: alex dot a dot pott at gmail dot com Operating system: OSX PHP version: 7.3.0RC1 Package: opcache Bug Type: Bug Bug description:Drupal tests fail with opcache on Description: ------------ When running a Drupal test on PHP 7.3 built from PHP-7.3 branch (ie.PHP 7.3.0-dev (cli) (built: Sep 26 2018 11:27:28) ( NTS )) it fails when opcache.enable_cli is 1 and it does not when it is 0. I've tried to isolate the problem in a smaller script with no Drupal but I've not managed yet. The script below fails when the opcache settings are: opcache.enable=1 opcache.enable_cli=1 But passes when they are opcache.enable=1 opcache.enable_cli=0 Test script: --------------- git clone --depth 1 --branch 8.7.x https://git.drupal.org/project/drupal.git cd drupal composer install composer run-script drupal-phpunit-upgrade SIMPLETEST_DB=sqlite://localhost//tmp/drupal.sqlite ./vendor/bin/phpunit -v -c ./core core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php -- Edit bug report at https://bugs.php.net/bug.php?id=76937&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76937&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76937&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76937&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76937&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76937&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76937&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76937&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76937&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76937&r=support Expected behavior: https://bugs.php.net/fix.php?id=76937&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76937&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76937&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76937&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76937&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76937&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76937&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76937&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76937&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76937&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76937&r=mysqlcfg

« previous php.bugs (#217249) next »