[php-src] Issue #9654: 2 opcache preload tests failing on Alpinelinux
| From: | andypost | Date: | Sat, 01 Oct 2022 16:04:13 +0000 |
| Subject: | [php-src] Issue #9654: 2 opcache preload tests failing on Alpinelinux | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242508@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9654
Author: andypost
### Description
The following tests are failing on s390x arch and with 8.1.11 release on armv7 of stable 3.16
release:
```
FAILED TEST SUMMARY
---------------------------------------------------------------------
Handling of errors during linking [ext/opcache/tests/preload_006.phpt]
Argument/return types must be available for preloading [ext/opcache/tests/preload_011.phpt]
```
This is 3.16 stable release of Alpinelinux
Resulted in this output:
armv7
```
========DIFF========
[1;32m001+ mmap() failed: [12] Out of memory[0m
[1;31m001- Warning: Can't preload unlinked class B: Declaration of B::foo($bar) must be
compatible with A::foo() in %spreload_inheritance_error.inc on line 8[0m
[1;31m002- Foobar[0m
========DONE========
[1;31mFAIL[0m Handling of errors during linking [ext/opcache/tests/preload_006.phpt]
========DIFF========
[1;32m001+ mmap() failed: [12] Out of memory[0m
[1;31m001- Warning: Can't preload unlinked class H: Could not check compatibility between
H::method($a): L and G::method($a): K, because class L is not available in %spreload_variance.inc on
line 43[0m
========DONE========
[1;31mFAIL[0m Argument/return types must be available for preloading
[ext/opcache/tests/preload_011.phpt]
```
s390x is
```
========DIFF========
[1;32m001+ Termsig=0[0m
[1;31m001- Warning: Can't preload unlinked class B: Declaration of B::foo($bar) must be
compatible with A::foo() in %spreload_inheritance_error.inc on line 8[0m
[1;31m002- Foobar[0m
========DONE========
[1;31mFAIL[0m Handling of errors during linking [ext/opcache/tests/preload_006.phpt]
========DIFF========
[1;32m001+ Termsig=0[0m
[1;31m001- Warning: Can't preload unlinked class H: Could not check compatibility between
H::method($a): L and G::method($a): K, because class L is not available in %spreload_variance.inc on
line 43[0m
========DONE========
[1;31mFAIL[0m Argument/return types must be available for preloading
[ext/opcache/tests/preload_011.phpt]
```
But I expected this will fail only om s390x arch
and then faced with https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/39622#note_265884
### PHP Version
8.1.11
### Operating System
Alpinelinux 3.16