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': ['.',
+
':',
+
'>',
+
'#',
+
'<',
+
'"',
+