From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25988: python2-urwid tests fail Date: Wed, 19 Apr 2017 23:22:18 +0200 Message-ID: <8737d4ks8l.fsf@gnu.org> References: <87innn8goq.fsf@gmail.com> <87o9vsh19x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0x45-0006pJ-Pe for bug-guix@gnu.org; Wed, 19 Apr 2017 17:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0x42-0000sP-GS for bug-guix@gnu.org; Wed, 19 Apr 2017 17:23:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0x42-0000sL-CK for bug-guix@gnu.org; Wed, 19 Apr 2017 17:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0x42-00078b-7l for bug-guix@gnu.org; Wed, 19 Apr 2017 17:23:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o9vsh19x.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 20 Apr 2017 00:20:42 +0900") 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: Maxim Cournoyer Cc: 25988@debbugs.gnu.org Hi Maxim, Maxim Cournoyer skribis: > Maxim Cournoyer writes: > >> Hi, >> >> I'm currently facing test failures from the python2-urwid package >> required to build wicd. The errors are: >> >> test_run (urwid.tests.test_event_loops.SelectEventLoopTest) ... ok >> >> =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 >> FAIL: test_horizontal_resize (urwid.tests.test_vterm.TermTest) >> ---------------------------------------------------------------------- >> Traceback (most recent call last): >> File "/tmp/guix-build-python2-urwid-1.3.1.drv-0/urwid-1.3.1/urwid/test= s/test_vterm.py", line 169, in test_horizontal_resize >> + '3-' + ' ' * 76 + '-4') >> File "/tmp/guix-build-python2-urwid-1.3.1.drv-0/urwid-1.3.1/urwid/test= s/test_vterm.py", line 120, in expect >> self.assertEqual(got, what, desc) >> AssertionError: Expected: >> '1- = -2\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n3- = -4' >> Got: >> 'Traceback (most recent call last):\n File "/tmp/guix-build-python2-urw= id-1.3.1.drv-0/urwid-1.3.1/urwid/vterm.py", l\nine 1389, in spawn\n self= .command()\n File "/tmp/guix-build-python2-urwid-1.3.1.drv-0/urwid-1.3.1/u= rwid/tests/test_v\nterm.py", line 44, in __call__\n data =3D os.read(sel= f.reader, 1024)\nOSError: [Errno 4] Interrupted system call' >> >> =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 >> FAIL: test_vertical_resize (urwid.tests.test_vterm.TermTest) >> ---------------------------------------------------------------------- >> Traceback (most recent call last): >> File "/tmp/guix-build-python2-urwid-1.3.1.drv-0/urwid-1.3.1/urwid/test= s/test_vterm.py", line 186, in test_vertical_resize >> self.expect('\n' * (y - 2) + '3-' + ' ' * 76 + '-4', desc) >> File "/tmp/guix-build-python2-urwid-1.3.1.drv-0/urwid-1.3.1/urwid/test= s/test_vterm.py", line 120, in expect >> self.assertEqual(got, what, desc) >> AssertionError: try to rescale to 80x22. >> Expected: >> '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n3- = -4' >> Got: >> '\n\n\n\n\n\n\n\n\n\n\n3- = -4\n\nTraceback (most recent call last):\n Fi= le "/tmp/guix-build-python2-urwid-1.3.1.drv-0/urwid-1.3.1/urwid/vterm.py", = l\nine 1389, in spawn\n self.command()\n File "/tmp/guix-build-python2-= urwid-1.3.1.drv-0/urwid-1.3.1/urwid/tests/test_v\nterm.py", line 44, in __c= all__\n data =3D os.read(self.reader, 1024)\nOSError: [Errno 4] Interrup= ted system call' >> >> ---------------------------------------------------------------------- >> Ran 278 tests in 1.073s >> >> FAILED (failures=3D2) >> phase `check' failed after 5.2 seconds >> builder for `/gnu/store/d3nn0jqa41d7i28qvs78np7mcii2ljn2-python2-urwid-1= .3.1.drv' failed with exit code 1 >> @ build-failed /gnu/store/d3nn0jqa41d7i28qvs78np7mcii2ljn2-python2-urwid= -1.3.1.drv - 1 builder for `/gnu/store/d3nn0jqa41d7i28qvs78np7mcii2ljn2-pyt= hon2-urwid-1.3.1.drv' failed with exit code 1 >> guix build: error: build failed: build of `/gnu/store/d3nn0jqa41d7i28qvs= 78np7mcii2ljn2-python2-urwid-1.3.1.drv' failed > > > The same problem occurred again today while attempting to reconfigure my > system (same errors, while attempting to build the same python2-urwid > dependency of wicd). > > I wonder why there are so such failures on hydra > (https://hydra.gnu.org/job/gnu/master/python2-urwid-1.3.1.x86_64-linux). I > also wonder why my system is trying to build this package if it already > exists on Hydra. I have both the bayfront & gnu mirror substitute > servers enabled. I=E2=80=99ve seen the failure once and it succeeded on a subsequent rebuild= , so I came to the conclusion that this is a non-deterministic failure. That would explain why the problem doesn=E2=80=99t show up on Hydra. Does it fail systematically for you? Thanks, Ludo=E2=80=99.