Bug 608556
Summary: | tape tests failed | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Qian Cai <qcai> | ||||||||||||
Component: | Test Suite (tests) | Assignee: | Greg Nichols <gnichols> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | chen yuwen <yuchen> | ||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | low | ||||||||||||||
Version: | 1.2 | CC: | czhang, qcai, rlandry, ykun | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: |
During the tape test, the tar utility is now correctly run with the "-P" option.
|
Story Points: | --- | ||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2010-09-20 12:14:33 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
Qian Cai
2010-06-28 05:46:10 UTC
RHEL5.5 + v7 1.2 has no such problem, Running tape: --------------------------------- tape usb_device_3f0_225_4855318311484A55_if0_scsi_host_scsi_device_lun0 running tape on /org/freedesktop/Hal/devices/usb_device_3f0_225_4855318311484A55_if0_scsi_host_scsi_device_lun0 Getting devices from kudzu mkdir -p /tmp/v7-tape-5BkVK6/mnt/tests/V7/v7/tape cp -a testinfo.desc runtest.sh tape.py Makefile /tmp/v7-tape-5BkVK6/mnt/tests/V7/v7/tape install -m 0755 runtest.sh /tmp/v7-tape-5BkVK6/mnt/tests/V7/v7/tape HardwareTestHarness.runTest: test directory /tmp/v7-tape-5BkVK6/mnt/tests/V7/v7/tape udi /org/freedesktop/Hal/devices/usb_device_3f0_225_4855318311484A55_if0_scsi_host_scsi_device_lun0 outputFile /var/log/v7/runs/1/tape/output.log make OUTPUTFILE=/var/log/v7/runs/1/tape/output.log RUNMODE=normal UDI=/org/freedesktop/Hal/devices/usb_device_3f0_225_4855318311484A55_if0_scsi_host_scsi_device_lun0 DEVICE= TESTSERVER=unknown run chmod a+x ./runtest.sh ./tape.py ./runtest.sh /tmp/v7-tape-5BkVK6/mnt/tests/V7/v7/tape/tape.py <output> Running ./tape.py: Using UDI to find the correct device name . Testing tape device st0 Write data done. Start comparing ... Tape test on device st0 passed. ...finished running ./tape.py, exit code=0 </output> recovered exit code=0 v7-report-result /V7/v7/tape PASS /var/log/v7/runs/1/tape/output.log ...Done: return value = 0. copying attachments... checking directory /tmp/v7-tape-5BkVK6/mnt/tests/V7/v7/tape Skipping testinfo.desc Skipping Makefile Skipping tape.py Skipping runtest.sh Skipping test-result.xml saved to /var/v7/results.xml saveOutput: /var/log/v7/runs/1/tape/output.log Return value was 0 Was the system in use while the test was running? This looks to me like a legitimate comparison failure between the state of /usr when the tape was written, vs. when it was compared. Could you re-run the test to see if it's reproducable? I reproduced this failure on RHEL6 x86_64 and RHEL6 i386 with v7-1.2-16. The errors are as above. But the tests on RHEL5.5 x86_64 and RHEL5.5 i386 are still passed. Which errors are the same? Could you attach the results from the latest test (/var/v7/results.xml)? Created attachment 439628 [details]
results.xml for rhel6-x86_64
Created attachment 439629 [details]
output.log for RHEL6 x86_64
Created attachment 439631 [details]
results.xml for rhel6-i386
Created attachment 439632 [details]
output.log for RHEL6 i386
It looks as though tar needs the -P for the comparison on RHEL6 so that it doesn't stript the leading "/". tar -Pdb 64 -f /dev/st0 /usr Created attachment 439996 [details]
tape test patch adding -P to tar command for comparison
Reproduced in v7-1.2-7 and verified in v7-1.2-25. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0702.html 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: During the tape test, the tar utility is now correctly run with the "-P" option. |