[php-src] Issue #12471: `opcache` tests failing
| From: | drupol | Date: | Wed, 18 Oct 2023 21:18:58 +0000 |
| Subject: | [php-src] Issue #12471: `opcache` tests failing | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245600@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12471
Author: drupol
### Description
Hello,
I'm making an experiment since a couple of weeks now. The idea behind the experiment is to
provide all the builds of PHP (>= 8) in Nix, including snapshots from development branches
(
PHP_8.1, PHP_8.2, master).
The project is here: https://github.com/loophp/php-src-nix/
Now, I'm opening this issue because PHP 8.3 is around the corner and since a couple of days
now, I'm unable to build the development branches of any version. It seems that there's an
issue with an opcache test:
<details>
<summary>opcache test failure on PHP_8.1 branch</summary>
```
error: builder for
'/nix/store/v6fb9aq51m89hsq7q2wr0k6fd5xw2k34-php-opcache-8.1.999.68aa793.drv' failed with
exit code 2;
last 10 log lines:
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #69838 OPCACHE Warning Internal error: wrong size calculation [tests/bu69838.phpt]
> Bug #70423 Warning Internal error: wrong size calculation [tests/bug70423.phpt]
> GH-8065: opcache.consistency_checks > 0 causes segfaults in PHP >= 8.1.5 in fpm
> context [tests/gh8065.phpt]
> Test basic logging for the Opcache [tests/zzz_basic_logging.phpt]
> =====================================================================
> make: *** [Makefile:138: test] Error 1
For full logs, run 'nix log
/nix/store/v6fb9aq51m89hsq7q2wr0k6fd5xw2k34-php-opcache-8.1.999.68aa793.drv'.
```
</details>
<details>
<summary>opcache test failure on PHP_8.2 branch</summary>
```
error: builder for
'/nix/store/syvay2ns30zha9g9cywxvgbb54gar08y-php-opcache-8.2.999.428ecf4.drv' failed with
exit code 2;
last 10 log lines:
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #69838 OPCACHE Warning Internal error: wrong size calculation [tests/bu69838.phpt]
> Bug #70423 Warning Internal error: wrong size calculation [tests/bug70423.phpt]
> GH-8065: opcache.consistency_checks > 0 causes segfaults in PHP >= 8.1.5 in fpm
> context [tests/gh8065.phpt]
> Bug GH-9259 001 (Setting opcache.interned_strings_buffer to a very high value leads to
> corruption of shm) [tests/gh9259_001.phpt]
> Bug GH-9259 002 (Setting opcache.interned_strings_buffer to a very high value leads to
> corruption of shm) [tests/gh9259_002.phpt]
> Test basic logging for the Opcache [tests/zzz_basic_logging.phpt]
> =====================================================================
> make: *** [Makefile:138: test] Error 1
For full logs, run 'nix log
/nix/store/syvay2ns30zha9g9cywxvgbb54gar08y-php-opcache-8.2.999.428ecf4.drv'.
error: 1 dependencies of derivation
'/nix/store/6hg90x4s1prng21znyawfycr0qiajls5-php-extra-init-8.2.999.428ecf4.ini.drv'
failed to build
```
</details>
<details>
<summary>opcache test failure on PHP_8.3 branch</summary>
```
error: builder for
'/nix/store/l5a3lb4vs1w9wqzggcdm8i3llqx91hfq-php-opcache-8.3.999.35d93d2.drv' failed with
exit code 2;
last 10 log lines:
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #69838 OPCACHE Warning Internal error: wrong size calculation [tests/bu69838.phpt]
> Bug #70423 Warning Internal error: wrong size calculation [tests/bug70423.phpt]
> Bug GH-9259 001 (Setting opcache.interned_strings_buffer to a very high value leads to
> corruption of shm) [tests/gh9259_001.phpt]
> Bug GH-9259 002 (Setting opcache.interned_strings_buffer to a very high value leads to
> corruption of shm) [tests/gh9259_002.phpt]
> Test basic logging for the Opcache [tests/zzz_basic_logging.phpt]
> =====================================================================
> make: *** [Makefile:138: test] Error 1
For full logs, run 'nix log
/nix/store/l5a3lb4vs1w9wqzggcdm8i3llqx91hfq-php-opcache-8.3.999.35d93d2.drv'.
error: 1 dependencies of derivation
'/nix/store/p4xxx1kj6km5v1l91746y9bngnydsp8y-php-extra-init-8.3.999.35d93d2.ini.drv'
failed to build
```
</details>
<details>
<summary>opcache test failure on master branch</summary>
```
error: builder for
'/nix/store/gy8afjdlxvf3226m8dq8s9r81xmw5b4x-php-opcache-8.4.999.5bfdedd.drv' failed with
exit code 2;
last 10 log lines:
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #69838 OPCACHE Warning Internal error: wrong size calculation [tests/bu69838.phpt]
> Bug #70423 Warning Internal error: wrong size calculation [tests/bug70423.phpt]
> Bug GH-9259 001 (Setting opcache.interned_strings_buffer to a very high value leads to
> corruption of shm) [tests/gh9259_001.phpt]
> Bug GH-9259 002 (Setting opcache.interned_strings_buffer to a very high value leads to
> corruption of shm) [tests/gh9259_002.phpt]
> Test basic logging for the Opcache [tests/zzz_basic_logging.phpt]
> =====================================================================
> make: *** [Makefile:138: test] Error 1
For full logs, run 'nix log
/nix/store/gy8afjdlxvf3226m8dq8s9r81xmw5b4x-php-opcache-8.4.999.5bfdedd.drv'.
error: 1 dependencies of derivation
'/nix/store/vh0z8a66i6s1dv6w9mnsmm626qlxvc1v-php-extra-init-8.4.999.5bfdedd.ini.drv'
failed to build
```
</details>
### PHP Version
any
### Operating System
Any linux