From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#65026: 30.0.50; c-ts-mode-test-indentation-bsd fails Date: Fri, 15 Sep 2023 15:57:04 -0700 Message-ID: References: <871qglfi4j.fsf@gmx.de> <83bkfpz4xr.fsf@gnu.org> <87wmyde1xf.fsf@gmx.de> <87cz04eh1z.fsf@gmx.de> <878racwz66.fsf@gmx.de> <866FDEB1-9C88-4ACD-BCC6-70898C042456@gmail.com> <875y4b1gf3.fsf@gmx.de> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10160"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 65026@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 16 00:58:12 2023 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 1qhHlM-0002NF-D4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Sep 2023 00:58:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhHl7-00083G-S2; Fri, 15 Sep 2023 18:57:57 -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 1qhHl6-00082o-0O for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 18:57:56 -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 1qhHl5-0008N5-OY for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 18:57:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhHlC-0004uA-DC for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 18:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Sep 2023 22:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65026 X-GNU-PR-Package: emacs Original-Received: via spool by 65026-submit@debbugs.gnu.org id=B65026.169481865418816 (code B ref 65026); Fri, 15 Sep 2023 22:58:02 +0000 Original-Received: (at 65026) by debbugs.gnu.org; 15 Sep 2023 22:57:34 +0000 Original-Received: from localhost ([127.0.0.1]:45059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhHkj-0004tP-Vl for submit@debbugs.gnu.org; Fri, 15 Sep 2023 18:57:34 -0400 Original-Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:55528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhHkg-0004tA-82 for 65026@debbugs.gnu.org; Fri, 15 Sep 2023 18:57:32 -0400 Original-Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-573ccec985dso2105482a12.2 for <65026@debbugs.gnu.org>; Fri, 15 Sep 2023 15:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694818637; x=1695423437; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mqSdlEcNNy4yVIi9kxg/IlHM4YEPrYp0V3GsBGYs6Zg=; b=ZAivn1eC2MQAGzy4rzuHJLeB/eLxTvX5dp/eN2YUaHEVMNLBzsQYamLRrJrnA6fpw5 tEPyQBCtyOEnZnAkWQvZlK3N4joR9j4KXPV2XpbuAmxbkcuWmjNS0m3juMqFziybB++G 9+Uuukfeq6n+Z4m2JMTeiUVnZ0JxKOmx1U44VWhFz0LCdvqo0WTeepht9S1RmJjQ95k7 qqsgd3CgHFa4JlxNi38kNTgkgJUTIfIKpjjEPyzjrT8srn0CoGS2cw/z0WImUjTSlS3a 5K2smqENjQ4R/Z4f8FfsTmnNqHd8yxiQUidZ5QBoN2x+v/VyzNDTpZv0/Nd5ZicU3EpB LUuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694818637; x=1695423437; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mqSdlEcNNy4yVIi9kxg/IlHM4YEPrYp0V3GsBGYs6Zg=; b=j4h8/dZdzahn7vj4/wYhl16Ofh+Q7OfrFbWprrLEzhEk5OAtIat/JrI0BleJt9IA3q +aZzp+6WGNz/VGo3C57DONp4obU6+qW2y63EmrpOcVAq9Z/p9Y6Flq3V1EZL+1/S+NeK dBXSHos7FfkZzloaDVzBUu3SjYBAwVso3S+Oroc5Yb3YbK2O1bgVi0y288BN/jhhkpPR I/+2Q6XcHvhsop34Pq+tq3WxVCJNc4usrfTADrDkuKQ+pn4bII02141sIVtgvNOvZFTM U6NqZ10lqcyhDGvhoqfchNZO5PW1LWH69yn/yiP6w85WKwewY53F/9eZ7k+8k2WsG9z+ 9u7Q== X-Gm-Message-State: AOJu0Yy4/d0zhGUIMfJsvJuUY2SZ7eWpXuz17fv3KlXvit1oEg9hEd6j Lu/X9eJ8Pmfb4qSnYBwnUgQ= X-Google-Smtp-Source: AGHT+IGUBZgXUsAUCf/wWk8S4SbuWRt+ZlE6mJXhDxSQp75mDnvoKwk/vqCHULZEkU7KvswDAYxvzw== X-Received: by 2002:a17:90b:390d:b0:273:e24e:36b9 with SMTP id ob13-20020a17090b390d00b00273e24e36b9mr3174019pjb.8.1694818637503; Fri, 15 Sep 2023 15:57:17 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id ne10-20020a17090b374a00b002633fa95ac2sm5332450pjb.13.2023.09.15.15.57.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Sep 2023 15:57:17 -0700 (PDT) In-Reply-To: <875y4b1gf3.fsf@gmx.de> X-Mailer: Apple Mail (2.3731.700.6) 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:270567 Archived-At: > On Sep 15, 2023, at 10:42 AM, Michael Albinus = wrote: >=20 > Yuan Fu writes: >=20 >> Hi Michael, >=20 > Hi Yuan, >=20 >> I fixed the tree-sitter test a while ago, but didn=E2=80=99t check = EMBA. It >> seems they are skipped right now? (Sorry for taking so long.) >=20 > They are skipped in all test jobs except job "test-tree-sitter" on the > master branch. And that job is skipped, if the corresponding > "build-image-tree-sitter" job didn't succeed. >=20 >> I=E2=80=99m also seeing the build-image-tree-sitter build failing = [1]. But I >> can=E2=80=99t tell what=E2=80=99s causing it. The pipeline was = pushing something and >> it timed out? >>=20 >> [1] https://emba.gnu.org/emacs/emacs/-/jobs/73909 >=20 > There are problems with the gitlab docker registry these days, so not > all jobs go through. >=20 > However, has finished = in > time. And the test job, = , > has failed: >=20 > --8<---------------cut here---------------start------------->8--- > Test treesit-defun-navigation-nested-3 backtrace: > signal(ert-test-failed (((should (equal (cons name (cdr record)) (co > ert-fail(((should (equal (cons name (cdr record)) (cons name poss))) > (if (unwind-protect (setq value-623 (apply fn-621 args-622)) (setq f > (let (form-description-625) (if (unwind-protect (setq value-623 (app > (let ((value-623 'ert-form-evaluation-aborted-624)) (let (form-descr > (let* ((fn-621 #'equal) (args-622 (condition-case err (let ((signal- > (while (and (consp --cl-var--) (progn (setq record (car --cl-var--)) > (let* ((--cl-var-- decoded-master) (record nil) (--cl-var-- master)=20= > (let* ((opening (or opening "[")) (closing (or closing "]")) (marker > (progn (funcall init) (let* ((opening (or opening "[")) (closing (or > (unwind-protect (progn (funcall init) (let* ((opening (or opening "[ > (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn > (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current > treesit--ert-test-defun-navigation((closure (t) nil (treesit-parser- > (closure (t) nil (let* ((fn-636 #'treesit-language-available-p) (arg > ert--run-test-internal(#s(ert--test-execution-info :test ... :result > ert-run-test(#s(ert-test :name treesit-defun-navigation-nested-3 :do > ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m > ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil > ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) > ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco > eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n > command-line-1(("-L" ":." "-l" "ert" "-l" "src/treesit-tests.el" "-- > command-line() > normal-top-level() > Test treesit-defun-navigation-nested-3 condition: > (ert-test-failed > ((should (equal (cons name ...) (cons name poss))) :form > (equal ("marker 0" 18 71 17 31) ("marker 0" 18 71 nil 31)) :value > nil :explanation (list-elt 3 (different-types 17 nil)))) > FAILED 6/25 treesit-defun-navigation-nested-3 (0.039924 sec) at = src/treesit-tests.el:1109 > --8<---------------cut here---------------end--------------->8--- >=20 > But this is another error. Do you want to trace it in this bug report, > or shall I write a new one? Thanks Michael. This test failure is cause by a (kind of) regression = introduced by ec4d29c4494 on emacs-29. Only the latest tree-sitter-bash = grammar will trigger the tree-sitter bug that activates the regression = introduced in that commit, so the test passed locally on my machine. I=E2=80=99ve pushed a fix for that regression a few days ago to = emacs-29. Once emacs-29 is merged into master, the failure should go = away. I=E2=80=99ll check the CI to see if that indeed happens. Yuan=