[Pkg-bazaar-maint] Bug#1032247: breezy-debian FTBFS: ERROR: breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version

Adrian Bunk bunk at debian.org
Thu Mar 2 09:47:26 GMT 2023


Source: breezy-debian
Version: 2.8.77
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=breezy-debian&arch=all&ver=2.8.77&stamp=1677498906&raw=0

...
======================================================================
ERROR: breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version
----------------------------------------------------------------------
testtools.testresult.real._StringException: log: {{{
19.771  creating repository in file:///tmp/testbzr-7xxlu7i0.tmp/breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version/work/.bzr/.
19.773  creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x7fa263cbca90> in file:///tmp/testbzr-7xxlu7i0.tmp/breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version/work/
19.778  trying to create missing lock '/tmp/testbzr-7xxlu7i0.tmp/breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version/work/.bzr/checkout/dirstate'
19.778  opening working tree '/tmp/testbzr-7xxlu7i0.tmp/breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version/work'
19.784  preparing to commit
    INFO  Committing to: /tmp/testbzr-7xxlu7i0.tmp/breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version/work/
19.785  Selecting files for commit with filter None
    INFO  Committed revision 1.
19.792  Committed revid b'jrandom at example.com-20230227115456-yxlugfpwfxn7x7m6' as revno 1.
    INFO  Current version is release, merging new release.
    INFO  No upstream upstream-revision format specified, trying tag:1.0
19.797  Returning RevisionSpec RevisionSpec_tag for tag:1.0
    INFO  No upstream upstream-revision format specified, trying tag:foo-1.0
19.797  Returning RevisionSpec RevisionSpec_tag for tag:foo-1.0
    INFO  No upstream upstream-revision format specified, trying tag:v1.0
19.797  Returning RevisionSpec RevisionSpec_tag for tag:v1.0
    INFO  No upstream upstream-revision format specified, trying tag:v.1.0
19.797  Returning RevisionSpec RevisionSpec_tag for tag:v.1.0
    INFO  No upstream upstream-revision format specified, trying tag:release-1.0
19.798  Returning RevisionSpec RevisionSpec_tag for tag:release-1.0
    INFO  No upstream upstream-revision format specified, trying tag:1_0_release
19.798  Returning RevisionSpec RevisionSpec_tag for tag:1_0_release
    INFO  No upstream upstream-revision format specified, trying tag:1_0
19.798  Returning RevisionSpec RevisionSpec_tag for tag:1_0
    INFO  No upstream upstream-revision format specified, trying tag:version-1.0
19.798  Returning RevisionSpec RevisionSpec_tag for tag:version-1.0
    INFO  No upstream upstream-revision format specified, trying tag:foo-1_0-release
19.798  Returning RevisionSpec RevisionSpec_tag for tag:foo-1_0-release
    INFO  No upstream upstream-revision format specified, trying tag:foo-v1.0
19.798  Returning RevisionSpec RevisionSpec_tag for tag:foo-v1.0
}}}

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/upstream/branch.py", line 560, in get_recent_versions
    since_revision, _subpath = self.version_as_revision(
                               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/upstream/branch.py", line 477, in version_as_revision
    raise PackageVersionNotPresent(package, version, self)
breezy.plugins.debian.upstream.PackageVersionNotPresent: foo 1.0 was not found in <LazyUpstreamBranchSource for 'file:///tmp/testbzr-7xxlu7i0.tmp/breezy.plugins.debian.tests.test_upstream.LazyUpstreamBranchSourceTests.test_get_latest_version/work/'>.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_upstream.py", line 602, in test_get_latest_version
    ("2.1", "2.1"), source.get_latest_version("foo", "1.0"))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/upstream/branch.py", line 537, in get_latest_version
    version = self.get_latest_release_version(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/upstream/branch.py", line 509, in get_latest_release_version
    versions = list(self.get_recent_versions(package, current_version))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/upstream/branch.py", line 563, in get_recent_versions
    raise PreviousVersionTagMissing(
breezy.plugins.debian.upstream.branch.PreviousVersionTagMissing: Unable to find the tag for the previous upstream version (foo) in the upstream branch: 1.0

----------------------------------------------------------------------
Ran 559 tests in 21.453s

FAILED (errors=1, known_failure_count=3)
4 tests skipped
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 1



More information about the Pkg-bazaar-maint mailing list