From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#26286: python-pexpect 4.2.1 test failure in test_async_utf8 Date: Wed, 29 Mar 2017 02:46:24 +0200 Message-ID: <87inmsucyn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170328220932.53a4c550@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ct1lT-00078U-MO for bug-guix@gnu.org; Tue, 28 Mar 2017 20:47:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ct1lP-0001z6-8D for bug-guix@gnu.org; Tue, 28 Mar 2017 20:47:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ct1lO-0001yp-LD for bug-guix@gnu.org; Tue, 28 Mar 2017 20:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ct1lO-0003WB-Er for bug-guix@gnu.org; Tue, 28 Mar 2017 20:47:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20170328220932.53a4c550@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic , 26286-done@debbugs.gnu.org --=-=-= 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----- --=-=-=--