Bug 827177 - duplicate v7 call home submit command will create duplicate results without matching md5sums
Summary: duplicate v7 call home submit command will create duplicate results without m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Zhiyou Liu
URL:
Whiteboard:
Depends On:
Blocks: 767775
TreeView+ depends on / blocked
 
Reported: 2012-05-31 20:18 UTC by Rob Landry
Modified: 2012-06-05 21:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
no tech note needed.
Clone Of:
Environment:
Last Closed: 2012-06-05 21:30:49 UTC
Embargoed:


Attachments (Terms of Use)
documentbase patch adding -n to gzip (429 bytes, patch)
2012-05-31 20:20 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0711 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2012-06-06 01:26:37 UTC

Description Rob Landry 2012-05-31 20:18:19 UTC
Description of problem:

Running submit twice back to back without any test runs or other changes to the results will upload to the catalog even though it is duplicate.


Version-Release number of selected component (if applicable):
v7-1.5-30

How reproducible:
Everytime

Steps to Reproduce:
1.run v7 and test something
2.run v7 submit, send to catalog but do not remove results
3.run v7 submit, send to catalog
  
Actual results:
v7 is allowed to upload the same results twice


Expected results:
catalog should return an error because the results are the same

Additional info:
This is a side effect of using gzip including the timestamp on results.xml as part of the submit.  Passing the "-n" parameter to gzip will have it ignore the current time which results in the xml.gz package with the same test results content having the same md5sum.

Comment 1 Greg Nichols 2012-05-31 20:20:56 UTC
Created attachment 588186 [details]
documentbase patch adding -n to gzip

Comment 7 Caspar Zhang 2012-06-04 08:11:43 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
no tech note needed.

Comment 9 errata-xmlrpc 2012-06-05 21:30:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0711.html


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