Source: ccls Version: 0.20201025-1 X-Debbugs-CC: debian...@lists.debian.org Severity: serious User: debian...@lists.debian.org Usertags: regression
Dear maintainer(s), With a recent change in testing the autopkgtest of your package started to fail. I copied some of the output at the bottom of this report. Can you please investigate the situation and fix it? More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul https://ci.debian.net/data/autopkgtest/testing/amd64/c/ccls/8701788/log.gz autopkgtest [13:23:44]: test lsp-test: [----------------------- test_index (__main__.TestLSP) ... ok test_response (__main__.TestLSP) ... ====================================================================== FAIL: test_response (__main__.TestLSP) [initialize] ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest-lxc.jn191c8j/downtmp/build.gr1/src/debian/tests/lsp-test", line 167, in test_response one(tt) File "/tmp/autopkgtest-lxc.jn191c8j/downtmp/build.gr1/src/debian/tests/lsp-test", line 154, in one self.assertEqual(case[1], got) AssertionError: {'jsonrpc': '2.0', 'id': 1, 'result': {'capabilities': {'text[1146 chars]1'}}} != {'jsonrpc': '2.0', 'method': '$/progress', 'params': {'token'[88 chars]58}}} - {'id': 1, - 'jsonrpc': '2.0', ? ^ + {'jsonrpc': '2.0', ? ^ + 'method': '$/progress', + 'params': {'token': 'index', + 'value': {'kind': 'report', + 'message': '37/38', + 'percentage': 97.36842105263158}}} - 'result': {'capabilities': {'codeActionProvider': {'codeActionKinds': ['quickfix']}, - 'codeLensProvider': {'resolveProvider': False}, - 'completionProvider': {'resolveProvider': False, - 'triggerCharacters': ['.', - ':', - '>', - '#', - '<', - '"', - '/']}, - 'declarationProvider': True, - 'definitionProvider': True, - 'documentFormattingProvider': True, - 'documentHighlightProvider': True, - 'documentLinkProvider': {'resolveProvider': True}, - 'documentOnTypeFormattingProvider': {'firstTriggerCharacter': '}', - 'moreTriggerCharacter': []}, - 'documentRangeFormattingProvider': True, - 'documentSymbolProvider': True, - 'executeCommandProvider': {'commands': ['ccls.xref']}, - 'foldingRangeProvider': True, - 'hoverProvider': True, - 'implementationProvider': True, - 'referencesProvider': True, - 'renameProvider': True, - 'signatureHelpProvider': {'triggerCharacters': ['(', - ',']}, - 'textDocumentSync': {'change': 2, - 'openClose': True, - 'save': {'includeText': False}, - 'willSave': False, - 'willSaveWaitUntil': False}, - 'typeDefinitionProvider': True, - 'workspace': {'workspaceFolders': {'changeNotifications': True, - 'supported': True}}, - 'workspaceSymbolProvider': True}, - 'serverInfo': {'name': 'ccls', 'version': '0.20201025-1'}}} ====================================================================== FAIL: test_response (__main__.TestLSP) [$ccls/info] ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest-lxc.jn191c8j/downtmp/build.gr1/src/debian/tests/lsp-test", line 167, in test_response one(tt) File "/tmp/autopkgtest-lxc.jn191c8j/downtmp/build.gr1/src/debian/tests/lsp-test", line 154, in one self.assertEqual(case[1], got) AssertionError: {'jso[30 chars]': {'db': {'files': 1, 'funcs': 0, 'types': 1,[95 chars] 1}}} != {'jso[30 chars]': {'capabilities': {'textDocumentSync': {'ope[1129 chars]1'}}} {'id': 1, 'jsonrpc': '2.0', - 'result': {'db': {'files': 1, 'funcs': 0, 'types': 1, 'vars': 1}, - 'pipeline': {'completed': 1, 'enqueued': 1, 'lastIdle': 0}, - 'project': {'entries': 1}}} + 'result': {'capabilities': {'codeActionProvider': {'codeActionKinds': ['quickfix']}, + 'codeLensProvider': {'resolveProvider': False}, + 'completionProvider': {'resolveProvider': False, + 'triggerCharacters': ['.', + ':', + '>', + '#', + '<', + '"', + '/']}, + 'declarationProvider': True, + 'definitionProvider': True, + 'documentFormattingProvider': True, + 'documentHighlightProvider': True, + 'documentLinkProvider': {'resolveProvider': True}, + 'documentOnTypeFormattingProvider': {'firstTriggerCharacter': '}', + 'moreTriggerCharacter': []}, + 'documentRangeFormattingProvider': True, + 'documentSymbolProvider': True, + 'executeCommandProvider': {'commands': ['ccls.xref']}, + 'foldingRangeProvider': True, + 'hoverProvider': True, + 'implementationProvider': True, + 'referencesProvider': True, + 'renameProvider': True, + 'signatureHelpProvider': {'triggerCharacters': ['(', + ',']}, + 'textDocumentSync': {'change': 2, + 'openClose': True, + 'save': {'includeText': False}, + 'willSave': False, + 'willSaveWaitUntil': False}, + 'typeDefinitionProvider': True, + 'workspace': {'workspaceFolders': {'changeNotifications': True, + 'supported': True}}, + 'workspaceSymbolProvider': True}, + 'serverInfo': {'name': 'ccls', 'version': '0.20201025-1+b1'}}} ====================================================================== FAIL: test_response (__main__.TestLSP) [workspace/symbol] ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest-lxc.jn191c8j/downtmp/build.gr1/src/debian/tests/lsp-test", line 167, in test_response one(tt) File "/tmp/autopkgtest-lxc.jn191c8j/downtmp/build.gr1/src/debian/tests/lsp-test", line 154, in one self.assertEqual(case[1], got) AssertionError: {'id': 1, 'jsonrpc': '2.0', 'result': [{'ki[220 chars]r'}]} != {'jsonrpc': '2.0', 'method': '$/progress', [106 chars]14}}} - {'id': 1, - 'jsonrpc': '2.0', ? ^ + {'jsonrpc': '2.0', ? ^ - 'result': [{'kind': 13, - 'location': {'range': {'end': {'character': 12, 'line': 0}, - 'start': {'character': 4, 'line': 0}}, - 'uri': 'file:///tmp/autopkgtest-lxc.jn191c8j/downtmp/build.gr1/src/debian/tests/sample.c'}, - 'name': 'int test_var'}]} + 'method': '$/progress', + 'params': {'token': 'index', + 'value': {'kind': 'report', + 'message': '34/35', + 'percentage': 97.14285714285714}}} ---------------------------------------------------------------------- Ran 2 tests in 33.345s FAILED (failures=3) Running initialize Running $ccls/info Running workspace/symbol autopkgtest [13:24:19]: test lsp-test: -----------------------]
OpenPGP_signature
Description: OpenPGP digital signature