From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70721: [BUG] failed on test case python-tests--python-nav-end-of-statement--infloop Date: Thu, 02 May 2024 21:18:22 +0300 Message-ID: <86y18sjcwh.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21787"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70721@debbugs.gnu.org To: Lin Sun Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 02 20:18:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s2b1G-0005PN-Jq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 May 2024 20:18:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2b17-0004Pa-HT; Thu, 02 May 2024 14:18:49 -0400 Original-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 1s2b10-0004O4-0N for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 14:18:44 -0400 Original-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 1s2b0y-0004z1-A8 for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 14:18:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2b1K-00061J-4o for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 14:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2024 18:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70721 X-GNU-PR-Package: emacs Original-Received: via spool by 70721-submit@debbugs.gnu.org id=B70721.171467393423131 (code B ref 70721); Thu, 02 May 2024 18:19:02 +0000 Original-Received: (at 70721) by debbugs.gnu.org; 2 May 2024 18:18:54 +0000 Original-Received: from localhost ([127.0.0.1]:45179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2b1B-000611-Td for submit@debbugs.gnu.org; Thu, 02 May 2024 14:18:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2b19-00060t-Tc for 70721@debbugs.gnu.org; Thu, 02 May 2024 14:18:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2b0i-0004xd-EL; Thu, 02 May 2024 14:18:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=5R4FzmE+gqnWYEb7yV4VUcUK/2Smbt0CxH3TIf9eAxM=; b=XkxcRAmWzokWBsn5AxMV 4VYvjPu8IFji/WBPBrlFtvvoYb+6ekTX6Zkhq/zWF4Daxk5rznw+xEuPeQ4FLDT3VyCYjYmUzT23K cpRFfNlimA8K9/rPCByCCeeUWYY65RmWim0GcVJRgUSUgR9yIHVFXZ9AWJLgANoGLCInqXE1K178d eN9N7M9rqcFoOYHqLzHTxf4jdMWBsXSZWPc0NKpWbylYbk3fMel6tai/ws3lOxVaLHLgJ70vxugUx fS+oJVSFeQosG2dq+kfqh/4geSnKscmwmONN3kCK2L7JVtgLb3/CRYSxyrGZmsP+zCUfxikIW3H6S 2/Zj/MUpwbu+8g==; In-Reply-To: (message from Lin Sun on Thu, 2 May 2024 16:25:41 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284341 Archived-At: > From: Lin Sun > Date: Thu, 2 May 2024 16:25:41 +0000 > > Hi, > > Running 1 tests (2024-05-02 15:49:20+0000, selector > ‘python-tests--python-nav-end-of-statement--infloop’) > Test python-tests--python-nav-end-of-statement--infloop backtrace: > ert-fail(((should-error (let ((debug-on-error nil)) (python-nav-end- > (if errorp5298 nil (ert-fail (append (funcall form-description-fn-52 > (let ((errorp5298 nil) (form-description-fn-5299 #'(lambda nil form- > (let (form-description-5297) (let ((errorp5298 nil) (form-descriptio > (let ((value-5296 (gensym "ert-form-evaluation-aborted-"))) (let (fo > (let ((python-indent-guess-indent-offset nil)) (python-mode) (insert > (progn (let ((python-indent-guess-indent-offset nil)) (python-mode) > (unwind-protect (progn (let ((python-indent-guess-indent-offset nil) > (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn > (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current > (closure (t) nil (let ((temp-buffer (generate-new-buffer " *temp*" t > #[0 "\303\300!\11>\204\17\0\304\305\306\300D\"\210\300\307H\303\1!\n > handler-bind-1(#[0 "\303\300!\11>\204\17\0\304\305\306\300D\"\210\30 > ert--run-test-internal(#s(ert--test-execution-info :test ... :result > ert-run-test(#s(ert-test :name python-tests--python-nav-end-of-state > ert-run-or-rerun-test(#s(ert--stats :selector python-tests--python-n > ert-run-tests(python-tests--python-nav-end-of-statement--infloop #[3 > ert-run-tests-batch(python-tests--python-nav-end-of-statement--inflo > eval((ert-run-tests-batch 'python-tests--python-nav-end-of-statement > command-line-1(("-l" "ert" "-l" "python-tests.el" "-eval" "(ert-run- > command-line() > normal-top-level() > Test python-tests--python-nav-end-of-statement--infloop condition: > (ert-test-failed > ((should-error (let (...) (python-nav-end-of-statement))) :form > (let ((debug-on-error nil)) (python-nav-end-of-statement)) :value > # :fail-reason "did not signal an error")) > FAILED 1/1 python-tests--python-nav-end-of-statement--infloop > (0.000464 sec) at python-tests.el:7367 > > Ran 1 tests, 0 results as expected, 1 unexpected (2024-05-02 > 15:49:20+0000, 0.108988 sec) > > 1 unexpected results: > FAILED python-tests--python-nav-end-of-statement--infloop That test is marked unstable, which means it can fail in some cases and succeed in others. So the fact that it could fail is already known, and I wonder why you are reporting this here?