From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EAEvFdR7j2XB3gAAkFu2QA (envelope-from ) for ; Sat, 30 Dec 2023 03:09:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +DTODtR7j2VlZQAAe85BDQ (envelope-from ) for ; Sat, 30 Dec 2023 03:09:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=k8kZOnKJ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703902164; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=OtyqU1wMbwLP4bfXVRuXPeqmveu/ALWB7wy33GE0aeg=; b=jgbQ1f219cSN7UAGtgz3FHF/jojQuFgSnJP62yo46+d5LYIwdmndc7WPzvvjG///q/Jg00 P7DYMd8XIh2UETTZP2vMXEOUAJ85fXbhi1/zAA0L+FFp0TxOWSkE30vJ3eAUJRffam6ypD g3W+XB2iGECXnuykKaIwUJ7kHGwoWCn4/OBCPLYbEvM5XAUuQShYwjlMz84DGBhP9m4DRj Q/z9jpF7m9syfTNd+j4mM65e4gYNYyBmb5r19bkMRnc9YnwcorCSEg4kBEg91OCgNGfyQW rEuAO6eiFGAd0Zar4W9O/RLFG0tnV7r0X4pbDHRewkCpAVeiuySJ+I7rDSuyIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703902164; a=rsa-sha256; cv=none; b=S5LuKnVUMFHzZsGGf+SoDf+CrIYjuEbRSC5e2hSF9WNYHQBgUU+opt+6loQTqi4vBQ/Upj 6UoI3Tw0oWG9IQodP3N7bw0DeopF7I/pxHCQknKOoVleNjqzuSqotEyjNz87fxxa8aQt/x 8T2q2ZeJQW7/hK6gSOTF5AcJq9FXZ7r4Ur3d+/AQXEhO+8sYRUDIPHYunbLX05TlQ4Ya8W RdXFZyoP0d9be3L5Tjclt3Hj5JBQ1Pbj923fEBoFiUxSDzJgfsc0d82AygubW3rDJG+xcJ Sj23fcE9g69DFWv/iMzFaU/49+uLllqovBZXqy72XK4+gefqA/m6e+Dm0Bqcmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=k8kZOnKJ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 97F1D6313A for ; Sat, 30 Dec 2023 03:09:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJOmf-0008Kd-DW; Fri, 29 Dec 2023 21:09:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJOmd-0008K4-L5 for bug-guix@gnu.org; Fri, 29 Dec 2023 21:09:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJOmd-0006sD-Cn for bug-guix@gnu.org; Fri, 29 Dec 2023 21:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJOmc-0004Ni-77 for bug-guix@gnu.org; Fri, 29 Dec 2023 21:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68126: test failure in python-ipython 8.5.0 on powerpc64le (flaky?) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 30 Dec 2023 02:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68126 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 68126@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.170390213616827 (code B ref -1); Sat, 30 Dec 2023 02:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2023 02:08:56 +0000 Received: from localhost ([127.0.0.1]:42684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJOmV-0004NJ-Ok for submit@debbugs.gnu.org; Fri, 29 Dec 2023 21:08:56 -0500 Received: from lists.gnu.org ([2001:470:142::17]:59370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJOmT-0004N3-8V for submit@debbugs.gnu.org; Fri, 29 Dec 2023 21:08:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJOmN-0008GM-8v for bug-guix@gnu.org; Fri, 29 Dec 2023 21:08:47 -0500 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJOmL-0006rB-Gz for bug-guix@gnu.org; Fri, 29 Dec 2023 21:08:47 -0500 Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-427a3887483so53451521cf.3 for ; Fri, 29 Dec 2023 18:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703902124; x=1704506924; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=OtyqU1wMbwLP4bfXVRuXPeqmveu/ALWB7wy33GE0aeg=; b=k8kZOnKJGE80/TmXuwcHordYmkS1so+oWIuVnuOaPEAtvkdRtLCReG2oD8yC6BOqsV w92iW34LUpeyMAg0+2ipujf7CdnLhaHelOVw7c3LrcMT6d5RwK7IH5MQN4Dkr98f+LOK 8Z2k+qidfzUeC1sfDIhqVyGCQfPTRKQxWI9loMCnNPycgELpu74O2wW2J9QeVHLFeOoQ id0c1znTZK8l16DleCyf1i6Fse1qYUtOobpZNWRsEBJVNay3oM9Z+GVi7eMyw9sAFcPs aqNfcffGQJa+rKOCaQrfYx0x1l5Evm1b3uw07kt3gfxRxlO3LAbS5OcBMfPofkRhh9UY stlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703902124; x=1704506924; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OtyqU1wMbwLP4bfXVRuXPeqmveu/ALWB7wy33GE0aeg=; b=Wdh0KNfHj0tPU1tyR2mhcpeX2zVdeAHhNGzv4YSptVW0BrNwQUqQOAxIRHb4/tIOye 2cHdxWyuko2bNVzlbzyU3tLl7452gtscDw9TNtwLRR8kC+ApxzhndQM9A5YvLqYAjxZY hvvIpDKmDx13E5S4J4EfqkTqoTjhZKRgMe0PB73O/jQ/yMKTZDUYn1cr3G1TfRb3wV5m F0tMZAVSiR7DnWy4I6ybK215PD/hsh9MwTbGjn2RTLTnJO+uKEcsr0m37QSXHVjmYlrn K8AY22WO59uIMVXvqy2rIMrSyQIw8qK2cUTd1inhIWml4x7Ln8VRBEM/H7yVb8K6HNFy A1UQ== X-Gm-Message-State: AOJu0Yz1dVNV7gswAuAicZsjrqioj0ZbBGnUU9HMLTJuaUlZT/xIykyF lGTaSPGWXbbhNEcfBhcO+FISpv5jC6k= X-Google-Smtp-Source: AGHT+IE2ypCgpiYRbKFsOBN1XXgDtt0uOz12ZEl1kRqT/sTuidBM38GaDcB6qeeZc2kgD/IeWngU0Q== X-Received: by 2002:a05:622a:64b:b0:41e:2037:72b6 with SMTP id a11-20020a05622a064b00b0041e203772b6mr19221611qtb.40.1703902124013; Fri, 29 Dec 2023 18:08:44 -0800 (PST) Received: from hurd (dsl-152-202.b2b2c.ca. [66.158.152.202]) by smtp.gmail.com with ESMTPSA id ez15-20020a05622a4c8f00b00427fe1def2fsm1766798qtb.23.2023.12.29.18.08.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 18:08:43 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <3253@guix-ci.nnrss> (cuirass@gnu.org's message of "Fri, 29 Dec 2023 10:12:03 +0000") References: <3253@guix-ci.nnrss> Date: Fri, 29 Dec 2023 21:08:42 -0500 Message-ID: <875y0gtpat.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x833.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.16 X-Spam-Score: -5.16 X-Migadu-Queue-Id: 97F1D6313A X-Migadu-Scanner: mx12.migadu.com X-TUID: b+WMUJEwzBoe Hi, cuirass@gnu.org (Cuirass) writes: >

