Bug 432025
Summary: | Bug in mkisofs causes dvd+-rw test to fail | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | David Swegen <dswegen> | ||||
Component: | Test Suite (tests) | Assignee: | YangKun <ykun> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5 | CC: | gasmith, rick.hester, rlandry, shengliang.lv, tao, tellis | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | hts-5.2-16.el5 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-06-20 17:10:11 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Swegen
2008-02-08 14:14:07 UTC
Created attachment 295965 [details]
Fixes the issue
The issue is caused due to additional information being returned on the command
line. It appears (can anyone confirm for sure?) that all errors and other
diagnostic output are printed before the actual result i.e the size is printed
on a line of its own at the very end.
This code splits the output into an array and assigns the last item to
cdblocks. This works on both the machine that had the original issue and on a
machine that doesn't.
Hope this helps...
If I understand correctly, this is actually a mkisofs bug. Should we close it as duplicate of bug#174667 ? The bug in mkisofs causes the script to fail because the script does not check the data returned from the mkisofs command. When working correctly mkisofs should return one line of output contaning the correct size. However due to the bug, an error line is returned before the line containing the size. The script does not detect this and this causes the next mkisofs command to fail. The patch I provided ensures that the script uses the last line returned. This works perfectly well on machines that do not have the same mkisofs issue. The patch fixes the problem and has no nasty side effects. I see no good reason for not fixing the script so that it can cope safely with badly returned data. *** Bug 416011 has been marked as a duplicate of this bug. *** Fixed HTS 5.2 R5 *** Bug 450030 has been marked as a duplicate of this bug. *** Dave, would you please provide the exact NVR of the hts package, thank you. according to the comment #9, I assume it's the bug of hts5.2-4, but I can't reproduce the bug with that package. We're trying to get hold of that info now. Note that there may be problems reproducing the problem, as it was always hardware and arch dependent. Dave, Good point, if you have a already setup environment for testing, please let me know, thanks a lot. I've had a look, and I believe the version we used was hts-5.0-48 (so quite old). Unfortunately the machines we were testing have since been returned to FSC, so some other way of testing will have to be found. Apologies for this. Resolving as appropriate testing env cannot be set up. |