Source: silver-platter
Version: 0.4.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/workspace.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/candidates.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/proposal.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/run.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/publish.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/apply.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> copying silver_platter/recipe.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/debian
> copying silver_platter/debian/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/debian
> copying silver_platter/debian/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/debian
> copying silver_platter/debian/uploader.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/debian
> copying silver_platter/debian/run.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/debian
> copying silver_platter/debian/apply.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/debian
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_proposal.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_run.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_debian.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_candidates.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_recipe.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> copying silver_platter/tests/test_publish.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/silver_platter/tests
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing silver_platter.egg-info/PKG-INFO
> writing dependency_links to silver_platter.egg-info/dependency_links.txt
> writing entry points to silver_platter.egg-info/entry_points.txt
> writing requirements to silver_platter.egg-info/requires.txt
> writing top-level names to silver_platter.egg-info/top_level.txt
> reading manifest file 'silver_platter.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> adding license file 'AUTHORS'
> writing manifest file 'silver_platter.egg-info/SOURCES.txt'
> running build_ext
> test_read (silver_platter.tests.test_candidates.TestReadCandidates)
> silver_platter.tests.test_candidates.TestReadCandidates.test_read ... failed
> to open trace file: [Errno 13] Permission denied:
> '/you-should-use-TestCaseInTempDir-if-you-need-a-log-file'
> ok
> test_debian (unittest.loader._FailedTest) ... ERROR
> test_proposal (unittest.loader._FailedTest) ... ERROR
> test_publish (unittest.loader._FailedTest) ... ERROR
> test_read (silver_platter.tests.test_recipe.TestReadRecipe)
> silver_platter.tests.test_recipe.TestReadRecipe.test_read ... ok
> test_run (unittest.loader._FailedTest) ... ERROR
> test_false (silver_platter.tests.test_utils.RunPostCheckTests)
> silver_platter.tests.test_utils.RunPostCheckTests.test_false ... Committing
> to:
> /tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.RunPostCheckTests.test_false/work/tree/
> Committed revision 1.
> ok
> test_none (silver_platter.tests.test_utils.RunPostCheckTests)
> silver_platter.tests.test_utils.RunPostCheckTests.test_none ... ok
> test_true (silver_platter.tests.test_utils.RunPostCheckTests)
> silver_platter.tests.test_utils.RunPostCheckTests.test_true ... Committing
> to:
> /tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.RunPostCheckTests.test_true/work/tree/
> Committed revision 1.
> ok
> test_false (silver_platter.tests.test_utils.RunPreCheckTests)
> silver_platter.tests.test_utils.RunPreCheckTests.test_false ... ok
> test_none (silver_platter.tests.test_utils.RunPreCheckTests)
> silver_platter.tests.test_utils.RunPreCheckTests.test_none ... ok
> test_true (silver_platter.tests.test_utils.RunPreCheckTests)
> silver_platter.tests.test_utils.RunPreCheckTests.test_true ... ok
> test_nonexistent_colocated
> (silver_platter.tests.test_utils.TemporarySproutTests)
> silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated
> ... ERROR
> test_simple (silver_platter.tests.test_utils.TemporarySproutTests)
> silver_platter.tests.test_utils.TemporarySproutTests.test_simple ...
> Committing to:
> /tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_simple/work/tmpd_4mydh_/
> Committed revision 2.
> ok
> test_matches_setup_version
> (silver_platter.tests.test_version.VersionMatchTest) ... ok
>
> ======================================================================
> ERROR: test_debian (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_debian
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 154, in
> loadTestsFromName
> module = __import__(module_name)
> File "/<<PKGBUILDDIR>>/silver_platter/tests/test_debian.py", line 33, in
> <module>
> from ..debian import (
> File "/<<PKGBUILDDIR>>/silver_platter/debian/__init__.py", line 55, in
> <module>
> from .. import workspace as _mod_workspace
> File "/<<PKGBUILDDIR>>/silver_platter/workspace.py", line 25, in <module>
> from breezy.errors import (
> ImportError: cannot import name 'NoColocatedBranchSupport' from
> 'breezy.errors' (/usr/lib/python3/dist-packages/breezy/errors.py)
>
>
> ======================================================================
> ERROR: test_proposal (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_proposal
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 154, in
> loadTestsFromName
> module = __import__(module_name)
> File "/<<PKGBUILDDIR>>/silver_platter/tests/test_proposal.py", line 23, in
> <module>
> from ..workspace import (
> File "/<<PKGBUILDDIR>>/silver_platter/workspace.py", line 25, in <module>
> from breezy.errors import (
> ImportError: cannot import name 'NoColocatedBranchSupport' from
> 'breezy.errors' (/usr/lib/python3/dist-packages/breezy/errors.py)
>
>
> ======================================================================
> ERROR: test_publish (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_publish
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 154, in
> loadTestsFromName
> module = __import__(module_name)
> File "/<<PKGBUILDDIR>>/silver_platter/tests/test_publish.py", line 20, in
> <module>
> from ..publish import (
> File "/<<PKGBUILDDIR>>/silver_platter/publish.py", line 29, in <module>
> from breezy.propose import (
> ModuleNotFoundError: No module named 'breezy.propose'
>
>
> ======================================================================
> ERROR: test_run (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_run
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 154, in
> loadTestsFromName
> module = __import__(module_name)
> File "/<<PKGBUILDDIR>>/silver_platter/tests/test_run.py", line 24, in
> <module>
> from ..run import (
> File "/<<PKGBUILDDIR>>/silver_platter/run.py", line 28, in <module>
> from breezy import propose as _mod_propose
> ImportError: cannot import name 'propose' from 'breezy'
> (/usr/lib/python3/dist-packages/breezy/__init__.py)
>
>
> ======================================================================
> ERROR: test_nonexistent_colocated
> (silver_platter.tests.test_utils.TemporarySproutTests)
> silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: log: {{{
> 0.589 creating repository in
> file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/.bzr/.
> 0.592 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at
> 0x7f84702fa110> in
> file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/
> 0.599 preparing to commit
> 0.600 Selecting files for commit with filter None
> 0.637 creating repository in
> file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/tmpqa3t52ml/.bzr/.
> 0.642 Using fetch logic to copy between
> CHKInventoryRepository('file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/.bzr/repository/')(RepositoryFormat2a())
> and
> CHKInventoryRepository('file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/tmpqa3t52ml/.bzr/repository/',
>
> fallback_repositories=[CHKInventoryRepository('file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/.bzr/repository/')])(RepositoryFormat2a())
> 0.642 fetching: <SearchResult
> search:({b'[email protected]'},
> {b'[email protected]', b'null:'}, 0)>
> 0.642 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at
> 0x7f84702c7640> in
> file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/tmpqa3t52ml/
> 0.646 duplicate activation of fallback
> 'file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/'
> on
> BzrBranch7(file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/tmpqa3t52ml/)
> 0.649 created new branch
> BzrBranch7(file:///tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/tmpqa3t52ml/)
> 0.653 trying to create missing lock
> '/tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/tmpqa3t52ml/.bzr/checkout/dirstate'
> 0.658 opening working tree
> '/tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/tmpqa3t52ml'
> }}}
>
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/breezy/transport/local.py", line 148,
> in get
> return open(path, 'rb')
> FileNotFoundError: [Errno 2] No such file or directory:
> '/tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/.bzr/branches/foo/format'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/breezy/bzr/branch.py", line 734, in
> find_format
> format_string = transport.get_bytes("format")
> File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line
> 646, in get_bytes
> f = self.get(relpath)
> File "/usr/lib/python3/dist-packages/breezy/transport/local.py", line 152,
> in get
> self._translate_error(e, path)
> File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line
> 371, in _translate_error
> raise NoSuchFile(path, extra=e)
> breezy.transport.NoSuchFile: No such file:
> '/tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/.bzr/branches/foo/format':
> [Errno 2] No such file or directory:
> '/tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/.bzr/branches/foo/format'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/silver_platter/utils.py", line 81, in
> create_temp_sprout
> add_branch = branch.controldir.open_branch( # type: ignore
> File "/usr/lib/python3/dist-packages/breezy/bzr/bzrdir.py", line 1094, in
> open_branch
> format = self.find_branch_format(name=name)
> File "/usr/lib/python3/dist-packages/breezy/bzr/bzrdir.py", line 934, in
> find_branch_format
> return BranchFormatMetadir.find_format(self, name=name)
> File "/usr/lib/python3/dist-packages/breezy/bzr/branch.py", line 736, in
> find_format
> raise errors.NotBranchError(
> breezy.errors.NotBranchError: Not a branch:
> "/tmp/testbzr-m_vgkfc1.tmp/silver_platter.tests.test_utils.TemporarySproutTests.test_nonexistent_colocated/work/.bzr/branches/foo/":
> location is a repository.
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/silver_platter/tests/test_utils.py", line 66, in
> test_nonexistent_colocated
> with TemporarySprout(branch, ["foo"], dir=self.test_dir) as tree:
> File "/<<PKGBUILDDIR>>/silver_platter/utils.py", line 116, in __enter__
> tree, self._destroy = create_temp_sprout(
> File "/<<PKGBUILDDIR>>/silver_platter/utils.py", line 96, in
> create_temp_sprout
> raise e
> File "/<<PKGBUILDDIR>>/silver_platter/utils.py", line 83, in
> create_temp_sprout
> except (errors.NotBranchError, errors.NoColocatedBranchSupport):
> AttributeError: module 'breezy.errors' has no attribute
> 'NoColocatedBranchSupport'
>
>
> ----------------------------------------------------------------------
> Ran 15 tests in 0.607s
>
> FAILED (errors=5)
> Test failed: <unittest.runner.TextTestResult run=15 errors=5 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=15 errors=5
> failures=0>
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1:
> python3.10 setup.py test
> dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit
> code 13
The full build log is available from:
http://qa-logs.debian.net/2022/10/23/silver-platter_0.4.5-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.