Public bug reported:

seen in a focal test rebuild:
https://launchpad.net/ubuntu/+archive/test-rebuild-20200810-focal/+build/19799777

==============================
Failed 7 tests - output below:
==============================

magnumclient.tests.test_shell.ShellTest.test_insecure
-----------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):

      File "/usr/lib/python3/dist-packages/pbr/version.py", line 442, in 
_get_version_from_pkg_resources
    provider = pkg_resources.get_provider(requirement)

      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 
358, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]

      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 
901, in require
    needed = self.resolve(parse_requirements(requirements))

      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 
787, in resolve
    raise DistributionNotFound(req, requirers)

    pkg_resources.DistributionNotFound: The 'python-magnumclient'
distribution was not found and is required by the application

    
During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

      File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in patched
    return func(*args, **keywargs)

      File "/<<PKGBUILDDIR>>/magnumclient/tests/test_shell.py", line 229, in 
test_insecure
    self.shell('--insecure bay-list')

      File "/<<PKGBUILDDIR>>/magnumclient/tests/utils.py", line 162, in shell
    _shell.main(argstr.split())

      File "/<<PKGBUILDDIR>>/magnumclient/shell.py", line 463, in main
    parser = self.get_base_parser()

      File "/<<PKGBUILDDIR>>/magnumclient/shell.py", line 123, in 
get_base_parser
    version=version.version_info.version_string())

      File "/usr/lib/python3/dist-packages/pbr/version.py", line 467, in 
version_string
    return self.semantic_version().brief_string()

      File "/usr/lib/python3/dist-packages/pbr/version.py", line 462, in 
semantic_version
    self._semantic = self._get_version_from_pkg_resources()

      File "/usr/lib/python3/dist-packages/pbr/version.py", line 449, in 
_get_version_from_pkg_resources
    result_string = packaging.get_version(self.package)

      File "/usr/lib/python3/dist-packages/pbr/packaging.py", line 870, in 
get_version
    raise Exception("Versioning for this project requires either an sdist"

    Exception: Versioning for this project requires either an sdist
tarball, or access to an upstream git repository. It's also possible
that there is a mismatch between the package name in setup.cfg and the
argument given to pbr.version.VersionInfo. Project name python-
magnumclient was given, but was not able to be found.

** Affects: python-magnumclient (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: ftbfs rls-ff-incoming

** Changed in: python-magnumclient (Ubuntu)
       Status: New => Confirmed

** Changed in: python-magnumclient (Ubuntu)
   Importance: Undecided => High

** Tags added: ftbfs rls-ff-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891481

Title:
  python-magnumclient ftbfs in focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-magnumclient/+bug/1891481/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to