BusinessTemplate_getPythonSourceCodeMessageList: Retry in case of pylint internal failure.
Pylint, at least our current version (still 1.4.4 as some more recent versions are apparently much slower), may choke on some imports on the first validation since Zope was started, only to later succeed. Hypothesis is that it fails to analyse some imported modules, leaving empty shells behind in some cache, making a second test avoid the error. Here is one such error: File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 86, in cache_generator for result in generator: File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 327, in wrapped for res in _func(node, context, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 351, in wrapper for node in func(*args, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/inference.py", line 190, in infer_callfunc for callee in self.func.infer(context): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 86, in cache_generator for result in generator: File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 327, in wrapped for res in _func(node, context, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 351, in wrapper for node in func(*args, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/inference.py", line 247, in infer_getattr for obj in owner.igetattr(self.attrname, context): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 187, in igetattr context.push((self._proxied, name)) File "eggs/astroid-1.3.8-py2.7.egg/astroid/raw_building.py", line 360, in _set_proxied return _CONST_PROXY[const.value.__class__] KeyError: <type 'CompiledFFI'>
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#524490
external
|
ERP5.CodingStyleTest-Master |
00:37:23
|
||||||
failed |
#524505
external
|
ERP5.PerformanceTest-Master |
00:26:13
|
||||||
failed |
#524493
external
|
ERP5.UnitTest-Master |
01:15:49
|
||||||
failed |
#524410
external
|
ERP5.UnitTest-Master.Medusa |
02:18:40
|
||||||
passed |
#524537
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:14:33
|
||||||
passed |
#524516
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:50
|
||||||
passed |
#524428
external
retried
|
ERP5.CodingStyleTest-Master |
00:46:36
|
||||||
passed |
#524408
external
retried
|
ERP5.CodingStyleTest-Master |
00:51:12
|
||||||
passed |
#524456
external
retried
|
ERP5.PerformanceTest-Master |
00:26:03
|
||||||
passed |
#524407
external
retried
|
ERP5.PerformanceTest-Master |
00:26:02
|
||||||
failed |
#524389
external
retried
|
ERP5.UnitTest-Master |
01:54:21
|
||||||
failed |
#524424
external
retried
|
ERP5.UnitTest-Master |
01:39:24
|
||||||
passed |
#524383
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:58
|
||||||
passed |
#524452
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:26:56
|
||||||
passed |
#524398
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:21:19
|
||||||
passed |
#524466
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:50
|
||||||