Bug #79639 [Opn->Ver]: run-tests doesn't pass all info down to workers
| From: | cmb@php.net | Date: | Wed, 27 May 2020 06:49:31 +0000 |
| Subject: | Bug #79639 [Opn->Ver]: run-tests doesn't pass all info down to workers | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-227193@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79639&edit=1
ID: 79639
Updated by: cmb@php.net
Reported by: dragoonis@php.net
Summary: run-tests doesn't pass all info down to workers
-Status: Open
+Status: Verified
Type: Bug
Package: Testing related
Operating System: All
PHP Version: master-Git-2020-05-27 (Git)
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2020-05-27 06:49:06] cmb@php.net
The following pull request has been associated:
Patch Name: Fix #79639 - Preserving the html report options in parallel worker mode
On GitHub: https://github.com/php/php-src/pull/5632
Patch: https://github.com/php/php-src/pull/5632.patch
------------------------------------------------------------------------
[2020-05-27 03:31:05] dragoonis@php.net
Description:
------------
As per chats on Room 11. run-tests with parallel enabled, it doesn't pass down all info to the
workers.
One example (of many?) is a fatal error when using --html option with parallel. The fopen handle()
doesn't get passed down to the worker, as the "resource" in $GLOBAL memory
doesn't get sent over.
The bug fix is available on github, I'll reference the bug number there.
Test script:
---------------
make TEST_PHP_ARGS="--html report.html -j2" test
Expected result:
----------------
Tests run
Actual result:
--------------
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($handle) must be of type resource, int given
in /home/dragoonis/code/php-src/run-tests.php:3332
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79639&edit=1