Bug 867937 - pcp-testsuite - useless and failing import of argparse in qa script
Summary: pcp-testsuite - useless and failing import of argparse in qa script
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: pcp
Version: DTS 1.1 RHEL 6
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
: 1.1
Assignee: Nathan Scott
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 15:40 UTC by Tomas Dohnalek
Modified: 2013-02-15 07:30 UTC (History)
6 users (show)

Fixed In Version: devtoolset-1.1-pcp-3.6.9-2.el[56]
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Clone Of:
Environment:
Last Closed: 2013-01-22 15:35:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
fixing patch (282 bytes, patch)
2012-10-18 15:40 UTC, Tomas Dohnalek
no flags Details | Diff

Description Tomas Dohnalek 2012-10-18 15:40:42 UTC
Created attachment 629521 [details]
fixing patch

Description of problem:
In file qa/src/test_pcp.python, there is import of not-used module argparse causing failure in test-case 707 on both RHEL5 and RHEL6


Version-Release number of selected component (if applicable):
3.6.9-1.el6, 3.6.9-1.el5


How reproducible:
Always.

Steps to Reproduce:
1. Make sure you have installed devtoolset-1.1.
2. Enable devtoolset-1.1: `scl enable devtoolset-1.1 bash'
3. Run test-case 707
  
Actual results:
raceback (most recent call last):
  File "/opt/rh/devtoolset-1.1/root/var/lib/pcp/testsuite/src/test_pcp.python", line 19, in <module>
    import argparse
ImportError: No module named argparse

Expected results:
Not fail

Additional info:

Comment 2 Nathan Scott 2012-10-18 23:58:07 UTC
Tomas' fix has been merged into the upstream PCP git tree.


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