[Pkg-bazaar-maint] Bug#969665: breezy-debian breaks silver-platter autopkgtest: cannot import name 'MissingUpstreamTarball'

Paul Gevers elbrus at debian.org
Sun Sep 6 20:33:39 BST 2020


Source: breezy-debian, silver-platter
Control: found -1 breezy-debian/2.8.41
Control: found -1 silver-platter/0.3.0+git20200611.b4292bf-1
Severity: serious
Tags: sid bullseye
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 breezy-debian the autopkgtest of silver-platter
fails in testing when that autopkgtest is run with the binary packages
of breezy-debian from unstable. It passes when run with only packages
from testing. In tabular form:

                       pass            fail
breezy-debian          from testing    2.8.41
silver-platter         from testing    0.3.0+git20200611.b4292bf-1
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 breezy-debian 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=breezy-debian

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

autopkgtest [05:09:59]: test testsuite: [-----------------------
EEEfailed to open trace file: [Errno 13] Permission denied:
'/you-should-use-TestCaseInTempDir-if-you-need-a-log-file'
......../usr/lib/python3/dist-packages/breezy/bzr/pack_repo.py:585:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-vqrhbhdy.tmp/silver_platter.tests.test_proposal.CheckProposalDiffGitTests.test_changes/work/proposal/.git/objects/pack/pack-a944217260120cc487bb613d97f39d7dd043d40d.idx'>
  self.data_access = _DirectPackAccess(self.index_to_pack,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/bzr/pack_repo.py:585:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-vqrhbhdy.tmp/silver_platter.tests.test_proposal.CheckProposalDiffGitTests.test_indep/work/proposal/.git/objects/pack/pack-a944217260120cc487bb613d97f39d7dd043d40d.idx'>
  self.data_access = _DirectPackAccess(self.index_to_pack,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/bzr/pack_repo.py:585:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-vqrhbhdy.tmp/silver_platter.tests.test_proposal.CheckProposalDiffGitTests.test_indep/work/proposal/.git/objects/pack/pack-cf8e733fc2cf0053b75a6dd2db57ab071e1bbb2b.idx'>
  self.data_access = _DirectPackAccess(self.index_to_pack,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/bzr/pack_repo.py:585:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-vqrhbhdy.tmp/silver_platter.tests.test_proposal.CheckProposalDiffGitTests.test_no_new_commits/work/proposal/.git/objects/pack/pack-a944217260120cc487bb613d97f39d7dd043d40d.idx'>
  self.data_access = _DirectPackAccess(self.index_to_pack,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/breezy/bzr/pack_repo.py:585:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/testbzr-vqrhbhdy.tmp/silver_platter.tests.test_proposal.CheckProposalDiffGitTests.test_no_op_commits/work/proposal/.git/objects/pack/pack-a944217260120cc487bb613d97f39d7dd043d40d.idx'>
  self.data_access = _DirectPackAccess(self.index_to_pack,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
....................
======================================================================
ERROR: test_debian (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_debian
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/loader.py", line 154, in
loadTestsFromName
    module = __import__(module_name)
  File
"/tmp/autopkgtest-lxc.7k9x643b/downtmp/build.Yn5/src/silver_platter/tests/test_debian.py",
line 26, in <module>
    from ..debian import (
  File
"/tmp/autopkgtest-lxc.7k9x643b/downtmp/build.Yn5/src/silver_platter/debian/__init__.py",
line 43, in <module>
    from breezy.plugins.debian.errors import (
ImportError: cannot import name 'MissingUpstreamTarball' from
'breezy.plugins.debian.errors'
(/usr/lib/python3/dist-packages/breezy/plugins/debian/errors.py)


======================================================================
ERROR: test_debian_lintian (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_debian_lintian
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/loader.py", line 154, in
loadTestsFromName
    module = __import__(module_name)
  File
"/tmp/autopkgtest-lxc.7k9x643b/downtmp/build.Yn5/src/silver_platter/tests/test_debian_lintian.py",
line 20, in <module>
    from ..debian.lintian import (
  File
"/tmp/autopkgtest-lxc.7k9x643b/downtmp/build.Yn5/src/silver_platter/debian/__init__.py",
line 43, in <module>
    from breezy.plugins.debian.errors import (
ImportError: cannot import name 'MissingUpstreamTarball' from
'breezy.plugins.debian.errors'
(/usr/lib/python3/dist-packages/breezy/plugins/debian/errors.py)


======================================================================
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.8/unittest/loader.py", line 154, in
loadTestsFromName
    module = __import__(module_name)
  File
"/tmp/autopkgtest-lxc.7k9x643b/downtmp/build.Yn5/src/silver_platter/tests/test_debian_upstream.py",
line 21, in <module>
    from ..debian.upstream import (
  File
"/tmp/autopkgtest-lxc.7k9x643b/downtmp/build.Yn5/src/silver_platter/debian/__init__.py",
line 43, in <module>
    from breezy.plugins.debian.errors import (
ImportError: cannot import name 'MissingUpstreamTarball' from
'breezy.plugins.debian.errors'
(/usr/lib/python3/dist-packages/breezy/plugins/debian/errors.py)


----------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-bazaar-maint/attachments/20200906/a0d1a6c2/attachment.sig>


More information about the Pkg-bazaar-maint mailing list