Bug#976994: ccls: autopkgtest regression in testing: FAIL: test_response (__main__.TestLSP) [$ccls/info]

2020-12-13 Thread Paul Gevers
Hi,

On 10-12-2020 15:53, Shengjing Zhu wrote:
> Can we have autopkgtest for migration of binNMU?

Bug #944458

Paul

https://bugs.debian.org/944458



OpenPGP_signature
Description: OpenPGP digital signature


Bug#976994: ccls: autopkgtest regression in testing: FAIL: test_response (__main__.TestLSP) [$ccls/info]

2020-12-10 Thread Shengjing Zhu
Control: tags -1 + pending

On Thu, Dec 10, 2020 at 4:09 AM Paul Gevers  wrote:
>
> 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?
>

TLDR, it's caused by binNMU.

The test I wrote in this package's autopkgtest, uses
`dpkg-parsechangelog -SVersion` to detect the version, then fails to
match the binNMU version.

Can we have autopkgtest for migration of binNMU?

-- 
Shengjing Zhu



Processed: Re: Bug#976994: ccls: autopkgtest regression in testing: FAIL: test_response (__main__.TestLSP) [$ccls/info]

2020-12-10 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + pending
Bug #976994 [src:ccls] ccls: autopkgtest regression in testing: FAIL: 
test_response (__main__.TestLSP) [$ccls/info]
Added tag(s) pending.

-- 
976994: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976994
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#976994: ccls: autopkgtest regression in testing: FAIL: test_response (__main__.TestLSP) [$ccls/info]

2020-12-09 Thread Paul Gevers
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': ['.',
+
':',
+
'>',
+
'#',
+
'<',
+
'"',
+