Re: Eglot tests fail on emba
João Távora <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael, Michael Albinus <[email protected]> writes: > It doesn't hang for me on both master and emacs-31, using the emba > docker produced as described in Dockerfile.emba. Could you pls show me > your eglot-tests.log? My output does say something about GEN'in this file, but I couldn't find it anywhere. Anyway, I've since found out it doesn't completely hang on emacs master, it just takes 40x as long to finish, but I found out it does finish. I'm sure it's related to the problem you saw, because if you bisect with this other canary: make && make -C test eglot-tests SELECTOR='"rust"' it blames that very same commit 07925d7070 of yours and with what seems to be 100% the same problem you get on EMBA. This test needs rust-analyzer, presumably already installed on those machines. Anyway, I'm attaching the emacs and emacs31 stderr/out for the ty test I do get. I don't think it tells you much though. João make: Entering directory '/home/joao/Source/Emacs/emacs/test' make[1]: Entering directory '/home/joao/Source/Emacs/emacs/test' GEN lisp/progmodes/eglot-tests.log Warning: Tramp has been compiled with Emacs 31.0.91, this is Emacs 32.0.50 Warning (tramp): Tramp has been compiled with Emacs 31.0.91, this is Emacs 32.0.50 Running 1 tests (2026-08-24 11:13:56+0100, selector ‘"pull-diagnostics"’) [eglot-tests] [eglot-test-basic-pull-diagnostics]: test start Can’t guess python-indent-offset, using defaults: 4 [eglot] Connected! Server ‘ty’ now managing ‘(python-mode)’ buffers in project ‘diag-project’. [eglot-tests] waiting for `(string= method textDocument/diagnostic)' [eglot-tests] skip uninteresting event initialize[1] . [eglot-tests] detected: textDocument/diagnostic [eglot-tests] [eglot-test-basic-pull-diagnostics]: OK [eglot] Asking EGLOT (diag-project/(python-mode)) politely to terminate [jsonrpc] Server exited with status 0 #### THIS IS WHERE IT HANGS >1 min [eglot-tests] Killing (main.py), wiping /tmp/eglot--fixture-IUjtjc passed 1/1 eglot-test-basic-pull-diagnostics (70.461658 sec) Ran 1 tests, 1 results as expected, 0 unexpected (2026-08-24 11:15:06+0100, 70.461921 sec) make[1]: Leaving directory '/home/joao/Source/Emacs/emacs/test' make: Leaving directory '/home/joao/Source/Emacs/emacs/test' make: Entering directory '/home/joao/Source/Emacs/emacs-31/test' make[1]: Entering directory '/home/joao/Source/Emacs/emacs-31/test' GEN lisp/progmodes/eglot-tests.log Running 1 tests (2026-08-24 11:12:51+0100, selector ‘"pull-diagnostics"’) [eglot-tests] [eglot-test-basic-pull-diagnostics]: test start Can’t guess python-indent-offset, using defaults: 4 [eglot] Connected! Server ‘ty’ now managing ‘(python-mode)’ buffers in project ‘diag-project’. [eglot-tests] waiting for `(string= method textDocument/diagnostic)' [eglot-tests] skip uninteresting event initialize[1] . [eglot-tests] detected: textDocument/diagnostic [eglot-tests] [eglot-test-basic-pull-diagnostics]: OK [eglot] Asking EGLOT (diag-project/(python-mode)) politely to terminate [jsonrpc] Server exited with status 0 [eglot-tests] Killing (main.py), wiping /tmp/eglot--fixture-JMLeV0 passed 1/1 eglot-test-basic-pull-diagnostics (1.834043 sec) Ran 1 tests, 1 results as expected, 0 unexpected (2026-08-24 11:12:52+0100, 1.834330 sec) make[1]: Leaving directory '/home/joao/Source/Emacs/emacs-31/test' make: Leaving directory '/home/joao/Source/Emacs/emacs-31/test'