| Summary: | Unit test in pulp_rpm/plugins/test/unit/test_nectar_factory.py fails on RHEL 5 | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Barnaby Court <bcourt> |
| Component: | z_other | Assignee: | Barnaby Court <bcourt> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2 | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.2.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-18 16:06:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Build run-tests.py should be updated to bypass the pulp_rpm/plugins directory on RHEL 5 *** Bug 999513 has been marked as a duplicate of this bug. *** *** Bug 999511 has been marked as a duplicate of this bug. *** I verified this in the Sep 23, 2013 12:35:12 AM build. It has been fixed. Moving to verified These were already verified in the corresponding releases that they were fixed in. Moving them to closed current release. |
Description of problem: pulp_rpm/plugins/test/unit/test_nectar_factory.py fails on RHEL 5 fails because nectar is not supported on RHEL 5 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Run the pulp_rpm/run-tests.py file. on RHEL 5 2. Observe the failures in the logs 3. Actual results: Test failure in test_nectar_factory.py Expected results: all unit tests passing on RHEL 5 Additional info: ====================================================================== ERROR: Failure: ImportError (No module named nectar.downloaders.curl) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/nose/loader.py", line 381, in loadTestsFromName module = self.importer.importFromPath( File "/usr/lib/python2.4/site-packages/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.4/site-packages/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/jenkins/workspace/pulp_all-rhel5/pulp_rpm/plugins/test/unit/test_nectar_factory.py", line 16, in ? from nectar.downloaders.curl import HTTPCurlDownloader ImportError: No module named nectar.downloaders.curl