Red Hat Bugzilla – Bug 1250896
results.xml.gz file with multiple runs should not have same file names
Last modified: 2016-02-29 19:03:05 EST
Description of problem:
On extracting a cloud submitted file I got the below file names:
image_history.xml, firstboot.xml, image_history.xml, firstboot.xml,
ping.err, ping.xml, ping.err, ping.xml, ssg-errors.log, ssg-results.xml,
ssg-results.html, ssg-errors.log, ssg-results.xml, ssg-results.html,
As you can see some names are repeated in the file because there were multiple runs in single file.
CWE has checks in place for same file names and so does CAAS, this results is errors in certification workflow.
Please changes the names by appending something like run number with the file name like 1-image_history.xml etc. to encounter this.
Version-Release number of selected component (if applicable):
How are you extracting these files?
Greg I am using a XMLParser that I have written for the same.
I am using them for my automation testing.
This isn't a bug then. The results.xml format has attachments organized by test run and test. There is no requirement that attachment file names be unique. If necessary, your XMLParser can rename the files on extraction.
Brief description of the issue:
- This has nothing to do with my scripts.
- There were two openstack certifications that failed recently due to this, what was happening was the rhcertlog file had two runs/ two openstack log files in it and CAAS was rejecting then saying 409 conflict error.
- CWE has the logic in place where it will stop the processing if CAAS returns something like that.
- Now if we do not make this change, partners can't submit files with multiple runs for cloud/openstack.
pmao and sgupta can describe the same issue better.
This is bug in CaaS then, as it should handle a results file with more than one run.
bug has been closed.