Bug 999516 - Unit test in pulp_rpm/plugins/test/unit/test_nectar_factory.py fails on RHEL 5
Summary: Unit test in pulp_rpm/plugins/test/unit/test_nectar_factory.py fails on RHEL 5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: 2.2
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 2.2.0
Assignee: Barnaby Court
QA Contact: Preethi Thomas
URL:
Whiteboard:
: 999511 999513 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 13:11 UTC by Barnaby Court
Modified: 2014-03-18 16:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 16:06:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Barnaby Court 2013-08-21 13:11:42 UTC
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

Comment 1 Barnaby Court 2013-08-21 14:04:04 UTC
Build run-tests.py should be updated to bypass the pulp_rpm/plugins directory on RHEL 5

Comment 2 Barnaby Court 2013-08-21 14:16:06 UTC
*** Bug 999513 has been marked as a duplicate of this bug. ***

Comment 3 Barnaby Court 2013-08-21 14:17:00 UTC
*** Bug 999511 has been marked as a duplicate of this bug. ***

Comment 4 Barnaby Court 2013-09-23 12:52:33 UTC
I verified this in the Sep 23, 2013 12:35:12 AM build.  It has been fixed.

Comment 5 Preethi Thomas 2013-09-23 13:05:26 UTC
Moving to verified

Comment 6 Preethi Thomas 2014-03-18 16:06:26 UTC
These were already verified in the corresponding releases that they were fixed in. Moving them to closed current release.


Note You need to log in before you can comment on or make changes to this bug.