Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1215784

Summary: zero length xml attachment download links result in error page
Product: Red Hat Certification Program Reporter: Greg Nichols <gnichols>
Component: redhat-certificationAssignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0CC: bbrock, brose, gnichols
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-certification-1.0-20150520 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1213391 Environment:
Last Closed: 2015-06-23 15:33:01 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:
Embargoed:
Bug Depends On: 1179200    
Bug Blocks:    

Description Greg Nichols 2015-04-27 17:31:59 UTC
+++ This bug was initially created as a clone of Bug #1213391 +++

Description of problem:

When viewing attachments of test results in the web application, attachments are not sorted properly by test name and run, and some links are invalid.

This bug is quite noticable for cloud certifications, where there are numerous attachments.


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

redhat-certification 1.0 20150415.

--- Additional comment from Greg Nichols on 2015-04-20 09:05:01 EDT ---

https://code.engineering.redhat.com/gerrit/46466

--- Additional comment from errata-xmlrpc on 2015-04-20 09:31:14 EDT ---

Bug report changed to ON_QA status by Errata System.
A QE request has been submitted for advisory RHBA-2015:20172-02
https://errata.devel.redhat.com/advisory/20172

--- Additional comment from Brian Brock on 2015-04-27 12:35:13 EDT ---

.log files are 404

--- Additional comment from Brian Brock on 2015-04-27 13:00:01 EDT ---

redhat-certification-1.0-20150420.el7.noarch
redhat-certification-cloud-2.0-2.el7.noarch

attachments after the 1st for each test do not exist.

Is this going to be fixed, or do you need further data from me about test results?



Ran each of the cloud tests and checked results.  Checked the attachment link on a cloud cert, listing attachments for each test.  Only the first attachment linked exists.  Subsequent attachments are listed but dead links (missing).  The test titles show the output log from the test run.  I've copied the text returned for each test.

LTS:
http://intel-sharkbay-dh-01.lab.eng.rdu.redhat.com/results?sheet=attachments&content=html&rpath=/var/www/rhcert/store/results/cloud-6/rhcert-results-intel-huronriver-01.lab.eng.rdu.redhat.com-20150427154323.xml.gz

---

image_freshness:
image_history.xml normal
Download Errors!
Error: firstboot.xml not found
---
cloud/network:
ping.err downloaded normally
Download Errors!
Error: ping.xml not found
---
cloud/rpmverify - 404 Download Errors!
Error: rpmva.xml not found
---
from cloud/selinux_checks:
(selinux_status.xml created and viewable)

Download Errors!
Error: selinux_denials.log not found

Download Errors!
Error: selinux_denials.xml not found
---
cloud/service_status
(services_running.xml exists)
Download Errors!
Error: services_settings.xml not found
Download Errors!
Error: services_runlevel.xml not found
---
hwcert/info runs normally

--- Additional comment from Greg Nichols on 2015-04-27 13:31:21 EDT ---

Zero-length files result in 404 errors - Let's open a new bug and mark this one verified - as the issue in the summary is fixed.

Comment 1 Greg Nichols 2015-05-19 17:30:12 UTC
Can not reproduce using redhat-certification 1.0 20150518.1

Comment 2 Greg Nichols 2015-05-19 17:46:59 UTC
reopening - zero-length XML attachment give an error page:

Download Errors!
Error: ping.xml not found 


There are no 404 pages, and no errors for zero-length non-XML files.

Comment 3 Greg Nichols 2015-05-20 16:00:28 UTC
The patch for fixing download times also fixes this bug.

Comment 5 Brian Brock 2015-06-08 05:58:51 UTC
verified in 20150520.

downloaded the zero-length files without error.

Comment 7 errata-xmlrpc 2015-06-23 15:33:01 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.

https://rhn.redhat.com/errata/RHBA-2015-1168.html