Loading project... Loading eldoc... Loading seq... Loading flymake... Loading xref... Loading jsonrpc... Loading external-completion... Running 50 tests (2023-04-06 09:46:43+0000, selector `(not (or (tag :unstable) (tag :nativecomp)))') [eglot-tests] [eglot-test-auto-detect-running-server]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode c++-ts-mode)' buffers in project `project'. [eglot-tests] [eglot-test-auto-detect-running-server]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) politely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] Killing (cena.c coiso.c merdix.c), wiping /tmp/eglot--fixture5jKcOH, restoring nil passed 1/50 eglot-test-auto-detect-running-server (0.179060 sec) [eglot-tests] [eglot-test-auto-reconnect]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode c++-ts-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)' 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--fixtureIU7wUj, restoring nil passed 2/50 eglot-test-auto-reconnect (1.875701 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)' buffers in project `project'. [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) politely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] [eglot-test-auto-shutdown]: OK [eglot-tests] Killing nil, wiping /tmp/eglot--fixturevJw3oP, restoring nil passed 3/50 eglot-test-auto-shutdown (0.157424 sec) [eglot-tests] [eglot-test-basic-completions]: test start [eglot] Connected! Server `pylsp' now managing `(python-mode python-ts-mode)' buffers in project `project'. No match [eglot-tests] [eglot-test-basic-completions]: FAILED [eglot] Asking EGLOT (project/(python-mode python-ts-mode)) politely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) output*': [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) stderr*': Process EGLOT (project/(python-mode python-ts-mode)) stderr finished [eglot-tests] contents of `*EGLOT (project/(python-mode python-ts-mode)) events*': [internal] Thu Apr 6 09:46:45 2023: (:message "Running language server: /usr/bin/pylsp") [client-request] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 165 :clientInfo (:name "Eglot") :rootPath "/tmp/eglot--fixtureXZJGR5/project/" :rootUri "file:///tmp/eglot--fixtureXZJGR5/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges t) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t :workspaceFolders t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport :json-false :deprecatedSupport t :resolveSupport (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :documentationFormat ["plaintext"] :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :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 :json-false) :codeAction (:dynamicRegistration :json-false :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :inlayHint (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport (:valueSet [1 2]))) :window (:workDoneProgress t) :general (:positionEncodings ["utf-32" "utf-8" "utf-16"]) :experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) :workspaceFolders [(:uri "file:///tmp/eglot--fixtureXZJGR5/project" :name "/tmp/eglot--fixtureXZJGR5/project/")])) [server-reply] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :result (:capabilities (:codeActionProvider t :codeLensProvider (:resolveProvider :json-false) :completionProvider (:resolveProvider t :triggerCharacters ["."]) :documentFormattingProvider t :documentHighlightProvider t :documentRangeFormattingProvider t :documentSymbolProvider t :definitionProvider t :executeCommandProvider (:commands []) :hoverProvider t :referencesProvider t :renameProvider t :foldingRangeProvider t :signatureHelpProvider (:triggerCharacters ["(" "," "="]) :textDocumentSync (:change 2 :save (:includeText t) :openClose t) :workspace (:workspaceFolders (:supported t :changeNotifications t)) :experimental nil) :serverInfo (:name "pylsp" :version "1.7.1"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "textDocument/didOpen" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :version 0 :languageId "python" :text "import sys\nsys.exi"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()))) [client-request] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :method "textDocument/completion" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py") :position (:line 1 :character 7) :context (:triggerKind 1))) [server-reply] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :result (:isIncomplete :json-false :items [])) [server-notification] Thu Apr 6 09:46:46 2023: (:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :diagnostics [])) [client-request] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :method "shutdown" :params nil) [server-reply] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :result nil) [client-notification] Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :method "exit" :params nil) [internal] Thu Apr 6 09:46:47 2023: (:message "Connection state changed" :change "killed\n") ----------b---y---e---b---y---e---------- [stderr] [stderr] [stderr] nil [stderr] nil [stderr] Process EGLOT (project/(python-mode python-ts-mode)) stderr finished [eglot-tests] Killing (something.py), wiping /tmp/eglot--fixtureXZJGR5, restoring nil Test eglot-test-basic-completions backtrace: signal(ert-test-failed (((should (looking-back "sys.exit")) :form (l ert-fail(((should (looking-back "sys.exit")) :form (looking-back "sy (if (unwind-protect (setq value-160 (apply fn-158 args-159)) (setq f (let (form-description-162) (if (unwind-protect (setq value-160 (app (let ((value-160 'ert-form-evaluation-aborted-161)) (let (form-descr (let* ((fn-158 #'looking-back) (args-159 (condition-case err (let (( (save-current-buffer (set-buffer (eglot--find-file-noselect "project (closure (typescript-mode-abbrev-table typescript-mode-syntax-table funcall((closure (typescript-mode-abbrev-table typescript-mode-synta (prog1 (funcall fn) (setq test-body-successful-p t)) (let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null (unwind-protect (let* ((process-environment (append (list "XDG_CONFI (let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t) eglot--call-with-fixture((("project" ("something.py" . "import sys\n (closure (typescript-mode-abbrev-table typescript-mode-syntax-table ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name eglot-test-basic-completions :documen 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" "lisp/progmodes/eglot-test command-line() normal-top-level() Test eglot-test-basic-completions condition: (ert-test-failed ((should (looking-back "sys.exit")) :form (looking-back "sys.exit") :value nil)) FAILED 4/50 eglot-test-basic-completions (2.538679 sec) at lisp/progmodes/eglot-tests.el:554 [eglot-tests] [eglot-test-basic-diagnostics]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mode c++-ts-mode)' buffers in project `diag-project'. [eglot-tests] waiting for `(string= method textDocument/publishDiagnostics)' . [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)) politely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] Killing (main.c), wiping /tmp/eglot--fixtureoZti5Y, restoring nil passed 5/50 eglot-test-basic-diagnostics (0.355960 sec) [eglot-tests] [eglot-test-basic-xref]: test start [eglot] Connected! Server `pylsp' now managing `(python-mode python-ts-mode)' buffers in project `project'. [eglot-tests] [eglot-test-basic-xref]: FAILED [eglot] Asking EGLOT (project/(python-mode python-ts-mode)) politely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) output*': [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) stderr*': Process EGLOT (project/(python-mode python-ts-mode)) stderr finished [eglot-tests] contents of `*EGLOT (project/(python-mode python-ts-mode)) events*': [internal] Thu Apr 6 09:46:45 2023: (:message "Running language server: /usr/bin/pylsp") [client-request] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 165 :clientInfo (:name "Eglot") :rootPath "/tmp/eglot--fixtureXZJGR5/project/" :rootUri "file:///tmp/eglot--fixtureXZJGR5/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges t) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t :workspaceFolders t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport :json-false :deprecatedSupport t :resolveSupport (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :documentationFormat ["plaintext"] :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :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 :json-false) :codeAction (:dynamicRegistration :json-false :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :inlayHint (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport (:valueSet [1 2]))) :window (:workDoneProgress t) :general (:positionEncodings ["utf-32" "utf-8" "utf-16"]) :experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) :workspaceFolders [(:uri "file:///tmp/eglot--fixtureXZJGR5/project" :name "/tmp/eglot--fixtureXZJGR5/project/")])) [server-reply] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :result (:capabilities (:codeActionProvider t :codeLensProvider (:resolveProvider :json-false) :completionProvider (:resolveProvider t :triggerCharacters ["."]) :documentFormattingProvider t :documentHighlightProvider t :documentRangeFormattingProvider t :documentSymbolProvider t :definitionProvider t :executeCommandProvider (:commands []) :hoverProvider t :referencesProvider t :renameProvider t :foldingRangeProvider t :signatureHelpProvider (:triggerCharacters ["(" "," "="]) :textDocumentSync (:change 2 :save (:includeText t) :openClose t) :workspace (:workspaceFolders (:supported t :changeNotifications t)) :experimental nil) :serverInfo (:name "pylsp" :version "1.7.1"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "textDocument/didOpen" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :version 0 :languageId "python" :text "import sys\nsys.exi"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()))) [client-request] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :method "textDocument/completion" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py") :position (:line 1 :character 7) :context (:triggerKind 1))) [server-reply] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :result (:isIncomplete :json-false :items [])) [server-notification] Thu Apr 6 09:46:46 2023: (:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :diagnostics [])) [client-request] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :method "shutdown" :params nil) [server-reply] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :result nil) [client-notification] Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :method "exit" :params nil) [internal] Thu Apr 6 09:46:47 2023: (:message "Connection state changed" :change "killed\n") ----------b---y---e---b---y---e---------- [stderr] [stderr] [stderr] nil [stderr] nil [stderr] Process EGLOT (project/(python-mode python-ts-mode)) stderr finished [internal] Thu Apr 6 09:46:48 2023: (:message "Running language server: /usr/bin/pylsp") [client-request] (id:1) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 165 :clientInfo (:name "Eglot") :rootPath "/tmp/eglot--fixturevnbTgn/project/" :rootUri "file:///tmp/eglot--fixturevnbTgn/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges t) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t :workspaceFolders t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport :json-false :deprecatedSupport t :resolveSupport (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :documentationFormat ["plaintext"] :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :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 :json-false) :codeAction (:dynamicRegistration :json-false :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :inlayHint (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport (:valueSet [1 2]))) :window (:workDoneProgress t) :general (:positionEncodings ["utf-32" "utf-8" "utf-16"]) :experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) :workspaceFolders [(:uri "file:///tmp/eglot--fixturevnbTgn/project" :name "/tmp/eglot--fixturevnbTgn/project/")])) [server-reply] (id:1) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 1 :result (:capabilities (:codeActionProvider t :codeLensProvider (:resolveProvider :json-false) :completionProvider (:resolveProvider t :triggerCharacters ["."]) :documentFormattingProvider t :documentHighlightProvider t :documentRangeFormattingProvider t :documentSymbolProvider t :definitionProvider t :executeCommandProvider (:commands []) :hoverProvider t :referencesProvider t :renameProvider t :foldingRangeProvider t :signatureHelpProvider (:triggerCharacters ["(" "," "="]) :textDocumentSync (:change 2 :save (:includeText t) :openClose t) :workspace (:workspaceFolders (:supported t :changeNotifications t)) :experimental nil) :serverInfo (:name "pylsp" :version "1.7.1"))) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "textDocument/didOpen" :params (:textDocument (:uri "file:///tmp/eglot--fixturevnbTgn/project/something.py" :version 0 :languageId "python" :text "def foo(): pass\ndef bar(): foo()"))) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()))) [client-request] (id:2) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 2 :method "textDocument/definition" :params (:textDocument (:uri "file:///tmp/eglot--fixturevnbTgn/project/something.py") :position (:line 1 :character 12))) [server-reply] (id:2) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 2 :result []) [client-request] (id:3) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 3 :method "shutdown" :params nil) [server-reply] (id:3) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 3 :result nil) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "exit" :params nil) [internal] Thu Apr 6 09:46:48 2023: (:message "Connection state changed" :change "killed\n") ----------b---y---e---b---y---e---------- [stderr] [stderr] [stderr] nil [stderr] nil [stderr] Process EGLOT (project/(python-mode python-ts-mode)) stderr finished [eglot-tests] Killing (something.py), wiping /tmp/eglot--fixturevnbTgn, restoring nil Test eglot-test-basic-xref backtrace: signal(user-error ("No definitions found for: LSP identifier at poin user-error("No %s found for: %s" "definitions" "LSP identifier at po xref--not-found-error(definitions "LSP identifier at point") #f(compiled-function () #)() xref-show-definitions-buffer(#f(compiled-function () #