X-Loop: help-debbugs@HIDDEN Subject: bug#71966: 30.0.60; Intermittent failure in eglot-tests Resent-From: john muhl <jm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 06 Jul 2024 03:43:01 +0000 Resent-Message-ID: <handler.71966.B.17202373703185 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 71966 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17202373703185 (code B ref -1); Sat, 06 Jul 2024 03:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2024 03:42:50 +0000 Received: from localhost ([127.0.0.1]:45362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sPwK1-0000pB-3G for submit <at> debbugs.gnu.org; Fri, 05 Jul 2024 23:42:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:35656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1sPwJx-0000p1-PH for submit <at> debbugs.gnu.org; Fri, 05 Jul 2024 23:42:47 -0400 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 <jm@HIDDEN>) id 1sPwJu-0006aV-1q for bug-gnu-emacs@HIDDEN; Fri, 05 Jul 2024 23:42:42 -0400 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jm@HIDDEN>) id 1sPwJq-0007E1-7m for bug-gnu-emacs@HIDDEN; Fri, 05 Jul 2024 23:42:41 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 3096D11402B7 for <bug-gnu-emacs@HIDDEN>; Fri, 5 Jul 2024 23:42:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 05 Jul 2024 23:42:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1720237355; x=1720323755; bh=k7/GXa9ipsF7Geq3ZN8H8/GAQn0gDYoD MdXg/5W8gR4=; b=bImsBm9AxkAdxbdtVLk+JdjSQLKCzpSELtskwnbSsItTcyys 9KC3AZronY6Fiqi286wRbYNBy2ohkf5WfD3z1NYprEdiCD2ghtrotHw5AnHXbv2o QSkH0XdLxgvoFAkj97cRltjMxAW1/WrwMMZCxpLvsR/vAJHDCd+vnyHg3t+oSpNE wGOIY7CEmXmNSODXrZshnu2qLUlq4vV5zseT2FH8h9bd36QQ4gjM4wAKsFi0VS/u cteeM/67EfONw4OJFH2E2H67DI+vTzzTMeTgAcEGOwQG035mbtc09APwFXqBjlyJ TEDjnZLC8q7Z0WbTQ6/8ZKjuUycxvt6NndUbXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1720237355; x=1720323755; bh=k7/GXa9ipsF7Geq3ZN8H8/GAQn0gDYoDMdX g/5W8gR4=; b=X7KVbk39jW9YBvJD9vnJ39DsiNfVKGuToBBG/tcx9fwNmnokSic x7Jnko4MDYZcJprwuBeWv127qCZwFzoDFdyQdJnWCmbbhvK3AD5ci3BKpFy88kmD 8LI9ymJFz21fqsN6RP9qIGEaIyaOJbWJYrgsKC/cuVzUAiU7BmMUpgzbMQttGM3z DtLRvrNFvF44fz2MPiE+BkAE8jiH672u6cBtfT105d6NJLsn4Lcr1/D1IVMSX4dx Ry4Nwo4Ev5dRioQdraPauDuYZG7rfBcSf0XA/gPH0JHhKorHXyQdbzcOunnC0UkO 3NmtSuyuT9jp0suGoWs5/TgjmleuFA/X2Dw== X-ME-Sender: <xms:Kr2IZiwDHb8vrrmmM2pMYV_w21O74oNrHLRyWTJki5vpQIVOF23sQw> <xme:Kr2IZuT9uczM7_9apJKJg5O-HzxSnNm3EUpZPazpy9WugPgK9amuPGRUFzO2pndwb xxhFHoCisYLIYK0LZc> X-ME-Received: <xmr:Kr2IZkVK3AKU4-0tERADZXgDMBcTdDZHautTfPkqzo11zvsuJsEOYnmobke2f8GXyuhvaqO1L4tPbW0-bjrnbYznTs2Qifc> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesmhdtreertddtje enucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeenucggtffr rghtthgvrhhnpeeggeeifffgffdvieehkeeijeeuudevieeiueduteevteeiuddvteegge elheehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjmhesphhusgdrphhinhhk X-ME-Proxy: <xmx:Kr2IZogJBbV2Lz1NfCNfAsguDONHhxjQJUIGiVGPGO5fnlkjp9gRXw> <xmx:Kr2IZkADWY8vQ-fngE4hU96Of3UcxPZuSrniq6_Qu92vpUsu0JCGAw> <xmx:Kr2IZpJ-uAGYvGFKbkBKQWrE7LzAwix_HMolK9pTCsi7G3Z0nt6FBA> <xmx:Kr2IZrChejrTiBZlL58V3saGW7u3xohsH19gcRc4VbllFfnc7asX7A> <xmx:K72IZt69kGo8F8kIMBqk0tgiZmroCzpJ1SQVQ7UJUYMuk5Ql7WVfeGUg> Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Fri, 5 Jul 2024 23:42:34 -0400 (EDT) From: john muhl <jm@HIDDEN> Date: Fri, 05 Jul 2024 22:42:33 -0500 Message-ID: <874j932nkm.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=103.168.172.154; envelope-from=jm@HIDDEN; helo=fhigh3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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: -2.6 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 loop (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 failur= e using the patch below. Let=E2=80=99s see how it does for a week or two of builds. --- 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") --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=eglot-tests.log Content-Transfer-Encoding: quoted-printable Running 47 tests (2024-07-05 08:16:27-0500, selector `(not (or (tag :expens= ive-test) (tag :unstable)))') [eglot-tests] [eglot-test-auto-detect-running-server]: test start [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] [eglot-test-auto-detect-running-server]: FAILED [eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-= ts-mode objc-mode)) output*': [eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-= ts-mode objc-mode)) stderr*': Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-mode)) s= tderr finished [eglot-tests] contents of `*EGLOT (project/(c-mode c-ts-mode c++-mode c++-t= s-mode objc-mode)) events*': [jsonrpc] D[08:16:27.500] Running language server: /usr/bin/clangd [jsonrpc] e[08:16:27.502] --> initialize[1] {"jsonrpc":"2.0","id":1,"method= ":"initialize","params":{"processId":14582,"clientInfo":{"name":"Eglot","ve= rsion":"1.17"},"rootPath":"/tmp/eglot--fixture-YzRLOt/project/","rootUri":"= file:///tmp/eglot--fixture-YzRLOt/project","initializationOptions":{},"capa= bilities":{"workspace":{"applyEdit":true,"executeCommand":{"dynamicRegistra= tion":false},"workspaceEdit":{"documentChanges":true},"didChangeWatchedFile= s":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":false},"con= figuration":true,"workspaceFolders":true},"textDocument":{"synchronization"= :{"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":true,"did= Save":true},"completion":{"dynamicRegistration":false,"completionItem":{"sn= ippetSupport":false,"deprecatedSupport":true,"resolveSupport":{"properties"= :["documentation","details","additionalTextEdits"]},"tagSupport":{"valueSet= ":[1]}},"contextSupport":true},"hover":{"dynamicRegistration":false,"conten= tFormat":["plaintext"]},"signatureHelp":{"dynamicRegistration":false,"signa= tureInformation":{"parameterInformation":{"labelOffsetSupport":true},"docum= entationFormat":["plaintext"],"activeParameterSupport":true}},"references":= {"dynamicRegistration":false},"definition":{"dynamicRegistration":false,"li= nkSupport":true},"declaration":{"dynamicRegistration":false,"linkSupport":t= rue},"implementation":{"dynamicRegistration":false,"linkSupport":true},"typ= eDefinition":{"dynamicRegistration":false,"linkSupport":true},"documentSymb= ol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupport":true,"= symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20= ,21,22,23,24,25,26]}},"documentHighlight":{"dynamicRegistration":false},"co= deAction":{"dynamicRegistration":false,"resolveSupport":{"properties":["edi= t","command"]},"dataSupport":true,"codeActionLiteralSupport":{"codeActionKi= nd":{"valueSet":["quickfix","refactor","refactor.extract","refactor.inline"= ,"refactor.rewrite","source","source.organizeImports"]}},"isPreferredSuppor= t":true},"formatting":{"dynamicRegistration":false},"rangeFormatting":{"dyn= amicRegistration":false},"rename":{"dynamicRegistration":false},"inlayHint"= :{"dynamicRegistration":false},"publishDiagnostics":{"relatedInformation":f= alse,"codeDescriptionSupport":false,"tagSupport":{"valueSet":[1,2]}}},"wind= ow":{"showDocument":{"support":true},"workDoneProgress":true},"general":{"p= ositionEncodings":["utf-32","utf-8","utf-16"]},"experimental":{}},"workspac= eFolders":[{"uri":"file:///tmp/eglot--fixture-YzRLOt/project","name":"/tmp/= eglot--fixture-YzRLOt/project/"}]}} [jsonrpc] i[08:16:37.513] [1] timed-out request ':initialize' [jsonrpc] D[08:16:37.614] Connection state change: `killed ' ----------b---y---e---b---y---e---------- [stderr]=20=20 [stderr]=20=20 [stderr] nil [stderr] nil [stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode obj= c-mode)) stderr finished [eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixture-YzRLOt Test eglot-test-auto-detect-running-server backtrace: error("[eglot] %s" "Timed out after 10 seconds") eglot--error("Timed out after 10 seconds") eglot--connect((c-mode c-ts-mode c++-mode c++-ts-mode objc-mode) (tr apply(eglot--connect ((c-mode c-ts-mode c++-mode c++-ts-mode objc-mo eglot--tests-connect() #f(compiled-function () #<bytecode 0x1780f2b6>)() eglot--call-with-fixture((("project" ("coiso.c" . "bla") ("merdix.c" eglot-tests--auto-detect-running-server-1() #f(compiled-function () #<bytecode -0x1cc9754e>)() #f(compiled-function () #<bytecode -0x90ab8a0>)() handler-bind-1(#f(compiled-function () #<bytecode -0x90ab8a0>) (erro ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name eglot-test-auto-detect-running-server ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l command-line() normal-top-level() Test eglot-test-auto-detect-running-server condition: (error "[eglot] Timed out after 10 seconds") FAILED 1/47 eglot-test-auto-detect-running-server (10.281445 sec) at = lisp/progmodes/eglot-tests.el:339 [eglot-tests] [eglot-test-auto-reconnect]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [jsonrpc] Server exited with status 9 [eglot] (warning) Reconnecting after unexpected server exit. Warning (eglot): Reconnecting after unexpected server exit. [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot] Reconnected! [jsonrpc] Server exited with status 9 [eglot] (warning) Not auto-reconnecting, last one didn't last long. Warning (eglot): Not auto-reconnecting, last one didn't last long. [eglot-tests] [eglot-test-auto-reconnect]: OK [eglot-tests] Killing (thingy.c), wiping /tmp/eglot--fixture-rheuXw passed 2/47 eglot-test-auto-reconnect (4.304079 sec) [eglot-tests] [eglot-test-auto-shutdown]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] [eglot-test-auto-shutdown]: OK [eglot-tests] Killing nil, wiping /tmp/eglot--fixture-E4OERb passed 3/47 eglot-test-auto-shutdown (0.313076 sec) [eglot-tests] [eglot-test-basic-completions]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnostic= s)' ........... [eglot-tests] detected: textDocument/publishDiagnostics #include <stdio.h> int main () {fprintf [eglot-tests] [eglot-test-basic-completions]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixture-WtG1II passed 4/47 eglot-test-basic-completions (2.762696 sec) [eglot-tests] [eglot-test-basic-diagnostics]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `diag-project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnostic= s)' . [eglot-tests] detected: textDocument/publishDiagnostics [eglot-tests] [eglot-test-basic-diagnostics]: OK [eglot] Asking EGLOT (diag-project/(c-mode c-ts-mode c++-mode c++-ts-mode o= bjc-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (diag-project/(c-mode c-ts-mode c++-= mode c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (diag-project/(c-mode c-ts-mode c++-m= ode c++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (main.c), wiping /tmp/eglot--fixture-ORry8U passed 5/47 eglot-test-basic-diagnostics (0.509881 sec) [eglot-tests] [eglot-test-basic-symlink]: test start [eglot] Connected! Server `clangd' now managing `(c++-mode c-mode c-ts-mode= c++-ts-mode objc-mode)' buffers in project `symlink-project'. [eglot-tests] waiting for `(and (string=3D method textDocument/didClose))' [eglot-tests] detected: textDocument/didClose [eglot-tests] waiting for `(and (string=3D method textDocument/didOpen) (st= ring-match main.cpp$ (plist-get (plist-get params :textDocument) :uri)))' [eglot-tests] detected: textDocument/didOpen [eglot-tests] [eglot-test-basic-symlink]: OK [eglot] Asking EGLOT (symlink-project/(c++-mode c-mode c-ts-mode c++-ts-mod= e objc-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (symlink-project/(c++-mode c-mode c-= ts-mode c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (symlink-project/(c++-mode c-mode c-t= s-mode c++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (main.cpp), wiping /tmp/eglot--fixture-nLHZ7d passed 6/47 eglot-test-basic-symlink (0.261682 sec) [eglot-tests] [eglot-test-basic-xref]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] [eglot-test-basic-xref]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixture-yWezQ4 passed 7/47 eglot-test-basic-xref (0.470443 sec) passed 8/47 eglot-test-capabilities (0.000143 sec) passed 9/47 eglot-test-dcase (0.000159 sec) passed 10/47 eglot-test-dcase-issue-452 (0.000148 sec) [eglot-tests] [eglot-test-diagnostic-tags-unnecessary-code]: test start [eglot] Connected! Server `clangd' now managing `(c++-mode)' buffers in pro= ject `diag-project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnostic= s)' .. [eglot-tests] detected: textDocument/publishDiagnostics [eglot-tests] [eglot-test-diagnostic-tags-unnecessary-code]: OK [eglot] Asking EGLOT (diag-project/(c++-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (diag-project/(c++-mode)) still hasn= 't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (diag-project/(c++-mode)) still hasn'= t run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (main.cpp), wiping /tmp/eglot--fixture-yOjm6c passed 11/47 eglot-test-diagnostic-tags-unnecessary-code (1.321977 sec) skipped 12/47 eglot-test-eclipse-connect (0.000504 sec) [eglot-tests] [eglot-test-eldoc-after-completions]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnostic= s)' . [eglot-tests] detected: textDocument/publishDiagnostics #include <stdio.h> int main () {fprintf fprintf(FILE *restrict stream, const char *restrict format, ...) -> int [eglot-tests] [eglot-test-eldoc-after-completions]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixture-aKBK2T passed 13/47 eglot-test-eldoc-after-completions (0.999080 sec) [eglot-tests] [eglot-test-ensure]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] [eglot-test-ensure]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (foo.c bar.c), wiping /tmp/eglot--fixture-osAdWC passed 14/47 eglot-test-ensure (0.464910 sec) [eglot-tests] [eglot-test-formatting]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnostic= s)' .. [eglot-tests] detected: textDocument/publishDiagnostics [eglot] applying 7 edits to `coiso.c'...=20 [eglot] applying 7 edits to `coiso.c'...done [eglot] applying 0 edits to `coiso.c'...=20 [eglot] applying 0 edits to `coiso.c'...done [eglot-tests] [eglot-test-formatting]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixture-dWTBxe passed 15/47 eglot-test-formatting (0.753182 sec) passed 16/47 eglot-test-glob-test (0.092755 sec) skipped 17/47 eglot-test-javascript-basic (0.000662 sec) skipped 18/47 eglot-test-json-basic (0.000484 sec) [eglot-tests] [eglot-test-lsp-abiding-column]: test start [eglot] Connected! Server `clangd' now managing `(c-mode)' buffers in proje= ct `project'. [eglot-tests] waiting for `(message PARAMS=3D%S params)(should (equal 71 (e= glot-tests--get params '(:contentChanges 0 :range :start :character))))' PARAMS=3D(:textDocument (:uri "file:///tmp/eglot--fixture-H5AefW/project/fo= o.c" :version 1) :contentChanges [(:range (:start (:line 0 :character 71) := end (:line 0 :character 71)) :rangeLength 0 :text "p ")]) [eglot-tests] detected: textDocument/didChange [eglot-tests] [eglot-test-lsp-abiding-column]: OK [eglot] Asking EGLOT (project/(c-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode)) still hasn't run,= deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode)) still hasn't run, = deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (foo.c), wiping /tmp/eglot--fixture-H5AefW passed 19/47 eglot-test-lsp-abiding-column (0.366529 sec) [eglot-tests] [eglot-test-multiline-eldoc]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnostic= s)' . [eglot-tests] detected: textDocument/publishDiagnostics fprintf(FILE *restrict stream, const char *restrict format, ...) -> int clang [undeclared_var_use]: Use of undeclared identifier 'blergh' [eglot-tests] [eglot-test-multiline-eldoc]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixture-3GyEfv passed 20/47 eglot-test-multiline-eldoc (1.017274 sec) [eglot-tests] [eglot-test-non-unique-completions]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnostic= s)' . [eglot-tests] detected: textDocument/publishDiagnostics Complete, but not unique [eglot-tests] [eglot-test-non-unique-completions]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode c-ts-mode c++-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixture-YuoWDr passed 21/47 eglot-test-non-unique-completions (2.592179 sec) skipped 22/47 eglot-test-path-to-uri-windows (0.000631 sec) skipped 23/47 eglot-test-project-wide-diagnostics-rust-analyzer (0.0013= 29 sec) skipped 24/47 eglot-test-project-wide-diagnostics-typescript (0.000958 = sec) [eglot-tests] [eglot-test-rename-a-symbol]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode= c++-ts-mode objc-mode)' buffers in project `rename-project'. [eglot] applying 2 edits to `main.c'...=20 [eglot] applying 2 edits to `main.c'...done [eglot] Edit successful! [eglot-tests] [eglot-test-rename-a-symbol]: OK [eglot] Asking EGLOT (rename-project/(c-mode c-ts-mode c++-mode c++-ts-mode= objc-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (rename-project/(c-mode c-ts-mode c+= +-mode c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (rename-project/(c-mode c-ts-mode c++= -mode c++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (main.c), wiping /tmp/eglot--fixture-ayG8ry passed 25/47 eglot-test-rename-a-symbol (0.401090 sec) skipped 26/47 eglot-test-rust-analyzer-hover-after-edit (0.000449 sec) skipped 27/47 eglot-test-rust-analyzer-watches-files (0.000398 sec) skipped 28/47 eglot-test-rust-on-type-formatting (0.000401 sec) [eglot-tests] [eglot-test-same-server-multi-mode]: test start [eglot] Connected! Server `clangd' now managing `(c++-mode c-mode c-ts-mode= c++-ts-mode objc-mode)' buffers in project `project'. [eglot-tests] [eglot-test-same-server-multi-mode]: OK [eglot] Asking EGLOT (project/(c++-mode c-mode c-ts-mode c++-ts-mode objc-m= ode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c++-mode c-mode c-ts-mode = c++-ts-mode objc-mode)) still hasn't run, deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c++-mode c-mode c-ts-mode c= ++-ts-mode objc-mode)) still hasn't run, deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (foo.cpp foolib.h foolib.c), wiping /tmp/eglot--fixtu= re-1Jyg9h passed 29/47 eglot-test-same-server-multi-mode (0.343108 sec) passed 30/47 eglot-test-server-programs-class-name-and-contact-spec (0= .002372 sec) passed 31/47 eglot-test-server-programs-class-name-and-plist (0.000222= sec) passed 32/47 eglot-test-server-programs-executable-multiple-major-mode= s (0.000245 sec) passed 33/47 eglot-test-server-programs-executable-with-arg (0.000222 = sec) passed 34/47 eglot-test-server-programs-executable-with-args-and-autop= ort (0.000212 sec) passed 35/47 eglot-test-server-programs-function (0.000219 sec) passed 36/47 eglot-test-server-programs-guess-lang (0.000385 sec) passed 37/47 eglot-test-server-programs-host-and-port (0.000204 sec) passed 38/47 eglot-test-server-programs-host-and-port-and-tcp-args (0.= 000206 sec) passed 39/47 eglot-test-server-programs-simple-executable (0.000215 se= c) passed 40/47 eglot-test-server-programs-simple-missing-executable (0.0= 00244 sec) [eglot-tests] [eglot-test-slow-async-connection]: test start [eglot] Waiting in background for server `EGLOT (project/(c-mode))' [eglot] Connected! Server `clangd' now managing `(c-mode)' buffers in proje= ct `project'. [eglot-tests] [eglot-test-slow-async-connection]: OK [eglot] Asking EGLOT (project/(c-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode)) still hasn't run,= deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode)) still hasn't run, = deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (something.c), wiping /tmp/eglot--fixture-mYycOH passed 41/47 eglot-test-slow-async-connection (2.350915 sec) [eglot-tests] [eglot-test-slow-sync-connection-intime]: test start [eglot] Connected! Server `clangd' now managing `(c-mode)' buffers in proje= ct `project'. [eglot-tests] [eglot-test-slow-sync-connection-intime]: OK [eglot] Asking EGLOT (project/(c-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode)) still hasn't run,= deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode)) still hasn't run, = deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (something.c), wiping /tmp/eglot--fixture-vX8l1Q passed 42/47 eglot-test-slow-sync-connection-intime (1.326278 sec) [eglot-tests] [eglot-test-slow-sync-connection-wait]: test start [eglot] Connected! Server `clangd' now managing `(c-mode)' buffers in proje= ct `project'. [eglot-tests] [eglot-test-slow-sync-connection-wait]: OK [eglot] Asking EGLOT (project/(c-mode)) politely to terminate [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode)) still hasn't run,= deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode)) still hasn't run, = deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] Non-critical cleanup error: (cl-assertion-failed (memq id tra= ck-changes--trackers)) [eglot-tests] Killing (something.c), wiping /tmp/eglot--fixture-RyeWzy passed 43/47 eglot-test-slow-sync-connection-wait (1.327499 sec) [eglot-tests] [eglot-test-slow-sync-timeout]: test start [jsonrpc] (warning) Sentinel for EGLOT (project/(c-mode)) still hasn't run,= deleting it! Warning (jsonrpc): Sentinel for EGLOT (project/(c-mode)) still hasn't run, = deleting it! [jsonrpc] Server exited with status 9 [eglot-tests] [eglot-test-slow-sync-timeout]: OK [eglot-tests] Killing (something.c), wiping /tmp/eglot--fixture-MU71ZV passed 44/47 eglot-test-slow-sync-timeout (1.225212 sec) skipped 45/47 eglot-test-snippet-completions (0.001095 sec) skipped 46/47 eglot-test-snippet-completions-with-company (0.000954 sec) passed 47/47 eglot-test-strict-interfaces (0.000666 sec) Ran 47 tests, 35 results as expected, 1 unexpected, 11 skipped (2024-07-05 = 08:17:01-0500, 33.769348 sec) 1 unexpected results: FAILED eglot-test-auto-detect-running-server 11 skipped results: SKIPPED eglot-test-eclipse-connect SKIPPED eglot-test-javascript-basic SKIPPED eglot-test-json-basic SKIPPED eglot-test-path-to-uri-windows SKIPPED eglot-test-project-wide-diagnostics-rust-analyzer SKIPPED eglot-test-project-wide-diagnostics-typescript SKIPPED eglot-test-rust-analyzer-hover-after-edit SKIPPED eglot-test-rust-analyzer-watches-files SKIPPED eglot-test-rust-on-type-formatting SKIPPED eglot-test-snippet-completions SKIPPED eglot-test-snippet-completions-with-company --=-=-=--
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: john muhl <jm@HIDDEN> Subject: bug#71966: Acknowledgement (30.0.60; Intermittent failure in eglot-tests) Message-ID: <handler.71966.B.17202373703185.ack <at> debbugs.gnu.org> References: <874j932nkm.fsf@HIDDEN> X-Gnu-PR-Message: ack 71966 X-Gnu-PR-Package: emacs Reply-To: 71966 <at> debbugs.gnu.org Date: Sat, 06 Jul 2024 03:43: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-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 71966 <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 71966: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71966 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#71966: 30.0.60; Intermittent failure in eglot-tests Resent-From: Jeremy Bryant <jb@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 06 Jul 2024 22:33:02 +0000 Resent-Message-ID: <handler.71966.B71966.172030517225479 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl <jm@HIDDEN> Cc: 71966 <at> debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Received: via spool by 71966-submit <at> debbugs.gnu.org id=B71966.172030517225479 (code B ref 71966); Sat, 06 Jul 2024 22:33:02 +0000 Received: (at 71966) by debbugs.gnu.org; 6 Jul 2024 22:32:52 +0000 Received: from localhost ([127.0.0.1]:46930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQDxb-0006cs-LL for submit <at> debbugs.gnu.org; Sat, 06 Jul 2024 18:32:51 -0400 Received: from out-177.mta0.migadu.com ([91.218.175.177]:46504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jb@HIDDEN>) id 1sQDxZ-0006cd-UV for 71966 <at> debbugs.gnu.org; Sat, 06 Jul 2024 18:32:50 -0400 X-Envelope-To: joaotavora@HIDDEN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1720305160; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QivdFqPu4jPjRlMJt6kv+m6vTjrpzm8olhe++Fz6R74=; b=LSj9yQ29tXwEdS89Q9JGpQ9CGlR63lLYiCWQ5EPElqewEBCVQN26opXryQ7e4oGsQZJwgk IQ2GsJbr92l3Giub5PDDhv3DR4t3CBRthzRnTEnoMR9iesNLpY7jfMfRX+NVsBytwthnB7 qJWvirqVouTi5/EIG3xxc6aNbptz6Dby77IsxUB+ppnsTYoK7xUkr5FJ+ctxEfroyZ9mS5 L7u/xx5+N0GssBaCAVPculnnkjZgsWl/wbBvRia0xzO0kQJ3w9qDLvi1DhwpoYyNqgAxay JdJsQ6l7HcIysQnB7DEmuZul/WN111ZT3ho6K1nCj1Gt6UxhV936V1GQQ9mzrg== X-Envelope-To: 71966 <at> debbugs.gnu.org X-Envelope-To: jm@HIDDEN X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. From: Jeremy Bryant <jb@HIDDEN> In-Reply-To: <874j932nkm.fsf@HIDDEN> (john muhl's message of "Fri, 05 Jul 2024 22:42:33 -0500") References: <874j932nkm.fsf@HIDDEN> Date: Sat, 06 Jul 2024 23:32:37 +0100 Message-ID: <87y16ep2wq.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.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: -1.0 (-) john muhl <jm@HIDDEN> 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 loop > (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 o= nly > 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 fail= ure using > the patch below. Let=E2=80=99s see how it does for a week or two of build= s. > > --- 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
X-Loop: help-debbugs@HIDDEN Subject: bug#71966: 30.0.60; Intermittent failure in eglot-tests Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 06 Jul 2024 23:31:02 +0000 Resent-Message-ID: <handler.71966.B71966.172030862031001 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jeremy Bryant <jb@HIDDEN> Cc: 71966 <at> debbugs.gnu.org, john muhl <jm@HIDDEN> Received: via spool by 71966-submit <at> debbugs.gnu.org id=B71966.172030862031001 (code B ref 71966); Sat, 06 Jul 2024 23:31:02 +0000 Received: (at 71966) by debbugs.gnu.org; 6 Jul 2024 23:30:20 +0000 Received: from localhost ([127.0.0.1]:46954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQErE-00083w-2O for submit <at> debbugs.gnu.org; Sat, 06 Jul 2024 19:30:20 -0400 Received: from mail-oa1-f41.google.com ([209.85.160.41]:50610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sQErB-00083h-RE for 71966 <at> debbugs.gnu.org; Sat, 06 Jul 2024 19:30:18 -0400 Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-25e134abf00so1417273fac.1 for <71966 <at> 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) MIME-Version: 1.0 References: <874j932nkm.fsf@HIDDEN> <87y16ep2wq.fsf@HIDDEN> In-Reply-To: <87y16ep2wq.fsf@HIDDEN> From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@HIDDEN> Date: Sun, 7 Jul 2024 00:30:11 +0100 Message-ID: <CALDnm50eoj-PiDJ_C8Uh6G+eOjxg9obs5WVeO=qyuw5QORN2hA@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.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: -1.0 (-) 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 <jb@HIDDEN>= wrote: > > john muhl <jm@HIDDEN> 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
Received: (at control) by debbugs.gnu.org; 1 Mar 2025 01:46:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 20:46:01 2025 Received: from localhost ([127.0.0.1]:55640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toBvU-0004jJ-Uu for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:46:01 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:45377) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1toBvT-0004UB-6A for control <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:45:59 -0500 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5dee07e51aaso4856015a12.3 for <control <at> debbugs.gnu.org>; Fri, 28 Feb 2025 17:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740793553; x=1741398353; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=niazYqdVY84mqRfmYx9hdTsdQK0fSMqb4IQgE2l9o6Y=; b=MlgvjBjuywhr0KSfQnmgipyGkhiPDG04S7hHoYYEzttJyMViw9+d49CP0rVK3K55p3 neuUo7vEoEZQ9isx9I1LY/fNoPdMv5zXrycbbfjLB1bVdrluUait8QGL30Wrv58RRDEn O214/hrNECX7XditCvbjuC41JXJ/W1p6VLj/o6MviC6IAg4cJb8FjGjlrcc88W91LjGd 2xwgDE1DKdDKL/tSiQifw1Y+v0HOALyv8dasi24/UZLylX2mKJPeIUZFn9SOjU8nPEp7 V6hJXP1CByd8/a+XPRBH02x4GE/wyyVDMLSxmzNXTkY0TaVYKJWXnbkVRrlkoTff3IDP bJow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740793553; x=1741398353; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=niazYqdVY84mqRfmYx9hdTsdQK0fSMqb4IQgE2l9o6Y=; b=U9g3j5V6Gl7bh3I3jpdAwdqSW3zyMSL9BMVDPK1mMRdODMKwugR5P8UBOQfFO1KRTz ATLsvI1nruoclY8TH9BiJXxpY2HmKbgkxCFj26Pt8P6iF6kSl+131cTV3yfcPAHvwAQn jtHxSEfLomLsLY5OTlQig5D12mGJyeX4cBpqnO0pcugB/G2BkuUhl4x5HpxeFuvYNYwh FxytXU6iKNqO40Sqn8w3zH+Urnyvdh4gf+ovEgz0JUIxHlSQdk1OUNXfmthDv9vABsO0 wc5ixbZSqHHBIHViffSBVzqLCtDII+ppjpvna7pQno+sCYyHmyRJ8mymP1HVkved3z5b CXNg== X-Gm-Message-State: AOJu0YzAFEyQxrw109dK1w9x1E4BY7lquTUFm65oshpaz08MGsF6YkRQ 7aUw6CUZfNid+TYcZnZi8tamLsbN3hyHDUutUnaoNVAR/wV7dAF1X25jt8Seyr0UDRRzpJWloNS jMWUyKXfeP2t0wyo3DyNqctXrKKSkD23i X-Gm-Gg: ASbGncuSDomcpp/ikh4hmVwkK031jN6b0DoBnJ3w3Jo9QhZUExg+ahBxmtrMkZLobrM MbMi6U/cjVug1k1sWuZLn7PuZ5JMt5ozqy4ixsCyQkAY8eXNZa5Np0uqSaySaHvFtmwm4AYku0k EFj4aIQ+BkuN/kcJCN+sB8n4BBMUQ= X-Google-Smtp-Source: AGHT+IG3yDhoRjH+td3tG1OQcQ9Kh1jyGHS+vt4HDS/xiSVb2dYaAfRdlUVuroUAAM/M+f00mAOXuhf6xHtfxucXAFM= X-Received: by 2002:a05:6402:40c3:b0:5dc:e393:af63 with SMTP id 4fb4d7f45d1cf-5e4d6afa22dmr4483367a12.16.1740793553055; Fri, 28 Feb 2025 17:45:53 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Feb 2025 17:45:52 -0800 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Fri, 28 Feb 2025 17:45:52 -0800 X-Gm-Features: AQ5f1JpeUEh28Hmu7mN4fznsXepcgqLiyE0KW91FY8V5z4AzX56E74BOOjC-dZ8 Message-ID: <CADwFkmnEke=ws08+mk4AL+QTPghDxfkd=OriYDtJJ6JeEitcbQ@HIDDEN> Subject: control message for bug #71966 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) severity 71966 minor quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.