| Summary: | Unit tests for ISO and ISOManifest are failing on RHEL 5 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Barnaby Court <bcourt> | ||||
| Component: | iso-support | Assignee: | Barnaby Court <bcourt> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| 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:24 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: | |||||
| Attachments: |
|
||||||
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. build: 2.2.1-0.1.beta Nightly build for pulp-2.2 on RHEL 5 completed successfully with no unit test errors on Nov 19, 2013 These were already verified in the corresponding releases that they were fixed in. Moving them to closed current release. |
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: