| Summary: | v7 test 'profiler' terminates with backtrace | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | D. Marlin <dmarlin> | ||||||
| Component: | Test Suite (tests) | Assignee: | Greg Nichols <gnichols> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.1 | CC: | bhu, czhang, rlandry, ykun | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
In v7 1.3, failing to umount /dev/oprofile may cause traceback when running profiler test, this issue has been fixed in v7 1.4, now no more traceback be printed when fail to umount /dev/oprofile and this failure is ignored in profiler test.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-11-08 15:43:22 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 529389 [details]
log from v7 test run on rhelrt-11 in the farm
Created attachment 531593 [details]
profiler patch adding exception handler
The traceback is when the test is attempting to reset oprofile. Errors there can be ignored - the patch just adds an exception handler with a "pass" in the except block.
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:
In v7 1.3, failing to umount /dev/oprofile may cause traceback when running profiler test, this issue has been fixed in v7 1.4, now no more traceback be printed when fail to umount /dev/oprofile and this failure is ignored in profiler test.
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-2011-1436.html |
Description of problem: When performing a manual test run in the farm, the v7 profiler test terminates with a backtrace. Disabling the profiler test allows the v7 test run to complete. Version-Release number of selected component (if applicable): kernel-rt-3.0.4-rt14.27.el6rt.x86_64 v7 Version 1.4 Release 30 How reproducible: Always Steps to Reproduce: 1. v7 clean 2. v7 plan --server rhel6-1.farm.hsv.redhat.com 3. v7 certify --mode auto Actual results: : running profiler on installing test from /usr/share/v7/tests/profiler into /tmp/v7-profiler-WJZn5h mkdir -p /tmp/v7-profiler-WJZn5h cp -a runtest.sh profiler.py Makefile Makefile /tmp/v7-profiler-WJZn5h cp: warning: source file `Makefile' specified more than once make: `build' is up to date. Test Parameters: OUTPUTFILE=/var/log/v7/runs/1/profiler/output.log DEVICE= TESTSERVER=rhel6-1.farm.hsv.redhat.com RUNMODE=auto DEBUG=off UDI= Subtest Initialize: Linux image for 3.0.4-rt14.27.el6rt.x86_64 not found Error: could not read/set NMI Watchdog "cat /proc/sys/kernel/nmi_watchdog" no match for regular expression None PASS Subtest Reset: ==== START: Errors during reset may be ignored. ==== Warning: "opcontrol --shutdown" has output on stderr Verified data has beed removed Traceback (most recent call last): File "/usr/bin/v7", line 45, in <module> success = v7.do(args) File "/usr/share/v7/lib/v7/hardwaretest.py", line 193, in do result = self.commands[self.command]() File "/usr/share/v7/lib/v7/hardwaretest.py", line 859, in doCertify return self._doRun(tests) File "/usr/share/v7/lib/v7/hardwaretest.py", line 715, in _doRun returnValue = self.runTest(tmpDirectory, test, run, outputFilePath) File "/usr/share/v7/lib/v7/hardwaretest.py", line 1132, in runTest rv = test.run() File "/usr/share/v7/tests/profiler/profiler.py", line 282, in run if success and not self.runOProfileStartup(): File "/usr/share/v7/tests/profiler/profiler.py", line 264, in runOProfileStartup if not self.runSubTest(self.resetOProfile, "Reset"): File "/usr/share/v7/lib/v7/test.py", line 428, in runSubTest result = subtestFunction() File "/usr/share/v7/tests/profiler/profiler.py", line 121, in resetOProfile Command("/bin/umount /dev/oprofile").echo() File "/usr/share/v7/lib/v7/command.py", line 94, in echo self._checkErrors() File "/usr/share/v7/lib/v7/command.py", line 69, in _checkErrors raise V7CommandErrorOutput(self) v7.command.V7CommandErrorOutput: "/bin/umount /dev/oprofile" has output on stderr Expected results: No error from profiler test. Additional info: