Bug 999516

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_otherAssignee: Barnaby Court <bcourt>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.2CC: 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:

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.