Your message dated Mon, 02 Nov 2020 09:34:30 +0000
with message-id <[email protected]>
and subject line Bug#973186: fixed in python-os-xenapi 0.3.4-4
has caused the Debian Bug report #973186,
regarding python-os-xenapi: FTBFS: make[1]: pyversions: No such file or 
directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
973186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973186
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-os-xenapi
Version: 0.3.4-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> pkgos-dh_auto_test --no-py2 
> 'os_xenapi\.tests\.((?!.*plugins\.test_agent\.AgentTestCase\.test_inject_file_with_old_agent.*|.*plugins\.test_xenhost\.NetworkTestCase\.test_iptables_config.*|.*plugins\.test_glance\.GlanceTestCase\.test_download_ok_verify_failed.*))'
> + PKGOS_USE_PY2=yes
> + PKGOS_USE_PY3=yes
> + PKGOS_TEST_PARALLEL=yes
> + PKGOS_TEST_SERIAL=no
> + PYTHONS=disabled
> + PYTHON3S=disabled
> + TEST_PARALLEL_OPT=--parallel
> + TEST_SERIAL_OPT=
> + PKGOS_USE_PY2=no
> + shift
> + [ no = yes ]
> + [ yes = yes ]
> + py3versions -vr
> + PYTHON3S=3.9 3.8
> + [ yes = no ]
> + [ no = yes ]
> + [ disabled = disabled ]
> + continue
> + [ 3.9 = disabled ]
> + echo 3.9
> + cut -d. -f1
> + PYMAJOR=3
> + echo ===> Testing with python (python3)
> ===> Testing with python (python3)
> + [ 3 = 3 ]
> + pwd
> + [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
> + [ -e .stestr.conf ]
> + [ -e .testr.conf ]
> + [ -x /usr/bin/testr-python3 ]
> + TESTR=testr
> + rm -rf .testrepository
> + testr init
> + mktemp -t
> + TEMP_REZ=/tmp/tmp.2TV5qX7eVq
> + PYTHON=python3.9 testr run --parallel --subunit 
> os_xenapi\.tests\.((?!.*plugins\.test_agent\.AgentTestCase\.test_inject_file_with_old_agent.*|.*plugins\.test_xenhost\.NetworkTestCase\.test_iptables_config.*|.*plugins\.test_glance\.GlanceTestCase\.test_download_ok_verify_failed.*))
> + tee /tmp/tmp.2TV5qX7eVq
> + subunit2pyunit
> Non-zero exit code (2) from test listing.
> running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
> ${PYTHON:-python} -m subunit.run discover -t ./ . --list 
> --- import errors ---
> Failed to import test module: os_xenapi.tests.client.image.test_init
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/client/image/test_init.py", line 15, 
> in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.client.image.test_vdi_handler
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/client/image/test_vdi_handler.py", 
> line 15, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.client.image.test_vhd_utils
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/client/image/test_vhd_utils.py", 
> line 23, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.client.test_host_glance
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/client/test_host_glance.py", line 
> 15, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.client.test_objects
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/client/test_objects.py", line 22, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.client.test_session
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/client/test_session.py", line 19, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.client.test_utils
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/client/test_utils.py", line 15, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.cmd.test_bootstrap
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/cmd/test_bootstrap.py", line 13, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.plugins.test_agent
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/test_agent.py", line 17, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.plugins.test_bandwidth
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/test_bandwidth.py", line 16, 
> in <module>
>     from os_xenapi.tests.plugins import plugin_test
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/plugin_test.py", line 20, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.plugins.test_dom0_plugin_version
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/test_dom0_plugin_version.py", line 
> 16, in <module>
>     from os_xenapi.tests.plugins import plugin_test
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/plugin_test.py", line 20, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.plugins.test_dom0_pluginlib
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/test_dom0_pluginlib.py", 
> line 16, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.plugins.test_glance
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/test_glance.py", line 16, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.plugins.test_partition_utils
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/test_partition_utils.py", 
> line 16, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.plugins.test_xenhost
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/plugins/test_xenhost.py", line 20, 
> in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_common_conf
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_common_conf.py", line 12, 
> in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_common_function
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_common_function.py", line 
> 14, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_conntrack_service
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_conntrack_service.py", 
> line 12, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_himn
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_himn.py", line 15, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_iptable
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_iptable.py", line 13, in 
> <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_sshclient
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_sshclient.py", line 13, 
> in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_xapi_plugin
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_xapi_plugin.py", line 13, 
> in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> Failed to import test module: os_xenapi.tests.utils.test_xenapi_facts
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in 
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/os_xenapi/tests/utils/test_xenapi_facts.py", line 
> 13, in <module>
>     import mock
> ModuleNotFoundError: No module named 'mock'
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.618s
> 
> OK
> + cat /tmp/tmp.2TV5qX7eVq
> + subunit-filter -s --no-passthrough
> + subunit-stats
> Total tests:       0
> Passed tests:      0
> Failed tests:      0
> Skipped tests:     0
> Seen tags: 
> + rm -f /tmp/tmp.2TV5qX7eVq
> + testr slowest
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 3

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/python-os-xenapi_0.3.4-3_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: python-os-xenapi
Source-Version: 0.3.4-4
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-os-xenapi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-os-xenapi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 02 Nov 2020 09:59:00 +0100
Source: python-os-xenapi
Architecture: source
Version: 0.3.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 973186
Changes:
 python-os-xenapi (0.3.4-4) unstable; urgency=medium
 .
   * Re-add python3-mock as build-depends (Closes: #973186).
Checksums-Sha1:
 40a88bb4a575e9c0003682a2b3887831a6dbd255 2502 python-os-xenapi_0.3.4-4.dsc
 b0a8f50aa6056d230e223c11e579d86763468b9d 2884 
python-os-xenapi_0.3.4-4.debian.tar.xz
 b0b1ead81af74861cf10482d217ea9a6f7c8d7b4 11358 
python-os-xenapi_0.3.4-4_amd64.buildinfo
Checksums-Sha256:
 8e26ecc4aeccb2a94767410ad5c3788c28449ee31d2df006305add92958a72bd 2502 
python-os-xenapi_0.3.4-4.dsc
 4e7d51416da51feb27a75f0d4b52ebd658e37deb0e6ce0c5b62ab99ccb22a5f0 2884 
python-os-xenapi_0.3.4-4.debian.tar.xz
 20a748b82b4b1d64f06c6089118c57960f520c0e4b06919c1852e958358704bc 11358 
python-os-xenapi_0.3.4-4_amd64.buildinfo
Files:
 00bf879e63ca00b39d8ce122b13214bd 2502 python optional 
python-os-xenapi_0.3.4-4.dsc
 a6c093e196f57734e705ee83c9ca1f78 2884 python optional 
python-os-xenapi_0.3.4-4.debian.tar.xz
 0783e19db4fd4b926b8ee36fbe31aced 11358 python optional 
python-os-xenapi_0.3.4-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAl+fyt0ACgkQ1BatFaxr
Q/6h4A/7BiGG5foJ5HA+SWZEiIcg31m9YVoG55q2bS0/vM8Omm/Gczah4rys706i
nFOSCCR9G5mzatVT/ABqI8VryteV1+ri9XRkxApGRuy6GvDeCjrRGQgbcWYorjBF
uSLFWPA46crVHXpZlfXlXa7jukv2jVFmg5nGmH62hOyPrUtxcRFKjauTxU0VBLVL
oae7rYBG/J0jxBgvRgEMSFfFQ2ZaWnSQo4AI4AmaN5EZlCcIk9XWghTmeWupVOo4
S2rBc5elHfDeaxIqtiGxp9OFMiIcP1ZSUF7VZnXzOwohdga9Z9Afil52AA6B3GXB
SIemlH+u4B2bkC1ZZsUQkzc63X444vBoKTo+ZgCX0oNYrntG6fHGbFGATu2eN1CG
VzYNARFjqpPRCpjN9t4PPRzgQSwQy2FFq8lnRcGTeoug8GGH8ax/VYHI9ZebxMOp
PdJyrRkw8V5YCe+FKrkddp0L7gPMnNK9KGgTRc2XqKTVCN+v/T54GUeXumhHZ+s3
CoSMqwSB1vitknTcukp/bIdIoCqFw7yFIQ5YwIfqT/dxh9mXj4OpZHXYlirtox9L
QnQd5pvU7J8xqgvY84/NBjbzsnAOx/HHcwbNmfw+lN0sm2dJWFahAj7jZ398x9+H
bCS8nUdhJVyQyMlDrDsL40KK9A/pf6I9wUXVThLkPwgbw0BFfa4=
=YqHZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to