Edit report at https://bugs.php.net/bug.php?id=80249&edit=1
ID: 80249 User updated by: sigsegv at makadev dot de Reported by: sigsegv at makadev dot de -Summary: bug79514 and bug79514 process timeout +Summary: bug79514 and bug36365 process timeout Status: Open Type: Bug Package: Testing related Operating System: Win + Docker + WSL2 PHP Version: 8.0Git-2020-10-16 (Git) Block user comment: N Private report: N New Comment: Corrected Summary should be "bug79514 and bug36365 process timeout" Previous Comments: ------------------------------------------------------------------------ [2020-10-16 21:58:09] sigsegv at makadev dot de 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 this bug report at https://bugs.php.net/bug.php?id=80249&edit=1