[Reproducible-builds] Bug#827831: python-proliantutils: FTBFS: ImportError: No module named 'mock'
Chris Lamb
lamby at debian.org
Tue Jun 21 15:07:35 UTC 2016
Source: python-proliantutils
Version: 2.1.5-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
python-proliantutils fails to build from source in unstable/amd64:
[..]
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_bios_settings_resource
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_bios_settings_resource ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_bios_settings_resource_fail
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_bios_settings_resource_fail ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_bios_settings_resource_key_error
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_bios_settings_resource_key_error ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_iscsi_settings_resource
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_iscsi_settings_resource ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_iscsi_settings_resource_fail
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_iscsi_settings_resource_fail ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_iscsi_settings_resource_key_error
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_iscsi_settings_resource_key_error ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_persistent_boot_devices
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_persistent_boot_devices ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_persistent_boot_devices_no_boot_order
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_persistent_boot_devices_no_boot_order ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_persistent_boot_devices_no_bootsources
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_persistent_boot_devices_no_bootsources ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_device_missing
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_device_missing ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_fail
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_fail ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_invalid_device
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_invalid_device ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_vmedia_not_supported
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__get_vm_device_status_vmedia_not_supported ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__is_boot_mode_uefi_bios
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__is_boot_mode_uefi_bios ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__is_boot_mode_uefi_uefi
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__is_boot_mode_uefi_uefi ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_continous_redirection
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_continous_redirection ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_okay
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_okay ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_one_redirection
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_one_redirection ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_request_error
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_request_error ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_response_decode_error
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_response_decode_error ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_response_gzipped_response
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__rest_op_response_gzipped_response ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_fail
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_fail ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_for_UefiShell
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_for_UefiShell ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_for_continuous
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_for_continuous ... ok
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_once
proliantutils.tests.ilo.test_ris.TestRISOperationsPrivateMethods.test__update_persistent_boot_once ... ok
proliantutils.tests.ipa_hw_manager.test_hardware_manager.ProliantHardwareManagerTestCase.test_create_configuration
proliantutils.tests.ipa_hw_manager.test_hardware_manager.ProliantHardwareManagerTestCase.test_create_configuration ... ok
proliantutils.tests.ipa_hw_manager.test_hardware_manager.ProliantHardwareManagerTestCase.test_delete_configuration
proliantutils.tests.ipa_hw_manager.test_hardware_manager.ProliantHardwareManagerTestCase.test_delete_configuration ... ok
proliantutils.tests.ipa_hw_manager.test_hardware_manager.ProliantHardwareManagerTestCase.test_get_clean_steps
proliantutils.tests.ipa_hw_manager.test_hardware_manager.ProliantHardwareManagerTestCase.test_get_clean_steps ... ok
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_base_logger_for_no_name
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_base_logger_for_no_name ... ok
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_same_logger_for_a_given_name_1___pear___
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_same_logger_for_a_given_name_1___pear___ ... ok
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_same_logger_for_a_given_name_2___apple___
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_same_logger_for_a_given_name_2___apple___ ... ok
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_same_logger_for_a_given_name_3___banana___
proliantutils.tests.test_log.LogTestCase.test_get_logger_returns_the_same_logger_for_a_given_name_3___banana___ ... ok
----------------------------------------------------------------------
Ran 329 tests in 0.881s
OK
+ + subunit-filter -s --no-passthrough
cat /tmp/tmp.rMOUh2QI4s
+ subunit-stats
Total tests: 329
Passed tests: 329
Failed tests: 0
Skipped tests: 0
Seen tags: worker-0
+ rm -f /tmp/tmp.rMOUh2QI4s
+ testr-python2 slowest
Test id Runtime (s)
----------------------------------------------------------------------------------------------------------------- -----------
proliantutils.tests.ilo.test_ribcl.IloRibclTestCase.test_get_host_health_power_supplies 0.016
proliantutils.tests.ilo.test_ribcl.IloRibclTestCase.test_get_host_temperature_sensors 0.016
proliantutils.tests.ilo.test_ribcl.IloRibclTestCase.test_get_host_fan_sensors 0.015
proliantutils.tests.ilo.test_client.IloClientTestCase.test_get_pending_boot_mode 0.012
proliantutils.tests.ilo.test_ribcl.IloRibclTestCase.test_get_host_health_present_power_reading 0.011
proliantutils.tests.ilo.test_ipmi.IloIpmiTestCase.test_get_nic_capacity_none 0.008
proliantutils.tests.hpssa.test_manager.ManagerTestCases.test_create_configuration_with_disk_input_create_succeeds 0.007
proliantutils.tests.hpssa.test_manager.ManagerTestCases.test_create_configuration_with_disk_input_create_fails 0.007
proliantutils.tests.hpssa.test_manager.ManagerTestCases.test_create_configuration_invalid_logical_disks 0.007
proliantutils.tests.hpssa.test_manager.ManagerTestCases.test_create_configuration_without_disk_input_succeeds 0.007
+ echo 3.5
+ cut -d. -f1
+ PYMAJOR=3
+ echo ===> Testing with python3.5 (python3)
===> Testing with python3.5 (python3)
+ rm -rf .testrepository
+ testr-python3 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.SR42Uolv63
+ PYTHONPATH=/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5 PYTHON=python3.5 testr-python3 run --subunit
+ tee /tmp/tmp.SR42Uolv63
+ subunit2pyunit
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_disk_allocator
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_disk_allocator ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_manager
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_manager ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_objects
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_objects ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_client
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_client ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_common
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_common ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ipmi
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ipmi ... FAIL
proliantutils.tests.ilo.test_operations.IloOperationsTestCase.test__no_host
proliantutils.tests.ilo.test_operations.IloOperationsTestCase.test__no_host ... ok
proliantutils.tests.ilo.test_operations.IloOperationsTestCase.test__okay
proliantutils.tests.ilo.test_operations.IloOperationsTestCase.test__okay ... ok
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ribcl
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ribcl ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ris
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ris ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.ipa_hw_manager
unittest2.loader._FailedTest.proliantutils.tests.ipa_hw_manager ... FAIL
unittest2.loader._FailedTest.proliantutils.tests.test_log
unittest2.loader._FailedTest.proliantutils.tests.test_log ... FAIL
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ${TESTS_DIR:-./proliantutils/tests/}
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_disk_allocator
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_disk_allocator
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.hpssa.test_disk_allocator
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/hpssa/test_disk_allocator.py", line 15, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_manager
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_manager
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.hpssa.test_manager
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/hpssa/test_manager.py", line 15, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_objects
unittest2.loader._FailedTest.proliantutils.tests.hpssa.test_objects
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.hpssa.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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/hpssa/test_objects.py", line 15, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.ilo.test_client
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_client
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.ilo.test_client
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/ilo/test_client.py", line 19, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.ilo.test_common
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_common
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.ilo.test_common
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/ilo/test_common.py", line 20, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ipmi
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ipmi
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.ilo.test_ipmi
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/ilo/test_ipmi.py", line 21, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ribcl
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ribcl
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.ilo.test_ribcl
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/ilo/test_ribcl.py", line 21, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ris
unittest2.loader._FailedTest.proliantutils.tests.ilo.test_ris
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.ilo.test_ris
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/ilo/test_ris.py", line 21, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.ipa_hw_manager
unittest2.loader._FailedTest.proliantutils.tests.ipa_hw_manager
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.ipa_hw_manager
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 490, in _find_test_path
package = 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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/ipa_hw_manager/__init__.py", line 17, in <module>
import mock
ImportError: No module named 'mock'
======================================================================
FAIL: unittest2.loader._FailedTest.proliantutils.tests.test_log
unittest2.loader._FailedTest.proliantutils.tests.test_log
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: proliantutils.tests.test_log
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 "/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5/proliantutils/tests/test_log.py", line 19, in <module>
import ddt
ImportError: No module named 'ddt'
----------------------------------------------------------------------
Ran 12 tests in 0.407s
FAILED (failures=10)
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160621160503.Acg3cJcHMa.python-proliantutils/python-proliantutils-2.1.5'
debian/rules:11: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-proliantutils.2.1.5-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 14244 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160621/37bc10bf/attachment.obj>
More information about the Reproducible-builds
mailing list