Bug 705895 - asdf 2011-05-18 15:59
Summary: asdf 2011-05-18 15:59
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Cloud Image Validation
Classification: Red Hat
Component: images
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Greguske
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-18 20:00 UTC by wes hayutin
Modified: 2011-05-19 16:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 16:58:24 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description wes hayutin 2011-05-18 20:00:02 UTC
initial bug opening

Comment 1 wes hayutin 2011-05-18 20:00:09 UTC
IMAGE ID= asdf
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.6
######################################################################################
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
LATEST_RPM_KERNEL_VERSION=2.6.18-238.9.1
CURRENT_UNAME_KERNAL_VERSION=2.6.18-238.9.1
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-238.9.1 
EXPECTED RESULT: 2.6.18-238.9.1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.18-238.9.1
RESULT: title 5.6-hourly-respin-x86_64 (2.6.18-238.9.1.el5xen)
        kernel /boot/vmlinuz-2.6.18-238.9.1.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-238.9.1.el5xen.img 
EXPECTED RESULT: 
RETURN CODE: 0

Comment 2 wes hayutin 2011-05-18 20:00:12 UTC
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS

## Summary ##
FAILURES = 1
LOG FILE = /root/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################

Comment 3 wes hayutin 2011-05-19 16:55:15 UTC
testing bugs

Comment 4 wes hayutin 2011-05-19 16:57:00 UTC
verified


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