[Debian-med-packaging] Bug#995418: python-colorlog breaks macsyfinder autopkgtest: module 'colorlog' has no attribute 'logging'

Paul Gevers elbrus at debian.org
Thu Sep 30 21:19:18 BST 2021


Source: python-colorlog, macsyfinder
Control: found -1 python-colorlog/6.4.1-1
Control: found -1 macsyfinder/2.0~rc1-3
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-colorlog the autopkgtest of macsyfinder
fails in testing when that autopkgtest is run with the binary packages
of python-colorlog from unstable. It passes when run with only packages
from testing. In tabular form:

                       pass            fail
python-colorlog        from testing    6.4.1-1
macsyfinder            from testing    2.0~rc1-3
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python-colorlog
to testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-colorlog

https://ci.debian.net/data/autopkgtest/testing/amd64/m/macsyfinder/15629571/log.gz

======================================================================
ERROR: test_gembase (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 77, in test_gembase
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_model_unknown (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 403, in test_model_unknown
    macsyfinder.main(args=args.split(), loglevel='ERROR')
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_no_db_type (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 387, in test_no_db_type
    macsyfinder.main(args=args.split(), loglevel='ERROR')
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_no_models (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 358, in test_no_models
    macsyfinder.main(args=args.split(), loglevel='ERROR')
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_no_seq_db (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 373, in test_no_seq_db
    macsyfinder.main(args=args.split(), loglevel='ERROR')
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_only_loners (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 99, in test_only_loners
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_ordered_circular (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 128, in test_ordered_circular
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_ordered_linear (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 157, in test_ordered_linear
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_ordered_multi_loci (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 245, in test_ordered_multi_loci
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_ordered_multi_system (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 186, in test_ordered_multi_system
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_ordered_multi_system_loner_in_clust (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 215, in test_ordered_multi_system_loner_in_clust
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_ordered_single_loci (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 274, in test_ordered_single_loci
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_unordered (test_functional_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 300, in test_unordered
    self._macsyfinder_run(args)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_functional_test.py",
line 417, in _macsyfinder_run
    macsyfinder.main(args=args.split(),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsyfinder.py",
line 799, in main
    macsypy.init_logger(log_file=os.path.join(config.working_dir(),
config.log_file()),
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 48, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_available (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_build_argparser (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_check (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_check_with_errors (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_check_with_warnings (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_cite (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_cmd_name (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_download (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_freeze (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_info (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_installed_package_corrupted
(test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_local (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_local_already_installed (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_local_already_installed_force
(test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_remote (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_remote_already_in_local (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_remote_already_in_local_force
(test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_remote_lower_in_local (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_remote_permision_error (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_remote_spec_not_found (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_install_remote_upper_in_local (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_list (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_list_outdated (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_list_uptodate (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_list_verbose (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_in_pack_desc (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_in_pack_desc_match_case (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_in_pack_name (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_in_pack_name_match_case (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_reach_limit (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_uninstall (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_verbosity_to_log_level (test_macsydata.TestMacsydata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsydata.py",
line 51, in setUp
    macsydata._log = macsydata.init_logger(20)  # 20 logging.INFO
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/scripts/macsydata.py",
line 738, in init_logger
    logging = colorlog.logging.logging
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_systems (test_macsyfinder.TestMacsyfinder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsyfinder.py",
line 811, in test_search_systems
    macsypy.logger_set_level(level='ERROR')
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 93, in logger_set_level
    levels = {'NOTSET': colorlog.logging.logging.NOTSET,
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_systems_model_unknown (test_macsyfinder.TestMacsyfinder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsyfinder.py",
line 895, in test_search_systems_model_unknown
    macsypy.logger_set_level(level='ERROR')
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 93, in logger_set_level
    levels = {'NOTSET': colorlog.logging.logging.NOTSET,
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
ERROR: test_search_systems_unordered (test_macsyfinder.TestMacsyfinder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_macsyfinder.py",
line 869, in test_search_systems_unordered
    macsypy.logger_set_level(level='ERROR')
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/macsypy/__init__.py",
line 93, in logger_set_level
    levels = {'NOTSET': colorlog.logging.logging.NOTSET,
AttributeError: module 'colorlog' has no attribute 'logging'

======================================================================
FAIL: test_remote_exists (test_package.TestRemoteModelIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/mock.py", line 1337, in patched
    return func(*newargs, **newkeywargs)
  File
"/tmp/autopkgtest-lxc.01odxjz7/downtmp/build.Lv8/src/tests/test_package.py",
line 210, in test_remote_exists
    self.assertFalse(exists)
AssertionError: True is not false

----------------------------------------------------------------------
Ran 304 tests in 0.948s

FAILED (failures=1, errors=48, skipped=1)
Test failed: <unittest.runner.TextTestResult run=304 errors=48 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=304 errors=48
failures=1>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20210930/63ba4c46/attachment-0001.sig>


More information about the Debian-med-packaging mailing list