The build python-ipython.powerpc64le-linux for specification master is > broken. You can find the detailed information about this build href="https://ci.guix.gnu.org/build/3099199/details">here.

> > https://ci.guix.gnu.org/build/3099199/details --8<---------------cut here---------------start------------->8--- =================================== FAILURES =================================== __________________ test_debug_magic_passes_through_generators __________________ @contextmanager def _wrap_ptyprocess_err(): """Turn ptyprocess errors into our own ExceptionPexpect errors""" try: > yield /gnu/store/ygac2wk64z8bwz3i1v9qjghbqg8di2q7-python-pexpect-4.8.0/lib/python3.10/site-packages/pexpect/pty_spawn.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , force = True def close(self, force=True): '''This closes the connection with the child application. Note that calling close() more than once is valid. This emulates standard Python behavior with files. Set force to True if you want to make sure that the child is terminated (SIGKILL is sent if the child ignores SIGHUP and SIGINT). ''' self.flush() with _wrap_ptyprocess_err(): # PtyProcessError may be raised if it is not possible to terminate # the child. > self.ptyproc.close(force=force) /gnu/store/ygac2wk64z8bwz3i1v9qjghbqg8di2q7-python-pexpect-4.8.0/lib/python3.10/site-packages/pexpect/pty_spawn.py:328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PtyProcess.spawn(['/gnu/store/slnz6nv5lmj38px3yy43g4b5lmfrj09v-python-wrapper-3.10.7/bin/python', '-m', 'IPython', '--...PYTEST_CURRENT_TEST': 'IPython/terminal/tests/test_debug_magic.py::test_debug_magic_passes_through_generators (call)'}) force = True def close(self, force=True): '''This closes the connection with the child application. Note that calling close() more than once is valid. This emulates standard Python behavior with files. Set force to True if you want to make sure that the child is terminated (SIGKILL is sent if the child ignores SIGHUP and SIGINT). ''' if not self.closed: self.flush() self.fileobj.close() # Closes the file descriptor # Give kernel time to update process status. time.sleep(self.delayafterclose) if self.isalive(): if not self.terminate(force): > raise PtyProcessError('Could not terminate the child.') E ptyprocess.ptyprocess.PtyProcessError: Could not terminate the child. /gnu/store/hlmc99r0g2b5cy2j78366036sgjgm7cn-python-ptyprocess-0.5.2/lib/python3.10/site-packages/ptyprocess/ptyprocess.py:393: PtyProcessError During handling of the above exception, another exception occurred: @skip_win32 def test_debug_magic_passes_through_generators(): """ This test that we can correctly pass through frames of a generator post-mortem. """ import pexpect import re in_prompt = re.compile(br'In ?\[\d+\]:') ipdb_prompt = 'ipdb>' env = os.environ.copy() child = pexpect.spawn(sys.executable, ['-m', 'IPython', '--colors=nocolor', '--simple-prompt'], env=env) child.timeout = 15 * IPYTHON_TESTING_TIMEOUT_SCALE child.expect(in_prompt) child.timeout = 2 * IPYTHON_TESTING_TIMEOUT_SCALE child.sendline("def f(x):") child.sendline(" raise Exception") child.sendline("") child.expect(in_prompt) child.sendline("gen = (f(x) for x in [0])") child.sendline("") child.expect(in_prompt) child.sendline("for x in gen:") child.sendline(" pass") child.sendline("") child.timeout = 10 * IPYTHON_TESTING_TIMEOUT_SCALE child.expect('Exception:') child.expect(in_prompt) child.sendline(r'%debug') child.expect('----> 2 raise Exception') child.expect(ipdb_prompt) child.sendline('u') child.expect_exact(r'----> 1 gen = (f(x) for x in [0])') child.expect(ipdb_prompt) child.sendline('u') child.expect_exact('----> 1 for x in gen:') child.expect(ipdb_prompt) child.sendline('u') child.expect_exact('*** Oldest frame') child.expect(ipdb_prompt) child.sendline('exit') child.expect(in_prompt) child.sendline('exit') > child.close() IPython/terminal/tests/test_debug_magic.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/ygac2wk64z8bwz3i1v9qjghbqg8di2q7-python-pexpect-4.8.0/lib/python3.10/site-packages/pexpect/pty_spawn.py:325: in close with _wrap_ptyprocess_err(): /gnu/store/6mwp6qhfds9pp7xmj93gs9hvdys9yphj-python-3.10.7/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextmanager def _wrap_ptyprocess_err(): """Turn ptyprocess errors into our own ExceptionPexpect errors""" try: yield except ptyprocess.PtyProcessError as e: > raise ExceptionPexpect(*e.args) E pexpect.exceptions.ExceptionPexpect: Could not terminate the child. /gnu/store/ygac2wk64z8bwz3i1v9qjghbqg8di2q7-python-pexpect-4.8.0/lib/python3.10/site-packages/pexpect/pty_spawn.py:25: ExceptionPexpect [...] FAILED IPython/terminal/tests/test_debug_magic.py::test_debug_magic_passes_through_generators = 1 failed, 1002 passed, 67 skipped, 1 xpassed, 130 warnings in 305.79s (0:05:05) = error: in phase 'check': uncaught exception: --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim