Bug 999172 - Unit tests for ISO and ISOManifest are failing on RHEL 5
Summary: Unit tests for ISO and ISOManifest are failing on RHEL 5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: iso-support
Version: 2.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 2.2.0
Assignee: Barnaby Court
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-20 21:01 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:24 UTC
Embargoed:


Attachments (Terms of Use)
log of test failures (21.59 KB, text/plain)
2013-08-20 21:01 UTC, Barnaby Court
no flags Details

Description Barnaby Court 2013-08-20 21:01:04 UTC
Created attachment 788655 [details]
log of test failures

Description of problem:  The unit tests for ISO & ISO Manifest are in the common models.  This is causing the tests to run on Python 2.4 on RHEL 5 where they are failing due to syntax errors.  The particular tests can be found in pulp_rpm/pulp_rpm/test/unit/test_common_models.py


Version-Release number of selected component (if applicable): 2.2 & Master


How reproducible:  Easily 


Steps to Reproduce:
1. Run the test suite on RHEL5
2. Inspect the log file for test failures

Actual results:
Unit tests fail on RHEL 5

Expected results:  All unit tests should pass on RHEL 5


Additional info:

Comment 1 Randy Barlow 2013-09-11 20:53:43 UTC
Since I am starting a sprint and others are working on bugs, I am removing this bug from my plate for now. If someone else wants to pick this up, the fix should be pretty simple:

All of the failing tests are using code that will only execute on the server and not on the client. It is a good argument that this code doesn't belong in pulp_rpm.common, however, the quick fix is to use our test skip decorator on the particular tests that are failing.

Comment 4 Jeff Ortel 2013-11-01 18:50:42 UTC
build: 2.2.1-0.1.beta

Comment 5 Barnaby Court 2013-11-19 16:04:43 UTC
Nightly build for pulp-2.2 on RHEL 5 completed successfully with no unit test errors on Nov 19, 2013

Comment 6 Preethi Thomas 2014-03-18 16:06:24 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.