Bug #80249 [NEW]: bug79514 and bug79514 process timeout
From: sigsegv at makadev dot de
Operating system: Win + Docker + WSL2
PHP version: 8.0Git-2020-10-16 (Git)
Package: Testing related
Bug Type: Bug
Bug description:bug79514 and bug79514 process timeout
Description:
------------
Some tests may fail due to process timeout in docker (debian:buster) on
windows host via WSL2 (ubuntu) when executed on bind mount from host:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #79514 (Memory leaks while including unexistent file)
[Zend/tests/bug79514.phpt]
Bug #36365 (scandir duplicates file name at every 65535th file)
[ext/standard/tests/file/bug36365.phpt]
=====================================================================
Problem seems to be that the 9p (plan 9 / network) filesystem is very
slow under pressure and both tests are either creating or looking up
thousands of files, which makes those tests fail with a process timeout
rather than an actual error or lockup. When executed individually they
do succeed (on my pc):
$ time /workspace/php-src/Zend/tests/bug79514.sh
bool(true)
real 0m42,861s
user 0m2,512s
sys 0m7,781s
$ time /workspace/php-src/ext/standard/tests/file/bug36365.sh
Warning: mkdir(): File exists in
/workspace/php-src/ext/standard/tests/file/bug36365.php on line 4
int(70002)
real 2m7,388s
user 0m0,787s
sys 0m25,219s
Actual result:
--------------
/workspace/php-src/ext/standard/tests/file/bug36365.log:
---- EXPECTED OUTPUT
int(70002)
---- ACTUAL OUTPUT
** ERROR: process timed out **
---- FAILED
/workspace/php-src/Zend/tests/bug79514.out:
---- EXPECTED OUTPUT
bool(true)
---- ACTUAL OUTPUT
** ERROR: process timed out **
---- FAILED
--
Edit bug report at https://bugs.php.net/bug.php?id=80249&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80249&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80249&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80249&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80249&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80249&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80249&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80249&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80249&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80249&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80249&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80249&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80249&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80249&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80249&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80249&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80249&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80249&r=mysqlcfg
Thread (2 messages)
- sigsegv at makadev dot de