Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79330 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75677 invoked from network); 1 Dec 2014 06:09:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2014 06:09:30 -0000 Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.197 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.197 relay5-d.mail.gandi.net Linux 2.6 Received: from [217.70.183.197] ([217.70.183.197:59543] helo=relay5-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/02-61248-8160C745 for ; Mon, 01 Dec 2014 01:09:29 -0500 Received: from mfilter28-d.gandi.net (mfilter28-d.gandi.net [217.70.178.159]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id EF6C341C06B for ; Mon, 1 Dec 2014 07:09:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter28-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter28-d.gandi.net (mfilter28-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id MSxnMZn74-Gw for ; Mon, 1 Dec 2014 07:09:23 +0100 (CET) X-Originating-IP: 82.241.130.121 Received: from schrodingerscat.famillecollet.com (pom51-2-82-241-130-121.fbx.proxad.net [82.241.130.121]) (Authenticated sender: contact@ll-experts.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 6C4C341C04B for ; Mon, 1 Dec 2014 07:09:23 +0100 (CET) Message-ID: <547C0612.1050109@fedoraproject.org> Date: Mon, 01 Dec 2014 07:09:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: PHP Internals References: <547BE285.6060901@gmail.com> In-Reply-To: <547BE285.6060901@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: test sapi/fpm/tests/015.phpt From: remi@fedoraproject.org (Remi Collet) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 01/12/2014 04:37, Stanislav Malyshev a =C3=A9crit : > Hi Remi! >=20 > I see that the test sapi/fpm/tests/015.phpt is randomly > intermittently failing all the time in CI, making it harder to > evaluate fixes. The cause of the failure is additional one or two > messages like this: >=20 > ERROR: unable to read what child say: Bad file descriptor (9) >=20 > Could you (or somebody else who knows FPM better than me) look into > it and make it work or XFAIL it or disable it if it's impossible? 015 is the only test which rely on "catch_workers_output =3D yes" So this feature seems to have issues :( I think we should be able to write directly in the master error_log without having to go through via this master-child-pipe solution. I already have a patch and run some tests on this. I will look at this ASAP (probably using XFAIL for now). Notice: I think some downstream use php_admin_value[error_log] which create a "per-pool" file, but owned by the non privileged child user (not perfect for security, as the dir must be widely open). With default config... (no catch_workers_output and no php_admin_value) child messages are simply lost in /dev/null :( Remi. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlR8BhIACgkQYUppBSnxahgNVgCfciNCGIvbvLqU13vA39wm3FHl SoAAniqUOWBNMavbltgh0E3vi0FuKAqb =3DrU2D -----END PGP SIGNATURE-----