From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 28 16:10:13 2017 Received: (at submit) by debbugs.gnu.org; 28 Mar 2017 20:10:13 +0000 Received: from localhost ([127.0.0.1]:49680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csxRM-0005JL-5B for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:10:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csxRK-0005Im-4A for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:10:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csxRD-0002y7-Jb for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:09:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1csxRD-0002xz-Gt for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:09:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csxRB-0002oZ-RI for bug-guix@gnu.org; Tue, 28 Mar 2017 16:09:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csxR7-0002vT-O1 for bug-guix@gnu.org; Tue, 28 Mar 2017 16:09:53 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:57820) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1csxR7-0002u6-Gy for bug-guix@gnu.org; Tue, 28 Mar 2017 16:09:49 -0400 Received: from localhost (77.118.176.197.wireless.dyn.drei.com [77.118.176.197]) by dd1012.kasserver.com (Postfix) with ESMTPSA id D51581CA0C97 for ; Tue, 28 Mar 2017 22:09:40 +0200 (CEST) Date: Tue, 28 Mar 2017 22:09:32 +0200 From: Danny Milosavljevic To: Subject: python-pexpect 4.2.1 test failure in test_async_utf8 Message-ID: <20170328220932.53a4c550@scratchpost.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) python-pexpect 4.2.1 has a test failure on both master and core-updates: .E................................................/gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) /gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which: no g77 in (/tmp/guix-build-python-pexpect-4.2.1.drv-0/tmpywfead93) .. ====================================================================== ERROR: test_async_utf8 (tests.test_async.AsyncTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/tests/test_async.py", line 57, in test_async_utf8 assert run(p.expect_exact([u'foo', pexpect.EOF], async=True)) == 1 File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/tests/test_async.py", line 13, in run return asyncio.get_event_loop().run_until_complete(coro) File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete return future.result() File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/asyncio/futures.py", line 274, in result raise self._exception File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/asyncio/tasks.py", line 239, in _step result = coro.send(None) File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/pexpect/async.py", line 17, in expect_async .connect_read_pipe(lambda: PatternWaiter(expecter), expecter.spawn) File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/asyncio/base_events.py", line 986, in connect_read_pipe transport = self._make_read_pipe_transport(pipe, protocol, waiter) File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/asyncio/unix_events.py", line 169, in _make_read_pipe_transport return _UnixReadPipeTransport(self, pipe, protocol, waiter, extra) File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/asyncio/unix_events.py", line 308, in __init__ mode = os.fstat(self._fileno).st_mode OSError: [Errno 9] Bad file descriptor -------------------- >> begin captured stdout << --------------------- tests.test_async.AsyncTests.test_async_utf8 --------------------- >> end captured stdout << ---------------------- -------------------- >> begin captured logging << -------------------- asyncio: DEBUG: Using selector: EpollSelector --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 52 tests in 23.885s FAILED (errors=1) phase `check' failed after 25.2 seconds note: keeping build directory `/tmp/guix-build-python-pexpect-4.2.1.drv-5' builder for `/gnu/store/8sd3qd624yj6jacki7xajvclwnjwapma-python-pexpect-4.2.1.drv' failed with exit code 1 @ build-failed /gnu/store/8sd3qd624yj6jacki7xajvclwnjwapma-python-pexpect-4.2.1.drv - 1 builder for `/gnu/store/8sd3qd624yj6jacki7xajvclwnjwapma-python-pexpect-4.2.1.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/8sd3qd624yj6jacki7xajvclwnjwapma-python-pexpect-4.2.1.drv' failed From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 28 20:46:37 2017 Received: (at 26286-done) by debbugs.gnu.org; 29 Mar 2017 00:46:37 +0000 Received: from localhost ([127.0.0.1]:49808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ct1ks-0003VK-CI for submit@debbugs.gnu.org; Tue, 28 Mar 2017 20:46:37 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ct1kq-0003VB-Dg for 26286-done@debbugs.gnu.org; Tue, 28 Mar 2017 20:46:29 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id CBBAC20C6B; Tue, 28 Mar 2017 20:46:26 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 28 Mar 2017 20:46:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=0q1Ll9KUKr9GuVrZEngF/UcbTZz9Oqb5IxhR0F3nR Mw=; b=uQFtoMrZWXTzUOhfrCJ9lOiu+uoH9IbN6ry/Pqw049lXa+z/jxd0Jy9BJ QSGo4Gs+IzWHIoUh0a9Ejm63jjk+jxwOhjoO9/KkMIHUJlETdDlwW0Yiy14Z3Z+I 9Y0394Tb0hT386yr0R9/JKtMoJ8afdV+5jeoW2oHQwANBHfxVIUJwf6R2fXdbWuD RpZnz58vwSQFrpU259V0eruzbVeBTkoUXX21JEeVh8+hM3TtyshnFBWNwYSiBa8D ClBdM3lucGaM5YDgb/TkN9CeSARNas9I75OeO6cUeRKVqApqna2XTBnhhi80bUwv 6jxKpXQctMqSSxWgoa47JMIy069Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=0q1Ll9KUKr9GuVrZEn gF/UcbTZz9Oqb5IxhR0F3nRMw=; b=gB7qxuiPa/tlv3M6r4PedT40ipsN+X7zFp T1nj/4QEFnJEwRN4Xkzsj9R7bGj0T3X1BNR2nVJcF21oBcglSafO/rXtfLXMyvk7 ZS0/PZxCCQAqQjracvY9h6K0cCE2ePqvOiReULA5ZYn4cS8BsSDrrcc2LiMCSzkq 8PlatXlXC4bajnFJI5eoadYiuV2Ty5wz7FS3wpDwkIljOJ2wrrAsEZle8X2pYUpL oWuPkrVy/gHvu7Uc7u8rddCUfe6UL0gr29Sr4qOxBz7c/KPQXC6Gu0KAH5Pe2ggW 0+MgsLUnWpR5m3T5L28XXCCBnPA8unu9qkhmFzvxVJjCsTbbXUUg== X-ME-Sender: X-Sasl-enc: kq8Yr6hvjGDlPuE9O99MqqW4uZVTG3TKWyi+8uTVF3vZ 1490748386 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 68FB97E53D; Tue, 28 Mar 2017 20:46:26 -0400 (EDT) From: Marius Bakke To: Danny Milosavljevic , 26286-done@debbugs.gnu.org Subject: Re: bug#26286: python-pexpect 4.2.1 test failure in test_async_utf8 In-Reply-To: <20170328220932.53a4c550@scratchpost.org> References: <20170328220932.53a4c550@scratchpost.org> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Wed, 29 Mar 2017 02:46:24 +0200 Message-ID: <87inmsucyn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26286-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Danny Milosavljevic writes: > python-pexpect 4.2.1 has a test failure on both master and core-updates: [...] > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ERROR: test_async_utf8 (tests.test_async.AsyncTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/tests/te= st_async.py", line 57, in test_async_utf8 > assert run(p.expect_exact([u'foo', pexpect.EOF], async=3DTrue)) =3D= =3D 1 > File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/tests/te= st_async.py", line 13, in run > return asyncio.get_event_loop().run_until_complete(coro) > File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyth= on3.5/asyncio/base_events.py", line 387, in run_until_complete > return future.result() > File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyth= on3.5/asyncio/futures.py", line 274, in result > raise self._exception > File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyth= on3.5/asyncio/tasks.py", line 239, in _step > result =3D coro.send(None) > File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/pexpect/= async.py", line 17, in expect_async > .connect_read_pipe(lambda: PatternWaiter(expecter), expecter.spawn) > File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyth= on3.5/asyncio/base_events.py", line 986, in connect_read_pipe > transport =3D self._make_read_pipe_transport(pipe, protocol, waiter) > File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyth= on3.5/asyncio/unix_events.py", line 169, in _make_read_pipe_transport > return _UnixReadPipeTransport(self, pipe, protocol, waiter, extra) > File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyth= on3.5/asyncio/unix_events.py", line 308, in __init__ > mode =3D os.fstat(self._fileno).st_mode > OSError: [Errno 9] Bad file descriptor > -------------------- >> begin captured stdout << --------------------- > > tests.test_async.AsyncTests.test_async_utf8=20 > --------------------- >> end captured stdout << ---------------------- > -------------------- >> begin captured logging << -------------------- > asyncio: DEBUG: Using selector: EpollSelector > --------------------- >> end captured logging << --------------------- > > ---------------------------------------------------------------------- > Ran 52 tests in 23.885s > > FAILED (errors=3D1) Thanks for the report! I am no longer able to reproduce this issue on 'master' after 3ee9355e2fd2d0fcee1076ca1160ba5881b73da8. I'm not entirely sure why, though :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEyBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljbA+EACgkQoqBt8qM6 VPreDQf46M46UX7424uBZP2vshQIuaBeW7YogojC0/CXVIT9+mDGkPf0AwTfK2Ui iROcFhchXz16goxX7V/A+Y+VRTUzT2ZcaqbEBKaBZw9bBLaZSuNouXAe2N+p5wZ6 nRqaT0JafQw9QFY0kLbZcCNvWq53bmjLAqMOrtPywTzjHYyu9EvZyQDjcVVf1MHE aHhs/c/3FuEHZlp6FOepCA1aNhZnygMMnZRNtqKZyYuEmXrh9u9HbBup+kU0cJeL W+Yrp/2IQgabZ1hfTWpmOE4RlbWEKTb9pDTK3lVZRFDq0AmRORv6TwuDF43X4I2o 4ZTkrrFffY+9IdagMktcQ9BVCydO =x2n2 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 13:32:25 2017 Received: (at 26286) by debbugs.gnu.org; 3 Apr 2017 17:32:25 +0000 Received: from localhost ([127.0.0.1]:59388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cv5pw-0001Iv-Vb for submit@debbugs.gnu.org; Mon, 03 Apr 2017 13:32:24 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cv5pu-0001In-TE for 26286@debbugs.gnu.org; Mon, 03 Apr 2017 13:32:16 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7B3592071B; Mon, 3 Apr 2017 13:32:14 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 03 Apr 2017 13:32:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=qS7qPWUYCdqOjnkVLh2K8cjpsnunGy51HeBl6bim2 e4=; b=4QapRQwaMyDYaX2gRRuqnjWer7vsUTLpnHuTOlulghrWBBu95bWemAcSB ds0JJ4ifK/d+sR1wZokxhJt/sBxhJbarPAFNowcrsuvV1LqGXGK139k9ot6KPz40 LiniHLi+QOCosCtCvIJ4yv119pZclE4q4EwNPAPK2bdekGDYjugikfbmhS55aieg c+UI/+6qJhntxBDi09Ka6FMOfgdyNLVKbrpQg1FQDQTliAk+23SKXU1sQnR4XaPA l08EB3lab/0XZg4Hdf0sjtzjb90mDXowcXlzZuvqztopFB38CVvQIOzT6z32oS37 WBkOcbQ1VV7Ki/hOK0SL8SDrAgY/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=qS7qPWUYCdqOjnkVLh 2K8cjpsnunGy51HeBl6bim2e4=; b=CBUkz85s3JHmsHKVxG9ovnfHcdjtRUNIMH LkjkWa7SlyLkMlHpfOboo56UjtS0lPJSck0CgjiZ3a8YZ2ZvcO59UGySu3QgBPI1 ZMAZgTdx/AIglleGJ4z4+J1JjzEsFaOOI2tzA3C0lRHGs9HGD04sLUfndsN06vzW w2Y/kRnE3nFrOlti2262BLWJqoDaGTHk5B9PtL3h28OgQkZil4PuutTrChu9gWyE NcL6cQ5rUnshbwi2yBhKFkz424f5ktkV/fmWIsv5zYXGZQbALYwrCoztn6YEAtaL YGuCCq2+2nkw91PPwjdmvHJoYuyZYoRHwLXJFsH8SB4W+wzEhUkA== X-ME-Sender: X-Sasl-enc: /3OC0vDHfqf2QP8QZd4YM1es2CahWby0mR4bvgr7E2et 1491240734 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 1F485242B6; Mon, 3 Apr 2017 13:32:14 -0400 (EDT) From: Marius Bakke To: Danny Milosavljevic , 26286@debbugs.gnu.org Subject: Re: bug#26286: python-pexpect 4.2.1 test failure in test_async_utf8 In-Reply-To: <87inmsucyn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170328220932.53a4c550@scratchpost.org> <87inmsucyn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Mon, 03 Apr 2017 19:32:12 +0200 Message-ID: <87efx9bdnn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26286 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Danny Milosavljevic writes: > >> python-pexpect 4.2.1 has a test failure on both master and core-updates: > > [...] > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> ERROR: test_async_utf8 (tests.test_async.AsyncTests) >> ---------------------------------------------------------------------- >> Traceback (most recent call last): >> File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/tests/t= est_async.py", line 57, in test_async_utf8 >> assert run(p.expect_exact([u'foo', pexpect.EOF], async=3DTrue)) =3D= =3D 1 >> File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/tests/t= est_async.py", line 13, in run >> return asyncio.get_event_loop().run_until_complete(coro) >> File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyt= hon3.5/asyncio/base_events.py", line 387, in run_until_complete >> return future.result() >> File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyt= hon3.5/asyncio/futures.py", line 274, in result >> raise self._exception >> File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyt= hon3.5/asyncio/tasks.py", line 239, in _step >> result =3D coro.send(None) >> File "/tmp/guix-build-python-pexpect-4.2.1.drv-0/pexpect-4.2.1/pexpect= /async.py", line 17, in expect_async >> .connect_read_pipe(lambda: PatternWaiter(expecter), expecter.spawn) >> File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyt= hon3.5/asyncio/base_events.py", line 986, in connect_read_pipe >> transport =3D self._make_read_pipe_transport(pipe, protocol, waiter) >> File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyt= hon3.5/asyncio/unix_events.py", line 169, in _make_read_pipe_transport >> return _UnixReadPipeTransport(self, pipe, protocol, waiter, extra) >> File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/pyt= hon3.5/asyncio/unix_events.py", line 308, in __init__ >> mode =3D os.fstat(self._fileno).st_mode >> OSError: [Errno 9] Bad file descriptor >> -------------------- >> begin captured stdout << --------------------- >> >> tests.test_async.AsyncTests.test_async_utf8=20 >> --------------------- >> end captured stdout << ---------------------- >> -------------------- >> begin captured logging << -------------------- >> asyncio: DEBUG: Using selector: EpollSelector >> --------------------- >> end captured logging << --------------------- >> >> ---------------------------------------------------------------------- >> Ran 52 tests in 23.885s >> >> FAILED (errors=3D1) > > Thanks for the report! I am no longer able to reproduce this issue on > 'master' after 3ee9355e2fd2d0fcee1076ca1160ba5881b73da8. I'm not > entirely sure why, though :-) So, this occured again after the core-updates merge. I managed to work around it by changing "python-pytest" to "python-pytest-3.0", which is very odd. There is a race condition lurking here somewhere, but I built with "--rounds=3D10" after both "fixes" without problems. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljihxwACgkQoqBt8qM6 VPpehAgAwVXOTS/3iHcPNBTdBBOH73rmMaFir8aUeqtl6EJkCKrS/zGt1L5gTfGH DIs7ASxufTVN0KP5GlzM1j7FdAP148vfUntS19OTaXuY3fab88k8OEacI+48ZPuJ cQzFVc4b7qwMLzL22hVeg9L47ytXFCAECgzHGalKKzTHmHJEcffERU7XjKlxzAhv SLv+zEuE1ZJPgw7/XM8HVPqUPft7zwTTixPrU2RysWqvp/mx1PmMcg0BPRNSWFTj uGFZe5+djJYQRWLtqzcrbFjDFqYqLpDflinPKthpLlU1sRdmrsqkxxzaPHY2lChg E+QwH5b/cS5AfFLcvkHf6UhzyTbD8Q== =QbSk -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 11:33:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 May 2017 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator