GNU bug report logs - #42553
python-gevent is broken on i686-linux (tests fail)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Jakub Kądziołka <kuba@HIDDEN>; dated Sun, 26 Jul 2020 18:36:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 42553 <at> debbugs.gnu.org:


Received: (at 42553) by debbugs.gnu.org; 29 Dec 2020 03:44:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 28 22:44:41 2020
Received: from localhost ([127.0.0.1]:37336 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ku5w9-0005an-6L
	for submit <at> debbugs.gnu.org; Mon, 28 Dec 2020 22:44:41 -0500
Received: from mail-qt1-f176.google.com ([209.85.160.176]:33116)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1ku5w5-0005aY-AP
 for 42553 <at> debbugs.gnu.org; Mon, 28 Dec 2020 22:44:39 -0500
Received: by mail-qt1-f176.google.com with SMTP id c14so8280787qtn.0
 for <42553 <at> debbugs.gnu.org>; Mon, 28 Dec 2020 19:44:37 -0800 (PST)
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:content-transfer-encoding;
 bh=sqB1RBikgDH3VBJtjguwkkynbikNdYzmJBpNCYWazNE=;
 b=eqk7fNFBGQ7X8b5oW59oOFJ2t8W2uPpHj3OAuivJ54HheX7Xq/OtZdYF8wNLrBAlCl
 QCnmlXjOxW5EznJWDNv9lcevztoBTj2xRP+lKDRlAUqD7qTtpmfV7NpW+nZfn8cYyr31
 tLtvqtQD+UuVshg2kEwtZnljHIvxqF+neT6Wm9BNSm+U1nSRevFqrXTkbqjQrO83kKHV
 Pc5t7Sv+G9PNnrPDrV2Iwc30ZMAMTV53iGSafPNU8qC4OHzoQrCRrb9SOvT7x+EZPczy
 KfxbdE3sOf2sZwf3AC3H18aoJBWQlFyxFMtHakrXnTCGmO7oTgo1t3vMlV5OqI57WjaK
 kXEg==
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:content-transfer-encoding;
 bh=sqB1RBikgDH3VBJtjguwkkynbikNdYzmJBpNCYWazNE=;
 b=Rx8Vqe7JPo1kK/b3YGNrsfeh9sshR8E5iv5hFIRqS+7jkGOGiNDsU9+d8lnRiOid39
 3vD1HC9q4FpCuIddndhQwoj+qXogRnfKj1R0jTWAjgyzg7pgZfeE4Vd0JjDNlNe54GLF
 WuBW8fg0z1bItEfrkgf+5RA7+R/5sA1lecb/VRIOwG3/XRsjL8HPqqmHYCoP8s2O9+nU
 EIfqfdB/kDyEfXDjzgiU62f9zBb+DOFDRXBvapznMFU+mKQTdH8MQh4pwZ8e9yENwBso
 Pyih8URy2Dv6UVOML4+p/FZh3qwVyBpyJczOT/yNmjtQSTx5kmXIj/fyXKPFZuR0+Z6O
 31Ew==
X-Gm-Message-State: AOAM5318mtAqwOuhdEcqL7IaWuUO99qUV73L/954vhkDq5cHptdxuxtU
 TP3JRoCm4e0lzMf+M/OyjE8pifmdMfs=
X-Google-Smtp-Source: ABdhPJzaGo3MXUBpT+0L9RJ7QKTR0wKFmNIKmGq3MNvLMK4DfW967SolwW01GJHJ0qhtYtlHd3bU1g==
X-Received: by 2002:ac8:5c05:: with SMTP id i5mr46450153qti.34.1609213471614; 
 Mon, 28 Dec 2020 19:44:31 -0800 (PST)
Received: from hurd (dsl-10-148-132.b2b2c.ca. [72.10.148.132])
 by smtp.gmail.com with ESMTPSA id i27sm19941754qkk.15.2020.12.28.19.44.30
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 28 Dec 2020 19:44:30 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= <kuba@HIDDEN>
Subject: Re: bug#42553: python-gevent is broken on i686-linux (tests fail)
References: <20200726183503.pu7ll2fzm4a6bf5h@gravity>
Date: Mon, 28 Dec 2020 22:44:29 -0500
In-Reply-To: <20200726183503.pu7ll2fzm4a6bf5h@gravity> ("Jakub
 =?utf-8?B?S8SFZHppb8WCa2EiJ3M=?=
 message of "Sun, 26 Jul 2020 20:35:03 +0200")
Message-ID: <8735zpwa1u.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42553
Cc: 42553 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Jakub K=C4=85dzio=C5=82ka <kuba@HIDDEN> writes:

> The package python-gevent doesn't build on i686-linux, the following
> test failure occurs:
>
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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_unlink (gevent.tests.test__core_stat.TestCoreStat)
>   ----------------------------------------------------------------------
>   Traceback (most recent call last):
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/=
lib.linux-i686-3.8/gevent/testing/errorhandler.py", line 47, in wrapper
>       return method(self, *args, **kwargs)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/=
lib.linux-i686-3.8/gevent/testing/errorhandler.py", line 34, in wrapper
>       return method(self, *args, **kwargs)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/=
lib.linux-i686-3.8/gevent/testing/testcase.py", line 182, in wrapper
>       return method(self, *args, **kwargs)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/=
lib.linux-i686-3.8/gevent/tests/test__core_stat.py", line 114, in test_unli=
nk
>       self._check_attr('attr', True)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/=
lib.linux-i686-3.8/gevent/tests/test__core_stat.py", line 66, in _check_attr
>       self.assertIsNone(x, name)
>   AssertionError: os.stat_result(st_mode=3D997, st_ino=3D0, st_dev=3D7439=
5714104328192, st_nlink=3D30000, st_uid=3D0, st_gid=3D0, st_size=3D68515932=
78123409408, st_atime=3D1595260873, st_mtime=3D0, st_ctime=3D-2) is not Non=
e : attr
>=20=20=20
>   ----------------------------------------------------------------------
>   Ran 48 tests in 1.238s
>

Just a follow-up to mention that this still occurs when building with
--system=3Di686-linux, even with the recent python-gevent update to
20.9.0.

Maxim




Information forwarded to bug-guix@HIDDEN:
bug#42553; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jul 2020 18:35:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 26 14:35:18 2020
Received: from localhost ([127.0.0.1]:53443 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jzlUQ-0005ji-UN
	for submit <at> debbugs.gnu.org; Sun, 26 Jul 2020 14:35:18 -0400
Received: from lists.gnu.org ([209.51.188.17]:58070)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@HIDDEN>) id 1jzlUO-0005jZ-Iz
 for submit <at> debbugs.gnu.org; Sun, 26 Jul 2020 14:35:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48636)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kuba@HIDDEN>)
 id 1jzlUO-0005lH-CB
 for bug-guix@HIDDEN; Sun, 26 Jul 2020 14:35:12 -0400
Received: from pat.zlotemysli.pl ([37.59.186.212]:57694)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <kuba@HIDDEN>) id 1jzlUK-0007i8-Um
 for bug-guix@HIDDEN; Sun, 26 Jul 2020 14:35:11 -0400
Received: (qmail 25937 invoked by uid 1009); 26 Jul 2020 20:35:04 +0200
Received: from 83.22.51.66.ipv4.supernova.orange.pl
 (kuba@HIDDEN@83.22.51.66.ipv4.supernova.orange.pl) by
 pat.zlotemysli.pl (envelope-from <kuba@HIDDEN>,
 uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25884. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(83.22.51.66):. 
 Processed in 0.048654 secs); 26 Jul 2020 18:35:04 -0000
Received: from 83.22.51.66.ipv4.supernova.orange.pl (HELO gravity)
 (kuba@HIDDEN@83.22.51.66)
 by pat.zlotemysli.pl with SMTP; 26 Jul 2020 20:35:04 +0200
Date: Sun, 26 Jul 2020 20:35:03 +0200
From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= <kuba@HIDDEN>
To: bug-guix@HIDDEN
Subject: python-gevent is broken on i686-linux (tests fail)
Message-ID: <20200726183503.pu7ll2fzm4a6bf5h@gravity>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="uiuvctmc3dnamcl4"
Content-Disposition: inline
Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@HIDDEN;
 helo=pat.zlotemysli.pl
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/26 14:35:05
X-ACL-Warn: Detected OS   = Linux 3.11 and newer
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001,
 URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


--uiuvctmc3dnamcl4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

The package python-gevent doesn't build on i686-linux, the following
test failure occurs:

  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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_unlink (gevent.tests.test__core_stat.TestCoreStat)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/li=
b.linux-i686-3.8/gevent/testing/errorhandler.py", line 47, in wrapper
      return method(self, *args, **kwargs)
    File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/li=
b.linux-i686-3.8/gevent/testing/errorhandler.py", line 34, in wrapper
      return method(self, *args, **kwargs)
    File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/li=
b.linux-i686-3.8/gevent/testing/testcase.py", line 182, in wrapper
      return method(self, *args, **kwargs)
    File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/li=
b.linux-i686-3.8/gevent/tests/test__core_stat.py", line 114, in test_unlink
      self._check_attr('attr', True)
    File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/li=
b.linux-i686-3.8/gevent/tests/test__core_stat.py", line 66, in _check_attr
      self.assertIsNone(x, name)
  AssertionError: os.stat_result(st_mode=3D997, st_ino=3D0, st_dev=3D743957=
14104328192, st_nlink=3D30000, st_uid=3D0, st_gid=3D0, st_size=3D6851593278=
123409408, st_atime=3D1595260873, st_mtime=3D0, st_ctime=3D-2) is not None =
: attr
 =20
  ----------------------------------------------------------------------
  Ran 48 tests in 1.238s

I have created a simple standalone script based on this test case:

import os, tempfile, gevent
fd, path =3D tempfile.mkstemp('.test')
os.close(fd)
hub =3D gevent.get_hub()
watcher =3D hub.loop.stat(path, interval=3D-1)
hub.loop.update_now()
gevent.spawn_later(0.5, os.unlink, path)
hub.wait(watcher)
print(watcher.attr)
print(watcher.prev)

After adding a (delete 'check) to python-gevent's arguments, we observe
the following:

% ./pre-inst-env guix environment --ad-hoc python python-gevent -- python3 =
~/tmp/gevent-test.py
None
os.stat_result(st_mode=3D33152, st_ino=3D44162375, st_dev=3D2052, st_nlink=
=3D1, st_uid=3D1000, st_gid=3D1000, st_size=3D0, st_atime=3D1595787602, st_=
mtime=3D1595787602, st_ctime=3D1595787602)
% ./pre-inst-env guix environment --system=3Di686-linux --ad-hoc python pyt=
hon-gevent -- python3 ~/tmp/gevent-test.py
os.stat_result(st_mode=3D1000, st_ino=3D0, st_dev=3D189675956338688000, st_=
nlink=3D1000, st_uid=3D0, st_gid=3D0, st_size=3D6853855360088801280, st_ati=
me=3D1595787555, st_mtime=3D0, st_ctime=3D-2)
os.stat_result(st_mode=3D33152, st_ino=3D2052, st_dev=3D2052, st_nlink=3D1,=
 st_uid=3D1000, st_gid=3D1000, st_size=3D17592186044416, st_atime=3D1595787=
555, st_mtime=3D1595787555, st_ctime=3D0)

Namely, the i686 variant returns entirely bogus values.

I have tried reproducing this in a Guix-less environment in a Docker
container based on the i386/debian:bullseye image, but I haven't had any
luck.

Regards,
Jakub K=C4=85dzio=C5=82ka

--uiuvctmc3dnamcl4
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8dzNcACgkQ4xWnWEYT
FWSaOA/+L5OHTOVIY7czGnkZUfJcPsLZrAcEJt5Tclf5JdlNGpy2P9F1W/6tfJMm
w7sBJI6pm8sZVt/OrCBMsWvkklj37ETuUnwi+dijrF8sZB2eMYaTgGTsOSEqvYeL
ZCUeSuRcc4R+KddoVMzhxDhYYNjlgbIEhEVQsZaUs+KZfNIZCplP+RUeBpmBObi8
gZhbnaOHa9Q0qkQ7G/MhaAEkrZiciV9XoyZ7ZNURqVCjgtUEFh1ERY7V2bDCE2/l
i5WH5KTdhuDPyVq5khxMoax4lIDcqdlMr1H2zVjHLvD0+POBjgHSK0jc+tcLUb1I
GK0ND5JJjPIWur3ySxQ3xPlNpxZhZYuENYWp8EPdZn7Yed9z/cYu11uQaNCa1IcD
ys+5TIsXEO0ryreUStJTSShjDqAwVat1jsk8xhEhKIvfgtAowH5chOw5VfNfbDvg
UsHUShoxeIOT5XAPD1DjvtVuVKA9MITr9HKKHgHr8stlid8hpE3EtNJf1QUGYkd7
9ytPZNhcrm2yXXYN/lLbE2nf0dMcSdV7IFabWFFIP9rbKeYEiZ3DKy4snS1+afO+
jVLOoNWEpo5n8uG6S9ZF/BoVyZcC2LxQuKRIGP/KG+uDIfXRLW/NXnh9U8ax8DEu
cDL49V7ijyb2V9gi3F5lxyFynbnrjJxTyyuqs+pvnwZ2K5IHrMg=
=cBKm
-----END PGP SIGNATURE-----

--uiuvctmc3dnamcl4--




Acknowledgement sent to Jakub Kądziołka <kuba@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#42553; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 29 Dec 2020 04:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.