GNU logs - #68126, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68126: test failure in python-ipython 8.5.0 on powerpc64le (flaky?)
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sat, 30 Dec 2023 02:09:02 +0000
Resent-Message-ID: <handler.68126.B.170390213616827 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 68126
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 68126 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix <bug-guix@HIDDEN>
Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rJOmV-0004NJ-Ok
	for submit <at> 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 <maxim.cournoyer@HIDDEN>) id 1rJOmT-0004N3-8V
 for submit <at> 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 <maxim.cournoyer@HIDDEN>)
 id 1rJOmN-0008GM-8v
 for bug-guix@HIDDEN; 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 <maxim.cournoyer@HIDDEN>)
 id 1rJOmL-0006rB-Gz
 for bug-guix@HIDDEN; Fri, 29 Dec 2023 21:08:47 -0500
Received: by mail-qt1-x833.google.com with SMTP id
 d75a77b69052e-427a3887483so53451521cf.3
 for <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 29 Dec 2023 18:08:43 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
In-Reply-To: <3253@HIDDEN> (cuirass@HIDDEN's message of "Fri, 29 Dec
 2023 10:12:03 +0000")
References: <3253@HIDDEN>
Date: Fri, 29 Dec 2023 21:08:42 -0500
Message-ID: <875y0gtpat.fsf@HIDDEN>
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@HIDDEN; 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-Spam-Score: 1.0 (+)
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: -0.0 (/)

Hi,

cuirass@HIDDEN (Cuirass) writes:

> <p>The build <b>python-ipython.powerpc64le-linux</b> for specification <b>master</b> is
> broken. You can find the detailed information about this build <a
> href="https://ci.guix.gnu.org/build/3099199/details">here</a>.</p>
>
> 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 = <pexpect.pty_spawn.spawn object at 0x7fff55eaa080>, 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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: bug#68126: Acknowledgement (test failure in python-ipython 8.5.0
 on powerpc64le (flaky?))
Message-ID: <handler.68126.B.170390213616827.ack <at> debbugs.gnu.org>
References: <875y0gtpat.fsf@HIDDEN>
X-Gnu-PR-Message: ack 68126
X-Gnu-PR-Package: guix
Reply-To: 68126 <at> debbugs.gnu.org
Date: Sat, 30 Dec 2023 02:09:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 68126 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
68126: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68126
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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