Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionAlexander Todorov
2014-03-19 14:54:36 UTC
Inside blivet's source directory do:
# make test
...
======================================================================
ERROR: udev_test (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: udev_test
Traceback (most recent call last):
File "/usr/lib64/python2.7/unittest/loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib64/python2.7/unittest/loader.py", line 230, in _get_module_from_name
__import__(name)
File "/root/blivet-0.18.33/tests/udev_test.py", line 4, in <module>
import mock
ImportError: No module named mock
python-mock is not available in the RHEL 7 repos which makes it impossible for QE to execute this package test suite on a regular basis. Please include python-mock (in the optional channel).
Additional info:
python-mock is build for EPEL 7 (no epel 7 repo exists at this time though):
http://koji.fedoraproject.org/koji/buildinfo?buildID=489362
This is a rel-eng request. They need to add the python-mock package to the optional channel. In RHEL-land, 'channels' are yum repos that provide the packages that make up RHEL. It is divided up differently than Fedora is (which is really just one big repo).
python-mock is not part of rhel-7.
If we want it in, it needs to go through the new package process.
Comment 8Alexander Todorov
2014-06-23 09:06:31 UTC
(In reply to mulhern from comment #3)
> Could you tell me what you mean by "the optional channel"?
Sorry for the late reply,
I mean the repository called Optional/ in RHEL distro ot the channels titled -optional in RHN, not the base Server/ repo(channel).
Inside blivet's source directory do: # make test ... ====================================================================== ERROR: udev_test (unittest.loader.ModuleImportFailure) ---------------------------------------------------------------------- ImportError: Failed to import test module: udev_test Traceback (most recent call last): File "/usr/lib64/python2.7/unittest/loader.py", line 252, in _find_tests module = self._get_module_from_name(name) File "/usr/lib64/python2.7/unittest/loader.py", line 230, in _get_module_from_name __import__(name) File "/root/blivet-0.18.33/tests/udev_test.py", line 4, in <module> import mock ImportError: No module named mock python-mock is not available in the RHEL 7 repos which makes it impossible for QE to execute this package test suite on a regular basis. Please include python-mock (in the optional channel). Additional info: python-mock is build for EPEL 7 (no epel 7 repo exists at this time though): http://koji.fedoraproject.org/koji/buildinfo?buildID=489362