Source: pylint
Version: 2.5.3-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> tests/lint/unittest_lint.py:551: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> pylint/lint/run.py:344: in __init__
>     linter.check(args)
> pylint/lint/pylinter.py:870: in check
>     self._check_files(
> pylint/lint/pylinter.py:904: in _check_files
>     self._check_file(get_ast, check_astroid_module, name, filepath, modname)
> pylint/lint/pylinter.py:930: in _check_file
>     check_astroid_module(ast_node)
> pylint/lint/pylinter.py:1062: in check_astroid_module
>     retval = self._check_astroid_module(
> pylint/lint/pylinter.py:1107: in _check_astroid_module
>     walker.walk(ast_node)
> pylint/utils/ast_walker.py:77: in walk
>     callback(astroid)
> pylint/checkers/imports.py:550: in leave_module
>     std_imports, ext_imports, loc_imports = self._check_imports_order(node)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = Checker 'imports' (responsible for 'E0401', 'E0402', 'R0401', 'W0401', 
> 'W0402', 'W0404', 'W0406', 'W0407', 'W0410', 'C0410', 'C0411', 'C0412', 
> 'C0413', 'C0414', 'C0415')
> _module_node = <Module.empty l.0 at 0x7fd863523640>
> 
>     def _check_imports_order(self, _module_node):
>         """Checks imports of module `node` are grouped by category
>     
>         Imports must follow this order: standard, 3rd party, local
>         """
>         std_imports = []
>         third_party_imports = []
>         first_party_imports = []
>         # need of a list that holds third or first party ordered import
>         external_imports = []
>         local_imports = []
>         third_party_not_ignored = []
>         first_party_not_ignored = []
>         local_not_ignored = []
> >       isort_obj = isort.SortImports(
>             file_contents="",
>             known_third_party=self.config.known_third_party,
>             known_standard_library=self.config.known_standard_library,
>         )
> E       AttributeError: module 'isort' has no attribute 'SortImports'
> 
> pylint/checkers/imports.py:712: AttributeError
> _________________________ test_analyze_explicit_script 
> _________________________
> 
> linter = Checker 'master' (responsible for 'F0001', 'F0002', 'F0010', 
> 'I0001', 'I0010', 'I0011', 'I0013', 'I0020', 'I0021', 'I0022', 'E0001', 
> 'E0011', 'E0012')
> 
>     def test_analyze_explicit_script(linter):
>         linter.set_reporter(testutils.TestReporter())
> >       linter.check(os.path.join(DATA_DIR, "ascript"))
> 
> tests/lint/unittest_lint.py:573: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> pylint/lint/pylinter.py:870: in check
>     self._check_files(
> pylint/lint/pylinter.py:904: in _check_files
>     self._check_file(get_ast, check_astroid_module, name, filepath, modname)
> pylint/lint/pylinter.py:930: in _check_file
>     check_astroid_module(ast_node)
> pylint/lint/pylinter.py:1062: in check_astroid_module
>     retval = self._check_astroid_module(
> pylint/lint/pylinter.py:1107: in _check_astroid_module
>     walker.walk(ast_node)
> pylint/utils/ast_walker.py:77: in walk
>     callback(astroid)
> pylint/checkers/imports.py:550: in leave_module
>     std_imports, ext_imports, loc_imports = self._check_imports_order(node)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = Checker 'imports' (responsible for 'E0401', 'E0402', 'R0401', 'W0401', 
> 'W0402', 'W0404', 'W0406', 'W0407', 'W0410', 'C0410', 'C0411', 'C0412', 
> 'C0413', 'C0414', 'C0415')
> _module_node = <Module.data.ascript l.0 at 0x7fd8627270a0>
> 
>     def _check_imports_order(self, _module_node):
>         """Checks imports of module `node` are grouped by category
>     
>         Imports must follow this order: standard, 3rd party, local
>         """
>         std_imports = []
>         third_party_imports = []
>         first_party_imports = []
>         # need of a list that holds third or first party ordered import
>         external_imports = []
>         local_imports = []
>         third_party_not_ignored = []
>         first_party_not_ignored = []
>         local_not_ignored = []
> >       isort_obj = isort.SortImports(
>             file_contents="",
>             known_third_party=self.config.known_third_party,
>             known_standard_library=self.config.known_standard_library,
>         )
> E       AttributeError: module 'isort' has no attribute 'SortImports'
> 
> pylint/checkers/imports.py:712: AttributeError
> __________________________ test_filename_with__init__ 
> __________________________
> 
> init_linter = Checker 'master' (responsible for 'F0001', 'F0002', 'F0010', 
> 'I0001', 'I0010', 'I0011', 'I0013', 'I0020', 'I0021', 'I0022', 'E0001', 
> 'E0011', 'E0012')
> 
>     def test_filename_with__init__(init_linter):
>         # This tracks a regression where a file whose name ends in 
> __init__.py,
>         # such as flycheck__init__.py, would accidentally lead to linting the
>         # entire containing directory.
>         reporter = testutils.TestReporter()
>         linter = init_linter
>         linter.open()
>         linter.set_reporter(reporter)
>         filepath = join(INPUT_DIR, "not__init__.py")
> >       linter.check([filepath])
> 
> tests/lint/unittest_lint.py:797: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> pylint/lint/pylinter.py:870: in check
>     self._check_files(
> pylint/lint/pylinter.py:904: in _check_files
>     self._check_file(get_ast, check_astroid_module, name, filepath, modname)
> pylint/lint/pylinter.py:930: in _check_file
>     check_astroid_module(ast_node)
> pylint/lint/pylinter.py:1062: in check_astroid_module
>     retval = self._check_astroid_module(
> pylint/lint/pylinter.py:1107: in _check_astroid_module
>     walker.walk(ast_node)
> pylint/utils/ast_walker.py:77: in walk
>     callback(astroid)
> pylint/checkers/imports.py:550: in leave_module
>     std_imports, ext_imports, loc_imports = self._check_imports_order(node)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = Checker 'imports' (responsible for 'E0401', 'E0402', 'R0401', 'W0401', 
> 'W0402', 'W0404', 'W0406', 'W0407', 'W0410', 'C0410', 'C0411', 'C0412', 
> 'C0413', 'C0414', 'C0415')
> _module_node = <Module.input.not__init__ l.0 at 0x7fd8627fc8b0>
> 
>     def _check_imports_order(self, _module_node):
>         """Checks imports of module `node` are grouped by category
>     
>         Imports must follow this order: standard, 3rd party, local
>         """
>         std_imports = []
>         third_party_imports = []
>         first_party_imports = []
>         # need of a list that holds third or first party ordered import
>         external_imports = []
>         local_imports = []
>         third_party_not_ignored = []
>         first_party_not_ignored = []
>         local_not_ignored = []
> >       isort_obj = isort.SortImports(
>             file_contents="",
>             known_third_party=self.config.known_third_party,
>             known_standard_library=self.config.known_standard_library,
>         )
> E       AttributeError: module 'isort' has no attribute 'SortImports'
> 
> pylint/checkers/imports.py:712: AttributeError
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.8/build/tests/test_func.py::test_functionality[func_excess_escapes.py]
>   <unknown>:7: DeprecationWarning: invalid escape sequence \[
> 
> .pybuild/cpython3_3.8/build/tests/test_func.py::test_functionality[func_excess_escapes.py]
>   <unknown>:8: DeprecationWarning: invalid escape sequence \/
> 
> .pybuild/cpython3_3.8/build/tests/test_func.py::test_functionality[func_excess_escapes.py]
>   <unknown>:9: DeprecationWarning: invalid escape sequence \`
> 
> .pybuild/cpython3_3.8/build/tests/test_func.py::test_functionality[func_excess_escapes.py]
>   <unknown>:15: DeprecationWarning: invalid escape sequence \o
> 
> .pybuild/cpython3_3.8/build/tests/test_func.py::test_functionality[func_excess_escapes.py]
>   <unknown>:17: DeprecationWarning: invalid escape sequence \8
> 
> .pybuild/cpython3_3.8/build/tests/test_func.py::test_functionality[func_excess_escapes.py]
>   <unknown>:27: DeprecationWarning: invalid escape sequence \P
> 
> .pybuild/cpython3_3.8/build/tests/test_functional.py::test_functional[anomalous_unicode_escape_py3]
> .pybuild/cpython3_3.8/build/tests/test_functional.py::test_functional[future_unicode_literals]
>   <unknown>:5: DeprecationWarning: invalid escape sequence \u
> 
> .pybuild/cpython3_3.8/build/tests/test_functional.py::test_functional[anomalous_unicode_escape_py3]
>   <unknown>:6: DeprecationWarning: invalid escape sequence \U
> 
> .pybuild/cpython3_3.8/build/tests/test_functional.py::test_functional[anomalous_unicode_escape_py3]
>   <unknown>:8: DeprecationWarning: invalid escape sequence \N
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> 
> 
> Computing stats ...
> Computing stats ... group 1/1
> Computing stats ... group 1/1: min
> Computing stats ... group 1/1: min (1/9)
> Computing stats ... group 1/1: min (2/9)
> Computing stats ... group 1/1: min (3/9)
> Computing stats ... group 1/1: min (4/9)
> Computing stats ... group 1/1: min (5/9)
> Computing stats ... group 1/1: min (6/9)
> Computing stats ... group 1/1: min (7/9)
> Computing stats ... group 1/1: min (8/9)
> Computing stats ... group 1/1: min (9/9)
> Computing stats ... group 1/1: min (1/9)
> Computing stats ... group 1/1: min (2/9)
> Computing stats ... group 1/1: min (3/9)
> Computing stats ... group 1/1: min (4/9)
> Computing stats ... group 1/1: min (5/9)
> Computing stats ... group 1/1: min (6/9)
> Computing stats ... group 1/1: min (7/9)
> Computing stats ... group 1/1: min (8/9)
> Computing stats ... group 1/1: min (9/9)
> Computing stats ... group 1/1: max
> Computing stats ... group 1/1: max (1/9)
> Computing stats ... group 1/1: max (2/9)
> Computing stats ... group 1/1: max (3/9)
> Computing stats ... group 1/1: max (4/9)
> Computing stats ... group 1/1: max (5/9)
> Computing stats ... group 1/1: max (6/9)
> Computing stats ... group 1/1: max (7/9)
> Computing stats ... group 1/1: max (8/9)
> Computing stats ... group 1/1: max (9/9)
> Computing stats ... group 1/1: max (1/9)
> Computing stats ... group 1/1: max (2/9)
> Computing stats ... group 1/1: max (3/9)
> Computing stats ... group 1/1: max (4/9)
> Computing stats ... group 1/1: max (5/9)
> Computing stats ... group 1/1: max (6/9)
> Computing stats ... group 1/1: max (7/9)
> Computing stats ... group 1/1: max (8/9)
> Computing stats ... group 1/1: max (9/9)
> Computing stats ... group 1/1: mean
> Computing stats ... group 1/1: mean (1/9)
> Computing stats ... group 1/1: mean (2/9)
> Computing stats ... group 1/1: mean (3/9)
> Computing stats ... group 1/1: mean (4/9)
> Computing stats ... group 1/1: mean (5/9)
> Computing stats ... group 1/1: mean (6/9)
> Computing stats ... group 1/1: mean (7/9)
> Computing stats ... group 1/1: mean (8/9)
> Computing stats ... group 1/1: mean (9/9)
> Computing stats ... group 1/1: mean (1/9)
> Computing stats ... group 1/1: mean (2/9)
> Computing stats ... group 1/1: mean (3/9)
> Computing stats ... group 1/1: mean (4/9)
> Computing stats ... group 1/1: mean (5/9)
> Computing stats ... group 1/1: mean (6/9)
> Computing stats ... group 1/1: mean (7/9)
> Computing stats ... group 1/1: mean (8/9)
> Computing stats ... group 1/1: mean (9/9)
> Computing stats ... group 1/1: median
> Computing stats ... group 1/1: median (1/9)
> Computing stats ... group 1/1: median (2/9)
> Computing stats ... group 1/1: median (3/9)
> Computing stats ... group 1/1: median (4/9)
> Computing stats ... group 1/1: median (5/9)
> Computing stats ... group 1/1: median (6/9)
> Computing stats ... group 1/1: median (7/9)
> Computing stats ... group 1/1: median (8/9)
> Computing stats ... group 1/1: median (9/9)
> Computing stats ... group 1/1: median (1/9)
> Computing stats ... group 1/1: median (2/9)
> Computing stats ... group 1/1: median (3/9)
> Computing stats ... group 1/1: median (4/9)
> Computing stats ... group 1/1: median (5/9)
> Computing stats ... group 1/1: median (6/9)
> Computing stats ... group 1/1: median (7/9)
> Computing stats ... group 1/1: median (8/9)
> Computing stats ... group 1/1: median (9/9)
> Computing stats ... group 1/1: iqr
> Computing stats ... group 1/1: iqr (1/9)
> Computing stats ... group 1/1: iqr (2/9)
> Computing stats ... group 1/1: iqr (3/9)
> Computing stats ... group 1/1: iqr (4/9)
> Computing stats ... group 1/1: iqr (5/9)
> Computing stats ... group 1/1: iqr (6/9)
> Computing stats ... group 1/1: iqr (7/9)
> Computing stats ... group 1/1: iqr (8/9)
> Computing stats ... group 1/1: iqr (9/9)
> Computing stats ... group 1/1: iqr (1/9)
> Computing stats ... group 1/1: iqr (2/9)
> Computing stats ... group 1/1: iqr (3/9)
> Computing stats ... group 1/1: iqr (4/9)
> Computing stats ... group 1/1: iqr (5/9)
> Computing stats ... group 1/1: iqr (6/9)
> Computing stats ... group 1/1: iqr (7/9)
> Computing stats ... group 1/1: iqr (8/9)
> Computing stats ... group 1/1: iqr (9/9)
> Computing stats ... group 1/1: stddev
> Computing stats ... group 1/1: stddev (1/9)
> Computing stats ... group 1/1: stddev (2/9)
> Computing stats ... group 1/1: stddev (3/9)
> Computing stats ... group 1/1: stddev (4/9)
> Computing stats ... group 1/1: stddev (5/9)
> Computing stats ... group 1/1: stddev (6/9)
> Computing stats ... group 1/1: stddev (7/9)
> Computing stats ... group 1/1: stddev (8/9)
> Computing stats ... group 1/1: stddev (9/9)
> Computing stats ... group 1/1: stddev (1/9)
> Computing stats ... group 1/1: stddev (2/9)
> Computing stats ... group 1/1: stddev (3/9)
> Computing stats ... group 1/1: stddev (4/9)
> Computing stats ... group 1/1: stddev (5/9)
> Computing stats ... group 1/1: stddev (6/9)
> Computing stats ... group 1/1: stddev (7/9)
> Computing stats ... group 1/1: stddev (8/9)
> Computing stats ... group 1/1: stddev (9/9)
> Computing stats ... group 1/1: ops
> Computing stats ... group 1/1: ops (1/9)
> Computing stats ... group 1/1: ops (2/9)
> Computing stats ... group 1/1: ops (3/9)
> Computing stats ... group 1/1: ops (4/9)
> Computing stats ... group 1/1: ops (5/9)
> Computing stats ... group 1/1: ops (6/9)
> Computing stats ... group 1/1: ops (7/9)
> Computing stats ... group 1/1: ops (8/9)
> Computing stats ... group 1/1: ops (9/9)
> Computing stats ... group 1/1: ops (1/9)
> Computing stats ... group 1/1: ops (2/9)
> Computing stats ... group 1/1: ops (3/9)
> Computing stats ... group 1/1: ops (4/9)
> Computing stats ... group 1/1: ops (5/9)
> Computing stats ... group 1/1: ops (6/9)
> Computing stats ... group 1/1: ops (7/9)
> Computing stats ... group 1/1: ops (8/9)
> Computing stats ... group 1/1: ops (9/9)
> Computing stats ... group 1/1: ops: outliers
> Computing stats ... group 1/1: ops: outliers (1/9)
> Computing stats ... group 1/1: ops: outliers (2/9)
> Computing stats ... group 1/1: ops: outliers (3/9)
> Computing stats ... group 1/1: ops: outliers (4/9)
> Computing stats ... group 1/1: ops: outliers (5/9)
> Computing stats ... group 1/1: ops: outliers (6/9)
> Computing stats ... group 1/1: ops: outliers (7/9)
> Computing stats ... group 1/1: ops: outliers (8/9)
> Computing stats ... group 1/1: ops: outliers (9/9)
> Computing stats ... group 1/1: ops: rounds
> Computing stats ... group 1/1: ops: rounds (1/9)
> Computing stats ... group 1/1: ops: rounds (2/9)
> Computing stats ... group 1/1: ops: rounds (3/9)
> Computing stats ... group 1/1: ops: rounds (4/9)
> Computing stats ... group 1/1: ops: rounds (5/9)
> Computing stats ... group 1/1: ops: rounds (6/9)
> Computing stats ... group 1/1: ops: rounds (7/9)
> Computing stats ... group 1/1: ops: rounds (8/9)
> Computing stats ... group 1/1: ops: rounds (9/9)
> Computing stats ... group 1/1: ops: iterations
> Computing stats ... group 1/1: ops: iterations (1/9)
> Computing stats ... group 1/1: ops: iterations (2/9)
> Computing stats ... group 1/1: ops: iterations (3/9)
> Computing stats ... group 1/1: ops: iterations (4/9)
> Computing stats ... group 1/1: ops: iterations (5/9)
> Computing stats ... group 1/1: ops: iterations (6/9)
> Computing stats ... group 1/1: ops: iterations (7/9)
> Computing stats ... group 1/1: ops: iterations (8/9)
> Computing stats ... group 1/1: ops: iterations (9/9)
> ----------------------------------------------------------------------------------------------------------------
>  benchmark 'baseline': 9 tests 
> ----------------------------------------------------------------------------------------------------------------
> Name (time in us)                                                 Min         
>               Max                      Mean                 StdDev            
>         Median                    IQR            Outliers         OPS         
>    Rounds  Iterations
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> test_baseline_benchmark_j1                                   418.4870 (1.0)   
>          549.5650 (1.0)            435.4064 (1.0)          11.6791 (1.0)      
>       432.7700 (1.0)          11.6178 (1.0)        194;70  2,296.7048 (1.0)   
>      1029           1
> test_baseline_benchmark_check_parallel_j10                81,874.1150 
> (195.64)      97,491.9310 (177.40)      90,740.2994 (208.40)    4,260.4841 
> (364.80)      90,570.8985 (209.28)    4,782.4400 (411.65)        3;0     
> 11.0205 (0.00)         12           1
> test_baseline_benchmark_j10                               97,519.5690 
> (233.03)     113,461.9760 (206.46)     104,793.7657 (240.68)    5,914.0142 
> (506.38)     104,088.1510 (240.52)   11,649.8860 (>1000.0)       5;0      
> 9.5426 (0.00)         10           1
> test_baseline_lots_of_files_j1_empty_checker             174,043.1920 
> (415.89)     175,032.3220 (318.49)     174,679.1332 (401.19)      340.6799 
> (29.17)      174,724.0115 (403.73)      218.5720 (18.81)         2;1      
> 5.7248 (0.00)          6           1
> test_baseline_lots_of_files_j1                           174,050.5770 
> (415.90)     174,687.9840 (317.87)     174,289.8572 (400.29)      231.1453 
> (19.79)      174,253.7100 (402.65)      265.6000 (22.86)         2;0      
> 5.7376 (0.00)          6           1
> test_baseline_lots_of_files_j10                          322,201.0100 
> (769.92)     352,878.8810 (642.11)     340,222.6548 (781.39)   11,979.6362 
> (>1000.0)    339,433.3370 (784.33)   16,513.3373 (>1000.0)       2;0      
> 2.9393 (0.00)          5           1
> test_baseline_lots_of_files_j10_empty_checker            338,229.7390 
> (808.22)     353,324.7010 (642.92)     347,282.2782 (797.60)    5,888.6875 
> (504.21)     346,816.5890 (801.39)    7,740.9135 (666.30)        2;0      
> 2.8795 (0.00)          5           1
> test_baseline_benchmark_j10_single_working_checker       609,676.1060 
> (>1000.0)    617,492.4280 (>1000.0)    614,339.7920 (>1000.0)   3,398.0844 
> (290.95)     616,032.0070 (>1000.0)   5,569.4893 (479.39)        1;0      
> 1.6278 (0.00)          5           1
> test_baseline_benchmark_j1_single_working_checker      5,010,133.5320 
> (>1000.0)  5,010,263.6920 (>1000.0)  5,010,199.7412 (>1000.0)      49.8059 
> (4.26)     5,010,199.0330 (>1000.0)      72.8488 (6.27)          2;0      
> 0.1996 (0.00)          5           1
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> Legend:
>   Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) 
> from 1st Quartile and 3rd Quartile.
>   OPS: Operations Per Second, computed as 1 / Mean
> = 495 failed, 673 passed, 45 skipped, 199 deselected, 10 warnings in 131.78 
> seconds =
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 
> returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/pylint_2.5.3-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to