Source: logging-tree
Version: 1.8.1-0.1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> pybuild --configure -i python{version} -p "3.9 3.8"
> I: pybuild base:217: python3.9 setup.py config
> running config
> I: pybuild base:217: python3.8 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> pybuild --build -i python{version} -p "3.9 3.8"
> I: pybuild base:217: /usr/bin/python3.9 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree
> copying logging_tree/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree
> copying logging_tree/nodes.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree
> copying logging_tree/format.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/case.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/test_format.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/test_node.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree
> copying logging_tree/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree
> copying logging_tree/nodes.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree
> copying logging_tree/format.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/case.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/test_format.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree/tests
> copying logging_tree/tests/test_node.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_logging_tree/build/logging_tree/tests
> dh_auto_test -O--buildsystem=pybuild
> pybuild --test -i python{version} -p "3.9 3.8"
> I: pybuild base:217: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build; python3.9 -m
> unittest discover -v
> test_2_dot_5_handlers (logging_tree.tests.test_format.FormatTests) ... ERROR
> test_2_dot_6_handlers (logging_tree.tests.test_format.FormatTests) ... ERROR
> test_fancy_tree (logging_tree.tests.test_format.FormatTests) ... ERROR
> test_formatter_that_is_not_a_Formatter_instance
> (logging_tree.tests.test_format.FormatTests) ... ok
> test_formatter_with_no_fmt_attributes
> (logging_tree.tests.test_format.FormatTests) ... ok
> test_handler_with_parent_attribute_that_is_none
> (logging_tree.tests.test_format.FormatTests) ... ok
> test_handler_with_wrong_parent_attribute
> (logging_tree.tests.test_format.FormatTests) ... ok
> test_most_handlers (logging_tree.tests.test_format.FormatTests) ... ERROR
> test_nested_handlers (logging_tree.tests.test_format.FormatTests) ... ok
> test_printout (logging_tree.tests.test_format.FormatTests) ... ok
> test_simple_tree (logging_tree.tests.test_format.FormatTests) ... ok
> test_default_tree (logging_tree.tests.test_node.NodeTests) ... ok
> test_one_level_tree (logging_tree.tests.test_node.NodeTests) ... ok
> test_two_level_tree (logging_tree.tests.test_node.NodeTests) ... ok
> test_two_level_tree_with_placeholder (logging_tree.tests.test_node.NodeTests)
> ... ok
>
> ======================================================================
> ERROR: test_2_dot_5_handlers (logging_tree.tests.test_format.FormatTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests/test_format.py",
> line 151, in test_2_dot_5_handlers
> ah(logging.handlers.TimedRotatingFileHandler('/bar/two.txt'))
> File "/usr/lib/python3.9/logging/handlers.py", line 208, in __init__
> BaseRotatingHandler.__init__(self, filename, 'a', encoding=encoding,
> File "/usr/lib/python3.9/logging/handlers.py", line 58, in __init__
> logging.FileHandler.__init__(self, filename, mode=mode,
> File "/usr/lib/python3.9/logging/__init__.py", line 1142, in __init__
> StreamHandler.__init__(self, self._open())
> File "/usr/lib/python3.9/logging/__init__.py", line 1171, in _open
> return open(self.baseFilename, self.mode, encoding=self.encoding,
> TypeError: __init__() got an unexpected keyword argument 'errors'
>
> ======================================================================
> ERROR: test_2_dot_6_handlers (logging_tree.tests.test_format.FormatTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests/test_format.py",
> line 176, in test_2_dot_6_handlers
> ah(logging.handlers.WatchedFileHandler('/bar/three.txt'))
> File "/usr/lib/python3.9/logging/handlers.py", line 445, in __init__
> logging.FileHandler.__init__(self, filename, mode=mode,
> File "/usr/lib/python3.9/logging/__init__.py", line 1142, in __init__
> StreamHandler.__init__(self, self._open())
> File "/usr/lib/python3.9/logging/__init__.py", line 1171, in _open
> return open(self.baseFilename, self.mode, encoding=self.encoding,
> TypeError: __init__() got an unexpected keyword argument 'errors'
>
> ======================================================================
> ERROR: test_fancy_tree (logging_tree.tests.test_format.FormatTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests/test_format.py",
> line 87, in test_fancy_tree
> log.addHandler(logging.FileHandler('/foo/log.txt'))
> File "/usr/lib/python3.9/logging/__init__.py", line 1142, in __init__
> StreamHandler.__init__(self, self._open())
> File "/usr/lib/python3.9/logging/__init__.py", line 1171, in _open
> return open(self.baseFilename, self.mode, encoding=self.encoding,
> TypeError: __init__() got an unexpected keyword argument 'errors'
>
> ======================================================================
> ERROR: test_most_handlers (logging_tree.tests.test_format.FormatTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build/logging_tree/tests/test_format.py",
> line 119, in test_most_handlers
> ah(logging.handlers.RotatingFileHandler(
> File "/usr/lib/python3.9/logging/handlers.py", line 153, in __init__
> BaseRotatingHandler.__init__(self, filename, mode, encoding=encoding,
> File "/usr/lib/python3.9/logging/handlers.py", line 58, in __init__
> logging.FileHandler.__init__(self, filename, mode=mode,
> File "/usr/lib/python3.9/logging/__init__.py", line 1142, in __init__
> StreamHandler.__init__(self, self._open())
> File "/usr/lib/python3.9/logging/__init__.py", line 1171, in _open
> return open(self.baseFilename, self.mode, encoding=self.encoding,
> TypeError: __init__() got an unexpected keyword argument 'errors'
>
> ----------------------------------------------------------------------
> Ran 15 tests in 0.002s
>
> FAILED (errors=4)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_logging_tree/build; python3.9 -m
> unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" returned
> exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/10/27/logging-tree_1.8.1-0.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.