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.
Comment 6Alexander Todorov
2014-03-19 14:45:08 UTC
# make coverage
...
======================================================================
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
# coverage report
Name Stmts Miss Branch BrMiss Cover
--------------------------------------------------------------------
blivet/__init__ 1757 1734 938 936 1%
tests/action_test 450 448 14 14 1%
tests/formats_test/__init__ 0 0 0 0 100%
tests/formats_test/labeling_test 95 92 20 20 3%
tests/formats_test/selinux_test 62 57 2 2 8%
tests/partitioning_test 55 53 2 2 4%
tests/sanity_check_test 21 19 2 2 9%
tests/size_test 70 68 14 14 2%
tests/tsort_test 37 35 6 6 5%
tests/udev_test 101 99 12 12 2%
--------------------------------------------------------------------
TOTAL 2648 2605 1010 1008 1%
The particular issue of having a make target to execute the test suite under python-coverage has been verified with python-blivet-0.18.33-1.el7. However python-mock is not available in the RHEL 7 repos. I will open another bug for that.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Created attachment 862789 [details] blivet + coverage patch Patch tested on master and f20-branch. Please push to Rawhide as well.