From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#71966: 30.0.60; Intermittent failure in eglot-tests Date: Sun, 7 Jul 2024 00:30:11 +0100 Message-ID: References: <874j932nkm.fsf@pub.pink> <87y16ep2wq.fsf@jeremybryant.net> Mime-Version: 1.0 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="31384"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71966@debbugs.gnu.org, john muhl To: Jeremy Bryant Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 07 01:31:29 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 1sQEsL-0007ve-TE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jul 2024 01:31:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQEs7-0002HH-2t; Sat, 06 Jul 2024 19:31:15 -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 1sQEs4-0002Gl-RM for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 19:31:12 -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 1sQErr-0008Ou-1E for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 19:31:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQEru-00084v-Ij for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 19:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2024 23:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71966 X-GNU-PR-Package: emacs Original-Received: via spool by 71966-submit@debbugs.gnu.org id=B71966.172030862031001 (code B ref 71966); Sat, 06 Jul 2024 23:31:02 +0000 Original-Received: (at 71966) by debbugs.gnu.org; 6 Jul 2024 23:30:20 +0000 Original-Received: from localhost ([127.0.0.1]:46954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQErE-00083w-2O for submit@debbugs.gnu.org; Sat, 06 Jul 2024 19:30:20 -0400 Original-Received: from mail-oa1-f41.google.com ([209.85.160.41]:50610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQErB-00083h-RE for 71966@debbugs.gnu.org; Sat, 06 Jul 2024 19:30:18 -0400 Original-Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-25e134abf00so1417273fac.1 for <71966@debbugs.gnu.org>; Sat, 06 Jul 2024 16:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720308548; x=1720913348; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3novyhwzztpMPBpouhKt2lTXVMIdLzXPv7xQygY+gDc=; b=GSIQZzMYnpNtU6hpakyebGE0lREsjBNn/pXKsn4xxH7Ic0CzGgS7TIn0Dgn1xpAmdg iC7Q6KIUn/DPXOCwSmkxJRnb1cudm+fHIM5NBLAcMvjkC1psMRrGFDomUD8dkNkC/cWg FKbQhNZrF1cphWvKP5srPEoZ9vcUDieLjatuIVVZE0VlqJnjRFSJVB9e0UXH+iOUXoEW QEFiF0KiaKBMsmmNie33RZiKtA3SChW2tvGAL1Q8Q8X7VQ33DAp6T9TAP+7EtmiZn3cY Sq5oyqQQkcui7udEHjgxZ/kpWMepWXBfnx5KBRtbEz+PVKwV3FtpMV1kGC+Tg9i7M2aw d3fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720308548; x=1720913348; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3novyhwzztpMPBpouhKt2lTXVMIdLzXPv7xQygY+gDc=; b=k0S6wZKMsdyVBt6/wUFLE3gSOEhvcoqEhMw+AcwsWmJMWYlmM1aU7XfSaji+on0xHt KfrJ6PfG6ZN8CvB/URb+dgdLfdyf+ZYsNUnioDcOIOstb9OgjuFVKOGHGElSPWqmo/16 xWFmjViKcdNp+JNewduLbwqoWFk0XCNZdApWuuhjeTjjdsALzfRTGVPjNfiKSCPj5g2B 4ya/0o9pi2tHwEsBZlxg1tG7VfzHkQ1gjwJxwZdnNUa7PV+GJ/VhYQIyAHVEGCVgG+Fq ssj2/y67USD8+ABPWkUlJvgy3aMa807J5BI7GvBkAPePMjmNFi5hZTx8KxD3rrTLTQ47 okzA== X-Forwarded-Encrypted: i=1; AJvYcCXSW2Yac8eruepiq6dENkGGiS4dq5DFBArTbl09AXHrOWMtk0YX37tjmmX8r8QExt42pOAXaymuNRj2nlbxbsSqG/9lgvg= X-Gm-Message-State: AOJu0YxxcN5oro22iTJ9lPmU9jv2r2OafQ6uvuG/0VjPdmbHN6pgFiAA g+t9N7qCUptOTTGbJwOPKRFeQ2AKA2ynJlQIA8sJoL6KW5NnEObKMt0dqPsmj8JWvCSP9i4qmA7 SpwyNuhf+wUMH2mECSdPE3rj7e4k= X-Google-Smtp-Source: AGHT+IE6rL/VoJpjrJnY0nSGRVRUL2RSXZp38YLBbdncO3Lq/Z66XZ151pvj+W6M+26SsEcaFpXVz6Y7z3mPOct7bx4= X-Received: by 2002:a05:6870:d624:b0:24c:b0bd:7eb8 with SMTP id 586e51a60fabf-25e2b8dd7c9mr8189010fac.6.1720308548103; Sat, 06 Jul 2024 16:29:08 -0700 (PDT) In-Reply-To: <87y16ep2wq.fsf@jeremybryant.net> 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:288531 Archived-At: Hmmm, Seems like the clangd on that underpowered machine takes longer than the default 10 seconds to respond to Eglot's initiation. I don't think it's worth bumping the timeouts for such cases, but I don't mind it either. Why are you running tests on those ARM machines? BTW clangd is usually very spiffy by comparison with other servers, so I can't imagine how the other tests will ever pass (they're probably skipped). Jo=C3=A3o On Sat, Jul 6, 2024 at 11:32=E2=80=AFPM Jeremy Bryant = wrote: > > john muhl writes: > > > The failing test is =E2=80=98eglot-test-auto-detect-running-server=E2= =80=99. I > > can=E2=80=99t reproduce it here by running the individual test in a loo= p > > (well it didn=E2=80=99t fail during 5 hours of looping). However it has > > failed 10 times in the last 62 runs of =E2=80=98make check=E2=80=99. It= only > > happens on the 32bit ARM test machine but happens across all > > tested configurations there. > > > > I was able to run =E2=80=98make check=E2=80=99 a dozen times without fa= ilure using > > the patch below. Let=E2=80=99s see how it does for a week or two of bui= lds. > > > > --- a/test/lisp/progmodes/eglot-tests.el > > +++ b/test/lisp/progmodes/eglot-tests.el > > @@ -326,7 +326,7 @@ eglot-tests--auto-detect-running-server-1 > > ("anotherproject" . (("cena.c" . "bla")))) > > (with-current-buffer > > (eglot--find-file-noselect "project/coiso.c") > > - (should (setq server (eglot--tests-connect))) > > + (should (setq server (eglot--tests-connect 20))) > > (should (eglot-current-server))) > > (with-current-buffer > > (eglot--find-file-noselect "project/merdix.c") > > > > [2. text/plain; eglot-tests.log]... > > Adding Jo=C3=A3o on this bug report --=20 Jo=C3=A3o T=C3=A1vora