Bug 1316800 - Kdump nfs test is failing on RHEL 6.7 for rhcert tool version 2.0 [NEEDINFO]
Summary: Kdump nfs test is failing on RHEL 6.7 for rhcert tool version 2.0
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Certification Program
Classification: Red Hat
Component: redhat-certification-hardware
Version: 1.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: brose
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-11 07:10 UTC by sambit taria
Modified: 2016-03-15 13:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-15 13:48:42 UTC
Target Upstream Version:
tgummels: needinfo? (staria)


Attachments (Terms of Use)
test run log (2.21 KB, text/plain)
2016-03-11 07:10 UTC, sambit taria
no flags Details

Description sambit taria 2016-03-11 07:10:26 UTC
Created attachment 1135128 [details]
test run log

Description of problem:
The rhcert tool is not able to verify kdump image.The rhcert tool is not able to find actual path of the vmlinux file.

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

redhat-certification-backend-2.0-20151117.el6.noarch

redhat-certification-hardware-1.6.6-20150901.el6.noarch

redhat-certification-information-1.6.6-20150901.el6.noarch

kernel-debuginfo-2.6.32-573.8.1.el6.x86_64

kernel-debuginfo-common-x86_64-2.6.32-573.8.1.el6.x86_64


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


How reproducible:


Steps to Reproduce:

1.Install the rhcert tool on RHEL6.7
2.Install kernel-debuginfo and and kernel-debuginfo-common rpm
2.Run the Kdump local test
3.Check the result in /var/log/rhcert/run/x/...

Actual results:
The test script is not able to find the actual path of vmlinux file and hence not able to verify the vmcore file

Expected results:

The test should be able to identify the path of vmlinux file and be able to verify the vmcore file


Actual results:


Expected results:


Additional info:

Comment 1 Travis Gummels 2016-03-14 14:23:21 UTC
You are going to need to install the matching kernel-debuginfo for the kernel the system has booted otherwise you get the crash error not being able to find vmlinux.  Note that the installed version of kernel-debuginfo has a kernel version specific directory hence the error.

# rpm -q kernel-debuginfo
kernel-debuginfo-2.6.32-573.18.1.el6.x86_64

# pwd
/usr/lib/debug/lib/modules/2.6.32-573.18.1.el6.x86_64

# ls -l
...
-rwxr-xr-x.  1 root root 135624055 Jan  6 13:09 vmlinux

# rpm -q kernel-debuginfo
kernel-debuginfo-2.6.32-573.el6.x86_64

# pwd
/usr/lib/debug/lib/modules/2.6.32-573.el6.x86_64

# ls -l
...
-rwxr-xr-x.  1 root root 135375691 Jul  1  2015 vmlinux

Comment 2 Praveen 2016-03-15 06:36:51 UTC
Working after trying the above work around.

Comment 3 Travis Gummels 2016-03-15 13:48:42 UTC
Praveen,

It is necessary that for the version of the kernel running on the system that will have the kdump test performed that a matching version of kernel-debuginfo be installed.  There needs to be version parity between the two packages, kernel and kernel-debuginfo, for the test to work properly.

Travis


Note You need to log in before you can comment on or make changes to this bug.