From unknown Fri Sep 19 19:42:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25988: python2-urwid tests fail Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 05 Mar 2017 23:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25988 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25988@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.148875535315554 (code B ref -1); Sun, 05 Mar 2017 23:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2017 23:09:13 +0000 Received: from localhost ([127.0.0.1]:41500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckfH6-00042o-Rp for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckfH5-00042b-Eb for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckfGz-00058D-4H for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:06 -0500 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,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ckfGz-000582-1O for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckfGx-0000q5-UA for bug-guix@gnu.org; Sun, 05 Mar 2017 18:09:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckfGu-00056j-O3 for bug-guix@gnu.org; Sun, 05 Mar 2017 18:09:03 -0500 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:32937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckfGu-00056R-GG for bug-guix@gnu.org; Sun, 05 Mar 2017 18:09:00 -0500 Received: by mail-pf0-x232.google.com with SMTP id w189so52603404pfb.0 for ; Sun, 05 Mar 2017 15:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=a8JSbngT1NMKtVQ0kG8Bl0qZ5Tobjq0OYo7A+ejugAg=; b=GeGSBkN8P25zDOU5N2p/LuSPBh8C1t8U1bfX2bIucvM1mz9F2WyONC/5VkOYaEEXC8 bgd8MCe4MGqQ+o7d7VsfGUc4Vy24+aTG16SjEEqdmcoBQnM4cvhYniKeZsHh5RXcOZtN BWDdnW5BuL7ZpAEvunF+yHHm8lHfEBm2tYcg5hVKTDVhY6CmNXVFHZwLq2O5vR/2+3eo KtZ6KscP0SfF04vMB6Lfanr//5/4KmQNHVhAI2DbuB3SYugICLaJzL2+0hJAymVU3Xhd PtvQonUu1LCpneMDf9g9FZrnx0vJFOW81gCEd3fzWrxw2kHRGSB7CskVnwM8yJiT00dr YIrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=a8JSbngT1NMKtVQ0kG8Bl0qZ5Tobjq0OYo7A+ejugAg=; b=lDxZRLFnDTNvZUwXn1ph+ZIlhhJBNYbWZWxqqZNBVonGbyYbZCqvpoRxTvPGI+2KdZ tFoqP3cnqWgikWCOgVMx4PNDlIeAhoY1j6fELjkQ7xCQAwRlN6cRiyNhUWIaaANVB9ZK ORoSq/9t+waLjm1FNko02hC5wc/0qpF07wxqsT8DAkx7XbS5lKtbeTu2ZGgE/IP84Aqp un5lztcKsnd4fiZ3wwQw1FnL1dY53pfhJvpOPI7bBH5elrCpQjk7ugqD1swjEScjIEnU dy2lJ+lkjBjZpHeXMQtSulLghQDuSD9OHN3AEZjYniVd7gVSkdKueSJ2B3EzSUMp23vm mg1g== X-Gm-Message-State: AMke39nLjVFnG/QZDH76HsiUQ/H+F/q1vogtwdvKTI0HMvxCCVEdUeGIU1uuoXU/5DFJ7A== X-Received: by 10.99.113.11 with SMTP id m11mr16549283pgc.142.1488755339363; Sun, 05 Mar 2017 15:08:59 -0800 (PST) Received: from apteryx (c-24-23-195-4.hsd1.ca.comcast.net. [24.23.195.4]) by smtp.gmail.com with ESMTPSA id p4sm35431548pgd.50.2017.03.05.15.08.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Mar 2017 15:08:58 -0800 (PST) From: Maxim Cournoyer Date: Sun, 05 Mar 2017 15:08:53 -0800 Message-ID: <87innn8goq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi, I'm currently facing test failures from the python2-urwid package required to build wicd. The errors are: --=-=-= Content-Type: text/plain Content-Disposition: inline test_run (urwid.tests.test_event_loops.SelectEventLoopTest) ... ok ====================================================================== 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/tests/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/tests/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-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 __call__\n data = os.read(self.reader, 1024)\nOSError: [Errno 4] Interrupted system call' ====================================================================== 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/tests/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/tests/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 File "/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 __call__\n data = os.read(self.reader, 1024)\nOSError: [Errno 4] Interrupted system call' ---------------------------------------------------------------------- Ran 278 tests in 1.073s FAILED (failures=2) 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-python2-urwid-1.3.1.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/d3nn0jqa41d7i28qvs78np7mcii2ljn2-python2-urwid-1.3.1.drv' failed --=-=-= Content-Type: text/plain I'm using GuixSD with ext4 partition and kernel Linux 4.9.5. The package definitions are from git master. The system itself is using git master from about a month ago. lfam or #guix said he could reproduce the issue with Linux 4.9.13 on a ext4 fileystem but not on a btrfs one. I could not reproduce the issue myself on an Ubuntu 14.04 running Linux 4.2.0 with a ext4 partition . Maxim --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAli8moUACgkQEmDkZILm NWJ3zw/+JO/5chi2nv1VOCrVRUB+BD1QnM+wF0J3cJNTnE8gUaDN/XKCNs16CWFC IISZ8RBFJB0mRhmDsYK0wibxSOMbGz9ry1OkhNMtwl2q2UUpPDJN60bb5tzZ0NfH WB5zkFphSYxY46eTvIaEJO+R/+GqFXTlwKGXj7aBrR/u/tHL3y5c3fVu3yAAZqwn xF4s0VyupD9f5xQ9D2vgqd1lZzBGGYfuA41PGr1/RLTH+mlwn7MBkpiKMdNMyH3s 4QZhhbUgLsiD2mEFbqENHm5KOL0HtIgD58Pc6G0Ef5WjszbAZbG+hz6K7iiMP7H7 QOHQb1lf48+1PP69GPXcrAZngxw9oxkzP5kQudqAqh5lB+Hu7EHmL3J2kSaMpSbD sKl63Sfl/pNPVcofsRgnWtk//5rBlKDj8lN+cgbWvcISAnIKdmgr1NkJkM1is0vO Zv1YJNbtVJSrD7LwD+yL24urhqR7ekGNe9E8trqx9laFd/iXDgz0tnWpUwEGILwe mFwNVDfF+SobuylCUSGlvgiCmoqCffdKlGwiUMycOAbJ0ktyhA0y9NHrkrKdmRhH LDS5Tjqh3cSQXqnMVHCBA0fjsL3av/vXuzxx4gILkx5zCkAb80dq0Q/j/7sMvIzg TIXtthO2KPYL3b6+fdyyOLnwQnESKZGn0NUMonHBnWrRi7Fmig0= =fK4w -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Sep 19 19:42:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25988: python2-urwid tests fail Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 06 Mar 2017 00:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25988 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 25988@debbugs.gnu.org Received: via spool by 25988-submit@debbugs.gnu.org id=B25988.148876153124763 (code B ref 25988); Mon, 06 Mar 2017 00:53:01 +0000 Received: (at 25988) by debbugs.gnu.org; 6 Mar 2017 00:52:11 +0000 Received: from localhost ([127.0.0.1]:41530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckgsl-0006RL-Eq for submit@debbugs.gnu.org; Sun, 05 Mar 2017 19:52:11 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:51448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckgsj-0006RD-OK for 25988@debbugs.gnu.org; Sun, 05 Mar 2017 19:52:10 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3F4A72089C; Sun, 5 Mar 2017 19:52:09 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 05 Mar 2017 19:52:09 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc: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=mesmtp; bh=cIo43go31YimLcVY1e21XFgoIoQ=; b=hTltIC mlV7P1FxPrWJWJ1xnYa+6xE6PymtcrS98DY4Um7WuaszbzgqURR8TVVOPMnuwejm WWlGVPxqmWUv052YCDtaHEK/3pjSxvJQgcCpuj7ppm8HDFpLcGR71TrRbJU2CTfo eDQyAU0S2FUQ19FwUUX2G56gsCaXy1osAS9/w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=smtpout; bh=cIo43go31YimLc VY1e21XFgoIoQ=; b=tZoY1qqPWPSGCYGOr5Xc23A0p79xmpm1uHAzmsr+kZzjfL tVDWAMCjQiR55FS8g3pXQA9Y6T9+TJr7VnIyu4+LYKSCMmY3Af8tASdEhXcKwOBn 34RC28PJrNCBMtXHgxAblSm7Shj3woRyG6z18edkq5Yh8Hjia50wbdz91hTjo= X-ME-Sender: X-Sasl-enc: 78PE71g2zqo1bHKI6LDdzev8AlFBnCRlgjUP49ce1KW5 1488761528 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id E2C3C245E5; Sun, 5 Mar 2017 19:52:08 -0500 (EST) Date: Sun, 5 Mar 2017 19:51:57 -0500 From: Leo Famulari Message-ID: <20170306005157.GA13651@jasmine> References: <87innn8goq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <87innn8goq.fsf@gmail.com> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) 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.7 (/) --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 05, 2017 at 03:08:53PM -0800, Maxim Cournoyer wrote: > I'm using GuixSD with ext4 partition and kernel Linux 4.9.5. The > package definitions are from git master. The system itself is using git > master from about a month ago. >=20 > lfam or #guix said he could reproduce the issue with Linux 4.9.13 on a > ext4 fileystem but not on a btrfs one. It's the other way around: I can build it on btrfs but not on ext4. Also, I noticed yesterday that some of the urwid builds failed on Hydra. I restarted them, and now Hydra has built both python-urwid and python2-urwid for all 4 architectures on Linux. --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAli8sqAACgkQJkb6MLrK fwjrBA//W9rMUGzXbuSa4anFOrBMgDTQkkXImT3FiNEv8iNLPQvflXZOMT21xMvz MciB6Gw6pUsXw8p5ao6s92ABov8RIkK/Km9o0y2Y4LHaIfhTcfmWk+Ms8Ihh4/sM D5iOCZ4bE3hX9ij2xaAvNERag6WCpFykYYfmty25lGvODm4zf3o8xDHvHcrCXC1n srrniBaoq/hunFcGNd5NWQqOknc4u8GuTsmIywdKU1bajMccSVAv/J+gWuGvBQpx OxXqhCkLn/wBF79UPww1agMi6u7fO2xnzg8H6mrz4VIznzBB/1a06jiT7MaOJ/AG Y4bkFnqounCK2u56GWMqftFwU7yHV7CmuQlPnDv6JwgtXb+Esa+ZDZAFjigdPWcn P6i0f5Wo/0qFLXR5y5NNJC+BYy7rv0+FG7c3isYHCAhE4ZPaoujiIN3zaLf2t8Nm gWB7ZMDduMqTHJZFh7INRfuxwrz/XvIviBxkA1gr/RERIEJESHWzcDa4THXGVvnk fWYc7tBGZfgaZv/e7pn/cAdH7YP4El+OlCNWMo5XycMq6T9Ta8y8W63TTGvDH75X qdGmZeYEzXhkieuHbZR9qhE2YKQ04ZIJH+2MZjcv44iLH7MMtJT5gswN49tWBnvD HIlTVOy/Ivo6D7sA+5do9Hnnlg3J45purRs27MHm/seb3FY/B3A= =lSRs -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- From unknown Fri Sep 19 19:42:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25988: python2-urwid tests fail Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 19 Apr 2017 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25988 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25988@debbugs.gnu.org Received: via spool by 25988-submit@debbugs.gnu.org id=B25988.149261525611575 (code B ref 25988); Wed, 19 Apr 2017 15:21:01 +0000 Received: (at 25988) by debbugs.gnu.org; 19 Apr 2017 15:20:56 +0000 Received: from localhost ([127.0.0.1]:57091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0rPb-00030d-RW for submit@debbugs.gnu.org; Wed, 19 Apr 2017 11:20:56 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:36297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0rPZ-00030Q-VF for 25988@debbugs.gnu.org; Wed, 19 Apr 2017 11:20:54 -0400 Received: by mail-it0-f43.google.com with SMTP id b15so35269793iti.1 for <25988@debbugs.gnu.org>; Wed, 19 Apr 2017 08:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=SMUrHkqX88XPYxclrLnwEDpIANv5eXA+gk5GUeHR+/Q=; b=fSMO9UNwBtkn2DYnOn50ZsbZLzv7WoTY6NdExlRT7YGVtXGVAL4uwbtX7lO86sB8Ir DWQUl6uuWL8DSrP/R6lG9bh0iNxy8mtX2JLLRMPC1RR3RbqjtH+HlmX5jKfhii1Z4Bd2 unB475zkm3cK1NcJvxuNIh4VlsCTC+PNSqrb2hwE9smFsmNtiS6tNzdyzY0B+kSrmwG/ ueIRmUyYAcZPfnqCw+nJYkBi9bQPhqLnKLzTo4Z5ULXpttPQb+ReDo/clZZLFxhSTmJl 2EB871cQAPa2+aVzA4YBFaSBfl9NiDBvXrKAHuuzJgnRDHzJz8NjZ2MsjJIvGRZ2F549 O0nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=SMUrHkqX88XPYxclrLnwEDpIANv5eXA+gk5GUeHR+/Q=; b=SlRZcAjZhhJ5KN4yGyJAdcATSOOvKDG+HIbJ2jp0vOBtxjKBamWaajwyP6Ad9RHSbZ pYJ75fUbEVnJN6CapRuOIMfIQQBG79G7Y6+uI88X45Ut8tU4vrugEZpEB1QkFU1nT9Xz auMeMUOO3XNoaDIhkpisuLNGGcaCFuCbgV6paIUexjKxyvtbGm7OFWx0bPKGnaenfU81 ytiseALpymNQSnm4GMiD4DyrUsezPF+k6gW7/+e8DLN92WYjhQ4YNzVZAr1PDTo6RqrK 6OoaLGntYJBKdJe1RBYhWIphQgeBR73wHhUxHPcuHuuyA24a1qDgBDtGxkDyAYUPOmVO czcg== X-Gm-Message-State: AN3rC/7OB98rTfMAhezCbT2WtPk6mPxINJTIQ6EWO/R3ecWv/ygP5w4m 2JFo7xh1x59KUFdF X-Received: by 10.84.229.71 with SMTP id d7mr4705398pln.92.1492615247868; Wed, 19 Apr 2017 08:20:47 -0700 (PDT) Received: from apteryx ([2601:647:4a02:70e3:c2f8:daff:fe5d:2f2f]) by smtp.gmail.com with ESMTPSA id s136sm5302726pfs.70.2017.04.19.08.20.46 for <25988@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Apr 2017 08:20:47 -0700 (PDT) From: Maxim Cournoyer References: <87innn8goq.fsf@gmail.com> Date: Thu, 20 Apr 2017 00:20:42 +0900 In-Reply-To: <87innn8goq.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 05 Mar 2017 15:08:53 -0800") Message-ID: <87o9vsh19x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.5 (/) 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.5 (/) --=-=-= Content-Type: text/plain Hi, 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 > > ====================================================================== > 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/tests/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/tests/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-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 __call__\n data = os.read(self.reader, 1024)\nOSError: [Errno 4] Interrupted system call' > > ====================================================================== > 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/tests/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/tests/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 File "/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 __call__\n data = os.read(self.reader, 1024)\nOSError: [Errno 4] Interrupted system call' > > ---------------------------------------------------------------------- > Ran 278 tests in 1.073s > > FAILED (failures=2) > 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-python2-urwid-1.3.1.drv' failed with exit code 1 > guix build: error: build failed: build of `/gnu/store/d3nn0jqa41d7i28qvs78np7mcii2ljn2-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. Maxim --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAlj3gEoACgkQEmDkZILm NWL/oA/+KciDcaYWjVjCklfyyIZ5KQnfBYJAjt5DrPxQZOmhdXbN6whJPK3h+O0k LeTQPd1H44cBixt+fSzl32eXqenq3JoNT4/+0aeqkNcwSPt5rRccD0qabPbXCA/y wIk3JH1E/tC/4oYOfJQIQ23STibmJOg7toOVmSKS9mUtMGsNWqYcUWVuORrIzJbO RS97pDJJJQ64S4UO8b21M3MMm18Auymv1EF+YnIgq1lLL3nJZkyPqmFFuyZyeQcG Zpip87UvQi4Nqfwk9whmBGzncZHaSu6eW/N/CApUJrSo0ksObK0ZcVwuzvY6W02f 3NnK6i2/jRcj+a/0a+/LlLPzfJbXaK/CTkmqSuFQy1TRvX9Vk58RCU837J5SqRzm N8+o0mZrLaUnmeAx1gcK4hxbe8vrmJRizLFUCUnl4Q/kowjGJhSYKarbo2UDsoGG Xt05NT/Ppvm/3p2p2k1WTx9S6sc55X+Jjn/fAr8B8aOt76JqTVrmKTevtiYD6BVx srVgerJMm1oRCDPfFeH11OJFy0jfgV9etZXHSmXW4FQnw4GBRuq9Rs+TOcMh7RHa Ho7/NAZTwhbzgax1cqPxWQt2oR7u6vYg87xBHwBwWvNCwjw6raR2qIF4oMCxojIk 8UhZPeBpnblKV5eRyUBAhHxw89SI7dtDtw/m+s5H2bCFowrJkTI= =JvQ/ -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 19 19:42:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25988: python2-urwid tests fail Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 19 Apr 2017 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25988 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 25988@debbugs.gnu.org Received: via spool by 25988-submit@debbugs.gnu.org id=B25988.149263695127380 (code B ref 25988); Wed, 19 Apr 2017 21:23:02 +0000 Received: (at 25988) by debbugs.gnu.org; 19 Apr 2017 21:22:31 +0000 Received: from localhost ([127.0.0.1]:57497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0x3X-00077Y-Gl for submit@debbugs.gnu.org; Wed, 19 Apr 2017 17:22:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0x3W-00077I-AN for 25988@debbugs.gnu.org; Wed, 19 Apr 2017 17:22:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0x3N-0000Z0-VG for 25988@debbugs.gnu.org; Wed, 19 Apr 2017 17:22:25 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0x3N-0000Yo-RX; Wed, 19 Apr 2017 17:22:21 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:39422 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d0x3N-00035L-1N; Wed, 19 Apr 2017 17:22:21 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87innn8goq.fsf@gmail.com> <87o9vsh19x.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Germinal an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 19 Apr 2017 23:22:18 +0200 In-Reply-To: <87o9vsh19x.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 20 Apr 2017 00:20:42 +0900") Message-ID: <8737d4ks8l.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) 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. From unknown Fri Sep 19 19:42:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25988: [PATCH] bug#25988: python2-urwid tests fail Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 30 Apr 2017 06:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25988 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 25988@debbugs.gnu.org Received: via spool by 25988-submit@debbugs.gnu.org id=B25988.149353466411735 (code B ref 25988); Sun, 30 Apr 2017 06:45:01 +0000 Received: (at 25988) by debbugs.gnu.org; 30 Apr 2017 06:44:24 +0000 Received: from localhost ([127.0.0.1]:46855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4ial-00033C-Jm for submit@debbugs.gnu.org; Sun, 30 Apr 2017 02:44:23 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:33083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4iak-000330-0l for 25988@debbugs.gnu.org; Sun, 30 Apr 2017 02:44:22 -0400 Received: by mail-pg0-f43.google.com with SMTP id y4so27897188pge.0 for <25988@debbugs.gnu.org>; Sat, 29 Apr 2017 23:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6Nw79TjxDjM9yDseBakI3tYwZB0XxOVVR+sk8vpu2zE=; b=d3D5FQuF/qXbinfwgI7ss7/ZkWC0ADlKxqZXXzZFEnzBbC9FDHrlUPhxIkxy/RgsqI RGcW7oo8kJbscyY0iRfTKm7wb62WrhrQ9x8xyA80b9y43fcYe0siI+cpZRR0IKgHcO7V fK0S4iZiY7wByN43uID8TFEpucSAkcL2vREF0ElejlORCAPANIc6M50h58GPhfjYlfcq wgeZD0x4Kje3M/z/GkQyvxc9ekJ3Xq+c2MaQ6aIBtYn47LrWtkoCn/DOd+CN8QOK+Sy0 blO1il5OkQVqttLCFpoCys1TDor6aSgwOVjp/LI2HxaiQ777k6qXeCEo7N8i1a2BiKkR y+pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=6Nw79TjxDjM9yDseBakI3tYwZB0XxOVVR+sk8vpu2zE=; b=uh0hrG9nY9W531yQS7Ef/ja72wwF2WvSsPxEFXNetDId01hzfHS38loZKIAQGRkbNF 04EZq3OXeR+Y+JkVWHZQeMh+/Nik+iwQTok+wHdH2+UPxiyyEhryVLrfcqCiV0Ce+0kA lXzk5XrtnBbbZPX85BYMZX9GEDQUI5+MS5rFvdGoVkhz8parAX8kK6xPKNEWnVK+Ig1J bjEdr4cT8eRhqW9KnOa9Y/MMidUyQlmyv3x9aQA0ev/qEukjQgxGJq4AMEe2GibSiODv Ps4cUQvqL0kJQK91QJUUmqpON6AWgtm9CkZh0M2Q6IhPQRbo8eeRpHkam98tegQ0kPfm wASA== X-Gm-Message-State: AN3rC/7kXsOh8Cqj+Zm46wQU9vGXZc8NbqH4JzGFyB8Gs7kJ3oc+FkS7 hnuc/BzYdW75FA== X-Received: by 10.99.63.132 with SMTP id m126mr6329556pga.166.1493534656040; Sat, 29 Apr 2017 23:44:16 -0700 (PDT) Received: from apteryx (c-73-231-189-138.hsd1.ca.comcast.net. [73.231.189.138]) by smtp.gmail.com with ESMTPSA id y28sm18756439pfk.16.2017.04.29.23.44.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 29 Apr 2017 23:44:14 -0700 (PDT) From: Maxim Cournoyer References: <87innn8goq.fsf@gmail.com> <87o9vsh19x.fsf@gmail.com> <8737d4ks8l.fsf@gnu.org> Date: Sun, 30 Apr 2017 15:44:12 +0900 In-Reply-To: <8737d4ks8l.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 19 Apr 2017 23:22:18 +0200") Message-ID: <87o9veo0n7.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] > > I=E2=80=99ve seen the failure once and it succeeded on a subsequent rebui= ld, 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? > Yes, it does! I can re-run the `guix system reconfigure ...' as many times as I want and always get the same two failures. However, if I keep the failed derivation and run the tests manually, I've found that using 'strace' will cause more failures/errors; so it seems non-deterministic; maybe a racing issue? I've opened an issue on their GitHub tracker (https://github.com/urwid/urwid/issues/230). Interestingly the same tests run fine with Python 3, with or without using strace. I've attached a patch that disables the problematic vterm tests, only for the python2-urwid package. Maxim --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Disable-vterm-tests-for-python2-urwid.patch Content-Transfer-Encoding: quoted-printable From=2056e769bee4a47136e0eee251c87a58b8359a8611 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 30 Apr 2017 14:55:47 +0900 Subject: [PATCH] gnu: Disable vterm tests for python2-urwid * gnu/packages/python.scm (python2-urwid)['delete-test_vterm]: Add phase to delete problematic test modules. =2D-- gnu/packages/python.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 22fadea275..c6c0978038 100644 =2D-- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -5509,7 +5509,18 @@ features useful for text console applications.") (license license:lgpl2.1+))) =20 (define-public python2-urwid =2D (package-with-python2 python-urwid)) + (let ((python2-urwid (package-with-python2 python-urwid))) + (package + (inherit python2-urwid) + (arguments + (append + '(#:phases + (modify-phases %standard-phases + ;; Disable the vterm tests because of non-deterministic failur= es + ;; with Python 2. See https://github.com/urwid/urwid/issues/23= 0. + (add-after 'unpack 'delete-test_vterm.py + (delete-file "urwid/tests/test_vterm.py")))) + (package-arguments python-urwid)))))) =20 (define-public python-openid (package =2D-=20 2.12.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAlkFh7wACgkQEmDkZILm NWI+tg//VZANS4OUObH8BkpXyBQ1XiS6++Og8OeeP5kjxwabNlQC7AfCirO9ke/S EiL/ogr1gqp+SVLMHyjT1pexC6urIuYq6xbJGytqukRsSQcDYmblJ1XeoJN6LI7e F0PqVHcHcatT6R9hXAFcsVF1XUWd1iE0S6e3Dh80l4QzS2fj8Smg6J358/0NaDFD St7/awhNOfaa6TtYsxvKK4B49ZKFBKHPQWqJ7CnORWsI8aG5n+mhfGKRkaEs+cAq P34ZrpDf/Hy86BeuF4YK37zHE0XTpdIM32Ncm/XakucefNCCHxsG99kOhNWh0jE/ MHkMhhwa3YYRTlZJ4mZyVxZod8yw1+5EJkxSiKpClsdi9F8TwdDxOVw0xc3C9tnY P8pl2rbI2yxBzaFwrzw7Mhg0fjPO9tPVQHPh+t6Of1o8qP0qEEcBo27iQVj/ZZd3 ry30NQumQvDfy5z7WJfB5v+c/3+IfKroZP3GxDwyA6SbU65KVUev6qLcMfJkBrpV fNQcaThg3Tr9d5mjoKy0wWkcHmFodDyb7VNeDwOyn9nq+lwOkXFkA+M6G+o7eX52 R1HcKpoezhxtD7gWKfNVJTZQIfn1KZjHxPfkt5VxaCYWI3mDf1sRAVloMB66HL3l MbHY8fyvOGmKHmYIg729MnBudFco7HSRmMPhiwYuZCvvUPIeh0Q= =nKxL -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Sep 19 19:42:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#25988: closed (Re: [PATCH] bug#25988: python2-urwid tests fail) Message-ID: References: <87efw83a8a.fsf@gnu.org> <87innn8goq.fsf@gmail.com> X-Gnu-PR-Message: they-closed 25988 X-Gnu-PR-Package: guix Reply-To: 25988@debbugs.gnu.org Date: Mon, 01 May 2017 14:48:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1493650082-6131-1" This is a multi-part message in MIME format... ------------=_1493650082-6131-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25988: python2-urwid tests fail which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 25988@debbugs.gnu.org. --=20 25988: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25988 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1493650082-6131-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25988-done) by debbugs.gnu.org; 1 May 2017 14:47:31 +0000 Received: from localhost ([127.0.0.1]:49741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Cbr-0001aB-Gx for submit@debbugs.gnu.org; Mon, 01 May 2017 10:47:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Cbp-0001VS-Kp for 25988-done@debbugs.gnu.org; Mon, 01 May 2017 10:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5Cbh-0003pA-B4 for 25988-done@debbugs.gnu.org; Mon, 01 May 2017 10:47:24 -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.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5Cbh-0003p0-7O; Mon, 01 May 2017 10:47:21 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:35938 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5Cbg-0006Mj-J2; Mon, 01 May 2017 10:47:20 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Maxim Cournoyer Subject: Re: [PATCH] bug#25988: python2-urwid tests fail References: <87innn8goq.fsf@gmail.com> <87o9vsh19x.fsf@gmail.com> <8737d4ks8l.fsf@gnu.org> <87o9veo0n7.fsf_-_@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 01 May 2017 16:47:17 +0200 In-Reply-To: <87o9veo0n7.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Sun, 30 Apr 2017 15:44:12 +0900") Message-ID: <87efw83a8a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25988-done Cc: 25988-done@debbugs.gnu.org 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: -5.0 (-----) Hi Maxim, Maxim Cournoyer skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > > [...] > >> >> I=E2=80=99ve seen the failure once and it succeeded on a subsequent rebu= ild, 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? >> > > Yes, it does! I can re-run the `guix system reconfigure ...' as > many times as I want and always get the same two failures. However, if I > keep the failed derivation and run the tests manually, I've found that > using 'strace' will cause more failures/errors; so it seems > non-deterministic; maybe a racing issue? > > I've opened an issue on their GitHub tracker > (https://github.com/urwid/urwid/issues/230). Interestingly the same > tests run fine with Python 3, with or without using strace. > > I've attached a patch that disables the problematic vterm tests, only > for the python2-urwid package. Sounds reasonable to me. > Maxim > > From 56e769bee4a47136e0eee251c87a58b8359a8611 Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Sun, 30 Apr 2017 14:55:47 +0900 > Subject: [PATCH] gnu: Disable vterm tests for python2-urwid > > * gnu/packages/python.scm (python2-urwid)['delete-test_vterm]: Add phase = to > delete problematic test modules. Applied, thanks! Ludo=E2=80=99. ------------=_1493650082-6131-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Mar 2017 23:09:13 +0000 Received: from localhost ([127.0.0.1]:41500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckfH6-00042o-Rp for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckfH5-00042b-Eb for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckfGz-00058D-4H for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:06 -0500 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,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ckfGz-000582-1O for submit@debbugs.gnu.org; Sun, 05 Mar 2017 18:09:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckfGx-0000q5-UA for bug-guix@gnu.org; Sun, 05 Mar 2017 18:09:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckfGu-00056j-O3 for bug-guix@gnu.org; Sun, 05 Mar 2017 18:09:03 -0500 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:32937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckfGu-00056R-GG for bug-guix@gnu.org; Sun, 05 Mar 2017 18:09:00 -0500 Received: by mail-pf0-x232.google.com with SMTP id w189so52603404pfb.0 for ; Sun, 05 Mar 2017 15:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=a8JSbngT1NMKtVQ0kG8Bl0qZ5Tobjq0OYo7A+ejugAg=; b=GeGSBkN8P25zDOU5N2p/LuSPBh8C1t8U1bfX2bIucvM1mz9F2WyONC/5VkOYaEEXC8 bgd8MCe4MGqQ+o7d7VsfGUc4Vy24+aTG16SjEEqdmcoBQnM4cvhYniKeZsHh5RXcOZtN BWDdnW5BuL7ZpAEvunF+yHHm8lHfEBm2tYcg5hVKTDVhY6CmNXVFHZwLq2O5vR/2+3eo KtZ6KscP0SfF04vMB6Lfanr//5/4KmQNHVhAI2DbuB3SYugICLaJzL2+0hJAymVU3Xhd PtvQonUu1LCpneMDf9g9FZrnx0vJFOW81gCEd3fzWrxw2kHRGSB7CskVnwM8yJiT00dr YIrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=a8JSbngT1NMKtVQ0kG8Bl0qZ5Tobjq0OYo7A+ejugAg=; b=lDxZRLFnDTNvZUwXn1ph+ZIlhhJBNYbWZWxqqZNBVonGbyYbZCqvpoRxTvPGI+2KdZ tFoqP3cnqWgikWCOgVMx4PNDlIeAhoY1j6fELjkQ7xCQAwRlN6cRiyNhUWIaaANVB9ZK ORoSq/9t+waLjm1FNko02hC5wc/0qpF07wxqsT8DAkx7XbS5lKtbeTu2ZGgE/IP84Aqp un5lztcKsnd4fiZ3wwQw1FnL1dY53pfhJvpOPI7bBH5elrCpQjk7ugqD1swjEScjIEnU dy2lJ+lkjBjZpHeXMQtSulLghQDuSD9OHN3AEZjYniVd7gVSkdKueSJ2B3EzSUMp23vm mg1g== X-Gm-Message-State: AMke39nLjVFnG/QZDH76HsiUQ/H+F/q1vogtwdvKTI0HMvxCCVEdUeGIU1uuoXU/5DFJ7A== X-Received: by 10.99.113.11 with SMTP id m11mr16549283pgc.142.1488755339363; Sun, 05 Mar 2017 15:08:59 -0800 (PST) Received: from apteryx (c-24-23-195-4.hsd1.ca.comcast.net. [24.23.195.4]) by smtp.gmail.com with ESMTPSA id p4sm35431548pgd.50.2017.03.05.15.08.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Mar 2017 15:08:58 -0800 (PST) From: Maxim Cournoyer To: bug-guix Subject: python2-urwid tests fail Date: Sun, 05 Mar 2017 15:08:53 -0800 Message-ID: <87innn8goq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.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: -4.0 (----) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi, I'm currently facing test failures from the python2-urwid package required to build wicd. The errors are: --=-=-= Content-Type: text/plain Content-Disposition: inline test_run (urwid.tests.test_event_loops.SelectEventLoopTest) ... ok ====================================================================== 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/tests/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/tests/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-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 __call__\n data = os.read(self.reader, 1024)\nOSError: [Errno 4] Interrupted system call' ====================================================================== 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/tests/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/tests/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 File "/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 __call__\n data = os.read(self.reader, 1024)\nOSError: [Errno 4] Interrupted system call' ---------------------------------------------------------------------- Ran 278 tests in 1.073s FAILED (failures=2) 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-python2-urwid-1.3.1.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/d3nn0jqa41d7i28qvs78np7mcii2ljn2-python2-urwid-1.3.1.drv' failed --=-=-= Content-Type: text/plain I'm using GuixSD with ext4 partition and kernel Linux 4.9.5. The package definitions are from git master. The system itself is using git master from about a month ago. lfam or #guix said he could reproduce the issue with Linux 4.9.13 on a ext4 fileystem but not on a btrfs one. I could not reproduce the issue myself on an Ubuntu 14.04 running Linux 4.2.0 with a ext4 partition . Maxim --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAli8moUACgkQEmDkZILm NWJ3zw/+JO/5chi2nv1VOCrVRUB+BD1QnM+wF0J3cJNTnE8gUaDN/XKCNs16CWFC IISZ8RBFJB0mRhmDsYK0wibxSOMbGz9ry1OkhNMtwl2q2UUpPDJN60bb5tzZ0NfH WB5zkFphSYxY46eTvIaEJO+R/+GqFXTlwKGXj7aBrR/u/tHL3y5c3fVu3yAAZqwn xF4s0VyupD9f5xQ9D2vgqd1lZzBGGYfuA41PGr1/RLTH+mlwn7MBkpiKMdNMyH3s 4QZhhbUgLsiD2mEFbqENHm5KOL0HtIgD58Pc6G0Ef5WjszbAZbG+hz6K7iiMP7H7 QOHQb1lf48+1PP69GPXcrAZngxw9oxkzP5kQudqAqh5lB+Hu7EHmL3J2kSaMpSbD sKl63Sfl/pNPVcofsRgnWtk//5rBlKDj8lN+cgbWvcISAnIKdmgr1NkJkM1is0vO Zv1YJNbtVJSrD7LwD+yL24urhqR7ekGNe9E8trqx9laFd/iXDgz0tnWpUwEGILwe mFwNVDfF+SobuylCUSGlvgiCmoqCffdKlGwiUMycOAbJ0ktyhA0y9NHrkrKdmRhH LDS5Tjqh3cSQXqnMVHCBA0fjsL3av/vXuzxx4gILkx5zCkAb80dq0Q/j/7sMvIzg TIXtthO2KPYL3b6+fdyyOLnwQnESKZGn0NUMonHBnWrRi7Fmig0= =fK4w -----END PGP SIGNATURE----- --==-=-=-- ------------=_1493650082-6131-1--