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.

Reply via email to