[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982994: lintian-brush breaks silver-platter autopkgtest: cannot import name 'guess_upstream_metadata' from 'lintian_brush.upstream_metadata'



Source: lintian-brush, silver-platter
Control: found -1 lintian-brush/0.96
Control: found -1 silver-platter/0.4.0-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

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

                       pass            fail
lintian-brush          from testing    0.96
silver-platter         from testing    0.4.0-1
versioned deps [0]     from testing    from unstable
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 lintian-brush 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

[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
lintian-brush/0.96. I.e. due to versioned dependencies or breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=lintian-brush

https://ci.debian.net/data/autopkgtest/testing/amd64/s/silver-platter/10520217/log.gz

autopkgtest [05:11:28]: test testsuite: [-----------------------
failed to open trace file: [Errno 13] Permission denied:
'/you-should-use-TestCaseInTempDir-if-you-need-a-log-file'
.x............E.............../usr/lib/python3/dist-packages/breezy/transport/local.py:66:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-9770pft7.tmp/silver_platter.tests.test_publish.CheckProposalDiffGitTests.test_changes/work/proposal/.git/objects/pack/pack-f9067441426220454e5ad13206da4816a7dc1b26.idx'>
  super(LocalTransport, self).__init__(base)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/transport/local.py:66:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-9770pft7.tmp/silver_platter.tests.test_publish.CheckProposalDiffGitTests.test_indep/work/proposal/.git/objects/pack/pack-f9067441426220454e5ad13206da4816a7dc1b26.idx'>
  super(LocalTransport, self).__init__(base)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/transport/local.py:66:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-9770pft7.tmp/silver_platter.tests.test_publish.CheckProposalDiffGitTests.test_indep/work/proposal/.git/objects/pack/pack-a5b46f750283ac9120774bd37f5f4690fd133ff5.idx'>
  super(LocalTransport, self).__init__(base)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/transport/local.py:66:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-9770pft7.tmp/silver_platter.tests.test_publish.CheckProposalDiffGitTests.test_no_new_commits/work/proposal/.git/objects/pack/pack-f9067441426220454e5ad13206da4816a7dc1b26.idx'>
  super(LocalTransport, self).__init__(base)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/transport/local.py:66:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-9770pft7.tmp/silver_platter.tests.test_publish.CheckProposalDiffGitTests.test_no_op_commits/work/proposal/.git/objects/pack/pack-f9067441426220454e5ad13206da4816a7dc1b26.idx'>
  super(LocalTransport, self).__init__(base)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.............
======================================================================
ERROR: test_debian_upstream (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_debian_upstream
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/loader.py", line 154, in
loadTestsFromName
    module = __import__(module_name)
  File
"/tmp/autopkgtest-lxc.1xg43ak_/downtmp/build.7XC/src/silver_platter/tests/test_debian_upstream.py",
line 21, in <module>
    from ..debian.upstream import (
  File
"/tmp/autopkgtest-lxc.1xg43ak_/downtmp/build.7XC/src/silver_platter/debian/upstream.py",
line 129, in <module>
    from lintian_brush.upstream_metadata import (
ImportError: cannot import name 'guess_upstream_metadata' from
'lintian_brush.upstream_metadata'
(/usr/lib/python3/dist-packages/lintian_brush/upstream_metadata.py)


----------------------------------------------------------------------
Ran 43 tests in 3.141s

FAILED (errors=1, expected failures=1)
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=0 mode='r'
encoding='utf-8'>
autopkgtest [05:11:34]: test testsuite: -----------------------]

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: